Regression in suspend/resume after "nl80211: Drop frame events that are for foreign address"

Peer, Ilan ilan.peer
Sun May 12 12:30:12 PDT 2013


Hi all, 

Need some help with properly fixing the following issue :)

Using the latest hostap 2.0 we are seeing connectivity problems after a suspend/resume cycle, where the wpa_supplicant assumes that it is still connected to the AP although the station was disconnected from the AP during the suspend flow. We tried bisecting this, and the results point to the change  introduced in "nl80211: Drop frame events that are for foreign address". The logs after the resume show that event 39 (DEAUTH) is ignored due to an address mismatch (where A1 is the BSSID of the AP that we have just disconnected from). After the patch was reverted the connection after suspend/resume was successful.

wpa_supplicant[10881]: RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
wpa_supplicant[10881]: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
wpa_supplicant[10881]: nl80211: if_removed already cleared - ignore event
wpa_supplicant[10881]: nl80211: Ignore event for foreign ifindex 2
wpa_supplicant[10881]: nl80211: Ignore event for foreign ifindex 2
wpa_supplicant[10881]: nl80211: Event message available
wpa_supplicant[10881]: nl80211: Delete station 00:23:5d:8e:6e:a0
wpa_supplicant[10881]: nl80211: Event message available
wpa_supplicant[10881]: nl80211: MLME event 39 on wlan0(00:15:00:bf:47:8a) A1=00:23:5d:8e:6e:a0
wpa_supplicant[10881]: nl80211: wlan0: Ignore MLME frame event for foreign address

Thanks in advance,

Ilan.



More information about the Hostap mailing list