Home
last modified time | relevance | path

Searched refs:freqs (Results 1 – 16 of 16) sorted by relevance

/external/wpa_supplicant_8/wpa_supplicant/
Dbgscan_learn.c215 int *freqs = NULL, *n; in bgscan_learn_get_freqs() local
220 if (in_array(freqs, bss->freq)) in bgscan_learn_get_freqs()
222 n = os_realloc(freqs, (*count + 2) * sizeof(int)); in bgscan_learn_get_freqs()
224 return freqs; in bgscan_learn_get_freqs()
225 freqs = n; in bgscan_learn_get_freqs()
226 freqs[*count] = bss->freq; in bgscan_learn_get_freqs()
228 freqs[*count] = 0; in bgscan_learn_get_freqs()
231 return freqs; in bgscan_learn_get_freqs()
236 int *freqs, size_t count) in bgscan_learn_get_probe_freq() argument
241 return freqs; in bgscan_learn_get_probe_freq()
[all …]
Dscan.c310 if (params->freqs == NULL && wpa_s->p2p_in_provisioning && in wpa_supplicant_optimize_freqs()
318 params->freqs = os_zalloc(2 * sizeof(int)); in wpa_supplicant_optimize_freqs()
319 if (params->freqs) in wpa_supplicant_optimize_freqs()
320 params->freqs[0] = wpa_s->go_params->freq; in wpa_supplicant_optimize_freqs()
325 int_array_concat(&params->freqs, in wpa_supplicant_optimize_freqs()
327 if (params->freqs) in wpa_supplicant_optimize_freqs()
328 int_array_sort_unique(params->freqs); in wpa_supplicant_optimize_freqs()
335 if (params->freqs == NULL && wpa_s->after_wps && wpa_s->wps_freq) { in wpa_supplicant_optimize_freqs()
342 params->freqs = os_zalloc(2 * sizeof(int)); in wpa_supplicant_optimize_freqs()
343 if (params->freqs) in wpa_supplicant_optimize_freqs()
[all …]
Dconfig.c945 int *freqs; in wpa_config_parse_freqs() local
951 freqs = os_zalloc((len + 1) * sizeof(int)); in wpa_config_parse_freqs()
952 if (freqs == NULL) in wpa_config_parse_freqs()
962 n = os_realloc(freqs, (len * 2 + 1) * sizeof(int)); in wpa_config_parse_freqs()
964 os_free(freqs); in wpa_config_parse_freqs()
969 freqs = n; in wpa_config_parse_freqs()
973 freqs[used] = atoi(pos); in wpa_config_parse_freqs()
974 if (freqs[used] == 0) in wpa_config_parse_freqs()
980 return freqs; in wpa_config_parse_freqs()
988 int *freqs; in wpa_config_parse_scan_freq() local
[all …]
Dwpa_supplicant.c3012 static void add_freq(int *freqs, int *num_freqs, int freq) in add_freq() argument
3017 if (freqs[i] == freq) in add_freq()
3021 freqs[*num_freqs] = freq; in add_freq()
3030 int *freqs; in get_bss_freqs_in_ess() local
3033 freqs = os_zalloc(sizeof(int) * (max_freqs + 1)); in get_bss_freqs_in_ess()
3034 if (freqs == NULL) in get_bss_freqs_in_ess()
3045 add_freq(freqs, &num_freqs, bss->freq); in get_bss_freqs_in_ess()
3052 os_free(freqs); in get_bss_freqs_in_ess()
3053 freqs = NULL; in get_bss_freqs_in_ess()
3056 return freqs; in get_bss_freqs_in_ess()
[all …]
Dbgscan_simple.c43 params.freqs = data->ssid->scan_freq; in bgscan_simple_timeout()
Devents.c462 static int freq_allowed(int *freqs, int freq) in freq_allowed() argument
466 if (freqs == NULL) in freq_allowed()
469 for (i = 0; freqs[i]; i++) in freq_allowed()
470 if (freqs[i] == freq) in freq_allowed()
Dbss.c404 if (bss->freq == info->freqs[i]) { in wpa_bss_included_in_scan()
Dp2p_supplicant.c159 params.freqs = social_channels;
166 params.freqs = social_channels;
170 params.freqs = social_channels;
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/
DSettingsDialog.java515 String[] freqs = getFrequencies(resolution, modes); in updateDisplayChoices() local
516 displayFreqCombo.setModel(new DefaultComboBoxModel(freqs)); in updateDisplayChoices()
627 ArrayList<String> freqs = new ArrayList<String>(4); in getFrequencies() local
637 if (res.equals(resolution) && !freqs.contains(freq)) { in getFrequencies()
638 freqs.add(freq); in getFrequencies()
642 String[] res = new String[freqs.size()]; in getFrequencies()
643 freqs.toArray(res); in getFrequencies()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c1033 int *freqs = NULL, *nfreqs; in wpas_dbus_get_scan_channels() local
1073 os_free(freqs); in wpas_dbus_get_scan_channels()
1087 os_free(freqs); in wpas_dbus_get_scan_channels()
1095 nfreqs = os_realloc(freqs, sizeof(int) * in wpas_dbus_get_scan_channels()
1098 os_free(freqs); in wpas_dbus_get_scan_channels()
1099 freqs = nfreqs; in wpas_dbus_get_scan_channels()
1101 if (freqs == NULL) { in wpas_dbus_get_scan_channels()
1110 freqs[freqs_num] = freq; in wpas_dbus_get_scan_channels()
1116 nfreqs = os_realloc(freqs, in wpas_dbus_get_scan_channels()
1119 os_free(freqs); in wpas_dbus_get_scan_channels()
[all …]
Ddbus_new.c1055 dbus_int32_t freqs[P2P_MAX_CHANNELS]; in wpas_dbus_signal_p2p_go_neg_resp() local
1056 dbus_int32_t *f_array = freqs; in wpas_dbus_signal_p2p_go_neg_resp()
1061 os_memset(freqs, 0, sizeof(freqs)); in wpas_dbus_signal_p2p_go_neg_resp()
1123 freqs[i] = res->freq_list[i]; in wpas_dbus_signal_p2p_go_neg_resp()
/external/qemu/distrib/sdl-1.2.12/src/audio/mint/
DSDL_mintaudio_stfa.c65 static const int freqs[16]={ variable
215 SDL_MintAudio_AddFrequency(this, freqs[i], 0, i, -1); in Mint_CheckAudio()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c1544 int freqs[MAX_REPORT_FREQS]; in send_scan_event() local
1573 freqs[num_freqs] = nla_get_u32(nl); in send_scan_event()
1578 info->freqs = freqs; in send_scan_event()
3417 struct nl_msg *msg, *ssids, *freqs, *rates; in wpa_driver_nl80211_scan() local
3424 freqs = nlmsg_alloc(); in wpa_driver_nl80211_scan()
3426 if (!msg || !ssids || !freqs || !rates) { in wpa_driver_nl80211_scan()
3429 nlmsg_free(freqs); in wpa_driver_nl80211_scan()
3460 if (params->freqs) { in wpa_driver_nl80211_scan()
3461 for (i = 0; params->freqs[i]; i++) { in wpa_driver_nl80211_scan()
3463 "MHz", params->freqs[i]); in wpa_driver_nl80211_scan()
[all …]
Ddriver.h240 int *freqs; member
3341 const int *freqs; member
Ddriver_test.c2960 params.freqs = social_channels; in test_p2p_scan()
2967 params.freqs = social_channels; in test_p2p_scan()
2971 params.freqs = social_channels; in test_p2p_scan()
/external/wpa_supplicant_8/src/p2p/
Dp2p.c1442 int freqs; in p2p_go_complete() local
1480 freqs = 0; in p2p_go_complete()
1483 if (freqs + 1 == P2P_MAX_CHANNELS) in p2p_go_complete()
1487 if (freqs + 1 == P2P_MAX_CHANNELS) in p2p_go_complete()
1493 res.freq_list[freqs++] = freq; in p2p_go_complete()