Lines Matching refs:freq_list
459 int p2p_channels_to_freqs(const struct p2p_channels *channels, int *freq_list, in p2p_channels_to_freqs() argument
485 if (freq_list[k] == freq) in p2p_channels_to_freqs()
491 freq_list[idx++] = freq; in p2p_channels_to_freqs()
495 freq_list[idx] = 0; in p2p_channels_to_freqs()
547 bool p2p_pref_freq_allowed(const struct weighted_pcl *freq_list, bool go) in p2p_pref_freq_allowed() argument
549 if (freq_list->flag & WEIGHTED_PCL_EXCLUDE) in p2p_pref_freq_allowed()
551 if (!(freq_list->flag & WEIGHTED_PCL_CLI) && !go) in p2p_pref_freq_allowed()
553 if (!(freq_list->flag & WEIGHTED_PCL_GO) && go) in p2p_pref_freq_allowed()
560 const struct weighted_pcl *freq_list, in p2p_check_pref_channel() argument
570 (int) freq_list[i].freq) in p2p_check_pref_channel()
572 if (!p2p_pref_freq_allowed(&freq_list[i], go)) in p2p_check_pref_channel()
582 const struct weighted_pcl *freq_list, in p2p_pref_channel_filter() argument
598 freq_list, in p2p_pref_channel_filter()