Search Linux Wireless

Re: IBSS issues

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

 



Alina Friedrichsen wrote:
> But is it calculated only one time after the join? The TSF value in the template is
> really fast outdated. I think why not let __ieee80211_sta_join_ibss() call the
> set_tsf() callback, so that the TSF is mostly synced from the beginning on
> and fine-tuned later by the hardware?


Yes, the TBTT is calculated only once after joining the BSS network.

Am not sure I understand the proposal. What would the tsf value in set_tsf() be ?
11.1.4 (IEEE802.11-2007) says that the TSF has to be reset to zero on joining
an IBSS network. We do that correctly. To calculate the next TBTT, we can't use the
HW TSF, since it has just been reset. And the Beacon's timestamp + intval + FUDGE
is what we do in ath9k to get the TBTT for this peer, which I think is correct.
A sniffer shows the beacon generation being evenly distributed.

Sujith
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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