blob: 95afaf1f13faf729f45e5aff7e64b8ad31c94b61 [file] [log] [blame]
developer05f3b2b2024-08-19 19:17:34 +08001From 18583c512c569a45767cbdb3b93dcb688158bfe6 Mon Sep 17 00:00:00 2001
2From: Howard Hsu <howard-yh.hsu@mediatek.com>
3Date: Fri, 28 Jun 2024 11:05:26 +0800
4Subject: [PATCH 010/199] mtk: mt76: mt7996: fix EHT Beamforming capability
5 check
6
7---
8 mt7996/mcu.c | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/mt7996/mcu.c b/mt7996/mcu.c
12index 6d5bbe5b..39963a36 100644
13--- a/mt7996/mcu.c
14+++ b/mt7996/mcu.c
15@@ -1429,10 +1429,10 @@ mt7996_is_ebf_supported(struct mt7996_phy *phy, struct ieee80211_vif *vif,
16
17 if (bfee)
18 return vif->bss_conf.eht_su_beamformee &&
19- EHT_PHY(CAP0_SU_BEAMFORMEE, pe->phy_cap_info[0]);
20+ EHT_PHY(CAP0_SU_BEAMFORMER, pe->phy_cap_info[0]);
21 else
22 return vif->bss_conf.eht_su_beamformer &&
23- EHT_PHY(CAP0_SU_BEAMFORMER, pe->phy_cap_info[0]);
24+ EHT_PHY(CAP0_SU_BEAMFORMEE, pe->phy_cap_info[0]);
25 }
26
27 if (sta->deflink.he_cap.has_he) {
28--
292.18.0
30