Lines Matching defs:bs
118 ar5210SetStaBeaconTimers(struct ath_hal *ah, const HAL_BEACON_STATE *bs)
124 HALASSERT(bs->bs_intval != 0);
126 if (bs->bs_cfpmaxduration != 0) {
133 OS_REG_WRITE(ah, AR_CFP_PERIOD, bs->bs_cfpperiod);
136 OS_REG_WRITE(ah, AR_CFP_DUR, bs->bs_cfpmaxduration);
139 OS_REG_WRITE(ah, AR_TIMER2, bs->bs_cfpnext << 3);
149 OS_REG_WRITE(ah, AR_TIMER0, bs->bs_nexttbtt);
160 | SM(bs->bs_intval, AR_BEACON_PERIOD)
161 | SM(bs->bs_timoffset ? bs->bs_timoffset + 4 : 0, AR_BEACON_TIM)
181 (bs->bs_bmissthreshold&7) == 0) {
184 __func__, bs->bs_bmissthreshold);
199 | SM(bs->bs_bmissthreshold > BMISS_MAX ?
200 BMISS_MAX : bs->bs_bmissthreshold,