nl80211: allow BSS data to include CLOCK_BOOTTIME timestamp
For location and connectivity services, userspace would often like to know the time when the BSS was last seen. The current "last seen" value is calculated in a way that makes it less useful, especially if the system suspended in the meantime. Add the ability for the driver to report a real CLOCK_BOOTTIME stamp that can then be reported to userspace (if present). Drivers wishing to use this must be converted to the new API to call cfg80211_inform_bss_data() or cfg80211_inform_bss_frame_data(). They need to ensure the reported value is accurate enough even when the frame might have been buffered in the device (e.g. firmware.) Signed-off-by:Dmitry Shmidt <dimitrysh@google.com> [modified to use struct, inlines] Signed-off-by:
Johannes Berg <johannes.berg@intel.com> Git-commit: 6e19bc4b7091ffd26586100eee78232b44427ec7 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Change-Id: I4e24f7bd436d0c9806eae2a2b97f91fc5545a2c8 CRs-Fixed: 1082852 Signed-off-by:
Arunk Khandavalli <akhandav@codeaurora.org>
Loading
Please register or sign in to comment