Lines Matching refs:freqs

477 			    int *freqs)  in wpas_add_channel()  argument
484 freqs[i] = ieee80211_chan_to_freq(NULL, op_class, primary_chan); in wpas_add_channel()
488 if (freqs[i] < 0 && in wpas_add_channel()
490 freqs[i] = 5000 + 5 * primary_chan; in wpas_add_channel()
491 if (freqs[i] < 0) { in wpas_add_channel()
507 int *freqs, *next_freq; in wpas_add_channels() local
522 freqs = os_calloc(num_chans * num_primary_channels + 1, sizeof(*freqs)); in wpas_add_channels()
523 if (!freqs) { in wpas_add_channels()
529 next_freq = freqs; in wpas_add_channels()
540 os_free(freqs); in wpas_add_channels()
547 if (!freqs[0]) { in wpas_add_channels()
548 os_free(freqs); in wpas_add_channels()
552 return freqs; in wpas_add_channels()
592 int *freqs = NULL, *new_freqs; in wpas_channel_report_freqs() local
638 int_array_concat(&freqs, new_freqs); in wpas_channel_report_freqs()
643 return freqs; in wpas_channel_report_freqs()
645 os_free(freqs); in wpas_channel_report_freqs()
654 int *freqs = NULL, *ext_freqs = NULL; in wpas_beacon_request_freqs() local
681 freqs = wpas_op_class_freqs(op, mode, active); in wpas_beacon_request_freqs()
682 if (!freqs) in wpas_beacon_request_freqs()
689 freqs = wpas_add_channels(op, mode, active, &chan, 1); in wpas_beacon_request_freqs()
690 if (!freqs) in wpas_beacon_request_freqs()
698 int_array_concat(&freqs, ext_freqs); in wpas_beacon_request_freqs()
700 int_array_sort_unique(freqs); in wpas_beacon_request_freqs()
703 return freqs; in wpas_beacon_request_freqs()
1186 os_free(params->freqs); in wpas_rm_handle_beacon_req()
1223 params->freqs = wpas_beacon_request_freqs( in wpas_rm_handle_beacon_req()
1227 if (!params->freqs) { in wpas_rm_handle_beacon_req()
1592 os_free(data->scan_params.freqs); in wpas_clear_beacon_rep_data()