Home
last modified time | relevance | path

Searched refs:rateCodeToIndex (Results 1 – 10 of 10) sorted by path

/freebsd/sys/dev/ath/ath_hal/
H A Dah.c672 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()
H A Dah.h681 uint8_t rateCodeToIndex[256]; /* back mapping */ member
/freebsd/sys/dev/ath/ath_rate/sample/
H A Dsample.c1102 final_rix = rt->rateCodeToIndex[ts->ts_rate]; in ath_rate_tx_complete()
/freebsd/sys/dev/ath/
H A Dif_ath_rx.c587 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()
H A Dif_ath_tdma.c405 rix = rt->rateCodeToIndex[rs->rs_rate]; in ath_tdma_update()
/freebsd/sys/dev/rtwn/
H A Dif_rtwn_ridx.h87 cix = rt->info[rt->rateCodeToIndex[rate]].ctlRateIndex; in rtwn_ctl_mcsrate()
/freebsd/sys/dev/wtap/
H A Dif_wtap.c710 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()
/freebsd/sys/net80211/
H A Dieee80211_phy.c306 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()
H A Dieee80211_phy.h86 uint8_t rateCodeToIndex[256]; /* back mapping */ member
114 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()
/freebsd/tools/tools/net80211/wlantxtime/
H A Dwlantxtime.c49 uint8_t rateCodeToIndex[256]; /* back mapping */ member
233 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()