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

/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 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);
H A Dlibxt_hashlimit.c428 static const struct rates struct
432 } rates[] = { { "day", XT_HASHLIMIT_SCALE*24*60*60 }, variable in typeref:struct:rates
446 for (i = 1; i < ARRAY_SIZE(rates); ++i)
447 if (period > rates[i].mult
448 || rates[i].mult/period < rates[i].mult%period)
451 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name);
453 return rates[i-1].mult / XT_HASHLIMIT_SCALE * 1000;
/external/libopus/tests/
H A Dtest_opus_encode.c243 int rates[13]={6000,12000,48000,16000,32000,48000,64000,512000,13000,24000,48000,64000,96000}; local
245 rate=rates[j]+fast_rand()%rates[j];
272 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS((rates[j]>=64000?2:1)))!=OPUS_OK)test_failed();
329 int rates[16]={4000,12000,32000,8000,16000,32000,48000,88000,4000,12000,32000,8000,16000,32000,48000,88000}; local
333 rate=rates[j]+fast_rand()%rates[j];
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_nl80211_scan.c245 struct nlattr *rates; local
249 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES);
250 if (rates == NULL)
254 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates
255 * by masking out everything else apart from the OFDM rates 6,
256 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz
257 * rates are left enabled.
262 nla_nest_end(msg, rates);
1022 struct nlattr *rates; local
[all...]
H A Ddriver_nl80211.c2954 * Looks like we failed to unmask 11b rates previously. This could
2959 "nl80211: Interface %s mode is for non-P2P, but 11b rates were disabled - re-enable them",
3315 u8 rates[NL80211_MAX_SUPP_RATES]; local
3323 rates[rates_len++] = basic_rates[i] / 5;
3325 return nla_put(msg, NL80211_ATTR_BSS_BASIC_RATES, rates_len, rates);
3843 wpa_hexdump(MSG_DEBUG, " * supported rates",
4264 "nl80211: Interface %s created for P2P - disable 11b rates",
5146 "nl80211: Interface %s mode change to P2P - disable 11b rates",
5151 "nl80211: Interface %s mode changed to non-P2P - re-enable 11b rates",
6653 * Disable 2 GHz rates
[all...]
H A Ddriver.h152 * num_rates - Number of entries in the rates array
157 * rates - Array of supported rates in 100 kbps units
159 int *rates; member in struct:hostapd_hw_modes
374 * p2p_probe - Used to disable CCK (802.11b) rates for P2P probes
376 * When set, the driver is expected to remove rates 1, 2, 5.5, and 11
377 * Mbps from the support rates element(s) in the Probe Request frames
378 * and not to transmit the frames at any of those rates.
928 * basic_rates: -1 terminated array of basic rates in 100 kbps
2027 * get_hw_feature_data - Get hardware support data (channels and rates)
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_nl80211_scan.c245 struct nlattr *rates; local
249 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES);
250 if (rates == NULL)
254 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates
255 * by masking out everything else apart from the OFDM rates 6,
256 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz
257 * rates are left enabled.
262 nla_nest_end(msg, rates);
1022 struct nlattr *rates; local
[all...]
H A Ddriver_nl80211.c2954 * Looks like we failed to unmask 11b rates previously. This could
2959 "nl80211: Interface %s mode is for non-P2P, but 11b rates were disabled - re-enable them",
3315 u8 rates[NL80211_MAX_SUPP_RATES]; local
3323 rates[rates_len++] = basic_rates[i] / 5;
3325 return nla_put(msg, NL80211_ATTR_BSS_BASIC_RATES, rates_len, rates);
3843 wpa_hexdump(MSG_DEBUG, " * supported rates",
4264 "nl80211: Interface %s created for P2P - disable 11b rates",
5146 "nl80211: Interface %s mode change to P2P - disable 11b rates",
5151 "nl80211: Interface %s mode changed to non-P2P - re-enable 11b rates",
6653 * Disable 2 GHz rates
[all...]
H A Ddriver.h152 * num_rates - Number of entries in the rates array
157 * rates - Array of supported rates in 100 kbps units
159 int *rates; member in struct:hostapd_hw_modes
374 * p2p_probe - Used to disable CCK (802.11b) rates for P2P probes
376 * When set, the driver is expected to remove rates 1, 2, 5.5, and 11
377 * Mbps from the support rates element(s) in the Probe Request frames
378 * and not to transmit the frames at any of those rates.
928 * basic_rates: -1 terminated array of basic rates in 100 kbps
2027 * get_hw_feature_data - Get hardware support data (channels and rates)
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_nl80211_scan.c245 struct nlattr *rates; local
249 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES);
250 if (rates == NULL)
254 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates
255 * by masking out everything else apart from the OFDM rates 6,
256 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz
257 * rates are left enabled.
262 nla_nest_end(msg, rates);
1022 struct nlattr *rates; local
[all...]
H A Ddriver_nl80211.c2954 * Looks like we failed to unmask 11b rates previously. This could
2959 "nl80211: Interface %s mode is for non-P2P, but 11b rates were disabled - re-enable them",
3315 u8 rates[NL80211_MAX_SUPP_RATES]; local
3323 rates[rates_len++] = basic_rates[i] / 5;
3325 return nla_put(msg, NL80211_ATTR_BSS_BASIC_RATES, rates_len, rates);
3843 wpa_hexdump(MSG_DEBUG, " * supported rates",
4264 "nl80211: Interface %s created for P2P - disable 11b rates",
5146 "nl80211: Interface %s mode change to P2P - disable 11b rates",
5151 "nl80211: Interface %s mode changed to non-P2P - re-enable 11b rates",
6653 * Disable 2 GHz rates
[all...]
H A Ddriver.h152 * num_rates - Number of entries in the rates array
157 * rates - Array of supported rates in 100 kbps units
159 int *rates; member in struct:hostapd_hw_modes
374 * p2p_probe - Used to disable CCK (802.11b) rates for P2P probes
376 * When set, the driver is expected to remove rates 1, 2, 5.5, and 11
377 * Mbps from the support rates element(s) in the Probe Request frames
378 * and not to transmit the frames at any of those rates.
928 * basic_rates: -1 terminated array of basic rates in 100 kbps
2027 * get_hw_feature_data - Get hardware support data (channels and rates)
[all...]
/external/iproute2/misc/
H A Difstat.c257 double *rates = n->rate; local
265 rates = h1->rate;
283 (unsigned)rates[i]);
299 const double *rates, int i)
310 if (rates[i] > mega) {
311 sprintf(temp, "%uM", (unsigned)(rates[i]/mega));
313 } else if (rates[i] > kilo) {
314 sprintf(temp, "%uK", (unsigned)(rates[i]/kilo));
317 fprintf(fp, "%-6u ", (unsigned)rates[i]);
298 format_rate(FILE *fp, const unsigned long long *vals, const double *rates, int i) argument
/external/wpa_supplicant_8/wpa_supplicant/
H A Dbss.c1206 * wpa_bss_get_bit_rates - Get legacy TX rates supported in a BSS
1208 * @rates: Buffer for returning a pointer to the rates list (units of 500 kbps)
1209 * Returns: number of legacy TX rates or -1 on failure
1214 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates) argument
1236 *rates = r;
H A Dconfig.c1781 int *rates = wpa_config_parse_int_array(value); local
1783 if (rates == NULL) {
1788 if (rates[0] == 0) {
1789 os_free(rates);
1790 rates = NULL;
1794 ssid->mesh_basic_rates = rates;
/external/kernel-headers/original/uapi/sound/
H A Dasoc.h203 __le32 rates; /* supported rates SNDRV_PCM_RATE_* */ member in struct:snd_soc_tplg_stream_caps
/external/pdfium/third_party/libopenjpeg20/
H A Dj2k.h257 /** rates of layers */
258 OPJ_FLOAT32 rates[100]; member in struct:opj_tcp
/external/tcpdump/
H A Dprint-802_11.c284 struct rates_t rates; member in struct:mgmt_body_t
710 for (z = 0; z < p.rates.length ; z++) { \
711 PRINT_RATE(sep, p.rates.rate[z], \
712 (p.rates.rate[z] & 0x80 ? "*" : "")); \
715 if (p.rates.length != 0) \
1153 "the data rates in BSSBasicRateSet parameter", /* 18 */
1180 "Association denied due to excessive frame loss rates and/or "
1300 struct rates_t rates; local
1389 memcpy(&rates, p + offset, 2);
1392 if (rates
[all...]
/external/robolectric/v3/runtime/
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 2979 milliseconds