mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 00:53:34 +02:00
wifi: ath12k: enable WIPHY_FLAG_DISABLE_WEXT
ath12k will support Multi-Link Operation (MLO) in the future but not yet. A major change with MLO is that cfg80211 will disable Wireless Extension (WEXT) user space interface. To avoid having inconsistent user experience, first supporting WEXT and later not, disable WEXT already now. Now ath12k claims that WEXT is not supported: $ iwconfig wlan0 wlan0 no wireless extensions. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com> Link: https://msgid.link/20240411165645.4071238-1-kvalo@kernel.org
This commit is contained in:
parent
6ef5b4c959
commit
03a509740b
|
|
@ -8617,6 +8617,12 @@ static int ath12k_mac_hw_register(struct ath12k_hw *ah)
|
|||
wiphy->features |= NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE |
|
||||
NL80211_FEATURE_AP_SCAN;
|
||||
|
||||
/* MLO is not yet supported so disable Wireless Extensions for now
|
||||
* to make sure ath12k users don't use it. This flag can be removed
|
||||
* once WIPHY_FLAG_SUPPORTS_MLO is enabled.
|
||||
*/
|
||||
wiphy->flags |= WIPHY_FLAG_DISABLE_WEXT;
|
||||
|
||||
hw->queues = ATH12K_HW_MAX_QUEUES;
|
||||
wiphy->tx_queue_len = ATH12K_QUEUE_LEN;
|
||||
hw->offchannel_tx_hw_queue = ATH12K_HW_MAX_QUEUES - 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user