wifi: ath12k: enable WIPHY_FLAG_DISABLE_WEXT
authorKalle Valo <quic_kvalo@quicinc.com>
Thu, 11 Apr 2024 16:56:45 +0000 (19:56 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 18 Apr 2024 15:20:48 +0000 (18:20 +0300)
commit03a509740b5d29705c12c4f3c6c0a2d6120201a7
treecdff5440c0bc5f0cd123af2fa5c1d4a1e97f2389
parent6ef5b4c9598c928b3e2c4c4b543c81331941f136
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
drivers/net/wireless/ath/ath12k/mac.c