[PATCH 2/4] Add support for AP+STA on a single radio

Raphaël Mélotte raphael.melotte at mind.be
Wed Apr 5 05:21:50 PDT 2023


Hi Alvin,

On 3/30/23 00:38, Alvin Šipraga wrote:
> Isn't the issue you describe more a shortcoming of the wireless driver
> rather than hostapd/wpa_supplicant? The driver is able to notify hostapd
> of a channel switch on the AP interface, which might happen if a STA
> sharing the same radio got connected. Some fullmac drivers behave this
> way and I think it is correct. hostapd also handles it more or less OK.
> 
> Here is a quite old commit which does something to that effect:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c4f7863eae6f580a0373cbd8dc2731d082570e69
> 
> Did you consider doing something like this? I know it is not easy to
> update all the drivers in the kernel...

I didn't know some drivers already did that.
Thanks for the link, I will take a closer look.

Now I wonder how many drivers already implement it and whether it makes sense or not for hostapd/wpa_supplicant to take care of it for the ones that don't (provided that it doesn't prevent other drivers from behaving normally).

Kind regards,

Raphaël



More information about the Hostap mailing list