On Sat, Jan 24, 2009 at 10:53:22PM +0100, Alina Friedrichsen wrote: > Hallo Dan! Uhm.. Dan was not on To: or Cc: field.. Anyway.. > The old version I have taken from an several years old madwifi patch. It works only with old ath5k hardware. With my new Atheros-Cards the lower 32 bits of the TSF are only set to zero, not set to the new value. The new code does work with all my ath5k and ath9k cards. The proposed ath9k change looks fine. The AR_TSF_L32 write does not actually change TSF and hardware will just store the value temporarily. The actual change is started by writing the AR_TSF_U32. It looks like there are some corner cases where the TSF may not actually change if it is being updated (e.g., a Beacon is received) or we are waking up from sleep mode etc., but I would hope they do not matter too much with this debugging need. -- Jouni Malinen PGP id EFC895FA -- 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