]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: better definition of mactime
authorBruno Randolf <bruno@thinktube.com>
Mon, 18 Feb 2008 02:20:51 +0000 (11:20 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:11 +0000 (15:37 -0500)
commitc132bec33c2eb5e46d8e4b80cfa5a9656d8e57e7
tree3a96d97adcbb4c47a349337a9d3943a54e2f06ce
parent3230455d13860b26f638b9d58a8c5f20bf32fda2
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>
include/net/mac80211.h