Lines Matching +full:- +full:36000
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
30 * IEEE 802.11 PHY-related support.
101 [9] = { .phy = OFDM, 36000, 0x00, 72, 8 },
117 [5] = { .phy = OFDM, 36000, 0x00, 72, 4 },
162 [2] = { .phy = TURBO, 36000, 0x00, 36, 1 },
178 [3] = { .phy = TURBO, 36000, 0x00, 36, 2 },
200 [9] = { .phy = OFDM, 36000, 0x00, 72, 8 },
244 [5] = { .phy = OFDM, 36000, 0x00, 72, 4 },
306 for (i = 0; i < nitems(rt->rateCodeToIndex); i++) in ieee80211_setup_ratetable()
307 rt->rateCodeToIndex[i] = (uint8_t) -1; in ieee80211_setup_ratetable()
308 for (i = 0; i < rt->rateCount; i++) { in ieee80211_setup_ratetable()
309 uint8_t code = rt->info[i].dot11Rate; in ieee80211_setup_ratetable()
310 uint8_t cix = rt->info[i].ctlRateIndex; in ieee80211_setup_ratetable()
311 uint8_t ctl_rate = rt->info[cix].dot11Rate; in ieee80211_setup_ratetable()
322 if (rt->info[i].phy == IEEE80211_T_HT) { in ieee80211_setup_ratetable()
326 /* XXX assume the control rate is non-MCS? */ in ieee80211_setup_ratetable()
328 rt->rateCodeToIndex[code] = i; in ieee80211_setup_ratetable()
333 * the static tables are setup with an 11b-compatible in ieee80211_setup_ratetable()
340 rt->info[i].lpAckDuration = ieee80211_compute_duration(rt, in ieee80211_setup_ratetable()
342 rt->info[i].spAckDuration = ieee80211_compute_duration(rt, in ieee80211_setup_ratetable()
401 __func__, c->ic_freq, c->ic_flags); in ieee80211_get_ratetable()
452 /* OFDM rates (cf IEEE Std 802.11a-1999, pp. 14 Table 80) */ in ieee80211_rate2plcp()
461 /* CCK rates (IEEE Std 802.11b-1999 page 15, subclause 18.2.3.3) */ in ieee80211_rate2plcp()
466 /* IEEE Std 802.11g-2003 page 19, subclause 19.3.2.1 */ in ieee80211_rate2plcp()
505 uint8_t rix = rt->rateCodeToIndex[rate]; in ieee80211_compute_duration()
509 KASSERT(rix != (uint8_t)-1, ("rate %d has no info", rate)); in ieee80211_compute_duration()
510 kbps = rt->info[rix].rateKbps; in ieee80211_compute_duration()
514 switch (rt->info[rix].phy) { in ieee80211_compute_duration()
517 if (isShortPreamble && rt->info[rix].shortPreamble) in ieee80211_compute_duration()
554 /* we still save OFDM rates in kbps - so double them */ in ieee80211_compute_duration()
565 rt->info[rix].phy, rate); in ieee80211_compute_duration()