Searched refs:rateCodeToIndex (Results 1 – 10 of 10) sorted by relevance
73 uint8_t rateCodeToIndex[256]; /* back mapping */ member101 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; in ieee80211_ack_rate()116 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; in ieee80211_ctl_rate()131 uint8_t rix = rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]; in ieee80211_rate2phytype()146 return rt->rateCodeToIndex[rate] != (uint8_t)-1; in ieee80211_isratevalid()159 uint8_t rix = rt->rateCodeToIndex[rate]; in ieee80211_ack_duration()178 return (rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]); in ieee80211_legacy_rate_lookup()
308 for (i = 0; i < nitems(rt->rateCodeToIndex); i++) in ieee80211_setup_ratetable()309 rt->rateCodeToIndex[i] = (uint8_t) -1; in ieee80211_setup_ratetable()330 rt->rateCodeToIndex[code] = i; in ieee80211_setup_ratetable()507 uint8_t rix = rt->rateCodeToIndex[rate]; in ieee80211_compute_duration()
51 uint8_t rateCodeToIndex[256]; /* back mapping */ member235 for (i = 0; i < nitems(rt->rateCodeToIndex); i++) in ieee80211_setup_ratetable()236 rt->rateCodeToIndex[i] = (uint8_t) -1; in ieee80211_setup_ratetable()242 rt->rateCodeToIndex[code] = i; in ieee80211_setup_ratetable()248 rt->rateCodeToIndex[code] = i; in ieee80211_setup_ratetable()332 uint8_t rix = rt->rateCodeToIndex[rate]; in ieee80211_compute_duration()558 rix = rt->rateCodeToIndex[rate]; in main()
696 uint8_t rix0 = ic->ic_rt->rateCodeToIndex[130]; in wtap_attach()697 uint8_t rix1 = ic->ic_rt->rateCodeToIndex[132]; in wtap_attach()698 uint8_t rix2 = ic->ic_rt->rateCodeToIndex[139]; in wtap_attach()699 uint8_t rix3 = ic->ic_rt->rateCodeToIndex[150]; in wtap_attach()
90 cix = rt->info[rt->rateCodeToIndex[rate]].ctlRateIndex; in rtwn_ctl_mcsrate()
675 if (rt->rateCodeToIndex[0] != 0) /* already setup */ in ath_hal_setupratetable()677 for (i = 0; i < N(rt->rateCodeToIndex); i++) in ath_hal_setupratetable()678 rt->rateCodeToIndex[i] = (uint8_t) -1; in ath_hal_setupratetable()683 HALASSERT(code < N(rt->rateCodeToIndex)); in ath_hal_setupratetable()684 rt->rateCodeToIndex[code] = i; in ath_hal_setupratetable()686 N(rt->rateCodeToIndex)); in ath_hal_setupratetable()687 rt->rateCodeToIndex[code | rt->info[i].shortPreamble] = i; in ath_hal_setupratetable()
671 uint8_t rateCodeToIndex[256]; /* back mapping */ member
571 rix = rt->rateCodeToIndex[rs->rs_rate]; in ath_rx_tap()891 uint8_t rix = rt->rateCodeToIndex[rs->rs_rate]; in ath_rx_pkt()1007 rt->rateCodeToIndex[rs->rs_rate]); in ath_rx_pkt()
407 rix = rt->rateCodeToIndex[rs->rs_rate]; in ath_tdma_update()
871 final_rix = rt->rateCodeToIndex[ts->ts_rate]; in ath_rate_tx_complete()