OSDN Git Service

mac80211_hwsim: Support boottime in scan results
authorJouni Malinen <j@w1.fi>
Fri, 1 Feb 2019 23:16:31 +0000 (01:16 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 5 Feb 2019 21:36:55 +0000 (22:36 +0100)
commit341203e78943236d4a8e4ca58d6a236195f0652e
tree1ef517be926bd0f4482285c6ef5182f25a63969a
parentbf2fa12593c2bb77c7ab84254ac69af429d6719b
mac80211_hwsim: Support boottime in scan results

This makes the age information for cfg80211 scan results more accurate
and fixes issues with wpa_supplicant dropping "old" scan results (e.g.,
"wlan0: Own scan request started a scan in 0.000456 seconds") that
looked like would have been received before a scan started due to the
inaccuracy of the default timing mechanism for calculating the BSS entry
age. This makes hwsim test cases significantly more robust to run.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c