Searched refs:rateCodeToIndex (Results 1 – 10 of 10) sorted by path
672 if (rt->rateCodeToIndex[0] != 0) /* already setup */ in ath_hal_setupratetable()674 for (i = 0; i < N(rt->rateCodeToIndex); i++) in ath_hal_setupratetable()675 rt->rateCodeToIndex[i] = (uint8_t) -1; in ath_hal_setupratetable()680 HALASSERT(code < N(rt->rateCodeToIndex)); in ath_hal_setupratetable()681 rt->rateCodeToIndex[code] = i; in ath_hal_setupratetable()683 N(rt->rateCodeToIndex)); in ath_hal_setupratetable()684 rt->rateCodeToIndex[code | rt->info[i].shortPreamble] = i; in ath_hal_setupratetable()
681 uint8_t rateCodeToIndex[256]; /* back mapping */ member
1102 final_rix = rt->rateCodeToIndex[ts->ts_rate]; in ath_rate_tx_complete()
587 rix = rt->rateCodeToIndex[rs->rs_rate]; in ath_rx_tap()910 uint8_t rix = rt->rateCodeToIndex[rs->rs_rate]; in ath_rx_pkt()1041 rt->rateCodeToIndex[rs->rs_rate]); in ath_rx_pkt()
405 rix = rt->rateCodeToIndex[rs->rs_rate]; in ath_tdma_update()
87 cix = rt->info[rt->rateCodeToIndex[rate]].ctlRateIndex; in rtwn_ctl_mcsrate()
710 uint8_t rix0 = ic->ic_rt->rateCodeToIndex[130]; in wtap_attach()711 uint8_t rix1 = ic->ic_rt->rateCodeToIndex[132]; in wtap_attach()712 uint8_t rix2 = ic->ic_rt->rateCodeToIndex[139]; in wtap_attach()713 uint8_t rix3 = ic->ic_rt->rateCodeToIndex[150]; in wtap_attach()
306 for (i = 0; i < nitems(rt->rateCodeToIndex); i++) in ieee80211_setup_ratetable()307 rt->rateCodeToIndex[i] = (uint8_t) -1; in ieee80211_setup_ratetable()328 rt->rateCodeToIndex[code] = i; in ieee80211_setup_ratetable()505 uint8_t rix = rt->rateCodeToIndex[rate]; in ieee80211_compute_duration()
86 uint8_t rateCodeToIndex[256]; /* back mapping */ member114 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; in ieee80211_ack_rate()129 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; in ieee80211_ctl_rate()144 uint8_t rix = rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]; in ieee80211_rate2phytype()159 return rt->rateCodeToIndex[rate] != (uint8_t)-1; in ieee80211_isratevalid()172 uint8_t rix = rt->rateCodeToIndex[rate]; in ieee80211_ack_duration()191 return (rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]); in ieee80211_legacy_rate_lookup()
49 uint8_t rateCodeToIndex[256]; /* back mapping */ member233 for (i = 0; i < nitems(rt->rateCodeToIndex); i++) in ieee80211_setup_ratetable()234 rt->rateCodeToIndex[i] = (uint8_t) -1; in ieee80211_setup_ratetable()240 rt->rateCodeToIndex[code] = i; in ieee80211_setup_ratetable()246 rt->rateCodeToIndex[code] = i; in ieee80211_setup_ratetable()330 uint8_t rix = rt->rateCodeToIndex[rate]; in ieee80211_compute_duration()556 rix = rt->rateCodeToIndex[rate]; in main()