Message ID | 20250313-ath12-wideband-caps-v1-1-23ac4247cd8a@8devices.com (mailing list archive) |
---|---|
State | New |
Delegated to: | Jeff Johnson |
Headers | show |
Series | wifi: ath12k: fix 5GHz operation on wideband QCN9274 radios | expand |
On 3/13/2025 2:30 PM, Mantas Pucka wrote: > Currently ath12k_mac_setup_ht_vht_cap() incorrectly assumes that QCN9274 > radios with 6GHz band can't support 5GHz as well. This prevents the > addition of HT and VHT capabilities for the 5GHz band. Since QCN9274 is > capable of operating in multiple bands, remove the 6GHz support check and > exception for single_pdev_only (i.e. WCN7850). > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Mantas Pucka <mantas@8devices.com> > --- > drivers/net/wireless/ath/ath12k/mac.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath12k/mac.c b/drivers/net/wireless/ath/ath12k/mac.c > index dfa05f0ee6c9f7356634ab55a6d9c0b4064645a9..aea3ad01b0671fd236ee70864aee4c1e65f564db 100644 > --- a/drivers/net/wireless/ath/ath12k/mac.c > +++ b/drivers/net/wireless/ath/ath12k/mac.c > @@ -6484,9 +6484,7 @@ static void ath12k_mac_setup_ht_vht_cap(struct ath12k *ar, > rate_cap_rx_chainmask); > } > > - if (cap->supported_bands & WMI_HOST_WLAN_5G_CAP && > - (ar->ab->hw_params->single_pdev_only || > - !ar->supports_6ghz)) { > + if (cap->supported_bands & WMI_HOST_WLAN_5G_CAP) { > band = &ar->mac.sbands[NL80211_BAND_5GHZ]; > ht_cap = cap->band[NL80211_BAND_5GHZ].ht_cap_info; > if (ht_cap_info) > NAK Multi-band configuration is supported for scan radio only even that requires additional driver changes.
diff --git a/drivers/net/wireless/ath/ath12k/mac.c b/drivers/net/wireless/ath/ath12k/mac.c index dfa05f0ee6c9f7356634ab55a6d9c0b4064645a9..aea3ad01b0671fd236ee70864aee4c1e65f564db 100644 --- a/drivers/net/wireless/ath/ath12k/mac.c +++ b/drivers/net/wireless/ath/ath12k/mac.c @@ -6484,9 +6484,7 @@ static void ath12k_mac_setup_ht_vht_cap(struct ath12k *ar, rate_cap_rx_chainmask); } - if (cap->supported_bands & WMI_HOST_WLAN_5G_CAP && - (ar->ab->hw_params->single_pdev_only || - !ar->supports_6ghz)) { + if (cap->supported_bands & WMI_HOST_WLAN_5G_CAP) { band = &ar->mac.sbands[NL80211_BAND_5GHZ]; ht_cap = cap->band[NL80211_BAND_5GHZ].ht_cap_info; if (ht_cap_info)
Currently ath12k_mac_setup_ht_vht_cap() incorrectly assumes that QCN9274 radios with 6GHz band can't support 5GHz as well. This prevents the addition of HT and VHT capabilities for the 5GHz band. Since QCN9274 is capable of operating in multiple bands, remove the 6GHz support check and exception for single_pdev_only (i.e. WCN7850). Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1 Signed-off-by: Mantas Pucka <mantas@8devices.com> --- drivers/net/wireless/ath/ath12k/mac.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- base-commit: 42aa76e608ca845c98e79f9e23af0bdb07b2eb1d change-id: 20250313-ath12-wideband-caps-24b281788dfe Best regards,