Hi Marcel, > After a long debugging session with Reinette we finally tracked down > what is going on here. A full scan with this card takes 7-9 seconds and > that seems to be too long and trigger IEEE80211_MONITORING_INTERVAL > which then deauthenticates us with the AP (reason=6). Yeah, this is a bug. We analysed this problem a couple of days ago and I thought Kalle was going to fix it -- maybe he forgot. I forgot what exactly it was and how to fix it, hmm. Right now I'm confused and can't seem to reproduce my analysis. I thought it had something to do with using a different timer but we do seem to use the regular mgd.timer, so I'm not sure. > Problem then is > that the attempt authenticate/associate with the AP fails with all the > time (reason=2). Bringing the interface down/up again doesn't help. It > seems that some internal mac80211 states are messed up. Some times the > whole process stalls completely and nothing happens anymore. Only > unloading and reloading the driver or rebooting helps. Hmm. Reason 2 is "Previous authentication no longer valid" which would seem we get confused wrt. being authenticated or not (ie. we think we are, but are not). Jouni might know? Can you try wpa_supplicant from git with -Dnl80211? > Increasing the IEEE80211_MONITORING_INTERVAL to 10 seconds doesn't > trigger the deauthentication with the AP anymore (or less likely). > > During debugging I verified that only the scan actually triggers the > deauthentication. If I don't scan (NM disabled) then everything works > smoothly. Right. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part