Re: [v3] wifi: mwifiex: configure BSSID consistently when starting AP

From: Kalle Valo
Date: Fri Dec 15 2023 - 08:25:56 EST


David Lin <yu-hao.lin@xxxxxxx> wrote:

> AP BSSID configuration is missing at AP start. Without this fix, FW returns
> STA interface MAC address after first init. When hostapd restarts, it gets MAC
> address from netdev before driver sets STA MAC to netdev again. Now MAC address
> between hostapd and net interface are different causes STA cannot connect to
> AP. After that MAC address of uap0 mlan0 become the same. And issue disappears
> after following hostapd restart (another issue is AP/STA MAC address become the
> same).
>
> This patch fixes the issue cleanly.
>
> Signed-off-by: David Lin <yu-hao.lin@xxxxxxx>
> Fixes: 12190c5d80bd ("mwifiex: add cfg80211 start_ap and stop_ap handlers")
> Cc: stable@xxxxxxxxxxxxxxx
> Reviewed-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
> Tested-by: Rafael Beims <rafael.beims@xxxxxxxxxxx> # Verdin iMX8MP/SD8997 SD
> Acked-by: Brian Norris <briannorris@xxxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

f0dd488e11e7 wifi: mwifiex: configure BSSID consistently when starting AP

--
https://patchwork.kernel.org/project/linux-wireless/patch/20231215005118.17031-1-yu-hao.lin@xxxxxxx/

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