mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7996: fix EHT beamforming capability check
If a VIF acts as a beamformer, it should check peer's beamformee
capability, and vice versa.
Fixes: ba01944adee9 ("wifi: mt76: mt7996: add EHT beamforming support")
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
c2c6940e60
commit
5cf02b0a26
+2
-2
@@ -1429,10 +1429,10 @@ mt7996_is_ebf_supported(struct mt7996_phy *phy, struct ieee80211_vif *vif,
|
||||
|
||||
if (bfee)
|
||||
return vif->bss_conf.eht_su_beamformee &&
|
||||
EHT_PHY(CAP0_SU_BEAMFORMEE, pe->phy_cap_info[0]);
|
||||
EHT_PHY(CAP0_SU_BEAMFORMER, pe->phy_cap_info[0]);
|
||||
else
|
||||
return vif->bss_conf.eht_su_beamformer &&
|
||||
EHT_PHY(CAP0_SU_BEAMFORMER, pe->phy_cap_info[0]);
|
||||
EHT_PHY(CAP0_SU_BEAMFORMEE, pe->phy_cap_info[0]);
|
||||
}
|
||||
|
||||
if (sta->deflink.he_cap.has_he) {
|
||||
|
||||
Reference in New Issue
Block a user