Lines Matching refs:intval
244 "%s: %s beacons bslot %d intval %u tsfadjust %llu\n",
922 u_int32_t nexttbtt, intval, tsftu;
960 intval = ni->ni_intval & HAL_BEACON_PERIOD;
962 intval /= ATH_BCBUF;
965 intval = ni->ni_intval & HAL_BEACON_PERIOD;
968 nexttbtt = intval;
969 else if (intval) /* NB: can be 0 for monitor mode */
970 nexttbtt = roundup(nexttbtt, intval);
971 DPRINTF(sc, ATH_DEBUG_BEACON, "%s: nexttbtt %u intval %u (%u)\n",
972 __func__, nexttbtt, intval, ni->ni_intval);
1024 remainder = (nexttbtt - tsftu) % intval;
1027 countdiff = (oldtbtt - nexttbtt) / intval % dtimperiod;
1037 remainder = (tsftu - nexttbtt) % intval;
1038 nexttbtt = tsftu - remainder + intval;
1039 countdiff = (nexttbtt - oldtbtt) / intval % dtimperiod;
1054 bs.bs_intval = intval;
1056 bs.bs_dtimperiod = dtimperiod*intval;
1057 bs.bs_nextdtim = bs.bs_nexttbtt + dtimcount*intval;
1099 "%s: tsf %ju tsf:tu %u intval %u nexttbtt %u dtim %u "
1122 if (nexttbtt == intval)
1123 intval |= HAL_BEACON_RESET_TSF;
1132 intval |= HAL_BEACON_ENA;
1135 if ((intval & HAL_BEACON_RESET_TSF) == 0) {
1143 nexttbtt += intval;
1153 intval |= HAL_BEACON_ENA;
1160 * nexttbtt and intval is TU/8.
1164 intval_u8 = (intval << 3);
1165 if (intval & HAL_BEACON_ENA)
1167 if (intval & HAL_BEACON_RESET_TSF)
1171 ath_hal_beaconinit(ah, nexttbtt, intval);