Lines Matching refs:bs
2269 const struct ath9k_beacon_state *bs) in ath9k_hw_set_sta_beacon_timers() argument
2277 REG_WRITE(ah, AR_NEXT_TBTT_TIMER, bs->bs_nexttbtt); in ath9k_hw_set_sta_beacon_timers()
2278 REG_WRITE(ah, AR_BEACON_PERIOD, bs->bs_intval); in ath9k_hw_set_sta_beacon_timers()
2279 REG_WRITE(ah, AR_DMA_BEACON_PERIOD, bs->bs_intval); in ath9k_hw_set_sta_beacon_timers()
2284 AR_RSSI_THR_BM_THR, bs->bs_bmissthreshold); in ath9k_hw_set_sta_beacon_timers()
2286 beaconintval = bs->bs_intval; in ath9k_hw_set_sta_beacon_timers()
2288 if (bs->bs_sleepduration > beaconintval) in ath9k_hw_set_sta_beacon_timers()
2289 beaconintval = bs->bs_sleepduration; in ath9k_hw_set_sta_beacon_timers()
2291 dtimperiod = bs->bs_dtimperiod; in ath9k_hw_set_sta_beacon_timers()
2292 if (bs->bs_sleepduration > dtimperiod) in ath9k_hw_set_sta_beacon_timers()
2293 dtimperiod = bs->bs_sleepduration; in ath9k_hw_set_sta_beacon_timers()
2296 nextTbtt = bs->bs_nextdtim; in ath9k_hw_set_sta_beacon_timers()
2298 nextTbtt = bs->bs_nexttbtt; in ath9k_hw_set_sta_beacon_timers()
2300 ath_dbg(common, BEACON, "next DTIM %d\n", bs->bs_nextdtim); in ath9k_hw_set_sta_beacon_timers()
2307 REG_WRITE(ah, AR_NEXT_DTIM, bs->bs_nextdtim - SLEEP_SLOP); in ath9k_hw_set_sta_beacon_timers()
2332 REG_WRITE(ah, AR_TSFOOR_THRESHOLD, bs->bs_tsfoor_threshold); in ath9k_hw_set_sta_beacon_timers()