Lines Matching full:tsf

202 	u64 tsf = ath5k_hw_get_tsf64(ah);  in ath5k_extend_tsf()  local
204 if ((tsf & 0x7fff) < rstamp) in ath5k_extend_tsf()
205 tsf -= 0x8000; in ath5k_extend_tsf()
207 return (tsf & ~0x7fff) | rstamp; in ath5k_extend_tsf()
1288 u64 tsf, bc_tstamp; in ath5k_check_ibss_tsf() local
1295 * have updated the local TSF. We have to work around various in ath5k_check_ibss_tsf()
1298 tsf = ath5k_hw_get_tsf64(ah); in ath5k_check_ibss_tsf()
1300 hw_tu = TSF_TO_TU(tsf); in ath5k_check_ibss_tsf()
1303 "beacon %llx mactime %llx (diff %lld) tsf now %llx\n", in ath5k_check_ibss_tsf()
1307 (unsigned long long)tsf); in ath5k_check_ibss_tsf()
1324 (unsigned long long)tsf); in ath5k_check_ibss_tsf()
1325 rxs->mactime = tsf; in ath5k_check_ibss_tsf()
1329 * Local TSF might have moved higher than our beacon timers, in ath5k_check_ibss_tsf()
1337 /* Check if the beacon timers are still correct, because a TSF in ath5k_check_ibss_tsf()
1438 * 15bit only. that means TSF extension has to be done within in ath5k_receive_frame()
2014 u64 tsf = ath5k_hw_get_tsf64(ah); in ath5k_beacon_send() local
2015 u32 tsftu = TSF_TO_TU(tsf); in ath5k_beacon_send()
2019 "tsf %llx tsftu %x intval %u slot %u vif %p\n", in ath5k_beacon_send()
2020 (unsigned long long)tsf, tsftu, ah->bintval, slot, vif); in ath5k_beacon_send()
2078 * @bc_tsf: the timestamp of the beacon. 0 to reset the TSF. -1 to perform a
2079 * beacon timer update based on the current HW TSF.
2082 * of a received beacon or the current local hardware TSF and write it to the
2086 * when a TSF update has been detected, but also when an new IBSS is created or
2107 /* beacon TSF converted to TU */ in ath5k_beacon_update_timers()
2110 /* current TSF converted to TU */ in ath5k_beacon_update_timers()
2122 * just need to refresh timers based on HW TSF. in ath5k_beacon_update_timers()
2128 * reset TSF to start with 0. in ath5k_beacon_update_timers()
2134 * beacon received, SW merge happened but HW TSF not yet updated. in ath5k_beacon_update_timers()
2137 * automatically update the TSF and then we need to reconfigure in ath5k_beacon_update_timers()
2141 "need to wait for HW TSF sync\n"); in ath5k_beacon_update_timers()
2147 * beacon received and HW TSF has been already updated by HW. in ath5k_beacon_update_timers()
2148 * update next TBTT based on the TSF of the beacon, but make in ath5k_beacon_update_timers()
2149 * sure it is ahead of our local TSF timer. in ath5k_beacon_update_timers()
2166 "reconfigured timers based on HW TSF\n"); in ath5k_beacon_update_timers()
2169 "reset HW TSF and timers\n"); in ath5k_beacon_update_timers()
2172 "updated timers based on beacon TSF\n"); in ath5k_beacon_update_timers()
2190 * interrupts to detect TSF updates only.
2205 * timers in order to detect automatic TSF updates. in ath5k_beacon_config()
2234 * automatic TSF updates happened. in ath5k_tasklet_beacon()
2238 u64 tsf = ath5k_hw_get_tsf64(ah); in ath5k_tasklet_beacon() local
2242 "TSF: %llx\n", in ath5k_tasklet_beacon()
2244 TSF_TO_TU(tsf), in ath5k_tasklet_beacon()
2245 (unsigned long long) tsf); in ath5k_tasklet_beacon()