Searched refs:rateCodeToIndex (Results 1 – 10 of 10) sorted by relevance
88 uint8_t rateCodeToIndex[256]; /* back mapping */ member116 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; in ieee80211_ack_rate()131 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; in ieee80211_ctl_rate()146 uint8_t rix = rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]; in ieee80211_rate2phytype()161 return rt->rateCodeToIndex[rate] != (uint8_t)-1; in ieee80211_isratevalid()174 uint8_t rix = rt->rateCodeToIndex[rate]; in ieee80211_ack_duration()193 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()
89 cix = rt->info[rt->rateCodeToIndex[rate]].ctlRateIndex; in rtwn_ctl_mcsrate()
655 uint8_t rix0 = ic->ic_rt->rateCodeToIndex[130]; in wtap_attach()656 uint8_t rix1 = ic->ic_rt->rateCodeToIndex[132]; in wtap_attach()657 uint8_t rix2 = ic->ic_rt->rateCodeToIndex[139]; in wtap_attach()658 uint8_t rix3 = ic->ic_rt->rateCodeToIndex[150]; in wtap_attach()
674 if (rt->rateCodeToIndex[0] != 0) /* already setup */ in ath_hal_setupratetable()676 for (i = 0; i < N(rt->rateCodeToIndex); i++) in ath_hal_setupratetable()677 rt->rateCodeToIndex[i] = (uint8_t) -1; in ath_hal_setupratetable()682 HALASSERT(code < N(rt->rateCodeToIndex)); in ath_hal_setupratetable()683 rt->rateCodeToIndex[code] = i; in ath_hal_setupratetable()685 N(rt->rateCodeToIndex)); in ath_hal_setupratetable()686 rt->rateCodeToIndex[code | rt->info[i].shortPreamble] = i; in ath_hal_setupratetable()
683 uint8_t rateCodeToIndex[256]; /* back mapping */ member
588 rix = rt->rateCodeToIndex[rs->rs_rate]; in ath_rx_tap()913 uint8_t rix = rt->rateCodeToIndex[rs->rs_rate]; in ath_rx_pkt()1044 rt->rateCodeToIndex[rs->rs_rate]); in ath_rx_pkt()
407 rix = rt->rateCodeToIndex[rs->rs_rate]; in ath_tdma_update()
1104 final_rix = rt->rateCodeToIndex[ts->ts_rate]; in ath_rate_tx_complete()