Lines Matching refs:rdev_req

727 	struct cfg80211_scan_request *request, *rdev_req = rdev->scan_req;  in cfg80211_scan_6ghz()  local
732 rdev_req->scan_6ghz = true; in cfg80211_scan_6ghz()
738 rdev_req->wdev->iftype); in cfg80211_scan_6ghz()
744 if (rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ) { in cfg80211_scan_6ghz()
767 *request = *rdev_req; in cfg80211_scan_6ghz()
794 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan_6ghz()
795 if (rdev_req->channels[i]->band == NL80211_BAND_6GHZ && in cfg80211_scan_6ghz()
797 cfg80211_channel_is_psc(rdev_req->channels[i])) || in cfg80211_scan_6ghz()
798 !(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ))) { in cfg80211_scan_6ghz()
800 rdev_req->channels[i], in cfg80211_scan_6ghz()
805 if (!(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ)) in cfg80211_scan_6ghz()
818 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan_6ghz()
819 if (rdev_req->channels[i] == chan) in cfg80211_scan_6ghz()
881 struct cfg80211_scan_request *rdev_req = rdev->scan_req; in cfg80211_scan() local
885 return rdev_scan(rdev, rdev_req); in cfg80211_scan()
887 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan()
888 if (rdev_req->channels[i]->band != NL80211_BAND_6GHZ) in cfg80211_scan()
900 *request = *rdev_req; in cfg80211_scan()
903 for (i = idx = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan()
904 if (rdev_req->channels[i]->band != NL80211_BAND_6GHZ) in cfg80211_scan()
905 request->channels[idx++] = rdev_req->channels[i]; in cfg80211_scan()
908 rdev_req->scan_6ghz = false; in cfg80211_scan()
916 struct cfg80211_scan_request *request, *rdev_req; in ___cfg80211_scan_done() local
931 rdev_req = rdev->scan_req; in ___cfg80211_scan_done()
932 if (!rdev_req) in ___cfg80211_scan_done()
935 wdev = rdev_req->wdev; in ___cfg80211_scan_done()
936 request = rdev->int_scan_req ? rdev->int_scan_req : rdev_req; in ___cfg80211_scan_done()
940 !rdev_req->scan_6ghz && !request->info.aborted && in ___cfg80211_scan_done()