Lines Matching refs:n_channels
2589 i < sband->n_channels; in nl80211_send_wiphy()
2607 if (i < sband->n_channels) in nl80211_send_wiphy()
8929 int n_channels = 0, tmp1, tmp2; in validate_scan_freqs() local
8936 n_channels++; in validate_scan_freqs()
8952 return n_channels; in validate_scan_freqs()
9200 int err, tmp, n_ssids = 0, n_channels, i; in nl80211_trigger_scan() local
9225 n_channels = validate_scan_freqs(scan_freqs); in nl80211_trigger_scan()
9226 if (!n_channels) in nl80211_trigger_scan()
9229 n_channels = ieee80211_get_num_supported_channels(wiphy); in nl80211_trigger_scan()
9247 size = struct_size(request, channels, n_channels); in nl80211_trigger_scan()
9255 request->n_channels = n_channels; in nl80211_trigger_scan()
9295 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in nl80211_trigger_scan()
9314 request->n_channels = i; in nl80211_trigger_scan()
9317 for (i = 0; i < request->n_channels; i++) { in nl80211_trigger_scan()
9580 int err, tmp, n_ssids = 0, n_match_sets = 0, n_channels, i, n_plans = 0; in nl80211_parse_sched_scan() local
9587 n_channels = validate_scan_freqs( in nl80211_parse_sched_scan()
9589 if (!n_channels) in nl80211_parse_sched_scan()
9592 n_channels = ieee80211_get_num_supported_channels(wiphy); in nl80211_parse_sched_scan()
9691 size = struct_size(request, channels, n_channels); in nl80211_parse_sched_scan()
9703 request->ssids = (void *)&request->channels[n_channels]; in nl80211_parse_sched_scan()
9709 request->ie = (void *)(request->channels + n_channels); in nl80211_parse_sched_scan()
9720 (void *)(request->channels + n_channels); in nl80211_parse_sched_scan()
9732 request->scan_plans = (void *)(request->channels + n_channels); in nl80211_parse_sched_scan()
9765 for (j = 0; j < wiphy->bands[band]->n_channels; j++) { in nl80211_parse_sched_scan()
9784 request->n_channels = i; in nl80211_parse_sched_scan()
13368 for (i = 0; i < req->n_channels; i++) { in nl80211_send_wowlan_nd()
17751 for (i = 0; i < req->n_channels; i++) { in nl80211_add_scan_req()
17762 for (i = 0; i < req->n_channels; i++) { in nl80211_add_scan_req()
19869 if (match->n_channels) { in cfg80211_net_detect_results()
19877 for (j = 0; j < match->n_channels; j++) { in cfg80211_net_detect_results()