Lines Matching refs:rdev_req
775 struct cfg80211_scan_request *request, *rdev_req = rdev->scan_req;
780 rdev_req->scan_6ghz = true;
786 rdev_req->wdev->iftype);
792 if (rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ) {
815 *request = *rdev_req;
842 for (i = 0; i < rdev_req->n_channels; i++) {
843 if (rdev_req->channels[i]->band == NL80211_BAND_6GHZ &&
845 cfg80211_channel_is_psc(rdev_req->channels[i])) ||
846 !(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ))) {
848 rdev_req->channels[i],
853 if (!(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ))
866 for (i = 0; i < rdev_req->n_channels; i++) {
867 if (rdev_req->channels[i] == chan)
936 struct cfg80211_scan_request *rdev_req = rdev->scan_req;
940 return rdev_scan(rdev, rdev_req);
942 for (i = 0; i < rdev_req->n_channels; i++) {
943 if (rdev_req->channels[i]->band != NL80211_BAND_6GHZ)
955 *request = *rdev_req;
958 for (i = idx = 0; i < rdev_req->n_channels; i++) {
959 if (rdev_req->channels[i]->band != NL80211_BAND_6GHZ)
960 request->channels[idx++] = rdev_req->channels[i];
963 rdev_req->scan_6ghz = false;
971 struct cfg80211_scan_request *request, *rdev_req;
986 rdev_req = rdev->scan_req;
987 if (!rdev_req)
990 wdev = rdev_req->wdev;
991 request = rdev->int_scan_req ? rdev->int_scan_req : rdev_req;
995 !rdev_req->scan_6ghz && !request->info.aborted &&