Home | History | Annotate | Download | only in ic

Lines Matching refs:tsf

922 		u_int64_t tsf = ath_hal_gettsf64(sc->sc_ah);
925 "%s: tsf %" PRIu64 " lastrx %" PRId64
927 __func__, tsf, tsf - lastrx, lastrx,
936 if (tsf - lastrx > ic->ic_bmisstimeout*1024) {
1446 u_int64_t tsf;
1449 tsf = ath_hal_gettsf64(ah);
1451 tsf += 100;
1453 tstamp[0] = htole32(tsf & 0xffffffff);
1454 tstamp[1] = htole32(tsf >> 32);
2456 * When operating as an AP this resets the TSF and sets
2461 * beacon and the current TSF, configures PCF and DTIM
2478 u_int64_t tsf;
2510 * TSF and calculate dtim+cfp state for the result.
2512 tsf = ath_hal_gettsf64(ah);
2513 tsftu = TSF_TO_TU(tsf>>32, tsf) + FUDGE;
2570 "%s: tsf %ju tsf:tu %u intval %u nexttbtt %u dtim %u nextdtim %u bmiss %u sleep %u cfp:period %u maxdur %u next %u timoffset %u\n"
2572 , tsf, tsftu
2606 * the current TSF.
2608 tsf = ath_hal_gettsf64(ah);
2609 tsftu = TSF_TO_TU(tsf>>32, tsf) + FUDGE;
2935 * a full 64-bit TSF using the specified TSF.
2938 ath_extend_tsf(u_int32_t rstamp, u_int64_t tsf)
2940 if ((tsf & 0x7fff) < rstamp)
2941 tsf -= 0x8000;
2942 return ((tsf &~ 0x7fff) | rstamp);
2968 * Resync beacon timers using the tsf of the beacon
2977 u_int64_t tsf = ath_extend_tsf(rstamp,
2981 * Handle ibss merge as needed; check the tsf on the
2985 * is determined by the tsf. Note that hardware
2990 if (le64toh(ni->ni_tstamp.tsf) >= tsf) {
2992 "ibss merge, rstamp %u tsf %ju "
2993 "tstamp %ju\n", rstamp, (uintmax_t)tsf,
2994 (uintmax_t)ni->ni_tstamp.tsf);
3052 u_int64_t tsf;
3069 tsf = ath_hal_gettsf64(ah);
3211 ath_extend_tsf(ds->ds_rxstat.rs_tstamp, tsf));
3317 sc->sc_lastrx = tsf;
3984 u_int64_t tsf = ath_hal_gettsf64(ah);
3986 sc->sc_tx_th.wt_tsf = htole64(tsf);
4830 * have a current TSF to use. Otherwise we're
4834 ic->ic_bss->ni_tstamp.tsf != 0)
4849 * beacon frame so we have a current TSF to use
4850 * (any TSF collected when scanning is likely old).