Searched refs:dtimperiod (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_beacon.c | 85 u_int32_t next_tbtt, beaconintval, dtimperiod, beacontimeout; in ar9300_set_sta_beacon_timers() local 142 dtimperiod = bs->bs_dtimperiod; in ar9300_set_sta_beacon_timers() 143 if (bs->bs_sleepduration > dtimperiod) { in ar9300_set_sta_beacon_timers() 144 HALASSERT(dtimperiod == 0 || in ar9300_set_sta_beacon_timers() 145 roundup(bs->bs_sleepduration, dtimperiod) == in ar9300_set_sta_beacon_timers() 147 dtimperiod = bs->bs_sleepduration; in ar9300_set_sta_beacon_timers() 149 HALASSERT(beaconintval <= dtimperiod); in ar9300_set_sta_beacon_timers() 150 if (beaconintval == dtimperiod) { in ar9300_set_sta_beacon_timers() 163 "%s: DTIM period %d\n", __func__, dtimperiod); in ar9300_set_sta_beacon_timers() 190 OS_REG_WRITE(ah, AR_DTIM_PERIOD, TU_TO_USEC(dtimperiod)); in ar9300_set_sta_beacon_timers()
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_beacon.c | 149 uint32_t nextTbtt, nextdtim,beaconintval, dtimperiod; in ar5212SetStaBeaconTimers() local 236 dtimperiod = bs->bs_dtimperiod; in ar5212SetStaBeaconTimers() 237 if (bs->bs_sleepduration > dtimperiod) { in ar5212SetStaBeaconTimers() 238 HALASSERT(dtimperiod == 0 || in ar5212SetStaBeaconTimers() 239 roundup(bs->bs_sleepduration, dtimperiod) == in ar5212SetStaBeaconTimers() 241 dtimperiod = bs->bs_sleepduration; in ar5212SetStaBeaconTimers() 243 HALASSERT(beaconintval <= dtimperiod); in ar5212SetStaBeaconTimers() 244 if (beaconintval == dtimperiod) in ar5212SetStaBeaconTimers() 262 | SM(dtimperiod, AR_SLEEP3_DTIM_PERIOD) in ar5212SetStaBeaconTimers() 271 __func__, dtimperiod); in ar5212SetStaBeaconTimers()
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_beacon.c | 153 uint32_t nextTbtt, nextdtim,beaconintval, dtimperiod; in ar5416SetStaBeaconTimers() local 236 dtimperiod = bs->bs_dtimperiod; in ar5416SetStaBeaconTimers() 237 if (bs->bs_sleepduration > dtimperiod) { in ar5416SetStaBeaconTimers() 238 HALASSERT(dtimperiod == 0 || in ar5416SetStaBeaconTimers() 239 roundup(bs->bs_sleepduration, dtimperiod) == in ar5416SetStaBeaconTimers() 241 dtimperiod = bs->bs_sleepduration; in ar5416SetStaBeaconTimers() 243 HALASSERT(beaconintval <= dtimperiod); in ar5416SetStaBeaconTimers() 244 if (beaconintval == dtimperiod) in ar5416SetStaBeaconTimers() 266 OS_REG_WRITE(ah, AR_DTIM_PERIOD, TU_TO_USEC(dtimperiod)); in ar5416SetStaBeaconTimers() 284 __func__, dtimperiod); in ar5416SetStaBeaconTimers()
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_beacon.c | 1028 int dtimperiod, dtimcount; in ath_beacon_config() local 1035 dtimperiod = ni->ni_dtim_period; in ath_beacon_config() 1036 if (dtimperiod <= 0) /* NB: 0 if not known */ in ath_beacon_config() 1037 dtimperiod = 1; in ath_beacon_config() 1039 if (dtimcount >= dtimperiod) /* NB: sanity check */ in ath_beacon_config() 1080 countdiff = (oldtbtt - nexttbtt) / intval % dtimperiod; in ath_beacon_config() 1084 dtimcount += dtimperiod - countdiff; in ath_beacon_config() 1092 countdiff = (nexttbtt - oldtbtt) / intval % dtimperiod; in ath_beacon_config() 1096 dtimcount += dtimperiod - countdiff; in ath_beacon_config() 1109 bs.bs_dtimperiod = dtimperiod*intval; in ath_beacon_config()
|
/freebsd/sys/dev/usb/wlan/ |
H A D | if_uathreg.h | 430 uint32_t dtimperiod; member
|