aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorBruno Randolf <bruno@thinktube.com>2008-02-17 21:20:51 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:37:11 -0500
commitc132bec33c2eb5e46d8e4b80cfa5a9656d8e57e7 (patch)
tree3a96d97adcbb4c47a349337a9d3943a54e2f06ce /include/net/mac80211.h
parent3230455d13860b26f638b9d58a8c5f20bf32fda2 (diff)
mac80211: better definition of mactime
define mactime as the time when the first data symbol arrived at the HW. the old definition was questionable because 802.11 defines timestamp only for beacon and probe response frames, and there it means the timestamp field. a stricter definition of mactime is necessary for correct merging of IBSS. note that it is up to the driver to convert whatever its hardware returns to this definition. unfortunately we don't know for example when atheros hardware takes its rx timestamp exactly :( Signed-off-by: Bruno Randolf <bruno@thinktube.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 027d51f876ee..1a1d0d8203aa 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -295,7 +295,8 @@ enum mac80211_rx_flags {
295 * The low-level driver should provide this information (the subset 295 * The low-level driver should provide this information (the subset
296 * supported by hardware) to the 802.11 code with each received 296 * supported by hardware) to the 802.11 code with each received
297 * frame. 297 * frame.
298 * @mactime: MAC timestamp as defined by 802.11 298 * @mactime: value in microseconds of the 64-bit Time Synchronization Function
299 * (TSF) timer when the first data symbol (MPDU) arrived at the hardware.
299 * @band: the active band when this frame was received 300 * @band: the active band when this frame was received
300 * @freq: frequency the radio was tuned to when receiving this frame, in MHz 301 * @freq: frequency the radio was tuned to when receiving this frame, in MHz
301 * @ssi: signal strength when receiving this frame 302 * @ssi: signal strength when receiving this frame