]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit047acab26825b7cd09ac0b26b03676f71476e51d
tree1ef517be926bd0f4482285c6ef5182f25a63969a
parente9dded9b44b426b47010043317f76275b4c8d0b5
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