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

123

/freebsd-10.0-release/contrib/tcpdump/
H A Dprint-802_11.c71 for (z = 0; z < p.rates.length ; z++) { \
72 PRINT_RATE(sep, p.rates.rate[z], \
73 (p.rates.rate[z] & 0x80 ? "*" : "")); \
76 if (p.rates.length != 0) \
514 "the data rates in BSSBasicRateSet parameter", /* 18 */
541 "Association denied due to excessive frame loss rates and/or "
661 struct rates_t rates; local
753 memcpy(&rates, p + offset, 2);
756 if (rates.length != 0) {
757 if (rates
[all...]
H A Dieee802_11.h240 struct rates_t rates; member in struct:mgmt_body_t
/freebsd-10.0-release/sys/net80211/
H A Dieee80211.c100 * Default supported rates for 802.11 operation (in IEEE .5Mb units).
111 /* NB: OFDM rates are handled specially based on mode */
1076 * Add legacy rate to the collection of all rates.
1170 /* XXX does this work for 11ng basic rates? */
1182 /* NB: skip AUTO since it has no rates */
1186 if_printf(ifp, "%s rates: ", ieee80211_phymode_name[mode]);
1447 * Adjust basic rates in 11b/11g supported rate set.
1449 * this is a noop as those rates sets are different
1503 findmedia(const struct ratemedia rates[], int n, u_int match) argument
1508 if (rates[
1521 static const struct ratemedia rates[] = { local
[all...]
H A Dieee80211_adhoc.c666 is11bclient(const uint8_t *rates, const uint8_t *xrates) argument
672 if (xrates != NULL || rates == NULL)
674 for (i = 0; i < rates[1]; i++) {
675 int r = rates[2+i] & IEEE80211_RATE_VAL;
690 uint8_t *ssid, *rates, *xrates; local
813 * [tlv] supported rates
814 * [tlv] extended supported rates
816 ssid = rates = xrates = NULL;
825 rates = frm;
833 IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZ
[all...]
H A Dieee80211_hostap.c1666 is11bclient(const uint8_t *rates, const uint8_t *xrates) argument
1672 if (xrates != NULL || rates == NULL)
1674 for (i = 0; i < rates[1]; i++) {
1675 int r = rates[2+i] & IEEE80211_RATE_VAL;
1690 uint8_t *ssid, *rates, *xrates, *wpa, *rsn, *wme, *ath, *htcap; local
1814 * [tlv] supported rates
1815 * [tlv] extended supported rates
1817 ssid = rates = xrates = NULL;
1826 rates = frm;
1834 IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZ
[all...]
H A Dieee80211_input.c380 const uint8_t *rates, const uint8_t *xrates, int flags)
386 rs->rs_nrates = rates[1];
387 memcpy(rs->rs_rates, rates + 2, rs->rs_nrates);
398 "%u of %u rates", nxrates, xrates[1]);
487 * [tlv] supported rates
492 * [tlv] extended supported rates
520 scan->rates = frm;
622 IEEE80211_VERIFY_ELEMENT(scan->rates, IEEE80211_RATE_MAXSIZE,
624 if (scan->rates != NULL && scan->xrates != NULL) {
632 IEEE80211_RATE_MAXSIZE - scan->rates[
379 ieee80211_setup_rates(struct ieee80211_node *ni, const uint8_t *rates, const uint8_t *xrates, int flags) argument
[all...]
H A Dieee80211_sta.c1160 * rates, etc) may/will be wrong.
1287 uint8_t *rates, *xrates, *wme, *htcap, *htinfo; local
1535 * [tlv] supported rates
1536 * [tlv] extended supported rates
1557 rates = xrates = wme = htcap = htinfo = NULL;
1562 rates = frm;
1595 IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZE, return);
1598 IEEE80211_RATE_MAXSIZE - rates[1], return);
1599 rate = ieee80211_setup_rates(ni, rates, xrates,
H A Dieee80211_input.h251 const uint8_t *rates, const uint8_t *xrates, int flags);
H A Dieee80211_scan.h205 uint8_t *rates; member in struct:ieee80211_scanparams
H A Dieee80211_proto.c527 * XXX we are called to process both MCS and legacy rates;
532 * for legacy rates.
542 * Sort rates.
560 * Check against supported rates.
584 * Delete unacceptable rates.
663 static const int rates[] = { 2, 4, 11, 22, 12, 24, 48 }; local
666 if (rs->rs_nrates < nitems(rates))
668 for (i = 0; i < nitems(rates); i++) {
671 if (rates[i] == r)
673 if (r > rates[
[all...]
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c1125 }, rates[] = { local
1136 for (i = 0; rates[i].name != NULL; i++) {
1137 if (dtrace_getopt(g_dtp, rates[i].optname, &rates[i].val) == -1)
1138 fatal("couldn't get option %s", rates[i].optname);
1171 for (i = 0; rates[i].name != NULL; i++) {
1175 if (rates[i].val == DTRACEOPT_UNSET)
1178 (void) dtrace_getopt(g_dtp, rates[i].optname, &nval);
1183 if (rates[i].val == nval)
1186 dir = nval > rates[
[all...]
/freebsd-10.0-release/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-10.0-release/contrib/wpa/wpa_supplicant/
H A Dbss.h121 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
/freebsd-10.0-release/sys/dev/ath/ath_hal/
H A Dah.c283 ath_hal_pkt_txtime(struct ath_hal *ah, const HAL_RATE_TABLE *rates, uint32_t frameLen, argument
289 rc = rates->info[rateix].rateCode;
293 return ath_hal_computetxtime(ah, rates, frameLen, rateix, shortPreamble);
349 const HAL_RATE_TABLE *rates, uint32_t frameLen, uint16_t rateix,
355 /* Warn if this function is called for 11n rates; it should not be! */
356 if (IS_HT_RATE(rates->info[rateix].rateCode))
358 __func__, rateix, rates->info[rateix].rateCode);
360 kbps = rates->info[rateix].rateKbps;
367 switch (rates->info[rateix].phy) {
370 if (shortPreamble && rates
348 ath_hal_computetxtime(struct ath_hal *ah, const HAL_RATE_TABLE *rates, uint32_t frameLen, uint16_t rateix, HAL_BOOL shortPreamble) argument
[all...]
/freebsd-10.0-release/sys/dev/mwl/
H A Dif_mwl.c1038 MWL_HAL_TXRATE rates; local
1040 memset(&rates, 0, sizeof(rates));
1043 rates.MgtRate = rs->rs_rates[0] & IEEE80211_RATE_VAL;
1045 rates.McastRate = rates.MgtRate;
1047 return mwl_hal_settxrate_auto(sc->sc_mh, &rates);
1060 MWL_HAL_TXRATE rates; local
1068 memset(&rates, 0, sizeof(rates));
4108 uint32_t rates; local
4137 uint32_t rates; local
[all...]
/freebsd-10.0-release/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_freebsd.h47 const struct ath_desc *ds0, int *rates, int *tries);
/freebsd-10.0-release/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
H A Dif_uath.c145 UATH_DEBUG_RATES = 0x00008000, /* rates */
2000 struct uath_cmd_rates rates; local
2002 memset(&rates, 0, sizeof(rates));
2003 rates.connid = htobe32(UATH_ID_BSS); /* XXX */
2004 rates.size = htobe32(sizeof(struct uath_cmd_rateset));
2006 rates.rateset.length = rs->rs_nrates;
2007 bcopy(rs->rs_rates, &rates.rateset.set[0], rs->rs_nrates);
2010 "setting supported rates nrates=%d\n", rs->rs_nrates);
2012 &rates, sizeo
[all...]
/freebsd-10.0-release/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-10.0-release/sys/dev/atkbdc/
H A Datkbd.c1489 static int rates[] = { 34, 38, 42, 46, 50, 55, 59, 63, variable
1503 return rates[i & 0x1f];
1517 for (i = sizeof(rates)/sizeof(rates[0]) - 1; i > 0; --i) {
1518 if (rate >= rates[i])
/freebsd-10.0-release/sys/dev/kbdmux/
H A Dkbdmux.c936 static int rates[] = { local
1177 for (i = sizeof(rates)/sizeof(rates[0]) - 1; i > 0; i --)
1178 if (((int *)arg)[1] >= rates[i])
1191 kbd->kb_delay2 = rates[mode & 0x1f];
/freebsd-10.0-release/sys/dev/vkbd/
H A Dvkbd.c1306 static int rates[] = { 34, 38, 42, 46, 50, 55, 59, 63, variable
1320 return (rates[i & 0x1f]);
1334 for (i = sizeof(rates)/sizeof(rates[0]) - 1; i > 0; i --) {
1335 if (rate >= rates[i])
/freebsd-10.0-release/contrib/wpa/src/ap/
H A Dhw_features.c40 os_free(hw_features[i].rates);
126 return 0; /* No basic rates for 11ad */
157 mode->rates[i]))
161 rate->rate = mode->rates[i];
173 wpa_printf(MSG_ERROR, "No rates remaining in supported/basic "
643 * Sets up the hardware mode, channel, rates, and passive scanning
/freebsd-10.0-release/sys/arm/versatile/
H A Dpl050.c547 static const int rates[] = {34, 38, 42, 46, 50, 55, 59, 63, local
556 kbd->kb_delay2 = rates[code & 0x1f];
/freebsd-10.0-release/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_xmit.c155 /* NB: accept HT rates */
163 * Handle the non-MCS rates
183 /* OFDM rates */
257 * If Open-loop TX power control is used, the CCK rates need
1092 ar5416GetTxCompletionRates(struct ath_hal *ah, const struct ath_desc *ds0, int *rates, int *tries) argument
1096 rates[0] = MS(ads->ds_ctl3, AR_XmitRate0);
1097 rates[1] = MS(ads->ds_ctl3, AR_XmitRate1);
1098 rates[2] = MS(ads->ds_ctl3, AR_XmitRate2);
1099 rates[3] = MS(ads->ds_ctl3, AR_XmitRate3);

Completed in 220 milliseconds

123