Home | History | Annotate | Download | only in ic

Lines Matching defs:tsf

923 		u_int64_t tsf = ath_hal_gettsf64(sc->sc_ah);
926 "%s: tsf %" PRIu64 " lastrx %" PRId64
928 __func__, tsf, tsf - lastrx, lastrx,
937 if (tsf - lastrx > ic->ic_bmisstimeout*1024) {
1447 u_int64_t tsf;
1450 tsf = ath_hal_gettsf64(ah);
1452 tsf += 100;
1454 tstamp[0] = htole32(tsf & 0xffffffff);
1455 tstamp[1] = htole32(tsf >> 32);
2457 * When operating as an AP this resets the TSF and sets
2462 * beacon and the current TSF, configures PCF and DTIM
2479 u_int64_t tsf;
2511 * TSF and calculate dtim+cfp state for the result.
2513 tsf = ath_hal_gettsf64(ah);
2514 tsftu = TSF_TO_TU(tsf>>32, tsf) + FUDGE;
2571 "%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"
2573 , tsf, tsftu
2607 * the current TSF.
2609 tsf = ath_hal_gettsf64(ah);
2610 tsftu = TSF_TO_TU(tsf>>32, tsf) + FUDGE;
2936 * a full 64-bit TSF using the specified TSF.
2939 ath_extend_tsf(u_int32_t rstamp, u_int64_t tsf)
2941 if ((tsf & 0x7fff) < rstamp)
2942 tsf -= 0x8000;
2943 return ((tsf &~ 0x7fff) | rstamp);
2969 * Resync beacon timers using the tsf of the beacon
2978 u_int64_t tsf = ath_extend_tsf(rstamp,
2982 * Handle ibss merge as needed; check the tsf on the
2986 * is determined by the tsf. Note that hardware
2991 if (le64toh(ni->ni_tstamp.tsf) >= tsf) {
2993 "ibss merge, rstamp %u tsf %ju "
2994 "tstamp %ju\n", rstamp, (uintmax_t)tsf,
2995 (uintmax_t)ni->ni_tstamp.tsf);
3053 u_int64_t tsf;
3070 tsf = ath_hal_gettsf64(ah);
3212 ath_extend_tsf(ds->ds_rxstat.rs_tstamp, tsf));
3318 sc->sc_lastrx = tsf;
3985 u_int64_t tsf = ath_hal_gettsf64(ah);
3987 sc->sc_tx_th.wt_tsf = htole64(tsf);
4831 * have a current TSF to use. Otherwise we're
4835 ic->ic_bss->ni_tstamp.tsf != 0)
4850 * beacon frame so we have a current TSF to use
4851 * (any TSF collected when scanning is likely old).