mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7996: fix implicit beamforming support for mt7992
Fix the ibf_timeout field for mt7996, mt7992 and mt7990 chipsets. For
the mt7992, this value shall be set as 0xff, while the others shall be
set as 0x18.
Fixes: ad4c9a8a9803 ("wifi: mt76: mt7996: add implicit beamforming support for mt7992")
Signed-off-by: Howard Hsu <[email protected]>
Signed-off-by: Shayne Chen <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
ea0580ad06
commit
74112c2956
+2
-2
@@ -1825,8 +1825,8 @@ mt7996_mcu_sta_bfer_tlv(struct mt7996_dev *dev, struct sk_buff *skb,
|
|||||||
bf->ibf_nrow = tx_ant;
|
bf->ibf_nrow = tx_ant;
|
||||||
|
|
||||||
if (link_sta->eht_cap.has_eht || link_sta->he_cap.has_he)
|
if (link_sta->eht_cap.has_eht || link_sta->he_cap.has_he)
|
||||||
bf->ibf_timeout = is_mt7996(&dev->mt76) ? MT7996_IBF_TIMEOUT :
|
bf->ibf_timeout = is_mt7992(&dev->mt76) ? MT7992_IBF_TIMEOUT :
|
||||||
MT7992_IBF_TIMEOUT;
|
MT7996_IBF_TIMEOUT;
|
||||||
else if (!ebf && link_sta->bandwidth <= IEEE80211_STA_RX_BW_40 && !bf->ncol)
|
else if (!ebf && link_sta->bandwidth <= IEEE80211_STA_RX_BW_40 && !bf->ncol)
|
||||||
bf->ibf_timeout = MT7996_IBF_TIMEOUT_LEGACY;
|
bf->ibf_timeout = MT7996_IBF_TIMEOUT_LEGACY;
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user