Hi,
Jose Alonso wrote:
Using the airo driver with NetworkManager and WPA causes a disconnect and a new reauthentication periodically (1-2 minutes). The disconnection occurs when NetworkManager issue a wireless scan. Patching the driver and ignoring the command CMD_LISTBSS when in WPA mode avoids this problem. (no new stations when in wpa) Do you know if CMD_LISTBSS can be used in WPA mode? Or is another problem?
If you check the caller of the readBSSListRid function, you will see that CMD_LISTBSS cmd is emitted if doLoseSync var is set. I suspect the same issue happen in other modes, but is less annoying So it seems that the airo card can't be connected and scanning at the same time. A workaround could be to not send CMD_LISTBSS in wpa mode (what you did). If the attached patch work for you, I will commit. Thanks, Matthieu
Index: airo.c =================================================================== --- airo.c (révision 46) +++ airo.c (copie de travail) @@ -7646,6 +7646,13 @@ if (ai->scan_timeout > 0) goto out; + /* setting CMD_LISTBSS make LoseSync, this + * can be very annoying with network manager that issue scan command + * every minute + */ + if (ai->wpa_key_enabled) + goto out; + /* Initiate a scan command */ ai->scan_timeout = RUN_AT(3*HZ); memset(&cmd, 0, sizeof(cmd));
_______________________________________________ Airo-wpa-dev mailing list [email protected] https://mail.gna.org/listinfo/airo-wpa-dev
