Search Linux Wireless

Re: [PATCH 1/3] mac80211: better definition of mactime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2008-02-15 at 16:01 +0900, Bruno Randolf wrote:
> 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@xxxxxxxxxxxxx>

Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

> ---
> 
>  include/net/mac80211.h |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> 
> diff --git a/include/net/mac80211.h b/include/net/mac80211.h
> index 460da54..1b807f4 100644
> --- a/include/net/mac80211.h
> +++ b/include/net/mac80211.h
> @@ -295,7 +295,8 @@ enum mac80211_rx_flags {
>   * The low-level driver should provide this information (the subset
>   * supported by hardware) to the 802.11 code with each received
>   * frame.
> - * @mactime: MAC timestamp as defined by 802.11
> + * @mactime: value in microseconds of the 64-bit Time Synchronization Function
> + * 	(TSF) timer when the first data symbol (MPDU) arrived at the hardware.
>   * @band: the active band when this frame was received
>   * @freq: frequency the radio was tuned to when receiving this frame, in MHz
>   * @ssi: signal strength when receiving this frame
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux