Lines Matching refs:asc

73 ath_rate_update(ath_t *asc, struct ieee80211_node *in, int32_t rate)  in ath_rate_update()  argument
76 const HAL_RATE_TABLE *rt = asc->asc_currates; in ath_rate_update()
98 an->an_tx_rix0 = asc->asc_rixmap[ in ath_rate_update()
103 if (asc->asc_mrretry) { in ath_rate_update()
113 rix = asc->asc_rixmap[ in ath_rate_update()
122 rix = asc->asc_rixmap[ in ath_rate_update()
152 ath_rate_ctl_start(ath_t *asc, struct ieee80211_node *in) in ath_rate_ctl_start() argument
154 ieee80211com_t *ic = (ieee80211com_t *)asc; in ath_rate_ctl_start()
164 if (asc->asc_curmode != IEEE80211_MODE_11B) { in ath_rate_ctl_start()
186 ath_rate_update(asc, in, srate); in ath_rate_ctl_start()
199 ath_rate_ctl_reset(ath_t *asc, enum ieee80211_state state) in ath_rate_ctl_reset() argument
201 ieee80211com_t *ic = (ieee80211com_t *)asc; in ath_rate_ctl_reset()
211 ath_rate_ctl_start(asc, in); in ath_rate_ctl_reset()
213 ath_rate_update(asc, in, 0); in ath_rate_ctl_reset()
222 ieee80211_iterate_nodes(&ic->ic_sta, ath_rate_cb, asc); in ath_rate_ctl_reset()
223 ath_rate_update(asc, ic->ic_bss, 0); in ath_rate_ctl_reset()
234 ath_t *asc = arg; in ath_rate_ctl() local
242 asc->asc_stats.ast_rate_calls++; in ath_rate_ctl()
267 asc->asc_stats.ast_rate_drop++; in ath_rate_ctl()
277 asc->asc_stats.ast_rate_raise++; in ath_rate_ctl()
288 ath_rate_update(asc, in, nrate); in ath_rate_ctl()
299 ath_rate_setup(ath_t *asc, uint32_t mode) in ath_rate_setup() argument
304 struct ath_hal *ah = asc->asc_ah; in ath_rate_setup()
305 ieee80211com_t *ic = (ieee80211com_t *)asc; in ath_rate_setup()
310 asc->asc_rates[mode] = ATH_HAL_GETRATETABLE(ah, HAL_MODE_11A); in ath_rate_setup()
313 asc->asc_rates[mode] = ATH_HAL_GETRATETABLE(ah, HAL_MODE_11B); in ath_rate_setup()
316 asc->asc_rates[mode] = ATH_HAL_GETRATETABLE(ah, HAL_MODE_11G); in ath_rate_setup()
319 asc->asc_rates[mode] = ATH_HAL_GETRATETABLE(ah, HAL_MODE_TURBO); in ath_rate_setup()
322 asc->asc_rates[mode] = ATH_HAL_GETRATETABLE(ah, HAL_MODE_108G); in ath_rate_setup()
330 rt = asc->asc_rates[mode]; in ath_rate_setup()