Lines Matching refs:scan_req
258 struct cfg80211_scan_request *req = local->scan_req; in ieee80211_prep_hw_scan()
309 if (WARN_ON(!local->scan_req)) in __ieee80211_scan_completed()
321 if (local->scan_req != local->int_scan_req) in __ieee80211_scan_completed()
322 cfg80211_scan_done(local->scan_req, aborted); in __ieee80211_scan_completed()
323 local->scan_req = NULL; in __ieee80211_scan_completed()
402 if (local->scan_req) in __ieee80211_start_scan()
407 local->scan_req = req; in __ieee80211_start_scan()
441 local->scan_req = req; in __ieee80211_start_scan()
464 local->scan_req = NULL; in __ieee80211_start_scan()
522 next_chan = local->scan_req->channels[local->scan_channel_idx]; in ieee80211_scan_state_decision()
566 chan = local->scan_req->channels[local->scan_channel_idx]; in ieee80211_scan_state_set_channel()
593 !local->scan_req->n_ssids) { in ieee80211_scan_state_set_channel()
611 for (i = 0; i < local->scan_req->n_ssids; i++) in ieee80211_scan_state_send_probe()
614 local->scan_req->ssids[i].ssid, in ieee80211_scan_state_send_probe()
615 local->scan_req->ssids[i].ssid_len, in ieee80211_scan_state_send_probe()
616 local->scan_req->ie, local->scan_req->ie_len, in ieee80211_scan_state_send_probe()
617 local->scan_req->rates[band], false, in ieee80211_scan_state_send_probe()
618 local->scan_req->no_cck); in ieee80211_scan_state_send_probe()
678 if (!sdata || !local->scan_req) in ieee80211_scan_work()
681 if (local->scan_req && !local->scanning) { in ieee80211_scan_work()
682 struct cfg80211_scan_request *req = local->scan_req; in ieee80211_scan_work()
685 local->scan_req = NULL; in ieee80211_scan_work()
691 local->scan_req = req; in ieee80211_scan_work()
719 if (local->scan_channel_idx >= local->scan_req->n_channels) { in ieee80211_scan_work()
773 if (local->scan_req) in ieee80211_request_ibss_scan()
847 if (!local->scan_req) in ieee80211_scan_cancel()