rates 311 dev/ic/ar5xxx.c ath_hal_computetxtime(struct ath_hal *hal, const HAL_RATE_TABLE *rates, rates 317 dev/ic/ar5xxx.c AR5K_ASSERT_ENTRY(rate_index, rates->rateCount); rates 322 dev/ic/ar5xxx.c rate = &rates->info[rate_index]; rates 1737 dev/ic/ar5xxx.c u_int16_t txpower, *rates; rates 1740 dev/ic/ar5xxx.c rates = hal->ah_txpower.txp_rates; rates 1749 dev/ic/ar5xxx.c rates[i] = txpower; rates 1753 dev/ic/ar5xxx.c hal->ah_txpower.txp_min = rates[7]; rates 1754 dev/ic/ar5xxx.c hal->ah_txpower.txp_max = rates[0]; rates 1755 dev/ic/ar5xxx.c hal->ah_txpower.txp_ofdm = rates[0]; rates 1888 dev/ic/awi.c u_int8_t *tstamp, *bintval, *capinfo, *ssid, *rates, *parms; rates 1920 dev/ic/awi.c ssid = rates = parms = NULL; rates 1927 dev/ic/awi.c rates = frame; rates 1936 dev/ic/awi.c if (ssid == NULL || rates == NULL || parms == NULL) { rates 1940 dev/ic/awi.c ssid, rates, parms); rates 215 dev/ic/if_wi.c struct wi_ltv_rates rates; rates 344 dev/ic/if_wi.c rates.wi_type = WI_RID_DATA_RATES; rates 345 dev/ic/if_wi.c rates.wi_len = sizeof(rates.wi_rates); rates 346 dev/ic/if_wi.c if (wi_read_record(sc, (struct wi_ltv_gen *)&rates) == 0) { rates 349 dev/ic/if_wi.c nrates = letoh16(*(u_int16_t *)rates.wi_rates); rates 350 dev/ic/if_wi.c if (nrates > sizeof(rates.wi_rates) - 2) rates 351 dev/ic/if_wi.c nrates = sizeof(rates.wi_rates) - 2; rates 355 dev/ic/if_wi.c sc->wi_supprates |= rates.wi_rates[2 + i]; rates 164 dev/ic/if_wi_hostap.c put_rates(caddr_t *ppkt, u_int16_t rates) rates 169 dev/ic/if_wi_hostap.c if (rates & WI_SUPPRATES_1M) rates 171 dev/ic/if_wi_hostap.c if (rates & WI_SUPPRATES_2M) rates 173 dev/ic/if_wi_hostap.c if (rates & WI_SUPPRATES_5M) rates 175 dev/ic/if_wi_hostap.c if (rates & WI_SUPPRATES_11M) rates 510 dev/ic/if_wi_hostap.c wihap_check_rates(struct wihap_sta_info *sta, u_int8_t rates[], int rates_len) rates 515 dev/ic/if_wi_hostap.c sta->rates = 0; rates 518 dev/ic/if_wi_hostap.c switch (rates[i] & 0x7f) { rates 520 dev/ic/if_wi_hostap.c sta->rates |= WI_SUPPRATES_1M; rates 523 dev/ic/if_wi_hostap.c sta->rates |= WI_SUPPRATES_2M; rates 528 dev/ic/if_wi_hostap.c sta->rates |= WI_SUPPRATES_5M; rates 533 dev/ic/if_wi_hostap.c sta->rates |= WI_SUPPRATES_11M; rates 538 dev/ic/if_wi_hostap.c sta->rates &= sc->wi_supprates; rates 541 dev/ic/if_wi_hostap.c return (sta->rates == 0 ? -1 : 0); rates 735 dev/ic/if_wi_hostap.c u_int8_t rates[12]; rates 763 dev/ic/if_wi_hostap.c rates, sizeof(rates))) < 0) rates 790 dev/ic/if_wi_hostap.c if (wihap_check_rates(sta, rates, rates_len) < 0) { rates 1254 dev/ic/if_wi_hostap.c reqsta.rates = sta->rates; rates 1315 dev/ic/if_wi_hostap.c stabuf.rates = sta->rates; rates 1350 dev/ic/if_wi_hostap.c if (sta->rates & WI_SUPPRATES_1M) rates 1352 dev/ic/if_wi_hostap.c if (sta->rates & WI_SUPPRATES_2M) rates 1354 dev/ic/if_wi_hostap.c if (sta->rates & WI_SUPPRATES_5M) rates 1356 dev/ic/if_wi_hostap.c if (sta->rates & WI_SUPPRATES_11M) rates 48 dev/ic/if_wi_hostap.h u_int8_t rates; rates 91 dev/ic/if_wi_hostap.h u_int8_t rates; rates 1864 dev/ic/pgt.c uint8_t rates[IEEE80211_RATE_MAXSIZE]; rates 1959 dev/ic/pgt.c bzero(rates, sizeof(rates)); rates 1960 dev/ic/pgt.c error = pgt_oid_get(sc, PGT_OID_SUPPORTED_RATES, rates, sizeof(rates)); rates 1963 dev/ic/pgt.c for (i = 0; i < sizeof(rates) && rates[i] != 0; i++) { rates 1964 dev/ic/pgt.c switch (rates[i]) { rates 1972 dev/ic/pgt.c rs->rs_rates[rs->rs_nrates++] = rates[i]; rates 1977 dev/ic/pgt.c rs->rs_rates[rs->rs_nrates++] = rates[i]; rates 1981 dev/ic/pgt.c rs->rs_rates[rs->rs_nrates++] = rates[i]; rates 1984 dev/ic/pgt.c rs->rs_rates[rs->rs_nrates++] = rates[i]; rates 1330 dev/pci/azalia.c uint32_t rates, int32_t mode) rates 1362 dev/pci/azalia.c if (rates & COP_PCM_R80) rates 1364 dev/pci/azalia.c if (rates & COP_PCM_R110) rates 1366 dev/pci/azalia.c if (rates & COP_PCM_R160) rates 1368 dev/pci/azalia.c if (rates & COP_PCM_R220) rates 1370 dev/pci/azalia.c if (rates & COP_PCM_R320) rates 1372 dev/pci/azalia.c if (rates & COP_PCM_R441) rates 1374 dev/pci/azalia.c if (rates & COP_PCM_R480) rates 1376 dev/pci/azalia.c if (rates & COP_PCM_R882) rates 1378 dev/pci/azalia.c if (rates & COP_PCM_R960) rates 1380 dev/pci/azalia.c if (rates & COP_PCM_R1764) rates 1382 dev/pci/azalia.c if (rates & COP_PCM_R1920) rates 1384 dev/pci/azalia.c if (rates & COP_PCM_R3840) rates 622 dev/pci/if_ipw.c } rates[] = { rates 641 dev/pci/if_ipw.c for (i = 0; i < N(rates) && rates[i].val != val; i++); rates 642 dev/pci/if_ipw.c rate = (i < N(rates)) ? rates[i].rate : 0; rates 1894 dev/pci/if_iwi.c bcopy(ic->ic_sup_rates[IEEE80211_MODE_11G].rs_rates, rs.rates, rates 1904 dev/pci/if_iwi.c bcopy(ic->ic_sup_rates[IEEE80211_MODE_11A].rs_rates, rs.rates, rates 2055 dev/pci/if_iwi.c if (rs.nrates > sizeof rs.rates) { rates 2063 dev/pci/if_iwi.c rs.nrates = sizeof rs.rates; rates 2065 dev/pci/if_iwi.c bcopy(ni->ni_rates.rs_rates, rs.rates, rs.nrates); rates 300 dev/pci/if_iwireg.h uint8_t rates[12]; rates 2066 dev/pci/if_wpi.c mrr.rates[i].flags = 0; rates 2067 dev/pci/if_wpi.c mrr.rates[i].plcp = wpi_ridx_to_plcp[i]; rates 2069 dev/pci/if_wpi.c mrr.rates[i].next = (i == WPI_CCK1) ? WPI_CCK1 : i - 1; rates 2071 dev/pci/if_wpi.c mrr.rates[i].ntries = 1; rates 2076 dev/pci/if_wpi.c mrr.rates[i].flags = 0; rates 2077 dev/pci/if_wpi.c mrr.rates[i].plcp = wpi_ridx_to_plcp[i]; rates 2080 dev/pci/if_wpi.c mrr.rates[i].next = (i == WPI_OFDM6) ? rates 2085 dev/pci/if_wpi.c mrr.rates[i].ntries = 1; rates 2178 dev/pci/if_wpi.c txpower.rates[i].plcp = wpi_ridx_to_plcp[i]; rates 2181 dev/pci/if_wpi.c txpower.rates[i].rf_gain = wpi_rf_gain_5ghz[idx]; rates 2182 dev/pci/if_wpi.c txpower.rates[i].dsp_gain = wpi_dsp_gain_5ghz[idx]; rates 2184 dev/pci/if_wpi.c txpower.rates[i].rf_gain = wpi_rf_gain_2ghz[idx]; rates 2185 dev/pci/if_wpi.c txpower.rates[i].dsp_gain = wpi_dsp_gain_2ghz[idx]; rates 434 dev/pci/if_wpireg.h } __packed rates[WPI_CCK11 + 1]; rates 529 dev/pci/if_wpireg.h } __packed rates[WPI_CCK11 + 1]; rates 82 dev/pckbc/pms_intelli.c static u_char rates[] = {200, 100, 80}; rates 86 dev/pckbc/pms_intelli.c cmd[1] = rates[i]; rates 1342 dev/pcmcia/if_malo.c bcopy(buf + i, sc->sc_net[pos].rates, len); rates 1705 dev/pcmcia/if_malo.c body_rates->size = htole16(strlen(sc->sc_net[sc->sc_net_cur].rates)); rates 1706 dev/pcmcia/if_malo.c bcopy(sc->sc_net[sc->sc_net_cur].rates, body_rates->data, rates 321 dev/pcmcia/if_malovar.h uint8_t rates[14]; rates 646 dev/usb/if_atu.c u_int8_t rates[4] = {0x82, 0x04, 0x0B, 0x16}; rates 678 dev/usb/if_atu.c memcpy(cmd.BasicRateSet, rates, 4); rates 1798 dev/usb/if_uath.c struct uath_cmd_rates rates; rates 1800 dev/usb/if_uath.c bzero(&rates, sizeof rates); rates 1801 dev/usb/if_uath.c rates.magic1 = htobe32(0x02); rates 1802 dev/usb/if_uath.c rates.size = htobe32(1 + sizeof rates.rates); rates 1803 dev/usb/if_uath.c rates.nrates = rs->rs_nrates; rates 1804 dev/usb/if_uath.c bcopy(rs->rs_rates, rates.rates, rs->rs_nrates); rates 1807 dev/usb/if_uath.c return uath_cmd_write(sc, UATH_CMD_SET_RATES, &rates, sizeof rates, 0); rates 188 dev/usb/if_uathreg.h uint8_t rates[UATH_MAX_NRATES]; rates 1909 dev/usb/if_zyd.c static const uint8_t rates[] = { rates 1919 dev/usb/if_zyd.c tap->wr_rate = rates[plcp->signal & 0xf]; rates 826 net80211/ieee80211.c } rates[] = { rates 882 net80211/ieee80211.c for (i = 0; i < N(rates); i++) rates 883 net80211/ieee80211.c if (rates[i].m == mask) rates 884 net80211/ieee80211.c return rates[i].r; rates 317 net80211/ieee80211.h struct rates { rates 319 net80211/ieee80211.h } rates; rates 633 net80211/ieee80211_input.c const u_int8_t *rates, const u_int8_t *xrates, int flags) rates 638 net80211/ieee80211_input.c rs->rs_nrates = rates[1]; rates 639 net80211/ieee80211_input.c memcpy(rs->rs_rates, rates + 2, rs->rs_nrates); rates 1084 net80211/ieee80211_input.c const u_int8_t *tstamp, *ssid, *rates, *xrates, *edca, *wmm; rates 1118 net80211/ieee80211_input.c ssid = rates = xrates = edca = wmm = rsn = wpa = NULL; rates 1134 net80211/ieee80211_input.c rates = frm; rates 1199 net80211/ieee80211_input.c IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZE); rates 1328 net80211/ieee80211_input.c ieee80211_setup_rates(ic, ni, rates, xrates, IEEE80211_F_DOSORT); rates 1361 net80211/ieee80211_input.c const u_int8_t *ssid, *rates, *xrates; rates 1372 net80211/ieee80211_input.c ssid = rates = xrates = NULL; rates 1383 net80211/ieee80211_input.c rates = frm; rates 1391 net80211/ieee80211_input.c IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZE); rates 1410 net80211/ieee80211_input.c rate = ieee80211_setup_rates(ic, ni, rates, xrates, rates 1483 net80211/ieee80211_input.c const u_int8_t *ssid, *rates, *xrates, *rsn, *wpa; rates 1515 net80211/ieee80211_input.c ssid = rates = xrates = rsn = wpa = NULL; rates 1526 net80211/ieee80211_input.c rates = frm; rates 1549 net80211/ieee80211_input.c IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZE); rates 1589 net80211/ieee80211_input.c rate = ieee80211_setup_rates(ic, ni, rates, xrates, rates 1631 net80211/ieee80211_input.c const u_int8_t *rates, *xrates, *edca, *wmm; rates 1662 net80211/ieee80211_input.c rates = xrates = edca = wmm = NULL; rates 1670 net80211/ieee80211_input.c rates = frm; rates 1692 net80211/ieee80211_input.c IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZE); rates 1693 net80211/ieee80211_input.c rate = ieee80211_setup_rates(ic, ni, rates, xrates, rates 510 net80211/ieee80211_node.c u_int8_t (*rates)[IEEE80211_RATE_MAXSIZE]; rates 513 net80211/ieee80211_node.c rates = &ic->ic_bss->ni_rates.rs_rates; rates 516 net80211/ieee80211_node.c rate = (*rates)[ic->ic_fixed_rate]; rates 518 net80211/ieee80211_node.c rate = (*rates)[ic->ic_bss->ni_txrate]; rates 934 net80211/ieee80211_node.c static const u_int8_t rates[] = { 2, 4, 11, 22, 12, 24, 48 }; rates 942 net80211/ieee80211_node.c for (i = 0; i < N(rates); i++) { rates 944 net80211/ieee80211_node.c if ((rs->rs_rates[j] & IEEE80211_RATE_VAL) == rates[i])