[PATCH v5 2/8] ath11k: add support for 6GHz radio in driver
Wen Gong
wgong at codeaurora.org
Tue Sep 15 07:16:38 EDT 2020
On 2020-06-03 08:17, Pradeep Kumar Chitrapu wrote:
> This patch adds 6GHz band support and mac80211 registration for
> the 6G phy radio.
>
> Signed-off-by: Pradeep Kumar Chitrapu <pradeepc at codeaurora.org>
> ---
> v5:
> - do not add ht/vht caps in 6ghz band.
> v3:
> - update 6GHz starting frequency as defined in IEEE P802.11ax/D6.1
>
> drivers/net/wireless/ath/ath11k/core.h | 6 +-
> drivers/net/wireless/ath/ath11k/mac.c | 93 +++++++++++++++++++++-----
> drivers/net/wireless/ath/ath11k/wmi.c | 16 ++++-
> 3 files changed, 94 insertions(+), 21 deletions(-)
>
[...]
> @@ -3482,7 +3494,7 @@ static void ath11k_mac_setup_ht_vht_cap(struct
> ath11k *ar,
> rate_cap_rx_chainmask);
> }
>
> - if (cap->supported_bands & WMI_HOST_WLAN_5G_CAP) {
> + if (cap->supported_bands & WMI_HOST_WLAN_5G_CAP &&
> !ar->supports_6ghz) {
> band = &ar->mac.sbands[NL80211_BAND_5GHZ];
> ht_cap = cap->band[NL80211_BAND_5GHZ].ht_cap_info;
> if (ht_cap_info)
After this change, when 6G is support, it removed HT/VHT of 5G band from
"iw list", when connect to an 11AX AP of 5G, it used non-HT.
caused together with this commit
75e296e9b22aef6fa467523ace87ef623dac1fad(mac80211: simplify and improve
HT/VHT/HE disable code)
+ /* disable HT/VHT/HE if we don't support them */
+ if (!sband->ht_cap.ht_supported) {
+ ifmgd->flags |= IEEE80211_STA_DISABLE_HT;
+ ifmgd->flags |= IEEE80211_STA_DISABLE_VHT;
+ ifmgd->flags |= IEEE80211_STA_DISABLE_HE;
+ }
after remove this change in ath11k, it become correct to HE
iw wls1 station dump:
rx bitrate: 149.7 MBit/s HE-MCS 6 HE-NSS 2 HE-GI 0 HE-DCM 0
[...]
More information about the ath11k
mailing list