Searched refs:rates (Results 1 - 25 of 75) sorted by relevance

123

/freebsd-11-stable/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_ppr.c143 struct bwn_ppr_rates *rates = &ppr->rates; local
205 rates->cck[i] = maxpwr - off;
212 rates->ofdm[i] = maxpwr - off;
216 rates->mcs_20[0] = rates->ofdm[0];
217 rates->mcs_20[1] = rates->ofdm[2];
218 rates->mcs_20[2] = rates
[all...]
H A Dif_bwn_phy_n_ppr.h45 uint8_t mcs_20[BWN_PPR_MCS_RATES_NUM]; /* single stream rates */
55 struct bwn_ppr_rates rates; member in union:bwn_ppr::__anon12056
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/common/
H A DMakefile57 rates \
/freebsd-11-stable/sys/net80211/
H A Dieee80211_adhoc.c654 is11bclient(const uint8_t *rates, const uint8_t *xrates) argument
660 if (xrates != NULL || rates == NULL)
662 for (i = 0; i < rates[1]; i++) {
663 int r = rates[2+i] & IEEE80211_RATE_VAL;
679 uint8_t *ssid, *rates, *xrates; local
821 * [tlv] supported rates
822 * [tlv] extended supported rates
824 ssid = rates = xrates = NULL;
832 rates = frm;
840 IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZ
[all...]
H A Dieee80211_hostap.c1636 is11bclient(const uint8_t *rates, const uint8_t *xrates) argument
1642 if (xrates != NULL || rates == NULL)
1644 for (i = 0; i < rates[1]; i++) {
1645 int r = rates[2+i] & IEEE80211_RATE_VAL;
1660 uint8_t *ssid, *rates, *xrates, *wpa, *rsn, *wme, *ath, *htcap; local
1787 * [tlv] supported rates
1788 * [tlv] extended supported rates
1790 ssid = rates = xrates = NULL;
1798 rates = frm;
1806 IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZ
[all...]
H A Dieee80211.c103 * Default supported rates for 802.11 operation (in IEEE .5Mb units).
114 /* NB: OFDM rates are handled specially based on mode */
1452 * Add legacy rate to the collection of all rates.
1513 /* XXX does this work for 11ng basic rates? */
1524 /* NB: skip AUTO since it has no rates */
1528 ic_printf(ic, "%s rates: ", ieee80211_phymode_name[mode]);
1764 * Adjust basic rates in 11b/11g supported rate set.
1766 * this is a noop as those rates sets are different
1820 findmedia(const struct ratemedia rates[], int n, u_int match) argument
1825 if (rates[
1838 static const struct ratemedia rates[] = { local
[all...]
H A Dieee80211_input.c402 const uint8_t *rates, const uint8_t *xrates, int flags)
408 rs->rs_nrates = rates[1];
409 memcpy(rs->rs_rates, rates + 2, rs->rs_nrates);
420 "%u of %u rates", nxrates, xrates[1]);
510 * [tlv] supported rates
515 * [tlv] extended supported rates
543 scan->rates = frm;
650 IEEE80211_VERIFY_ELEMENT(scan->rates, IEEE80211_RATE_MAXSIZE,
652 if (scan->rates != NULL && scan->xrates != NULL) {
660 IEEE80211_RATE_MAXSIZE - scan->rates[
401 ieee80211_setup_rates(struct ieee80211_node *ni, const uint8_t *rates, const uint8_t *xrates, int flags) argument
[all...]
H A Dieee80211_sta.c1153 * rates, etc) may/will be wrong.
1281 uint8_t *rates, *xrates, *wme, *htcap, *htinfo; local
1589 * [tlv] supported rates
1590 * [tlv] extended supported rates
1611 rates = xrates = wme = htcap = htinfo = NULL;
1616 rates = frm;
1649 IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZE, return);
1652 IEEE80211_RATE_MAXSIZE - rates[1], return);
1653 rate = ieee80211_setup_rates(ni, rates, xrates,
H A Dieee80211_scan.h239 uint8_t *rates; member in struct:ieee80211_scanparams
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c1174 }, rates[] = { local
1185 for (i = 0; rates[i].name != NULL; i++) {
1186 if (dtrace_getopt(g_dtp, rates[i].optname, &rates[i].val) == -1)
1187 fatal("couldn't get option %s", rates[i].optname);
1220 for (i = 0; rates[i].name != NULL; i++) {
1224 if (rates[i].val == DTRACEOPT_UNSET)
1227 (void) dtrace_getopt(g_dtp, rates[i].optname, &nval);
1232 if (rates[i].val == nval)
1235 dir = nval > rates[
[all...]
/freebsd-11-stable/tools/tools/net80211/wlaninject/
H A Dwlaninject.c182 "\t-R\tstandard rates\n"
680 unsigned char rates[] = "\x1\x4\x82\x84\xb\x16"; local
683 if ((sizeof(rates) - 1) > left) {
684 printf("No space for rates\n");
688 memcpy(body, rates, sizeof(rates) - 1);
689 body += sizeof(rates) - 1;
690 len += sizeof(rates) - 1;
/freebsd-11-stable/sys/dev/mwl/
H A Dif_mwl.c1003 MWL_HAL_TXRATE rates; local
1005 memset(&rates, 0, sizeof(rates));
1008 rates.MgtRate = rs->rs_rates[0] & IEEE80211_RATE_VAL;
1010 rates.McastRate = rates.MgtRate;
1012 return mwl_hal_settxrate_auto(sc->sc_mh, &rates);
1025 MWL_HAL_TXRATE rates; local
1033 memset(&rates, 0, sizeof(rates));
3955 uint32_t rates; local
3984 uint32_t rates; local
[all...]
/freebsd-11-stable/contrib/wpa/src/drivers/
H A Ddriver_nl80211_scan.c336 struct nlattr *rates; local
340 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES);
341 if (rates == NULL)
345 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates
346 * by masking out everything else apart from the OFDM rates 6,
347 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz
348 * rates are left enabled.
353 nla_nest_end(msg, rates);
1174 struct nlattr *rates; local
[all...]
H A Ddriver_nl80211_capa.c1533 mode->rates = os_calloc(mode->num_rates, sizeof(int));
1534 if (!mode->rates)
1545 mode->rates[idx] = nla_get_u32(
1762 if (modes[m].rates[i] > 200) {
1808 mode->rates = os_malloc(4 * sizeof(int));
1809 if (mode->rates == NULL) {
1816 if (mode11g->rates[i] != 10 && mode11g->rates[i] != 20 &&
1817 mode11g->rates[i] != 55 && mode11g->rates[
[all...]
H A Ddriver_hostap.c1123 mode->rates = os_zalloc(rlen);
1124 if (mode->channels == NULL || mode->rates == NULL) {
1126 os_free(mode->rates);
1140 mode->rates[0] = 10;
1141 mode->rates[1] = 20;
1142 mode->rates[2] = 55;
1143 mode->rates[3] = 110;
/freebsd-11-stable/sys/dev/ath/ath_hal/
H A Dah.c286 ath_hal_pkt_txtime(struct ath_hal *ah, const HAL_RATE_TABLE *rates, uint32_t frameLen, argument
292 rc = rates->info[rateix].rateCode;
296 return ath_hal_computetxtime(ah, rates, frameLen, rateix, shortPreamble);
352 const HAL_RATE_TABLE *rates, uint32_t frameLen, uint16_t rateix,
358 /* Warn if this function is called for 11n rates; it should not be! */
359 if (IS_HT_RATE(rates->info[rateix].rateCode))
361 __func__, rateix, rates->info[rateix].rateCode);
363 kbps = rates->info[rateix].rateKbps;
370 switch (rates->info[rateix].phy) {
373 if (shortPreamble && rates
351 ath_hal_computetxtime(struct ath_hal *ah, const HAL_RATE_TABLE *rates, uint32_t frameLen, uint16_t rateix, HAL_BOOL shortPreamble) argument
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-802_11.c288 struct rates_t rates; member in struct:mgmt_body_t
415 for (z = 0; z < p.rates.length ; z++) { \
416 PRINT_RATE(sep, p.rates.rate[z], \
417 (p.rates.rate[z] & 0x80 ? "*" : "")); \
420 if (p.rates.length != 0) \
858 "the data rates in BSSBasicRateSet parameter", /* 18 */
885 "Association denied due to excessive frame loss rates and/or "
1005 struct rates_t rates; local
1086 memcpy(&rates, p + offset, 2);
1089 if (rates
[all...]
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_freebsd.h48 const struct ath_desc *ds0, int *rates, int *tries);
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dbss.h147 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_upgtvar.h84 uint8_t rates[20]; member in struct:upgt_fw_bra_descr
325 uint8_t rates[8]; member in struct:upgt_lmac_tx_desc
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_xmit.c963 ar5212GetTxCompletionRates(struct ath_hal *ah, const struct ath_desc *ds0, int *rates, int *tries) argument
967 rates[0] = MS(ads->ds_ctl3, AR_XmitRate0);
968 rates[1] = MS(ads->ds_ctl3, AR_XmitRate1);
969 rates[2] = MS(ads->ds_ctl3, AR_XmitRate2);
970 rates[3] = MS(ads->ds_ctl3, AR_XmitRate3);
/freebsd-11-stable/sys/dev/kbdmux/
H A Dkbdmux.c1005 static int rates[] = { local
1250 for (i = sizeof(rates)/sizeof(rates[0]) - 1; i > 0; i --)
1251 if (((int *)arg)[1] >= rates[i])
1264 kbd->kb_delay2 = rates[mode & 0x1f];
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_scan.c408 static const uint32_t rates = (IWM_SCAN_CONFIG_RATE_1M | local
424 scan_config->legacy_rates = htole32(rates |
425 IWM_SCAN_CONFIG_SUPPORTED_RATE(rates));
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dhw_features.c38 os_free(hw_features[i].rates);
170 return 0; /* No basic rates for 11ad */
201 mode->rates[i]))
205 rate->rate = mode->rates[i];
217 wpa_printf(MSG_ERROR, "No rates remaining in supported/basic "
868 * Sets up the hardware mode, channel, rates, and passive scanning
/freebsd-11-stable/sys/arm/versatile/
H A Dpl050.c552 static const int rates[] = {34, 38, 42, 46, 50, 55, 59, 63, local
561 kbd->kb_delay2 = rates[code & 0x1f];

Completed in 211 milliseconds

123