Lines Matching refs:rdev_req
738 struct cfg80211_scan_request *request, *rdev_req = rdev->scan_req; in cfg80211_scan_6ghz() local
743 rdev_req->scan_6ghz = true; in cfg80211_scan_6ghz()
749 rdev_req->wdev->iftype); in cfg80211_scan_6ghz()
755 if (rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ) { in cfg80211_scan_6ghz()
772 sizeof(*request->ssids) * rdev_req->n_ssids, in cfg80211_scan_6ghz()
779 *request = *rdev_req; in cfg80211_scan_6ghz()
804 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan_6ghz()
805 if (rdev_req->channels[i]->band == NL80211_BAND_6GHZ && in cfg80211_scan_6ghz()
807 cfg80211_channel_is_psc(rdev_req->channels[i])) || in cfg80211_scan_6ghz()
808 !(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ))) { in cfg80211_scan_6ghz()
810 rdev_req->channels[i], in cfg80211_scan_6ghz()
815 if (!(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ)) in cfg80211_scan_6ghz()
828 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan_6ghz()
829 if (rdev_req->channels[i] == chan) in cfg80211_scan_6ghz()
874 request->n_ssids = rdev_req->n_ssids; in cfg80211_scan_6ghz()
875 memcpy(request->ssids, rdev_req->ssids, sizeof(*request->ssids) * in cfg80211_scan_6ghz()
903 struct cfg80211_scan_request *rdev_req = rdev->scan_req; in cfg80211_scan() local
907 return rdev_scan(rdev, rdev_req); in cfg80211_scan()
909 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan()
910 if (rdev_req->channels[i]->band != NL80211_BAND_6GHZ) in cfg80211_scan()
922 *request = *rdev_req; in cfg80211_scan()
925 for (i = idx = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan()
926 if (rdev_req->channels[i]->band != NL80211_BAND_6GHZ) in cfg80211_scan()
927 request->channels[idx++] = rdev_req->channels[i]; in cfg80211_scan()
930 rdev_req->scan_6ghz = false; in cfg80211_scan()
938 struct cfg80211_scan_request *request, *rdev_req; in ___cfg80211_scan_done() local
953 rdev_req = rdev->scan_req; in ___cfg80211_scan_done()
954 if (!rdev_req) in ___cfg80211_scan_done()
957 wdev = rdev_req->wdev; in ___cfg80211_scan_done()
958 request = rdev->int_scan_req ? rdev->int_scan_req : rdev_req; in ___cfg80211_scan_done()
962 !rdev_req->scan_6ghz && !request->info.aborted && in ___cfg80211_scan_done()