Lines Matching refs:tsf_beacon
339 uint64_t tsf_beacon_old, tsf_beacon; in ath_recv_mgmt() local
386 tsf_beacon = ((uint64_t) le32dec(ni->ni_tstamp.data + 4)) << 32; in ath_recv_mgmt()
387 tsf_beacon |= le32dec(ni->ni_tstamp.data); in ath_recv_mgmt()
396 tsf_delta = (long long) tsf_beacon - (long long) tsf_beacon_old; in ath_recv_mgmt()
421 if (tsf_beacon < tsf_beacon_target) { in ath_recv_mgmt()
423 -(tsf_intval - ((tsf_beacon - tsf_beacon_old) % tsf_intval)); in ath_recv_mgmt()
425 tsf_remainder = (tsf_beacon - tsf_beacon_old) % tsf_intval; in ath_recv_mgmt()
433 (unsigned long long) tsf_beacon, in ath_recv_mgmt()
434 (unsigned int ) (tsf_beacon >> 10), in ath_recv_mgmt()
446 (unsigned long long) tsf_beacon, in ath_recv_mgmt()
447 (unsigned int) (tsf_beacon >> 10), in ath_recv_mgmt()
450 (int32_t) tsf_beacon - (int32_t) nexttbtt + tsf_intval); in ath_recv_mgmt()