projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad275d0
)
wifi: rtw89: declare to support beamformee above bandwidth 80MHz
author
Ping-Ke Shih
<pkshih@realtek.com>
Fri, 26 Aug 2022 06:10:11 +0000
(14:10 +0800)
committer
Kalle Valo
<kvalo@kernel.org>
Fri, 2 Sep 2022 08:37:31 +0000
(11:37 +0300)
Declare this to tell AP we can support beamformee over bandwidth 160M,
and then yield better performance in field.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link:
https://lore.kernel.org/r/20220826061011.9037-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/realtek/rtw89/core.c
b/drivers/net/wireless/realtek/rtw89/core.c
index 6ff8b4191526ae6888ef137d13868330b51ca401..71ee237a7c286f141893920719dfeb9fd26eb38f 100644
(file)
--- a/
drivers/net/wireless/realtek/rtw89/core.c
+++ b/
drivers/net/wireless/realtek/rtw89/core.c
@@
-2706,6
+2706,8
@@
static void rtw89_init_he_cap(struct rtw89_dev *rtwdev,
phy_cap_info[3] |= IEEE80211_HE_PHY_CAP3_RX_PARTIAL_BW_SU_IN_20MHZ_MU;
phy_cap_info[4] = IEEE80211_HE_PHY_CAP4_SU_BEAMFORMEE |
IEEE80211_HE_PHY_CAP4_BEAMFORMEE_MAX_STS_UNDER_80MHZ_4;
+ if (chip->support_bw160)
+ phy_cap_info[4] |= IEEE80211_HE_PHY_CAP4_BEAMFORMEE_MAX_STS_ABOVE_80MHZ_4;
phy_cap_info[5] = no_ng16 ? 0 :
IEEE80211_HE_PHY_CAP5_NG16_SU_FEEDBACK |
IEEE80211_HE_PHY_CAP5_NG16_MU_FEEDBACK;