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

1234

/freebsd-13-stable/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_ppr.c146 struct bwn_ppr_rates *rates = &ppr->rates; local
265 rates->cck[i] = maxpwr - off;
272 rates->ofdm[i] = maxpwr - off;
276 rates->mcs_20[0] = rates->ofdm[0];
277 rates->mcs_20[1] = rates->ofdm[2];
278 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::__anon14693
/freebsd-13-stable/sys/arm64/rockchip/clk/
H A Drk_clk_pll.c54 struct rk_clk_pll_rate *rates; member in struct:rk_clk_pll_sc
211 struct rk_clk_pll_rate *rates; local
218 if (sc->rates == NULL)
221 for (rates = sc->rates; rates->freq; rates++) {
222 if (rates->freq == *fout)
225 if (rates->freq == 0) {
245 reg |= (rates
434 struct rk_clk_pll_rate *rates; local
678 struct rk_clk_pll_rate *rates; local
[all...]
H A Drk_clk_armclk.h56 struct rk_clk_armclk_rates *rates; member in struct:rk_clk_armclk_def
H A Drk_clk_pll.h58 struct rk_clk_pll_rate *rates; member in struct:rk_clk_pll_def
H A Drk_clk_armclk.c61 struct rk_clk_armclk_rates *rates; member in struct:rk_clk_armclk_sc
163 if (sc->rates[i].freq == *fout) {
164 best = sc->rates[i].freq;
165 div = sc->rates[i].div;
251 sc->rates = clkdef->rates;
/freebsd-13-stable/sys/netinet/
H A Dtcp_stats.c75 struct stats_tpl_sample_rate **rates, int *nrates, void *ctx);
84 "TCP stats per template random sampling rates, in CSV tpl_spec=percent "
216 * subsystem's stats template sample rates list.
220 struct stats_tpl_sample_rate **rates, int *nrates, void *ctx)
239 if (rates != NULL)
240 *rates = V_tcp_perconn_stats_sample_rates;
250 KASSERT(rates != NULL && nrates != NULL,
251 ("%s: PUT without new rates", __func__));
253 if (rates == NULL || nrates == NULL)
258 V_tcp_perconn_stats_sample_rates = *rates;
219 tcp_stats_tpl_sr_cb(enum stats_tpl_sr_cb_action action, struct stats_tpl_sample_rate **rates, int *nrates, void *ctx) argument
[all...]
/freebsd-13-stable/sys/dev/rtwn/
H A Dif_rtwn_rx.c62 uint32_t rates; local
66 /* Get rates mask. */
67 rates = 0;
78 rates |= 1 << ridx;
84 /* If we're doing 11n, enable 11n rates */
89 /* 11n rates start at index 12 */
91 rates |= (1 << ridx);
100 "%s: rates 0x%08X, maxrate %d\n", __func__, rates, maxrate);
103 *rates_p = rates;
109 rtwn_set_basicrates(struct rtwn_softc *sc, uint32_t rates) argument
[all...]
/freebsd-13-stable/cddl/usr.sbin/dtrace/tests/common/
H A DMakefile58 rates \
/freebsd-13-stable/sys/dev/rtwn/rtl8192c/
H A Dr92c_fw.c168 r92c_send_ra_cmd(struct rtwn_softc *sc, int macid, uint32_t rates, argument
178 /* NB: group addressed frames are done at 11bg rates for now */
185 "%s: mode 0x%x, rates 0x%08x, basicrates 0x%08x\n", __func__,
186 mode, rates, basicrates);
188 /* Set rates mask for group addressed frames. */
199 /* Set rates mask for unicast frames. */
207 cmd.mask = htole32(mode << 28 | rates);
225 uint32_t rates; local
242 rtwn_get_rates(sc, &ni->ni_rates, rs_ht, &rates, &maxrate, 0);
247 r92c_send_ra_cmd(sc, macid, rates, maxrat
[all...]
/freebsd-13-stable/sys/net80211/
H A Dieee80211_adhoc.c685 is11bclient(const uint8_t *rates, const uint8_t *xrates) argument
691 if (xrates != NULL || rates == NULL)
693 for (i = 0; i < rates[1]; i++) {
694 int r = rates[2+i] & IEEE80211_RATE_VAL;
710 uint8_t *ssid, *rates, *xrates; local
901 * [tlv] supported rates
902 * [tlv] extended supported rates
904 ssid = rates = xrates = NULL;
912 rates = frm;
920 IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZ
[all...]
H A Dieee80211_hostap.c1726 is11bclient(const uint8_t *rates, const uint8_t *xrates) argument
1732 if (xrates != NULL || rates == NULL)
1734 for (i = 0; i < rates[1]; i++) {
1735 int r = rates[2+i] & IEEE80211_RATE_VAL;
1750 uint8_t *ssid, *rates, *xrates, *wpa, *rsn, *wme, *ath, *htcap; local
1881 * [tlv] supported rates
1882 * [tlv] extended supported rates
1884 ssid = rates = xrates = NULL;
1892 rates = frm;
1900 IEEE80211_VERIFY_ELEMENT(rates, IEEE80211_RATE_MAXSIZ
[all...]
H A Dieee80211_input.c395 const uint8_t *rates, const uint8_t *xrates, int flags)
401 rs->rs_nrates = rates[1];
402 memcpy(rs->rs_rates, rates + 2, rs->rs_nrates);
413 "%u of %u rates", nxrates, xrates[1]);
505 * [tlv] supported rates
510 * [tlv] extended supported rates
540 scan->rates = frm;
653 IEEE80211_VERIFY_ELEMENT(scan->rates, IEEE80211_RATE_MAXSIZE,
655 if (scan->rates != NULL && scan->xrates != NULL) {
663 IEEE80211_RATE_MAXSIZE - scan->rates[
394 ieee80211_setup_rates(struct ieee80211_node *ni, const uint8_t *rates, const uint8_t *xrates, int flags) argument
[all...]
H A Dieee80211.c109 * Default supported rates for 802.11 operation (in IEEE .5Mb units).
120 /* NB: OFDM rates are handled specially based on mode */
1927 * Add legacy rate to the collection of all rates.
2007 /* XXX does this work for 11ng basic rates? */
2026 /* NB: skip AUTO since it has no rates */
2030 ic_printf(ic, "%s rates: ", ieee80211_phymode_name[mode]);
2273 * Adjust basic rates in 11b/11g supported rate set.
2275 * this is a noop as those rates sets are different
2333 findmedia(const struct ratemedia rates[], int n, u_int match) argument
2338 if (rates[
2351 static const struct ratemedia rates[] = { local
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c1175 }, rates[] = { local
1186 for (i = 0; rates[i].name != NULL; i++) {
1187 if (dtrace_getopt(g_dtp, rates[i].optname, &rates[i].val) == -1)
1188 fatal("couldn't get option %s", rates[i].optname);
1221 for (i = 0; rates[i].name != NULL; i++) {
1225 if (rates[i].val == DTRACEOPT_UNSET)
1228 (void) dtrace_getopt(g_dtp, rates[i].optname, &nval);
1233 if (rates[i].val == nval)
1236 dir = nval > rates[
[all...]
/freebsd-13-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-13-stable/sys/xen/interface/io/
H A Dsndif.h99 * /local/domain/1/device/vsnd/0/sample-rates = "8000,32000,44100,48000,96000"
133 * /local/domain/1/device/vsnd/0/1/sample-rates = "8000,32000,44100"
214 * o supported sample rates
235 * sample-rates
238 * List of supported sample rates separated by XENSND_LIST_SEPARATOR.
239 * Sample rates are expressed as a list of decimal values w/o any
502 #define XENSND_FIELD_SAMPLE_RATES "sample-rates"
840 * for sample rates becomes available (which might be the same set configured
898 } rates; member in struct:xensnd_query_hw_param
/freebsd-13-stable/sys/dev/mwl/
H A Dif_mwl.c1002 MWL_HAL_TXRATE rates; local
1004 memset(&rates, 0, sizeof(rates));
1007 rates.MgtRate = rs->rs_rates[0] & IEEE80211_RATE_VAL;
1009 rates.McastRate = rates.MgtRate;
1011 return mwl_hal_settxrate_auto(sc->sc_mh, &rates);
1024 MWL_HAL_TXRATE rates; local
1032 memset(&rates, 0, sizeof(rates));
3967 uint32_t rates; local
3996 uint32_t rates; local
[all...]
/freebsd-13-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...]
/freebsd-13-stable/sys/dev/ath/ath_hal/
H A Dah.c363 ath_hal_pkt_txtime(struct ath_hal *ah, const HAL_RATE_TABLE *rates, uint32_t frameLen, argument
370 rc = rates->info[rateix].rateCode;
374 return ath_hal_computetxtime(ah, rates, frameLen, rateix,
433 const HAL_RATE_TABLE *rates, uint32_t frameLen, uint16_t rateix,
439 /* Warn if this function is called for 11n rates; it should not be! */
440 if (IS_HT_RATE(rates->info[rateix].rateCode))
442 __func__, rateix, rates->info[rateix].rateCode);
444 kbps = rates->info[rateix].rateKbps;
451 switch (rates->info[rateix].phy) {
454 if (shortPreamble && rates
432 ath_hal_computetxtime(struct ath_hal *ah, const HAL_RATE_TABLE *rates, uint32_t frameLen, uint16_t rateix, HAL_BOOL shortPreamble, HAL_BOOL includeSifs) argument
[all...]
/freebsd-13-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-13-stable/contrib/wpa/wpa_supplicant/
H A Dbss.h147 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
/freebsd-13-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_freebsd.h48 const struct ath_desc *ds0, int *rates, int *tries);
/freebsd-13-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

Completed in 167 milliseconds

1234