/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | ap_drv_ops.h | 62 int freq, int channel, int ht_enabled, int vht_enabled, 95 int hostapd_drv_send_action(struct hostapd_data *hapd, unsigned int freq, 107 enum hostapd_hw_mode mode, int freq, 240 unsigned int freq) 246 return hapd->driver->get_survey(hapd->drv_priv, freq); 239 hostapd_drv_get_survey(struct hostapd_data *hapd, unsigned int freq) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/common/ |
H A D | hw_features_common.c | 20 int chan, int *freq) 24 if (freq) 25 *freq = 0; 33 if (freq) 34 *freq = ch->freq; 44 int freq, int *chan) 56 if (ch->freq == freq) { 69 int freq; local 19 hw_get_channel_chan(struct hostapd_hw_modes *mode, int chan, int *freq) argument 43 hw_get_channel_freq(struct hostapd_hw_modes *mode, int freq, int *chan) argument 77 hw_get_chan(struct hostapd_hw_modes *mode, int freq) argument 354 hostapd_set_freq_params(struct hostapd_freq_params *data, enum hostapd_hw_mode mode, int freq, int channel, int ht_enabled, int vht_enabled, int sec_channel_offset, int vht_oper_chwidth, int center_segment0, int center_segment1, u32 vht_caps) argument [all...] |
H A D | ieee802_11_common.c | 542 enum hostapd_hw_mode ieee80211_freq_to_chan(int freq, u8 *channel) argument 546 if (freq >= 2412 && freq <= 2472) { 548 *channel = (freq - 2407) / 5; 549 } else if (freq == 2484) { 552 } else if (freq >= 4900 && freq < 5000) { 554 *channel = (freq - 4000) / 5; 555 } else if (freq >= 5000 && freq < 590 824 int freq; local 854 ieee80211_is_dfs(int freq) argument [all...] |
H A D | privsep_commands.h | 37 int freq; member in struct:privsep_cmd_associate
|
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/ |
H A D | p2p_go_neg.c | 213 int freq; local 233 freq = dev->listen_freq > 0 ? dev->listen_freq : dev->oper_freq; 235 freq = dev->oob_go_neg_freq; 236 if (freq <= 0) { 253 if (p2p_send_action(p2p, freq, dev->info.p2p_device_addr, 379 int freq; local 409 freq = p2p_channel_to_freq(p2p->op_reg_class, p2p->op_channel); 410 if (freq >= 2400 && freq < 2500 && p2p->best_freq_5 > 0 && 423 if (freq > 553 int freq; local 944 int freq; local [all...] |
H A D | p2p_invitation.c | 178 int freq; local 188 p2p_dbg(p2p, "Received Invitation Request from " MACSTR " (freq=%d)", 276 p2p_dbg(p2p, "Unknown forced freq %d MHz from invitation_process()", 284 p2p_dbg(p2p, "forced freq %d MHz not in the supported channels interaction", 376 freq = rx_freq; 378 freq = p2p_channel_to_freq(p2p->cfg->reg_class, 380 if (freq < 0) { 410 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, 524 int freq = p2p_channel_to_freq(p2p->op_reg_class, local 526 if (freq < 554 int freq; local [all...] |
H A D | p2p_sd.c | 195 u8 dialog_token, int freq) 204 if (p2p_send_action(p2p, freq, dst, p2p->cfg->dev_addr, dst, 277 int freq; local 280 freq = dev->listen_freq > 0 ? dev->listen_freq : dev->oper_freq; 281 if (freq <= 0) { 307 if (p2p_send_action(p2p, freq, dev->info.p2p_device_addr, 328 int freq; local 336 freq = rx_freq; 338 freq = p2p_channel_to_freq(p2p->cfg->reg_class, 340 if (freq < 194 p2p_send_gas_comeback_req(struct p2p_data *p2p, const u8 *dst, u8 dialog_token, int freq) argument 416 p2p_sd_response(struct p2p_data *p2p, int freq, const u8 *dst, u8 dialog_token, const struct wpabuf *resp_tlvs) argument [all...] |
H A D | p2p_utils.c | 68 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) argument 71 if (freq >= 2412 && freq <= 2472) { 72 if ((freq - 2407) % 5) 76 *channel = (freq - 2407) / 5; 80 if (freq == 2484) { 86 if (freq >= 5180 && freq <= 5240) { 87 if ((freq - 5000) % 5) 91 *channel = (freq 272 int freq = p2p_channel_to_freq(op->reg_class, local 318 p2p_channels_includes_freq(const struct p2p_channels *channels, unsigned int freq) argument 334 p2p_supported_freq(struct p2p_data *p2p, unsigned int freq) argument 344 p2p_supported_freq_go(struct p2p_data *p2p, unsigned int freq) argument 355 p2p_supported_freq_cli(struct p2p_data *p2p, unsigned int freq) argument 371 int freq = 0; local 508 int freq; local [all...] |
/external/jpeg/ |
H A D | jchuff.c | 705 jpeg_gen_optimal_table (j_compress_ptr cinfo, JHUFF_TBL * htbl, long freq[]) argument 722 freq[256] = 1; /* make sure 256 has a nonzero count */ 736 if (freq[i] && freq[i] <= v) { 737 v = freq[i]; 747 if (freq[i] && freq[i] <= v && i != c1) { 748 v = freq[i]; 758 freq[c1] += freq[c [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | timex.h | 67 __kernel_long_t freq; /* frequency offset (scaled ppm) */ member in struct:timex 131 #define STA_PPSFREQ 0x0002 /* enable PPS freq discipline (rw) */
|
/external/linux-tools-perf/src/tools/perf/util/ |
H A D | evsel.h | 297 bool freq; member in struct:perf_attr_details
|
H A D | svghelper.c | 226 unsigned int freq; local 227 freq = strtoull(buf, NULL, 10); 228 if (freq > max_freq) 229 max_freq = freq; 335 void svg_pstate(int cpu, u64 start, u64 end, u64 freq) argument 343 height = freq * 1.0 / max_freq * (SLOT_HEIGHT + SLOT_MULT); 348 time2pixels(start), height+0.9, HzToHuman(freq));
|
/external/pdfium/core/src/fxcodec/libjpeg/ |
H A D | fpdfapi_jchuff.c | 709 jpeg_gen_optimal_table (j_compress_ptr cinfo, JHUFF_TBL * htbl, long freq[]) argument 726 freq[256] = 1; /* make sure 256 has a nonzero count */ 740 if (freq[i] && freq[i] <= v) { 741 v = freq[i]; 751 if (freq[i] && freq[i] <= v && i != c1) { 752 v = freq[i]; 762 freq[c1] += freq[c [all...] |
/external/speex/libspeex/ |
H A D | lsp.c | 142 spx_word16_t x, /* cos of freq (-1.0 to 1.0) in Q14 format */ 219 int lpc_to_lsp (spx_coef_t *a,int lpcrdr,spx_lsp_t *freq,int nb,spx_word16_t delta, char *stack) argument 222 /* float *freq LSP frequencies in the x domain */ 377 freq[j] = X2ANGLE(xm); 403 void lsp_to_lpc(spx_lsp_t *freq,spx_coef_t *ak,int lpcrdr, char *stack) argument 404 /* float *freq array of LSP frequencies in the x domain */ 457 freqn[i] = ANGLE2X(freq[i]); 522 void lsp_to_lpc(spx_lsp_t *freq,spx_coef_t *ak,int lpcrdr, char *stack) argument 523 /* float *freq array of LSP frequencies in the x domain */ 553 x_freq[i] = ANGLE2X(freq[ [all...] |
/external/strace/ |
H A D | time.c | 385 int freq; member in struct:__anon14516 409 tprintf(", offset=%d, freq=%d, maxerror=%d, ", 410 tx.offset, tx.freq, tx.maxerror); 452 tprintf(", offset=%jd, freq=%jd, maxerror=%ju, esterror=%ju, status=", 453 (intmax_t) tx.offset, (intmax_t) tx.freq,
|
/external/tinyxml/ |
H A D | xmltest.cpp | 22 __int64 freq; variable 1044 QueryPerformanceFrequency( (LARGE_INTEGER*) (&freq) ); 1045 printf( "Time for run: %f\n", ( double )( end-start ) / (double) freq );
|
/external/vboot_reference/tests/ |
H A D | vboot_api_devmode_tests.c | 34 uint16_t freq; member in struct:__anon16905 257 frequency == expected_event[current_event].freq &&
|
/external/webrtc/src/modules/audio_processing/aecm/ |
H A D | echo_control_mobile.c | 281 __int64 freq, start, end, diff; local 457 QueryPerformanceFrequency((LARGE_INTEGER*)&freq); 495 diff = ((end - start) * 1000) / (freq/1000);
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | beacon.c | 302 if (!hapd->cs_freq_params.freq) 305 if (ieee80211_freq_to_chan(hapd->cs_freq_params.freq, &chan) == 1038 struct hostapd_freq_params freq; local 1065 hostapd_set_freq_params(&freq, iconf->hw_mode, iface->freq, 1073 params.freq = &freq;
|
H A D | dfs.c | 126 dfs_get_chan_data(struct hostapd_hw_modes *mode, int freq, int first_chan_idx) argument 131 if (mode->channels[i].freq == freq) 152 chan = dfs_get_chan_data(mode, first_chan->freq + i * 20, 472 static int set_dfs_state_freq(struct hostapd_iface *iface, int freq, u32 state) argument 482 wpa_printf(MSG_DEBUG, "set_dfs_state 0x%X for %d MHz", state, freq); 485 if (chan->freq == freq) { 493 wpa_printf(MSG_WARNING, "Can't set DFS state for freq %d MHz", freq); 498 set_dfs_state(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2, u32 state) argument 553 dfs_are_channels_overlapped(struct hostapd_iface *iface, int freq, int chan_width, int cf1, int cf2) argument 749 hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) argument 947 hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) argument 980 hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) argument 1025 hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) argument [all...] |
H A D | hw_features.c | 132 "chan=%d freq=%d MHz max_tx_power=%d dBm%s", 135 feature->channels[j].freq, 370 if (chan->freq < affected_start || 371 chan->freq > affected_end) 373 params->freqs[pos++] = chan->freq; 411 if (chan->freq < affected_start || 412 chan->freq > affected_end) 414 params->freqs[pos++] = chan->freq; 846 ACS_EVENT_COMPLETED "freq=%d channel=%d", 962 int hostapd_hw_get_channel(struct hostapd_data *hapd, int freq) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/p2p/ |
H A D | p2p_pd.c | 408 int freq; local 426 " with config methods 0x%x (freq=%d)", 669 freq = rx_freq; 671 freq = p2p_channel_to_freq(p2p->cfg->reg_class, 673 if (freq < 0) { 680 if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, 1012 int freq; local 1015 freq = force_freq; 1017 freq = dev->listen_freq > 0 ? dev->listen_freq : 1019 if (freq < [all...] |
/external/wpa_supplicant_8/src/ap/ |
H A D | beacon.c | 302 if (!hapd->cs_freq_params.freq) 305 if (ieee80211_freq_to_chan(hapd->cs_freq_params.freq, &chan) == 1038 struct hostapd_freq_params freq; local 1065 hostapd_set_freq_params(&freq, iconf->hw_mode, iface->freq, 1073 params.freq = &freq;
|
H A D | dfs.c | 126 dfs_get_chan_data(struct hostapd_hw_modes *mode, int freq, int first_chan_idx) argument 131 if (mode->channels[i].freq == freq) 152 chan = dfs_get_chan_data(mode, first_chan->freq + i * 20, 472 static int set_dfs_state_freq(struct hostapd_iface *iface, int freq, u32 state) argument 482 wpa_printf(MSG_DEBUG, "set_dfs_state 0x%X for %d MHz", state, freq); 485 if (chan->freq == freq) { 493 wpa_printf(MSG_WARNING, "Can't set DFS state for freq %d MHz", freq); 498 set_dfs_state(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2, u32 state) argument 553 dfs_are_channels_overlapped(struct hostapd_iface *iface, int freq, int chan_width, int cf1, int cf2) argument 749 hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) argument 947 hostapd_dfs_radar_detected(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) argument 980 hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) argument 1025 hostapd_dfs_start_cac(struct hostapd_iface *iface, int freq, int ht_enabled, int chan_offset, int chan_width, int cf1, int cf2) argument [all...] |
H A D | hw_features.c | 132 "chan=%d freq=%d MHz max_tx_power=%d dBm%s", 135 feature->channels[j].freq, 370 if (chan->freq < affected_start || 371 chan->freq > affected_end) 373 params->freqs[pos++] = chan->freq; 411 if (chan->freq < affected_start || 412 chan->freq > affected_end) 414 params->freqs[pos++] = chan->freq; 846 ACS_EVENT_COMPLETED "freq=%d channel=%d", 962 int hostapd_hw_get_channel(struct hostapd_data *hapd, int freq) argument [all...] |