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