mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

* mac80211: allow VHT on 2.4GHz Allow VHT rate on 2.4GHz in order to use 256-QAM Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn> * ath10k: allow VHT on 2.4GHz Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn> * hostapd: add vendor_vht option hostapd has vendor_vht option to enable VHT (256-QAM) on 2.4GHz Add this option to hostapd.sh so users can enable it via uci Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn> * mac80211: ath.mk: typo fixes Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
11 lines
411 B
Diff
11 lines
411 B
Diff
--- a/drivers/net/wireless/ath/ath10k/mac.c
|
|
+++ b/drivers/net/wireless/ath/ath10k/mac.c
|
|
@@ -4841,6 +4841,7 @@ static void ath10k_mac_setup_ht_vht_cap(
|
|
if (ar->phy_capability & WHAL_WLAN_11G_CAPABILITY) {
|
|
band = &ar->mac.sbands[NL80211_BAND_2GHZ];
|
|
band->ht_cap = ht_cap;
|
|
+ band->vht_cap = vht_cap;
|
|
}
|
|
if (ar->phy_capability & WHAL_WLAN_11A_CAPABILITY) {
|
|
band = &ar->mac.sbands[NL80211_BAND_5GHZ];
|