Lines Matching refs:n_channels
342 for (i = 0; i < req->n_channels; i++) { in ieee80211_prep_hw_scan()
347 n_chans = req->n_channels; in ieee80211_prep_hw_scan()
355 for (i = 0; i < req->n_channels; i++) { in ieee80211_prep_hw_scan()
369 local->hw_scan_req->req.n_channels = n_chans; in ieee80211_prep_hw_scan()
698 for (i = 0; i < req->n_channels; i++) { in __ieee80211_start_scan()
710 req->n_channels) + in __ieee80211_start_scan()
721 local->hw_scan_req->req.n_channels = req->n_channels; in __ieee80211_start_scan()
725 req->n_channels * sizeof(req->channels[0]); in __ieee80211_start_scan()
760 } else if ((req->n_channels == 1) && in __ieee80211_start_scan()
1089 if (local->scan_channel_idx >= scan_req->n_channels) { in ieee80211_scan_work()
1138 unsigned int n_channels) in ieee80211_request_ibss_scan() argument
1159 max_n = local->hw.wiphy->bands[band]->n_channels; in ieee80211_request_ibss_scan()
1176 local->int_scan_req->n_channels = n_ch; in ieee80211_request_ibss_scan()
1178 for (i = 0; i < n_channels; i++) { in ieee80211_request_ibss_scan()
1190 local->int_scan_req->n_channels = n_ch; in ieee80211_request_ibss_scan()