Wifi scanning while wpa_supplicant runs as Mesh node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, we are using wpa_supplicant for Mesh with TI WL1807MOD (driver wl18xx) 
on kernel 5.4.70. AP/hostapd is also running on the same module. As soon 
as we start wpa_supplicant, it is no longer possible to scan wifi networks 
with "iw dev wlan0_mesh scan". It returns:

command failed: Device or resource busy (-16)

I have identified that the reason for this is that wl18xx does not allow 
any scanning if it is in Remain On Channel:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/wireless/ti/wlcore/main.c?h=linux-5.4.y#n3700

The reason why it is in ROC is due to this code:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/wireless/ti/wlcore/main.c?h=linux-5.4.y#n5136

But is it really to be expected that ROC is active "forever" in a Mesh+AP 
setup, rather than just for a brief moment? 

We are currently using wpa_supplicant revision 
f725254cc1297532a553de9fa5af8484ec95cda4. 


Br,
Peter Åstrand
_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux