Lines Matching refs:rate

91 		uint32_t	rateKbps;	/* transfer rate in kbs */
93 * preamble in CCK rate code */
97 * rate; used for dur. calcs */
107 ieee80211_ack_rate(const struct ieee80211_rate_table *rt, uint8_t rate)
111 * XXX Assert this is for a legacy rate; not for an MCS rate.
112 * If the caller wishes to use it for a basic rate, they should
115 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate));
117 cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex;
118 KASSERT(cix != (uint8_t)-1, ("rate %d has no info", rate));
123 ieee80211_ctl_rate(const struct ieee80211_rate_table *rt, uint8_t rate)
127 * XXX Assert this is for a legacy rate; not for an MCS rate.
128 * If the caller wishes to use it for a basic rate, they should
131 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate));
133 cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex;
134 KASSERT(cix != (uint8_t)-1, ("rate %d has no info", rate));
139 ieee80211_rate2phytype(const struct ieee80211_rate_table *rt, uint8_t rate)
143 * XXX Assert this is for a legacy rate; not for an MCS rate.
144 * If the caller wishes to use it for a basic rate, they should
147 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate));
149 rix = rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL];
150 KASSERT(rix != (uint8_t)-1, ("rate %d has no info", rate));
155 ieee80211_isratevalid(const struct ieee80211_rate_table *rt, uint8_t rate)
158 * XXX Assert this is for a legacy rate; not for an MCS rate.
159 * If the caller wishes to use it for a basic rate, they should
162 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate));
164 return rt->rateCodeToIndex[rate] != (uint8_t)-1;
171 * sent using rate, phy and short preamble setting.
175 uint8_t rate, int isShortPreamble)
177 uint8_t rix = rt->rateCodeToIndex[rate];
179 KASSERT(rix != (uint8_t)-1, ("rate %d has no info", rate));
193 uint8_t rate)
196 return (rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]);
201 * using the specified 802.11 rate code, phy, and short preamble
207 uint32_t frameLen, uint16_t rate, int isShortPreamble);
209 * Convert PLCP signal/rate field to 802.11 rate code (.5Mbits/s)
213 * Convert 802.11 rate code to PLCP signal.
218 * 802.11n rate manipulation.
226 uint16_t rate, int streams, int isht40,