Home
last modified time | relevance | path

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

/freebsd-13.1/sys/net80211/
H A Dieee80211_phy.h88 uint8_t rateCodeToIndex[256]; /* back mapping */ member
116 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()
H A Dieee80211_phy.c308 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()
/freebsd-13.1/tools/tools/net80211/wlantxtime/
H A Dwlantxtime.c51 uint8_t rateCodeToIndex[256]; /* back mapping */ member
235 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()
/freebsd-13.1/sys/dev/rtwn/
H A Dif_rtwn_ridx.h89 cix = rt->info[rt->rateCodeToIndex[rate]].ctlRateIndex; in rtwn_ctl_mcsrate()
/freebsd-13.1/sys/dev/wtap/
H A Dif_wtap.c655 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()
/freebsd-13.1/sys/dev/ath/ath_hal/
H A Dah.c674 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()
H A Dah.h683 uint8_t rateCodeToIndex[256]; /* back mapping */ member
/freebsd-13.1/sys/dev/ath/
H A Dif_ath_rx.c588 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()
H A Dif_ath_tdma.c407 rix = rt->rateCodeToIndex[rs->rs_rate]; in ath_tdma_update()
/freebsd-13.1/sys/dev/ath/ath_rate/sample/
H A Dsample.c1104 final_rix = rt->rateCodeToIndex[ts->ts_rate]; in ath_rate_tx_complete()