Lines Matching refs:rt

105 ieee80211_ack_rate(const struct ieee80211_rate_table *rt, uint8_t rate)  in ieee80211_ack_rate()  argument
114 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; in ieee80211_ack_rate()
116 return rt->info[cix].dot11Rate; in ieee80211_ack_rate()
120 ieee80211_ctl_rate(const struct ieee80211_rate_table *rt, uint8_t rate) in ieee80211_ctl_rate() argument
129 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; in ieee80211_ctl_rate()
131 return rt->info[cix].dot11Rate; in ieee80211_ctl_rate()
135 ieee80211_rate2phytype(const struct ieee80211_rate_table *rt, uint8_t rate) in ieee80211_rate2phytype() argument
144 uint8_t rix = rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]; in ieee80211_rate2phytype()
146 return rt->info[rix].phy; in ieee80211_rate2phytype()
150 ieee80211_isratevalid(const struct ieee80211_rate_table *rt, uint8_t rate) in ieee80211_isratevalid() argument
159 return rt->rateCodeToIndex[rate] != (uint8_t)-1; in ieee80211_isratevalid()
169 ieee80211_ack_duration(const struct ieee80211_rate_table *rt, in ieee80211_ack_duration() argument
172 uint8_t rix = rt->rateCodeToIndex[rate]; in ieee80211_ack_duration()
176 KASSERT(rt->info[rix].spAckDuration != 0, in ieee80211_ack_duration()
178 return rt->info[rix].spAckDuration; in ieee80211_ack_duration()
180 KASSERT(rt->info[rix].lpAckDuration != 0, in ieee80211_ack_duration()
182 return rt->info[rix].lpAckDuration; in ieee80211_ack_duration()
187 ieee80211_legacy_rate_lookup(const struct ieee80211_rate_table *rt, in ieee80211_legacy_rate_lookup() argument
191 return (rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]); in ieee80211_legacy_rate_lookup()