Lines Matching defs:rate

70 		uint32_t	rateKbps;	/* transfer rate in kbs */
72 * preamble in CCK rate code */
76 * rate; used for dur. calcs */
86 ieee80211_ack_rate(const struct ieee80211_rate_table *rt, uint8_t rate)
89 * XXX Assert this is for a legacy rate; not for an MCS rate.
90 * If the caller wishes to use it for a basic rate, they should
93 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate));
95 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex;
96 KASSERT(cix != (uint8_t)-1, ("rate %d has no info", rate));
101 ieee80211_ctl_rate(const struct ieee80211_rate_table *rt, uint8_t rate)
104 * XXX Assert this is for a legacy rate; not for an MCS rate.
105 * If the caller wishes to use it for a basic rate, they should
108 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate));
110 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex;
111 KASSERT(cix != (uint8_t)-1, ("rate %d has no info", rate));
116 ieee80211_rate2phytype(const struct ieee80211_rate_table *rt, uint8_t rate)
119 * XXX Assert this is for a legacy rate; not for an MCS rate.
120 * If the caller wishes to use it for a basic rate, they should
123 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate));
125 uint8_t rix = rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL];
126 KASSERT(rix != (uint8_t)-1, ("rate %d has no info", rate));
131 ieee80211_isratevalid(const struct ieee80211_rate_table *rt, uint8_t rate)
134 * XXX Assert this is for a legacy rate; not for an MCS rate.
135 * If the caller wishes to use it for a basic rate, they should
138 KASSERT(! (rate & 0x80), ("rate %d is basic/mcs?", rate));
140 return rt->rateCodeToIndex[rate] != (uint8_t)-1;
147 * sent using rate, phy and short preamble setting.
151 uint8_t rate, int isShortPreamble)
153 uint8_t rix = rt->rateCodeToIndex[rate];
155 KASSERT(rix != (uint8_t)-1, ("rate %d has no info", rate));
169 uint8_t rate)
172 return (rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]);
177 * using the specified 802.11 rate code, phy, and short preamble
183 uint32_t frameLen, uint16_t rate, int isShortPreamble);
185 * Convert PLCP signal/rate field to 802.11 rate code (.5Mbits/s)
189 * Convert 802.11 rate code to PLCP signal.
194 uint16_t rate, int streams, int isht40,