On Fri, Aug 30, 2024 at 10:10:30AM +0200, Francesco Dolcini wrote: > +Sascha, that just sent a patch to handle the same issue. > > On Fri, Aug 30, 2024 at 11:06:30AM +0800, David Lin wrote: > > Current firmware doesn't support AP and STA running on different > > channels simultaneously. > > FW crash would occur in such case. > > This patch avoids the issue by disabling AP and STA to run on > > different channels. > > Is this a generic issue of specific of some firmware version? Asking since the > driver as you know is supporting multiple Wi-Fi device. The driver does, unfortunately the hardware does not. I learned this the hard way. When an accesspoint is running on uap0 and you want to connect to an accesspoint on mlan0 then it won't work when that accesspoint is on a different channel. Likewise, when you are creating an accesspoint on uap0 using channel A and another one on channel B then you'll notice that both accesspoints will end up using channel A. It took me a while to find that out. In the end I found the same channel check in the nxpwifi driver. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |