aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorSrinivas Dasari <dasaris@qti.qualcomm.com>2015-08-12 10:24:54 (GMT)
committerJouni Malinen <j@w1.fi>2015-08-13 17:58:05 (GMT)
commit75055a538b344425c91f0b70e99121f1e758fef5 (patch)
treef90bf33662f8d50b530e93bd73c42874feb408f2 /wpa_supplicant/events.c
parent708ec753bcca329e5b22cdb51aa6f80afc8fd270 (diff)
downloadhostap-75055a538b344425c91f0b70e99121f1e758fef5.zip
hostap-75055a538b344425c91f0b70e99121f1e758fef5.tar.gz
hostap-75055a538b344425c91f0b70e99121f1e758fef5.tar.bz2
nl80211: Use beacon TSF if it is newer than Probe Response TSF
cfg80211 sends TSF information with the attribute NL80211_BSS_BEACON_TSF if the scan results include information from Beacon frame. Probe Response frame information is included in NL80211_BSS_TSF. If the device receives only Beacon frames, NL80211_BSS_TSF might not carry updated TSF, which results an older TSF being used in wpa_supplicant. Fetch both possible TSF values (if available) and choose the latest TSF for the BSS entry. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/events.c')
0 files changed, 0 insertions, 0 deletions