Lines Matching refs:freq

125 static int wpas_p2p_join_start(struct wpa_supplicant *wpa_s, int freq,
127 static int wpas_p2p_setup_freqs(struct wpa_supplicant *wpa_s, int freq,
131 static void wpas_p2p_join_scan_req(struct wpa_supplicant *wpa_s, int freq,
136 int auto_join, int freq,
159 static int wpas_p2p_go_is_peer_freq(struct wpa_supplicant *wpa_s, int freq);
213 if (p2p_supported_freq(wpa_s->global->p2p, freqs[i].freq)) in wpas_p2p_valid_oper_freqs()
226 int freq) in wpas_p2p_set_own_freq_preference() argument
235 freq > 0 && wpa_s->num_multichan_concurrent > 1 && in wpas_p2p_set_own_freq_preference()
238 freq); in wpas_p2p_set_own_freq_preference()
239 freq = 0; in wpas_p2p_set_own_freq_preference()
241 p2p_set_own_freq_preference(wpa_s->global->p2p, freq); in wpas_p2p_set_own_freq_preference()
285 bss->freq, &entry_ts, bss->level, in wpas_p2p_scan_res_handler()
328 int freq) in wpas_p2p_search_social_channel() argument
331 (freq == 2412 || freq == 2437 || freq == 2462)) { in wpas_p2p_search_social_channel()
339 return p2p_supported_freq(wpa_s->global->p2p, freq); in wpas_p2p_search_social_channel()
343 static int wpas_p2p_scan(void *ctx, enum p2p_scan_type type, int freq, in wpas_p2p_scan() argument
404 params->freqs[0] = freq; in wpas_p2p_scan()
418 if (p2p_supported_freq(wpa_s->global->p2p, freq)) in wpas_p2p_scan()
419 params->freqs[num_channels++] = freq; in wpas_p2p_scan()
1253 int go, struct wpa_ssid *ssid, int freq, in wpas_p2p_group_started() argument
1282 wpa_s->ifname, go ? "GO" : "client", ssid_txt, freq, in wpas_p2p_group_started()
1291 wpa_s->ifname, go ? "GO" : "client", ssid_txt, freq, in wpas_p2p_group_started()
1395 unsigned int freq; member
1412 wpa_s->p2p_send_action_work, awork->freq, in wpas_p2p_free_send_action_work()
1467 unsigned int freq, in wpas_p2p_send_action_tx_status() argument
1493 p2p_send_action_cb(wpa_s->global->p2p, freq, dst, src, bssid, res); in wpas_p2p_send_action_tx_status()
1528 if (offchannel_send_action(wpa_s, awork->freq, awork->dst, awork->src, in wpas_send_action_cb()
1541 unsigned int freq, const u8 *dst, in wpas_send_action_work() argument
1556 awork->freq = freq; in wpas_send_action_work()
1564 if (radio_add_work(wpa_s, freq, "p2p-send-action", 0, in wpas_send_action_work()
1574 static int wpas_send_action(void *ctx, unsigned int freq, const u8 *dst, in wpas_send_action() argument
1582 listen_freq = wpa_s->p2p_listen_work->freq; in wpas_send_action()
1584 send_freq = wpa_s->p2p_send_action_work->freq; in wpas_send_action()
1585 if (listen_freq != (int) freq && send_freq != (int) freq) { in wpas_send_action()
1588 return wpas_send_action_work(wpa_s, freq, dst, src, bssid, buf, in wpas_send_action()
1593 return offchannel_send_action(wpa_s, freq, dst, src, bssid, buf, len, in wpas_send_action()
1890 ssid->frequency = params->freq; in wpas_start_wps_go()
1905 if (params->freq > 56160) { in wpas_start_wps_go()
2209 wpa_drv_set_prob_oper_freq(wpa_s, res->freq); in wpas_go_neg_completed()
2222 res->role_go ? "GO" : "client", res->freq, res->ht40, in wpas_go_neg_completed()
2403 unsigned int freq; member
2458 wpa_s->pending_listen_freq = lwork->freq; in wpas_start_listen_cb()
2470 if (wpa_drv_remain_on_channel(wpa_s, lwork->freq, duration) < 0) { in wpas_start_listen_cb()
2473 "state", lwork->freq); in wpas_start_listen_cb()
2479 wpa_s->roc_waiting_drv_freq = lwork->freq; in wpas_start_listen_cb()
2483 static int wpas_start_listen(void *ctx, unsigned int freq, in wpas_start_listen() argument
2498 lwork->freq = freq; in wpas_start_listen()
2508 if (radio_add_work(wpa_s, freq, "p2p-listen", 0, wpas_start_listen_cb, in wpas_start_listen()
2540 unsigned int freq) in wpas_send_probe_resp() argument
2544 freq); in wpas_send_probe_resp()
2729 unsigned int freq) in freq_included() argument
2731 if ((channels == NULL || p2p_channels_includes_freq(channels, freq)) && in freq_included()
2732 wpas_p2p_go_is_peer_freq(wpa_s, freq)) in freq_included()
2768 static int wpas_p2p_go_is_peer_freq(struct wpa_supplicant *wpa_s, int freq) in wpas_p2p_go_is_peer_freq() argument
2779 if (wpa_s->p2p_group_common_freqs[i] == freq) in wpas_p2p_go_is_peer_freq()
2820 if (p2p_supported_freq(wpa_s->global->p2p, freqs[c].freq)) in wpas_p2p_pick_best_used_freq()
2828 if (!p2p_supported_freq(wpa_s->global->p2p, freqs[i].freq)) in wpas_p2p_pick_best_used_freq()
2844 return freqs[c].freq; in wpas_p2p_pick_best_used_freq()
3140 int freq; in wpas_invitation_result() local
3226 freq = neg_freq; in wpas_invitation_result()
3229 freq = peer_oper_freq; in wpas_invitation_result()
3231 freq = 0; in wpas_invitation_result()
3234 freq, wpa_ssid_txt(ssid->ssid, ssid->ssid_len)); in wpas_invitation_result()
3238 freq, in wpas_invitation_result()
3250 unsigned int freq) in wpas_p2p_disallowed_freq() argument
3252 if (freq_range_list_includes(&global->p2p_go_avoid_freq, freq)) in wpas_p2p_disallowed_freq()
3254 return freq_range_list_includes(&global->p2p_disallow_freq, freq); in wpas_p2p_disallowed_freq()
3335 unsigned int freq; in has_channel() local
3337 freq = (mode->mode == HOSTAPD_MODE_IEEE80211A ? 5000 : 2407) + in has_channel()
3339 if (wpas_p2p_disallowed_freq(global, freq)) in has_channel()
3832 unsigned int *freq) in wpas_get_go_info() argument
3847 if (freq) in wpas_get_go_info()
3848 *freq = 0; in wpas_get_go_info()
3861 if (freq) in wpas_get_go_info()
3862 *freq = go->assoc_freq; in wpas_get_go_info()
3953 unsigned int freq, in wpas_p2ps_prov_complete() argument
4113 wpa_s->global->pending_p2ps_group_freq = freq; in wpas_p2ps_prov_complete()
4137 0, 0, freq, 0, 0, 0, 0, NULL, in wpas_p2ps_prov_complete()
4143 wpas_p2p_group_add(wpa_s, 1, freq, 0, 0, 0, 0); in wpas_p2ps_prov_complete()
4240 unsigned int freq; in wpas_prov_disc_resp_cb() local
4245 freq = wpa_s->global->pending_p2ps_group_freq; in wpas_prov_disc_resp_cb()
4259 wpas_p2p_group_add(wpa_s, 1, freq, 0, 0, 0, 0); in wpas_prov_disc_resp_cb()
4639 static int wpas_check_freq_conflict(struct wpa_supplicant *wpa_s, int freq) in wpas_check_freq_conflict() argument
4659 if (freqs[i].freq == freq) { in wpas_check_freq_conflict()
4661 freq); in wpas_check_freq_conflict()
4706 int freq; in wpas_p2p_scan_res_join() local
4730 freq = bss->freq; in wpas_p2p_scan_res_join()
4736 freq); in wpas_p2p_scan_res_join()
4737 wpas_p2p_join_scan_req(wpa_s, freq, NULL, 0); in wpas_p2p_scan_res_join()
4796 freq = p2p_get_oper_freq(wpa_s->global->p2p, in wpas_p2p_scan_res_join()
4798 if (freq < 0 && in wpas_p2p_scan_res_join()
4812 freq = p2p_get_oper_freq(wpa_s->global->p2p, in wpas_p2p_scan_res_join()
4815 if (freq >= 0) { in wpas_p2p_scan_res_join()
4817 "from P2P peer table: %d MHz", freq); in wpas_p2p_scan_res_join()
4837 freq = bss->freq; in wpas_p2p_scan_res_join()
4839 "from BSS table: %d MHz (SSID %s)", freq, in wpas_p2p_scan_res_join()
4855 if (freq > 0) { in wpas_p2p_scan_res_join()
4858 if (wpas_check_freq_conflict(wpa_s, freq) > 0) { in wpas_p2p_scan_res_join()
4870 MAC2STR(wpa_s->pending_join_dev_addr), freq); in wpas_p2p_scan_res_join()
4909 freq, wpa_s->user_initiated_pd) < 0) { in wpas_p2p_scan_res_join()
4932 static void wpas_p2p_join_scan_req(struct wpa_supplicant *wpa_s, int freq, in wpas_p2p_join_scan_req() argument
4966 if (!freq) { in wpas_p2p_join_scan_req()
4975 freq = oper_freq; in wpas_p2p_join_scan_req()
4977 if (freq > 0) { in wpas_p2p_join_scan_req()
4978 freqs[0] = freq; in wpas_p2p_join_scan_req()
5058 static int wpas_p2p_join_start(struct wpa_supplicant *wpa_s, int freq, in wpas_p2p_join_start() argument
5091 if (freq && ssid && ssid_len) { in wpas_p2p_join_start()
5092 res.freq = freq; in wpas_p2p_join_start()
5104 res.freq = bss->freq; in wpas_p2p_join_start()
5108 bss->freq, in wpas_p2p_join_start()
5140 static int wpas_p2p_setup_freqs(struct wpa_supplicant *wpa_s, int freq, in wpas_p2p_setup_freqs() argument
5169 freq, wpa_s->num_multichan_concurrent, num, num_unused); in wpas_p2p_setup_freqs()
5171 if (freq > 0) { in wpas_p2p_setup_freqs()
5174 ret = p2p_supported_freq(wpa_s->global->p2p, freq); in wpas_p2p_setup_freqs()
5176 ret = p2p_supported_freq_cli(wpa_s->global->p2p, freq); in wpas_p2p_setup_freqs()
5179 ieee80211_is_dfs(freq)) { in wpas_p2p_setup_freqs()
5186 freq); in wpas_p2p_setup_freqs()
5190 freq); in wpas_p2p_setup_freqs()
5197 if (freqs[i].freq == freq) in wpas_p2p_setup_freqs()
5203 freq); in wpas_p2p_setup_freqs()
5208 "requested channel (%u MHz)", freq); in wpas_p2p_setup_freqs()
5209 *force_freq = freq; in wpas_p2p_setup_freqs()
5317 int go_intent, int freq, unsigned int vht_center_freq2, in wpas_p2p_connect() argument
5357 wpa_s->p2p_connect_freq = freq; in wpas_p2p_connect()
5404 auto_join, freq, in wpas_p2p_connect()
5411 res = wpas_p2p_setup_freqs(wpa_s, freq, &force_freq, &pref_freq, in wpas_p2p_connect()
5472 unsigned int freq, unsigned int duration) in wpas_p2p_remain_on_channel_cb() argument
5478 wpa_s->roc_waiting_drv_freq, freq, duration); in wpas_p2p_remain_on_channel_cb()
5487 freq, duration); in wpas_p2p_remain_on_channel_cb()
5512 unsigned int freq) in wpas_p2p_cancel_remain_on_channel_cb() argument
5522 if (p2p_listen_end(wpa_s->global->p2p, freq) > 0) in wpas_p2p_cancel_remain_on_channel_cb()
5581 static int wpas_p2p_select_go_freq(struct wpa_supplicant *wpa_s, int freq) in wpas_p2p_select_go_freq() argument
5585 if (!wpa_s->conf->num_p2p_pref_chan && !freq) { in wpas_p2p_select_go_freq()
5603 freq = pref_freq_list[i]; in wpas_p2p_select_go_freq()
5606 i, freq); in wpas_p2p_select_go_freq()
5617 if (freq == 2) { in wpas_p2p_select_go_freq()
5623 freq = wpa_s->best_24_freq; in wpas_p2p_select_go_freq()
5625 "channel: %d MHz", freq); in wpas_p2p_select_go_freq()
5629 freq = 2412 + (r % 3) * 25; in wpas_p2p_select_go_freq()
5631 "channel: %d MHz", freq); in wpas_p2p_select_go_freq()
5635 if (freq == 5) { in wpas_p2p_select_go_freq()
5641 freq = wpa_s->best_5_freq; in wpas_p2p_select_go_freq()
5643 "channel: %d MHz", freq); in wpas_p2p_select_go_freq()
5647 freq = 5180 + (r % 4) * 20; in wpas_p2p_select_go_freq()
5648 if (!p2p_supported_freq_go(wpa_s->global->p2p, freq)) { in wpas_p2p_select_go_freq()
5654 "channel: %d MHz", freq); in wpas_p2p_select_go_freq()
5658 if (freq > 0 && !p2p_supported_freq_go(wpa_s->global->p2p, freq)) { in wpas_p2p_select_go_freq()
5660 ieee80211_is_dfs(freq)) { in wpas_p2p_select_go_freq()
5667 __func__, freq); in wpas_p2p_select_go_freq()
5668 return freq; in wpas_p2p_select_go_freq()
5672 freq); in wpas_p2p_select_go_freq()
5676 return freq; in wpas_p2p_select_go_freq()
5682 int freq) in wpas_p2p_supported_freq_go() argument
5684 if (!wpas_p2p_disallowed_freq(wpa_s->global, freq) && in wpas_p2p_supported_freq_go()
5685 p2p_supported_freq_go(wpa_s->global->p2p, freq) && in wpas_p2p_supported_freq_go()
5686 freq_included(wpa_s, channels, freq)) in wpas_p2p_supported_freq_go()
5703 params->freq = 2412 + ((r + i) % 3) * 25; in wpas_p2p_select_go_freq_no_pref()
5704 if (wpas_p2p_supported_freq_go(wpa_s, channels, params->freq)) in wpas_p2p_select_go_freq_no_pref()
5710 params->freq = 2412 + i * 5; in wpas_p2p_select_go_freq_no_pref()
5713 if (params->freq == 2412 || in wpas_p2p_select_go_freq_no_pref()
5714 params->freq == 2437 || in wpas_p2p_select_go_freq_no_pref()
5715 params->freq == 2462) in wpas_p2p_select_go_freq_no_pref()
5718 if (wpas_p2p_supported_freq_go(wpa_s, channels, params->freq)) in wpas_p2p_select_go_freq_no_pref()
5724 params->freq = 5180 + i * 20; in wpas_p2p_select_go_freq_no_pref()
5725 if (!wpas_p2p_disallowed_freq(wpa_s->global, params->freq) && in wpas_p2p_select_go_freq_no_pref()
5726 freq_included(wpa_s, channels, params->freq) && in wpas_p2p_select_go_freq_no_pref()
5727 p2p_supported_freq(wpa_s->global->p2p, params->freq)) in wpas_p2p_select_go_freq_no_pref()
5733 params->freq = 5745 + i * 20; in wpas_p2p_select_go_freq_no_pref()
5734 if (!wpas_p2p_disallowed_freq(wpa_s->global, params->freq) && in wpas_p2p_select_go_freq_no_pref()
5735 freq_included(wpa_s, channels, params->freq) && in wpas_p2p_select_go_freq_no_pref()
5736 p2p_supported_freq(wpa_s->global->p2p, params->freq)) in wpas_p2p_select_go_freq_no_pref()
5741 params->freq = 58320 + 1 * 2160; in wpas_p2p_select_go_freq_no_pref()
5742 if (!wpas_p2p_disallowed_freq(wpa_s->global, params->freq) && in wpas_p2p_select_go_freq_no_pref()
5743 freq_included(wpa_s, channels, params->freq) && in wpas_p2p_select_go_freq_no_pref()
5744 p2p_supported_freq(wpa_s->global->p2p, params->freq)) in wpas_p2p_select_go_freq_no_pref()
5749 params->freq = 58320 + i * 2160; in wpas_p2p_select_go_freq_no_pref()
5750 if (!wpas_p2p_disallowed_freq(wpa_s->global, params->freq) && in wpas_p2p_select_go_freq_no_pref()
5751 freq_included(wpa_s, channels, params->freq) && in wpas_p2p_select_go_freq_no_pref()
5752 p2p_supported_freq(wpa_s->global->p2p, params->freq)) in wpas_p2p_select_go_freq_no_pref()
5756 params->freq = 0; in wpas_p2p_select_go_freq_no_pref()
5761 params->freq); in wpas_p2p_select_go_freq_no_pref()
5767 int freq, int vht_center_freq2, int ht40, in wpas_p2p_init_go_params() argument
5805 if (freqs[i].freq == wpa_s->current_ssid->frequency && in wpas_p2p_init_go_params()
5814 if (freq) { in wpas_p2p_init_go_params()
5815 if (!wpas_p2p_supported_freq_go(wpa_s, channels, freq)) { in wpas_p2p_init_go_params()
5818 freq); in wpas_p2p_init_go_params()
5823 if (freqs[i].freq == freq) { in wpas_p2p_init_go_params()
5826 freq); in wpas_p2p_init_go_params()
5827 params->freq = freq; in wpas_p2p_init_go_params()
5835 freq); in wpas_p2p_init_go_params()
5841 freq); in wpas_p2p_init_go_params()
5842 params->freq = freq; in wpas_p2p_init_go_params()
5854 params->freq = cand; in wpas_p2p_init_go_params()
5861 freqs[i].freq)) { in wpas_p2p_init_go_params()
5864 freqs[i].freq); in wpas_p2p_init_go_params()
5865 params->freq = freqs[i].freq; in wpas_p2p_init_go_params()
5884 params->freq = 2407 + 5 * wpa_s->conf->p2p_oper_channel; in wpas_p2p_init_go_params()
5886 "frequency %d MHz", params->freq); in wpas_p2p_init_go_params()
5900 params->freq = 5000 + 5 * wpa_s->conf->p2p_oper_channel; in wpas_p2p_init_go_params()
5902 "frequency %d MHz", params->freq); in wpas_p2p_init_go_params()
5911 params->freq = wpa_s->best_overall_freq; in wpas_p2p_init_go_params()
5913 "channel %d MHz", params->freq); in wpas_p2p_init_go_params()
5921 params->freq = wpa_s->best_24_freq; in wpas_p2p_init_go_params()
5923 "channel %d MHz", params->freq); in wpas_p2p_init_go_params()
5931 params->freq = wpa_s->best_5_freq; in wpas_p2p_init_go_params()
5933 "channel %d MHz", params->freq); in wpas_p2p_init_go_params()
5940 params->freq = cand; in wpas_p2p_init_go_params()
5942 "channels", params->freq); in wpas_p2p_init_go_params()
5951 params->freq = cand; in wpas_p2p_init_go_params()
5954 params->freq); in wpas_p2p_init_go_params()
5963 if (params->freq == 0) { in wpas_p2p_init_go_params()
6037 int freq, int vht_center_freq2, int ht40, int vht, in wpas_p2p_group_add() argument
6052 freq = wpas_p2p_select_go_freq(wpa_s, freq); in wpas_p2p_group_add()
6053 if (freq < 0) in wpas_p2p_group_add()
6056 if (wpas_p2p_init_go_params(wpa_s, &params, freq, vht_center_freq2, in wpas_p2p_group_add()
6059 if (params.freq && in wpas_p2p_group_add()
6060 !p2p_supported_freq_go(wpa_s->global->p2p, params.freq)) { in wpas_p2p_group_add()
6062 ieee80211_is_dfs(params.freq)) { in wpas_p2p_group_add()
6069 __func__, params.freq); in wpas_p2p_group_add()
6073 params.freq); in wpas_p2p_group_add()
6091 int freq, int force_scan) in wpas_start_p2p_client() argument
6134 wpa_s->p2p_invite_go_freq = freq; in wpas_start_p2p_client()
6158 int go = 0, freq; in wpas_p2p_group_add_persistent() local
6197 freq = wpas_p2p_select_go_freq(wpa_s, force_freq); in wpas_p2p_group_add_persistent()
6198 if (freq < 0) in wpas_p2p_group_add_persistent()
6201 freq = wpas_p2p_select_go_freq(wpa_s, neg_freq); in wpas_p2p_group_add_persistent()
6202 if (freq < 0 || in wpas_p2p_group_add_persistent()
6203 (freq > 0 && !freq_included(wpa_s, channels, freq))) in wpas_p2p_group_add_persistent()
6204 freq = 0; in wpas_p2p_group_add_persistent()
6207 freq = neg_freq; in wpas_p2p_group_add_persistent()
6208 if (freq <= 0 || !freq_included(wpa_s, channels, freq)) { in wpas_p2p_group_add_persistent()
6216 freq_included(wpa_s, channels, bss->freq)) in wpas_p2p_group_add_persistent()
6217 freq = bss->freq; in wpas_p2p_group_add_persistent()
6219 freq = 0; in wpas_p2p_group_add_persistent()
6222 return wpas_start_p2p_client(wpa_s, ssid, addr_allocated, freq, in wpas_p2p_group_add_persistent()
6228 if (wpas_p2p_init_go_params(wpa_s, &params, freq, vht_center_freq2, in wpas_p2p_group_add_persistent()
6330 cfg->freq = ssid->frequency; in wpas_p2p_group_init()
6545 u8 seek_cnt, const char **seek_string, int freq) in wpas_p2p_find() argument
6558 search_delay, seek_cnt, seek_string, freq); in wpas_p2p_find()
6715 u8 category, const u8 *data, size_t len, int freq) in wpas_p2p_rx_action() argument
6723 freq); in wpas_p2p_rx_action()
6766 struct wpa_ssid *ssid, const u8 *go_dev_addr, int freq, in wpas_p2p_invite() argument
6783 wpa_s->p2p_persistent_go_freq = freq; in wpas_p2p_invite()
6815 res = wpas_p2p_setup_freqs(wpa_s, freq, &force_freq, &pref_freq, in wpas_p2p_invite()
6856 int freq = 0, force_freq = 0, pref_freq = 0; in wpas_p2p_invite_group() local
6892 freq = ssid->frequency; in wpas_p2p_invite_group()
6904 freq = wpa_s->current_bss ? wpa_s->current_bss->freq : in wpas_p2p_invite_group()
6913 res = wpas_p2p_setup_freqs(wpa_s, freq, &force_freq, &pref_freq, in wpas_p2p_invite_group()
6932 int freq; in wpas_p2p_completed() local
6965 freq = wpa_s->current_bss ? wpa_s->current_bss->freq : in wpas_p2p_completed()
6982 wpas_p2p_group_started(wpa_s, 0, ssid, freq, in wpas_p2p_completed()
8089 int wpas_p2p_handle_frequency_conflicts(struct wpa_supplicant *wpa_s, int freq, in wpas_p2p_handle_frequency_conflicts() argument
8096 iface->current_ssid->frequency == freq || in wpas_p2p_handle_frequency_conflicts()
8789 ieee80211_freq_to_chan(freqs[i].freq, &chan); in wpas_p2p_optimize_listen_channel()
8832 if (current_ssid->frequency == params.freq) { in wpas_p2p_move_go_csa()
8845 current_ssid->frequency = params.freq; in wpas_p2p_move_go_csa()
8863 csa_settings.freq_params.freq = params.freq; in wpas_p2p_move_go_csa()
8872 if (ieee80211_freq_to_channel_ext(params.freq, in wpas_p2p_move_go_csa()
8945 params.freq); in wpas_p2p_move_go_no_csa()
8947 if (params.freq && in wpas_p2p_move_go_no_csa()
8948 !p2p_supported_freq_go(wpa_s->global->p2p, params.freq)) { in wpas_p2p_move_go_no_csa()
8951 params.freq); in wpas_p2p_move_go_no_csa()
8958 current_ssid->frequency = params.freq; in wpas_p2p_move_go_no_csa()
9028 int freq; in wpas_p2p_consider_moving_one_go() local
9032 freq = wpa_s->current_ssid->frequency; in wpas_p2p_consider_moving_one_go()
9034 if (freqs[i].freq == freq) { in wpas_p2p_consider_moving_one_go()
9038 if (!p2p_supported_freq_go(wpa_s->global->p2p, freq)) { in wpas_p2p_consider_moving_one_go()
9041 freq); in wpas_p2p_consider_moving_one_go()
9048 freqs[i].freq)) { in wpas_p2p_consider_moving_one_go()
9056 wpas_p2p_go_is_peer_freq(wpa_s, freqs[i].freq)) { in wpas_p2p_consider_moving_one_go()
9060 wpas_p2p_go_is_peer_freq(wpa_s, freqs[i].freq)) { in wpas_p2p_consider_moving_one_go()
9073 ieee80211_freq_to_chan(freqs[i].freq, in wpas_p2p_consider_moving_one_go()
9090 "P2P: Cancel a GO move from freq=%d MHz", freq); in wpas_p2p_consider_moving_one_go()
9121 if (invalid_freq && !wpas_p2p_disallowed_freq(wpa_s->global, freq)) in wpas_p2p_consider_moving_one_go()
9127 freq, timeout); in wpas_p2p_consider_moving_one_go()