On Thu, 2006-05-04 at 11:11 +0200, Jiri Benc wrote: > I think some safety fallback would be better. Like > if (stop - start < SOME_MIN_VALUE) channel_change_time = SOME_MIN_VALUE > (of course, this won't work because stop and start are unsigned, but you > probably got the idea).
Probably. And yes, it should still work since stop>start at all times. > And couldn't TSF counter overflow during the measurement? Yes, if the card has been up for like 459148 years or has been reset to an unbelievably high value. Remember, it's a 64 bit counter. johannes
signature.asc
Description: This is a digitally signed message part