On Tuesday 12 February 2008 18:52:03 Johannes Berg wrote: > > true. i was not aware that the beacon timestamp is taking PHY delays into > > account and wrongly asumed that the RX timestamp should always be a bit > > later. > > (which is also what i saw on my atheros hardware: we usually get the RX > > timestamp about 60 to 300 usec later than the beacon timestamp, but it's > > quite likely that we have not calibrated everything 100% correctly.) > > Later actually surprises me, are you sure it's not earlier? If > everything was calibrated perfectly it should be 192 usecs earlier (24*8 > bytes at the most common 1mbit beacon rate). yes, i'm sure that it's later. our debug printk shows diff= (rx_tsf - beacon_tsf) and it's positive. ulrich meis also confirmed that, but i think his message to the list got lost. i'm not so surprised about that because the hardware would have to be calibrated 100% correctly to compensate for the TX delay as well as the RX delay (if both sides use ath5k) and it's really quite likely that we don't do that right for ath5k yet. please see also my previous mail, i think that mactime is not well defined as well :( bruno - 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