kernel_samsung_a53x/drivers/net/wireless
David Lin 84b74dc553 wifi: mwifiex: configure BSSID consistently when starting AP
commit f0dd488e11e71ac095df7638d892209c629d9af2 upstream.

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@nxp.com>
Fixes: 12190c5d80bd ("mwifiex: add cfg80211 start_ap and stop_ap handlers")
Cc: stable@vger.kernel.org
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Tested-by: Rafael Beims <rafael.beims@toradex.com> # Verdin iMX8MP/SD8997 SD
Acked-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20231215005118.17031-1-yu-hao.lin@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 12:12:48 +01:00
..
admtek Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ath wifi: ath11k: Defer on rproc_get failure 2024-11-18 12:12:28 +01:00
atmel Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
broadcom drivers: net: wireless: broadcom: enable p2p mac randomization support 2024-11-17 17:43:19 +01:00
cisco Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cnss2 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cnss_genl Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cnss_prealloc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cnss_utils Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel wifi: iwlwifi: Use FW rate for non-data frames 2024-11-18 11:43:15 +01:00
intersil Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
marvell wifi: mwifiex: configure BSSID consistently when starting AP 2024-11-18 12:12:48 +01:00
mediatek wifi: mt76: replace skb_put with skb_put_zero 2024-10-04 20:09:30 -03:00
microchip Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qualcomm/qca6490 qcacld-3.0: Disable auto IRQ affinity feature 2024-11-17 17:44:53 +01:00
quantenna Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ralink Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
realtek wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors 2024-11-18 12:12:47 +01:00
rsi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scsc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
zydas Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mac80211_hwsim.c wifi: mac80211_hwsim: fix clang-specific fortify warning 2024-11-18 11:43:12 +01:00
mac80211_hwsim.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ray_cs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ray_cs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rayctl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rndis_wlan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
virt_wifi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wl3501.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wl3501_cs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00