Lines Matching refs:intval

248 		    "%s: %s beacons bslot %d intval %u tsfadjust %llu\n",
934 u_int32_t nexttbtt, intval, tsftu;
997 intval = ni->ni_intval & HAL_BEACON_PERIOD;
999 intval /= ATH_BCBUF;
1002 intval = ni->ni_intval & HAL_BEACON_PERIOD;
1006 * Note: rounding up to the next intval can cause problems with
1011 * Now, if this is rounded up to the next intval, it assumes
1013 * are multiples of intval, versus say being 25 TU off.
1017 * multiple of intval. So, if bintval=100, then we shouldn't
1021 nexttbtt = intval;
1023 nexttbtt = roundup(nexttbtt, intval);
1077 remainder = (nexttbtt - tsftu) % intval;
1080 countdiff = (oldtbtt - nexttbtt) / intval % dtimperiod;
1090 remainder = (tsftu - nexttbtt) % intval;
1091 nexttbtt = tsftu - remainder + intval;
1092 countdiff = (nexttbtt - oldtbtt) / intval % dtimperiod;
1107 bs.bs_intval = intval;
1109 bs.bs_dtimperiod = dtimperiod*intval;
1110 bs.bs_nextdtim = bs.bs_nexttbtt + dtimcount*intval;
1152 "%s: tsf %ju tsf:tu %u intval %u nexttbtt %u dtim %u "
1175 if (nexttbtt == intval)
1176 intval |= HAL_BEACON_RESET_TSF;
1185 intval |= HAL_BEACON_ENA;
1188 if ((intval & HAL_BEACON_RESET_TSF) == 0) {
1196 nexttbtt += intval;
1206 intval |= HAL_BEACON_ENA;
1213 * nexttbtt and intval is TU/8.
1217 intval_u8 = (intval << 3) & HAL_BEACON_PERIOD_TU8;
1218 if (intval & HAL_BEACON_ENA)
1220 if (intval & HAL_BEACON_RESET_TSF)
1224 ath_hal_beaconinit(ah, nexttbtt, intval);
1238 "%s: nexttbtt %u intval %u (%u), tsf64=%llu tsfbeacon=%llu delta=%lld\n",
1239 __func__, nexttbtt, intval, ni->ni_intval,