Searched refs:dtimperiod (Results 1 - 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_beacon.c85 u_int32_t next_tbtt, beaconintval, dtimperiod, beacontimeout; local
142 dtimperiod = bs->bs_dtimperiod;
143 if (bs->bs_sleepduration > dtimperiod) {
144 HALASSERT(dtimperiod == 0 ||
145 roundup(bs->bs_sleepduration, dtimperiod) ==
147 dtimperiod = bs->bs_sleepduration;
149 HALASSERT(beaconintval <= dtimperiod);
150 if (beaconintval == dtimperiod) {
163 "%s: DTIM period %d\n", __func__, dtimperiod);
190 OS_REG_WRITE(ah, AR_DTIM_PERIOD, TU_TO_USEC(dtimperiod));
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_beacon.c151 uint32_t nextTbtt, nextdtim,beaconintval, dtimperiod; local
238 dtimperiod = bs->bs_dtimperiod;
239 if (bs->bs_sleepduration > dtimperiod) {
240 HALASSERT(dtimperiod == 0 ||
241 roundup(bs->bs_sleepduration, dtimperiod) ==
243 dtimperiod = bs->bs_sleepduration;
245 HALASSERT(beaconintval <= dtimperiod);
246 if (beaconintval == dtimperiod)
264 | SM(dtimperiod, AR_SLEEP3_DTIM_PERIOD)
273 __func__, dtimperiod);
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_beacon.c155 uint32_t nextTbtt, nextdtim,beaconintval, dtimperiod; local
238 dtimperiod = bs->bs_dtimperiod;
239 if (bs->bs_sleepduration > dtimperiod) {
240 HALASSERT(dtimperiod == 0 ||
241 roundup(bs->bs_sleepduration, dtimperiod) ==
243 dtimperiod = bs->bs_sleepduration;
245 HALASSERT(beaconintval <= dtimperiod);
246 if (beaconintval == dtimperiod)
268 OS_REG_WRITE(ah, AR_DTIM_PERIOD, TU_TO_USEC(dtimperiod));
286 __func__, dtimperiod);
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_beacon.c1011 int dtimperiod, dtimcount; local
1018 dtimperiod = ni->ni_dtim_period;
1019 if (dtimperiod <= 0) /* NB: 0 if not known */
1020 dtimperiod = 1;
1022 if (dtimcount >= dtimperiod) /* NB: sanity check */
1063 countdiff = (oldtbtt - nexttbtt) / intval % dtimperiod;
1067 dtimcount += dtimperiod - countdiff;
1075 countdiff = (nexttbtt - oldtbtt) / intval % dtimperiod;
1079 dtimcount += dtimperiod - countdiff;
1092 bs.bs_dtimperiod = dtimperiod*intva
[all...]

Completed in 110 milliseconds