Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2081a006 authored by Dmitry Shmidt's avatar Dmitry Shmidt Committed by Arunk Khandavalli
Browse files

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: default avatarDmitry Shmidt <dimitrysh@google.com>
[modified to use struct, inlines]
Signed-off-by: default avatarJohannes 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: default avatarArunk Khandavalli <akhandav@codeaurora.org>
parent dbee427a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment