Searched defs:rates (Results 1 - 25 of 31) sorted by relevance

12

/external/iw/
H A Dibss.c27 unsigned char rates[NL80211_MAX_SUPP_RATES]; local
131 /* basic rates */
132 if (argc > 1 && strcmp(argv[0], "basic-rates") == 0) {
140 rates[n_rates] = rate * 2;
143 if (*end != '\0' || !rates[n_rates] ||
144 rate*2 != rates[n_rates])
151 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates);
198 " [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] "
206 "it with the specified basic-rates, multicast-rate and beacon-interval.");
H A Dmesh.c441 unsigned char rates[NL80211_MAX_SUPP_RATES]; local
514 /* basic rates */
515 if (argc > 1 && strcmp(argv[0], "basic-rates") == 0) {
523 rates[n_rates] = rate * 2;
526 if (*end != '\0' || !rates[n_rates] ||
527 rate*2 != rates[n_rates])
534 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates);
606 " [basic-rates <rate in Mbps,rate2,...>]], [mcast-rate <rate in Mbps>]"
610 "Join a mesh with the given mesh ID with frequency, basic-rates,\n"
611 "mcast-rate and mesh parameters. Basic-rates ar
[all...]
/external/iptables/extensions/
H A Dlibebt_limit.c126 struct rates struct
132 static struct rates g_rates[] =
144 for (i = 1; i < sizeof(g_rates)/sizeof(struct rates); i++)
H A Dlibxt_limit.c112 static const struct rates struct
116 } rates[] = { { "day", XT_LIMIT_SCALE*24*60*60 }, variable in typeref:struct:rates
130 for (i = 1; i < ARRAY_SIZE(rates); ++i)
131 if (period > rates[i].mult
132 || rates[i].mult/period < rates[i].mult%period)
135 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name);
155 static const struct rates rates_xlate[] = {
171 for (i = 1; i < ARRAY_SIZE(rates);
[all...]
H A Dlibxt_hashlimit.c604 struct rates { struct
612 static const struct rates rates[] = { variable in typeref:struct:rates
621 const struct rates *_rates = (revision == 1) ? rates_v1 : rates;
629 for (i = 1; i < ARRAY_SIZE(rates); ++i)
/external/tensorflow/tensorflow/core/kernels/
H A Ddilation_ops.cc44 std::vector<int32>* rates, Padding* padding) {
53 OP_REQUIRES_OK(context, context->GetAttr("rates", rates));
54 OP_REQUIRES(context, rates->size() == 4,
57 OP_REQUIRES(context, (*rates)[0] == 1 && (*rates)[3] == 1,
65 const std::vector<int32>& rates, const Padding& padding,
83 *rate_rows = rates[1];
84 *rate_cols = rates[2];
43 ParseAttributes(OpKernelConstruction* context, std::vector<int32>* strides, std::vector<int32>* rates, Padding* padding) argument
64 ParseSizes(OpKernelContext* context, const std::vector<int32>& strides, const std::vector<int32>& rates, const Padding& padding, int* stride_rows, int* stride_cols, int* rate_rows, int* rate_cols, int64* pad_top, int64* pad_left, int64* out_rows, int64* out_cols) argument
/external/adhd/cras/src/server/
H A Dcras_alsa_helpers.c33 /* What rates should we check for on this dev?
389 size_t **rates, size_t **channel_counts,
414 *rates = (size_t *)malloc(sizeof(test_sample_rates));
415 if (*rates == NULL) {
421 free(*rates);
428 free(*rates);
438 (*rates)[num_found++] = test_sample_rates[i];
440 (*rates)[num_found] = 0;
388 cras_alsa_fill_properties(const char *dev, snd_pcm_stream_t stream, size_t **rates, size_t **channel_counts, snd_pcm_format_t **formats) argument
/external/python/cpython2/Mac/Modules/snd/
H A D_Sndihooks.c39 Handle rates; member in struct:SampleRateAvailable_arg
408 /* Handle contains a list of rates */
432 arg.rates = NULL;
440 frates = (Fixed *)*(arg.rates);
446 /* Handle contains a list of rates */
/external/iproute2/misc/
H A Difstat.c323 double *rates = n->rate; local
333 rates = h1->rate;
351 (unsigned int)rates[i]);
369 const double *rates, int i)
380 if (rates[i] > mega) {
381 sprintf(temp, "%uM", (unsigned int)(rates[i]/mega));
383 } else if (rates[i] > kilo) {
384 sprintf(temp, "%uK", (unsigned int)(rates[i]/kilo));
387 fprintf(fp, "%-6u ", (unsigned int)rates[i]);
368 format_rate(FILE *fp, const unsigned long long *vals, const double *rates, int i) argument
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_nl80211_scan.c321 struct nlattr *rates; local
325 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES);
326 if (rates == NULL)
330 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates
331 * by masking out everything else apart from the OFDM rates 6,
332 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz
333 * rates are left enabled.
338 nla_nest_end(msg, rates);
1158 struct nlattr *rates; local
[all...]
H A Ddriver_nl80211.c3147 * Looks like we failed to unmask 11b rates previously. This could
3152 "nl80211: Interface %s mode is for non-P2P, but 11b rates were disabled - re-enable them",
3519 u8 rates[NL80211_MAX_SUPP_RATES]; local
3527 rates[rates_len++] = basic_rates[i] / 5;
3529 return nla_put(msg, NL80211_ATTR_BSS_BASIC_RATES, rates_len, rates);
4261 wpa_hexdump(MSG_DEBUG, " * supported rates",
4698 "nl80211: Interface %s created for P2P - disable 11b rates",
5667 "nl80211: Interface %s mode change to P2P - disable 11b rates",
5672 "nl80211: Interface %s mode changed to non-P2P - re-enable 11b rates",
7260 * Disable 2 GHz rates
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_nl80211_scan.c321 struct nlattr *rates; local
325 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES);
326 if (rates == NULL)
330 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates
331 * by masking out everything else apart from the OFDM rates 6,
332 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz
333 * rates are left enabled.
338 nla_nest_end(msg, rates);
1158 struct nlattr *rates; local
[all...]
H A Ddriver_nl80211.c3147 * Looks like we failed to unmask 11b rates previously. This could
3152 "nl80211: Interface %s mode is for non-P2P, but 11b rates were disabled - re-enable them",
3519 u8 rates[NL80211_MAX_SUPP_RATES]; local
3527 rates[rates_len++] = basic_rates[i] / 5;
3529 return nla_put(msg, NL80211_ATTR_BSS_BASIC_RATES, rates_len, rates);
4261 wpa_hexdump(MSG_DEBUG, " * supported rates",
4698 "nl80211: Interface %s created for P2P - disable 11b rates",
5667 "nl80211: Interface %s mode change to P2P - disable 11b rates",
5672 "nl80211: Interface %s mode changed to non-P2P - re-enable 11b rates",
7260 * Disable 2 GHz rates
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_nl80211_scan.c321 struct nlattr *rates; local
325 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES);
326 if (rates == NULL)
330 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates
331 * by masking out everything else apart from the OFDM rates 6,
332 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz
333 * rates are left enabled.
338 nla_nest_end(msg, rates);
1158 struct nlattr *rates; local
[all...]
H A Ddriver_nl80211.c3147 * Looks like we failed to unmask 11b rates previously. This could
3152 "nl80211: Interface %s mode is for non-P2P, but 11b rates were disabled - re-enable them",
3519 u8 rates[NL80211_MAX_SUPP_RATES]; local
3527 rates[rates_len++] = basic_rates[i] / 5;
3529 return nla_put(msg, NL80211_ATTR_BSS_BASIC_RATES, rates_len, rates);
4261 wpa_hexdump(MSG_DEBUG, " * supported rates",
4698 "nl80211: Interface %s created for P2P - disable 11b rates",
5667 "nl80211: Interface %s mode change to P2P - disable 11b rates",
5672 "nl80211: Interface %s mode changed to non-P2P - re-enable 11b rates",
7260 * Disable 2 GHz rates
[all...]
/external/libopus/tests/
H A Dtest_opus_encode.c399 int rates[13]={6000,12000,48000,16000,32000,48000,64000,512000,13000,24000,48000,64000,96000}; local
401 rate=rates[j]+fast_rand()%rates[j];
428 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS((rates[j]>=64000?2:1)))!=OPUS_OK)test_failed();
485 int rates[16]={4000,12000,32000,8000,16000,32000,48000,88000,4000,12000,32000,8000,16000,32000,48000,88000}; local
489 rate=rates[j]+fast_rand()%rates[j];
/external/syslinux/gpxe/src/include/gpxe/
H A Dnet80211.h257 * irrelevant for 802.11g data rates, since they use a different
271 /** The maximum number of TX rates we allow to be configured simultaneously */
503 /** List of transmission rates supported by the card, indexed by band
508 u16 rates[NET80211_NR_BANDS][NET80211_MAX_RATES]; member in struct:net80211_hw_info
510 /** Number of supported rates, indexed by band */
814 /** A list of all possible TX rates we might use
818 u16 rates[NET80211_MAX_RATES]; member in struct:net80211_device
820 /** The number of transmission rates in the rates array */
823 /** The rate currently in use, as an index into the rates arra
[all...]
H A Dieee80211.h146 * ESSID, identify themselves by BSSID, supported transfer rates, RF
584 /** 802.11 rates information element
586 * The first 8 rates go in an IE of type RATES (1), and any more rates
594 u8 len; /**< Number of rates */
595 u8 rates[0]; /**< Rates data, one rate per byte */ member in struct:ieee80211_ie_rates
598 /** Information element ID for rates information element */
601 /** Information element ID for extended rates information element */
979 u8 rates[0]; /**< Rates data */ member in union:ieee80211_ie::__anon25098::__anon25099
/external/wpa_supplicant_8/wpa_supplicant/
H A Dbss.c1287 * wpa_bss_get_bit_rates - Get legacy TX rates supported in a BSS
1289 * @rates: Buffer for returning a pointer to the rates list (units of 500 kbps)
1290 * Returns: number of legacy TX rates or -1 on failure
1295 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates) argument
1317 *rates = r;
H A Dconfig.c1927 int *rates = wpa_config_parse_int_array(value); local
1929 if (rates == NULL) {
1934 if (rates[0] == 0) {
1935 os_free(rates);
1936 rates = NULL;
1940 ssid->mesh_basic_rates = rates;
/external/kernel-headers/original/uapi/sound/
H A Dasoc.h279 __le32 rates; /* supported rates SNDRV_PCM_RATE_* */ member in struct:snd_soc_tplg_stream_caps
/external/pdfium/third_party/libopenjpeg20/
H A Dj2k.h251 /** rates of layers */
252 OPJ_FLOAT32 rates[100]; member in struct:opj_tcp
/external/syslinux/gpxe/src/drivers/net/ath5k/
H A Dath5k_phy.c1667 struct ath5k_rate_pcal_info *rates)
1718 rates->freq = target;
1720 rates->target_power_6to24 =
1726 rates->target_power_36 =
1732 rates->target_power_48 =
1738 rates->target_power_54 =
2412 * rates[0] - rates[7] -> OFDM rates
2413 * rates[
1665 ath5k_get_rate_pcal_data(struct ath5k_hw *ah, struct net80211_channel *channel, struct ath5k_rate_pcal_info *rates) argument
2422 u16 *rates; local
[all...]
/external/adhd/cras/src/tests/
H A Dalsa_io_unittest.cc2193 size_t **rates,
2197 *rates = (size_t *)malloc(sizeof(**rates) * 3);
2198 (*rates)[0] = 44100;
2199 (*rates)[1] = 48000;
2200 (*rates)[2] = 0;
2191 cras_alsa_fill_properties(const char *dev, snd_pcm_stream_t stream, size_t **rates, size_t **channel_counts, snd_pcm_format_t **formats) argument
/external/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...]

Completed in 822 milliseconds

12