Iw scan - no resuls

Hi all,

I mentioned the issue already in this post but together with other one and the title might be misleading.

I had the problem with running the wifi networks scanning for both cards. The behaviour was:

root@omnia:~# iwinfo wifipribyl scan
Scanning not possible
root@omnia:~# iwinfo wifi5 scan
<didn't even complete>

when trying through iw tool than

root@omnia:~# iw dev wifipribyl scan
root@omnia:~# iw dev wifi5 scan
command failed: Resource busy (-16)

The situation was the same after 3.5.2 upgrade so I decided to reflash the router. After the reflash the scanning of wlan0 works now but scanning of wlan1 doesn’t. Still returning:

root@turris:/etc/config# iwinfo wlan1 scan
Scanning not possible

I didn’t do any manual configuration of the router - just went through the Foris wizard.

I’m looking into it due to instability of the 2,4 GHz card and I would like to make sure that the card works as it should. If I cannot get it working properly the only option to try would be to reconfigure WLE900VX for 2,4GHz and remove 5GHz network as I still have to support older 2,4 devices.

Any suggestion on why the scanning doesn’t work?

Thanks.
Radek

Pozoruji stejný problém na Turris 1.0 s 3.5.2
Skenovat nejde s původní wifi na 5GHz, přidaná karta na 2.4GHz skenuje bez problému…
Asi by to chtělo zkompilovat novější verzi iw, Turris používá 3.17, ale nevím jestli tomu nebrání
nějaký další soft…

Just to give some background to why I’m investigating the issues with Wifi. I have some android devices connecting to 2,4GHz and they are disconnecting from Wifi. In the log I can see

2017-02-02T06:24:25+01:00 info hostapd[]: wlan1: STA 68:48:98:ef:49:41 IEEE 802.11: authenticated
2017-02-02T06:24:25+01:00 info hostapd[]: wlan1: STA 68:48:98:ef:49:41 IEEE 802.11: associated (aid 1)
2017-02-02T06:24:25+01:00 info hostapd[]: wlan1: STA 68:48:98:ef:49:41 RADIUS: starting accounting session 3CB4803E62B7E40D
2017-02-02T06:24:25+01:00 info hostapd[]: wlan1: STA 68:48:98:ef:49:41 WPA: pairwise key handshake completed (RSN)

And then a few mins later:

2017-02-02T06:26:10+01:00 info hostapd[]: wlan1: STA 68:48:98:ef:49:41 WPA: group key handshake completed (RSN)
2017-02-02T06:26:10+01:00 info hostapd[]: wlan1: STA 68:48:98:ef:49:41 IEEE 802.11: disassociated
2017-02-02T06:26:11+01:00 info hostapd[]: wlan1: STA 68:48:98:ef:49:41 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

Not sure if it is just coincidence but the deauth messages are always followed by these two lines:

2017-02-02T06:26:11+01:00 info hostapd[]: wlan0: STA cc:25:ef:02:cd:42 WPA: group key handshake completed (RSN)
2017-02-02T06:26:12+01:00 info hostapd[]: wlan0: STA a8:9f:ba:c0:27:e0 WPA: group key handshake completed (RSN)

but the handshake should be on the 5GHz card. But could these be somehow related?