Lines Matching refs:num_freq

253 		} else if (bi->num_freq == DPP_BOOTSTRAP_MAX_FREQ) {  in dpp_parse_uri_chan_list()
256 bi->num_freq = 0; in dpp_parse_uri_chan_list()
259 bi->freq[bi->num_freq++] = freq; in dpp_parse_uri_chan_list()
512 for (i = 0; i < peer_bi->num_freq; i++) { in dpp_channel_intersect()
514 if (freq_included(auth->freq, auth->num_freq, freq)) in dpp_channel_intersect()
517 auth->freq[auth->num_freq++] = freq; in dpp_channel_intersect()
519 if (!auth->num_freq) { in dpp_channel_intersect()
537 auth->num_freq = 0; in dpp_channel_local_list()
543 auth->num_freq = 3; in dpp_channel_local_list()
555 if (freq_included(auth->freq, auth->num_freq, freq)) in dpp_channel_local_list()
557 auth->freq[auth->num_freq++] = freq; in dpp_channel_local_list()
558 if (auth->num_freq == DPP_BOOTSTRAP_MAX_FREQ) { in dpp_channel_local_list()
565 return auth->num_freq == 0 ? -1 : 0; in dpp_channel_local_list()
580 auth->num_freq = 1; in dpp_prepare_channel_list()
586 if (auth->peer_bi->num_freq > 0) in dpp_prepare_channel_list()
595 freq_to_start(auth->freq, auth->num_freq, 2462); in dpp_prepare_channel_list()
596 freq_to_start(auth->freq, auth->num_freq, 2412); in dpp_prepare_channel_list()
597 freq_to_start(auth->freq, auth->num_freq, 2437); in dpp_prepare_channel_list()
604 for (i = 0; i < auth->num_freq; i++) { in dpp_prepare_channel_list()
3997 bi->num_freq, in dpp_bootstrap_info()
3998 bi->num_freq == 1 ? bi->freq[0] : 0, in dpp_bootstrap_info()
4088 if (peer_bi->num_freq == 0 && !peer_bi->channels_listed) in dpp_nfc_update_bi_channel()
4091 for (i = 0; i < peer_bi->num_freq; i++) { in dpp_nfc_update_bi_channel()
4092 if ((own_bi->num_freq == 0 && !own_bi->channels_listed) || in dpp_nfc_update_bi_channel()
4093 freq_included(own_bi->freq, own_bi->num_freq, in dpp_nfc_update_bi_channel()
4118 own_bi->num_freq = 1; in dpp_nfc_update_bi_channel()
4122 peer_bi->num_freq = 1; in dpp_nfc_update_bi_channel()