diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-02-23 21:05:06 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-05 08:48:55 (GMT) |
commit | 162dd6a7253ab009c6335c21ce6b80cf227ddda4 (patch) | |
tree | 7728515321dbf40d62ce7cd7f36a20caf8635084 /net/mac80211/scan.c | |
parent | 646e76bb5daf4ca38438c69ffb72cccb605f3466 (diff) | |
download | linux-162dd6a7253ab009c6335c21ce6b80cf227ddda4.tar.xz |
mac80211: allow drivers to report CLOCK_BOOTTIME for scan results
This was requested by Android, and the appropriate cfg80211 API
had been added by Dmitry. Support it in mac80211, allowing drivers
to provide the timestamp.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/scan.c')
-rw-r--r-- | net/mac80211/scan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index ae980ce..a3fea1f 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c @@ -66,7 +66,9 @@ ieee80211_bss_info_update(struct ieee80211_local *local, struct cfg80211_bss *cbss; struct ieee80211_bss *bss; int clen, srlen; - struct cfg80211_inform_bss bss_meta = {}; + struct cfg80211_inform_bss bss_meta = { + .boottime_ns = rx_status->boottime_ns, + }; bool signal_valid; if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) |