From: Jeff Johnson <quic_jjohnson@quicinc.com>
To: Kalle Valo <kvalo@kernel.org>, <ath12k@lists.infradead.org>
Cc: <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] wifi: ath12k: enable WIPHY_FLAG_DISABLE_WEXT
Date: Thu, 11 Apr 2024 12:41:48 -0700 [thread overview]
Message-ID: <e8618364-e547-41e1-b18f-4cddeafd3371@quicinc.com> (raw)
In-Reply-To: <20240411165645.4071238-1-kvalo@kernel.org>
On 4/11/2024 9:56 AM, Kalle Valo wrote:
> From: Kalle Valo <quic_kvalo@quicinc.com>
>
> 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>
> ---
> drivers/net/wireless/ath/ath12k/mac.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/net/wireless/ath/ath12k/mac.c b/drivers/net/wireless/ath/ath12k/mac.c
> index f15dcd75157d..e989628d7d72 100644
> --- a/drivers/net/wireless/ath/ath12k/mac.c
> +++ b/drivers/net/wireless/ath/ath12k/mac.c
> @@ -8556,6 +8556,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;
>
> base-commit: 363e7193eaf258fe7f04e8db560bd8a282a12cd9
Currently on my version of Ubuntu when I switch to Hotspot mode I'm seeing:
[ 55.189623] warning: `iwconfig' uses wireless extensions which will stop
working for Wi-Fi 7 hardware; use nl80211
So are userspace folks aware of the need to move away from iwconfig?
Is there a Ubuntu / Network Manager fix fir this?
/jeff
/jeff
next prev parent reply other threads:[~2024-04-11 19:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-11 16:56 [PATCH] wifi: ath12k: enable WIPHY_FLAG_DISABLE_WEXT Kalle Valo
2024-04-11 19:41 ` Jeff Johnson [this message]
2024-04-11 20:59 ` Jeff Johnson
2024-04-13 19:15 ` Jeff Johnson
2024-04-15 16:27 ` Kalle Valo
2024-04-15 16:59 ` Jeff Johnson
2024-04-15 17:17 ` Kalle Valo
2024-04-18 15:21 ` Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e8618364-e547-41e1-b18f-4cddeafd3371@quicinc.com \
--to=quic_jjohnson@quicinc.com \
--cc=ath12k@lists.infradead.org \
--cc=kvalo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox