[PATCH 3/4] nl80211: fix simultaneous scanning failure in case of MLO

Jouni Malinen j at w1.fi
Tue Jun 11 14:16:59 PDT 2024


On Mon, Apr 22, 2024 at 04:49:05PM +0530, Aditya Kumar Singh wrote:
> Currently only 1 scan can be performed on per phy level at a time in
> driver. Due to this, if via other underlying phy, a scan request is sent,
> kernel returns -EBUSY. And then hostapd would try to set the interface in
> station mode if it was originally in AP mode and retry sending a scan
> request. However, this behaviour is expected in case of multi link
> operation and hence there is no need to switch the mode as such.
> 
> Hence, add logic to not change the NL mode if kernel returns -EBUSY during
> multi link AP operation. The caller can accordingly decide and if needed,
> it can re-schedule a scan request after some time.

This does not compile without patch 2/4, so I cannot apply this before
the items on patch 2 are addressed.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list