Re: [PATCH] wifi: mwifiex: Set WIPHY_FLAG_NETNS_OK flag

From: Kalle Valo
Date: Tue Jul 25 2023 - 11:15:28 EST


Johannes Wiesboeck <johannes.wiesboeck@xxxxxxxxxxxxxxxxxxx> wrote:

> Allow moving the wiphy device for mwififex to a non-inital network
> namespace. Many wireless drivers enable this flag implicitly by
> initializing through the generic ieee80211_alloc_hw_nm function. As
> mwifiex does not utilize this function WIPHY_FLAG_NETNS_OK must be set
> explicitly.
>
> Moving to network namespace and working connection tested using
> wpa_supplicant from a network namespace as well as from a container on
> GyroidOS. The hardware was the Toradex Apalis i.MX8QM Board using the
> Azurewave AW-CM276NF wireless module.
>
> Signed-off-by: Johannes Wiesboeck <johannes.wiesboeck@xxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Michael Weiß <michael.weiss@xxxxxxxxxxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

7ee92f6b4160 wifi: mwifiex: Set WIPHY_FLAG_NETNS_OK flag

--
https://patchwork.kernel.org/project/linux-wireless/patch/20230706093437.3380526-1-johannes.wiesboeck@xxxxxxxxxxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches