Lines Matching refs:n_ssids
8060 int err, tmp, n_ssids = 0, n_channels, i; in nl80211_trigger_scan() local
8093 n_ssids++; in nl80211_trigger_scan()
8095 if (n_ssids > wiphy->max_scan_ssids) in nl80211_trigger_scan()
8107 + sizeof(*request->ssids) * n_ssids in nl80211_trigger_scan()
8113 if (n_ssids) in nl80211_trigger_scan()
8115 request->n_ssids = n_ssids; in nl80211_trigger_scan()
8117 if (n_ssids) in nl80211_trigger_scan()
8118 request->ie = (void *)(request->ssids + n_ssids); in nl80211_trigger_scan()
8196 if (n_ssids) { in nl80211_trigger_scan()
8450 int err, tmp, n_ssids = 0, n_match_sets = 0, n_channels, i, n_plans = 0; in nl80211_parse_sched_scan() local
8468 n_ssids++; in nl80211_parse_sched_scan()
8470 if (n_ssids > wiphy->max_sched_scan_ssids) in nl80211_parse_sched_scan()
8562 + sizeof(*request->ssids) * n_ssids in nl80211_parse_sched_scan()
8570 if (n_ssids) in nl80211_parse_sched_scan()
8572 request->n_ssids = n_ssids; in nl80211_parse_sched_scan()
8574 if (n_ssids) in nl80211_parse_sched_scan()
8575 request->ie = (void *)(request->ssids + n_ssids); in nl80211_parse_sched_scan()
8583 else if (n_ssids) in nl80211_parse_sched_scan()
8585 (void *)(request->ssids + n_ssids); in nl80211_parse_sched_scan()
8597 else if (n_ssids) in nl80211_parse_sched_scan()
8598 request->scan_plans = (void *)(request->ssids + n_ssids); in nl80211_parse_sched_scan()
8655 if (n_ssids) { in nl80211_parse_sched_scan()
15604 for (i = 0; i < req->n_ssids; i++) { in nl80211_add_scan_req()