Lines Matching defs:intval
243 "%s: %s beacons bslot %d intval %u tsfadjust %llu\n",
916 u_int32_t nexttbtt, intval, tsftu;
946 intval = ni->ni_intval & HAL_BEACON_PERIOD;
948 intval /= ATH_BCBUF;
951 intval = ni->ni_intval & HAL_BEACON_PERIOD;
954 nexttbtt = intval;
955 else if (intval) /* NB: can be 0 for monitor mode */
956 nexttbtt = roundup(nexttbtt, intval);
957 DPRINTF(sc, ATH_DEBUG_BEACON, "%s: nexttbtt %u intval %u (%u)\n",
958 __func__, nexttbtt, intval, ni->ni_intval);
983 nexttbtt += intval;
991 bs.bs_intval = intval;
993 bs.bs_dtimperiod = dtimperiod*intval;
994 bs.bs_nextdtim = bs.bs_nexttbtt + dtimcount*intval;
1036 "%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"
1056 if (nexttbtt == intval)
1057 intval |= HAL_BEACON_RESET_TSF;
1066 intval |= HAL_BEACON_ENA;
1069 if ((intval & HAL_BEACON_RESET_TSF) == 0) {
1077 nexttbtt += intval;
1087 intval |= HAL_BEACON_ENA;
1094 * nexttbtt and intval is TU/8.
1098 intval_u8 = (intval << 3);
1099 if (intval & HAL_BEACON_ENA)
1101 if (intval & HAL_BEACON_RESET_TSF)
1105 ath_hal_beaconinit(ah, nexttbtt, intval);