[PATCH 3/4] nl80211: fix simultaneous scanning failure in case of MLO
Aditya Kumar Singh
quic_adisi at quicinc.com
Wed Jun 12 02:13:52 PDT 2024
On 6/12/24 02:46, Jouni Malinen wrote:
> 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.
>
Sure, will address 2/4 comments and send 2/4 and 3/4 in next version.
More information about the Hostap
mailing list