Lines Matching full:tsf
22 static u32 ath9k_get_next_tbtt(struct ath_hw *ah, u64 tsf, in ath9k_get_next_tbtt() argument
27 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time); in ath9k_get_next_tbtt()
29 div_u64_rem(tsf, divisor, &offset); in ath9k_get_next_tbtt()
31 return (u32) tsf + divisor - offset; in ath9k_get_next_tbtt()
36 * received beacon and the current TSF, configures PCF and DTIM
48 u64 tsf; in ath9k_cmn_beacon_config_sta() local
68 * TSF and calculate dtim state for the result. in ath9k_cmn_beacon_config_sta()
70 tsf = ath9k_hw_gettsf64(ah); in ath9k_cmn_beacon_config_sta()
71 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval); in ath9k_cmn_beacon_config_sta()
78 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval); in ath9k_cmn_beacon_config_sta()
106 /* TSF out of range threshold fixed at 1 second */ in ath9k_cmn_beacon_config_sta()