Lines Matching refs:nexttbtt

934 	u_int32_t nexttbtt, intval, tsftu;  in ath_beacon_config()  local
982 nexttbtt = TSF_TO_TU(le32dec(ni->ni_tstamp.data + 4), in ath_beacon_config()
1020 if (nexttbtt == 0) /* e.g. for ap mode */ in ath_beacon_config()
1021 nexttbtt = intval; in ath_beacon_config()
1023 nexttbtt = roundup(nexttbtt, intval); in ath_beacon_config()
1055 nexttbtt, in ath_beacon_config()
1068 (unsigned long long) nexttbtt, in ath_beacon_config()
1069 (long long) ((long long) nexttbtt * 1024LL) - (long long) tsf_beacon); in ath_beacon_config()
1073 if (nexttbtt > tsftu) { in ath_beacon_config()
1076 oldtbtt = nexttbtt; in ath_beacon_config()
1077 remainder = (nexttbtt - tsftu) % intval; in ath_beacon_config()
1078 nexttbtt = tsftu + remainder; in ath_beacon_config()
1080 countdiff = (oldtbtt - nexttbtt) / intval % dtimperiod; in ath_beacon_config()
1089 oldtbtt = nexttbtt; in ath_beacon_config()
1090 remainder = (tsftu - nexttbtt) % intval; in ath_beacon_config()
1091 nexttbtt = tsftu - remainder + intval; in ath_beacon_config()
1092 countdiff = (nexttbtt - oldtbtt) / intval % dtimperiod; in ath_beacon_config()
1103 (unsigned long long) nexttbtt, in ath_beacon_config()
1104 (long long) ((long long)nexttbtt * 1024LL) - (long long)tsf); in ath_beacon_config()
1108 bs.bs_nexttbtt = nexttbtt; in ath_beacon_config()
1175 if (nexttbtt == intval) in ath_beacon_config()
1196 nexttbtt += intval; in ath_beacon_config()
1197 } while (nexttbtt < tsftu); in ath_beacon_config()
1216 nexttbtt_u8 = (nexttbtt << 3) & HAL_BEACON_PERIOD_TU8; in ath_beacon_config()
1224 ath_hal_beaconinit(ah, nexttbtt, intval); in ath_beacon_config()
1239 __func__, nexttbtt, intval, ni->ni_intval, in ath_beacon_config()