Lines Matching full:tsf
224 * Calculate a TSF adjustment factor required for staggered in ath_beacon_alloc()
234 * The beacon interval is in TU's; the TSF is in usecs. in ath_beacon_alloc()
236 * then convert to TSF units and handle byte swapping before in ath_beacon_alloc()
245 tsfadjust = htole64(tsfadjust << 10); /* TU -> TSF */ in ath_beacon_alloc()
912 * When operating as an AP this resets the TSF and sets
917 * beacon and the current TSF, configures PCF and DTIM
936 u_int64_t tsf, tsf_beacon; in ath_beacon_config() local
1012 * that the AP has started transmitting beacons at TSF values that in ath_beacon_config()
1045 * TSF and calculate dtim+cfp state for the result. in ath_beacon_config()
1047 tsf = ath_hal_gettsf64(ah); in ath_beacon_config()
1048 tsftu = TSF_TO_TU(tsf>>32, tsf) + FUDGE; in ath_beacon_config()
1051 "%s: beacon tsf=%llu, hw tsf=%llu, nexttbtt=%u, tsftu=%u\n", in ath_beacon_config()
1054 (unsigned long long) tsf, in ath_beacon_config()
1058 "%s: beacon tsf=%llu, hw tsf=%llu, tsf delta=%lld\n", in ath_beacon_config()
1061 (unsigned long long) tsf, in ath_beacon_config()
1062 (long long) tsf - in ath_beacon_config()
1066 "%s: nexttbtt=%llu, beacon tsf delta=%lld\n", in ath_beacon_config()
1101 "%s: adj nexttbtt=%llu, rx tsf delta=%lld\n", in ath_beacon_config()
1104 (long long) ((long long)nexttbtt * 1024LL) - (long long)tsf); in ath_beacon_config()
1152 "%s: tsf %ju tsf:tu %u intval %u nexttbtt %u dtim %u " in ath_beacon_config()
1156 , tsf in ath_beacon_config()
1191 * the current TSF. in ath_beacon_config()
1193 tsf = ath_hal_gettsf64(ah); in ath_beacon_config()
1194 tsftu = TSF_TO_TU(tsf>>32, tsf) + FUDGE; in ath_beacon_config()
1236 tsf = ath_hal_gettsf64(ah); in ath_beacon_config()
1240 (unsigned long long) tsf, in ath_beacon_config()
1242 (long long) tsf - in ath_beacon_config()