Lines Matching refs:rate

322  * rate tables.  This must be called by the driver after
334 int i, j, mode, rate, maxrate, r;
376 rate = rs->rs_rates[i];
377 mword = ieee80211_rate2media(ic, rate, mode);
392 * Add rate to the collection of all rates.
394 r = rate & IEEE80211_RATE_VAL;
403 rate = (rate & IEEE80211_RATE_VAL) / 2;
404 if (rate > maxrate)
405 maxrate = rate;
523 int rate)
529 if (IEEERATE(ic, mode, i) == rate)
591 * Next, the fixed/variable rate.
625 * Convert media subtype to rate.
631 * Check the rate table for the specified/current phy.
635 * In autoselect mode search for the rate.
651 if (i == -1) /* mode/rate mismatch */
654 /* NB: defer rate setting to later */
677 * down so rate tables can be used in forming beacon frames
706 * Committed to changes, install the MCS/rate setting.
725 ic->ic_fixed_rate = i; /* set fixed tx rate */
797 /* calculate rate subtype */
1001 * Mark the basic rates for the 11g rate table based on the
1235 * caller can select a rate set. This is problematic and the
1239 * rate from the rate set of the returned mode, it must return one of the
1240 * legacy 11a/b/g modes; 11n and 11ac modes use MCS instead of rate sets.
1344 * convert IEEE80211 rate value to ifmedia subtype.
1345 * ieee80211 rate is in unit of 0.5Mbps.
1348 ieee80211_rate2media(struct ieee80211com *ic, int rate,
1352 uint64_t m; /* rate + mode */
1353 uint64_t r; /* if_media rate */
1385 mask = rate & IEEE80211_RATE_VAL;
1417 int rate;
1439 return ieeerates[i].rate;
1445 * Convert bit rate (in 0.5Mbps units) to PLCP signal (R4-R1) and vice versa.
1448 ieee80211_rate2plcp(u_int8_t rate, enum ieee80211_phymode mode)
1450 rate &= IEEE80211_RATE_VAL;
1454 switch (rate) {
1464 switch (rate) {
1477 DPRINTF(("unsupported rate %u\n", rate));