On Thu, Jul 1, 2010 at 12:02 AM, Pavel Roskin <proski@xxxxxxx> wrote: > On Wed, 2010-06-30 at 02:07 +0200, Felix Fietkau wrote: >> + if (AR_SREV_9100(ah) && (ath9k_hw_gettsf64(ah) < tsf)) { >> + tsf += 1500; > > Why 1500? Is it a magic number? It is a result of some measurement? > Can we have a define for it, please? Does the TSF always start counting from zero when the chip is reset? In that case maybe the "magic number" can be replaced with the return value from ath9k_hw_gettsf64() (which we call anyway). /Björn -- 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