Lines Matching refs:rdev_req
730 struct cfg80211_scan_request *request, *rdev_req = rdev->scan_req; in cfg80211_scan_6ghz() local
735 rdev_req->scan_6ghz = true; in cfg80211_scan_6ghz()
741 rdev_req->wdev->iftype); in cfg80211_scan_6ghz()
747 if (rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ) { in cfg80211_scan_6ghz()
764 sizeof(*request->ssids) * rdev_req->n_ssids, in cfg80211_scan_6ghz()
771 *request = *rdev_req; in cfg80211_scan_6ghz()
796 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan_6ghz()
797 if (rdev_req->channels[i]->band == NL80211_BAND_6GHZ && in cfg80211_scan_6ghz()
799 cfg80211_channel_is_psc(rdev_req->channels[i])) || in cfg80211_scan_6ghz()
800 !(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ))) { in cfg80211_scan_6ghz()
802 rdev_req->channels[i], in cfg80211_scan_6ghz()
807 if (!(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ)) in cfg80211_scan_6ghz()
820 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan_6ghz()
821 if (rdev_req->channels[i] == chan) in cfg80211_scan_6ghz()
863 request->n_ssids = rdev_req->n_ssids; in cfg80211_scan_6ghz()
864 memcpy(request->ssids, rdev_req->ssids, sizeof(*request->ssids) * in cfg80211_scan_6ghz()
892 struct cfg80211_scan_request *rdev_req = rdev->scan_req; in cfg80211_scan() local
896 return rdev_scan(rdev, rdev_req); in cfg80211_scan()
898 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan()
899 if (rdev_req->channels[i]->band != NL80211_BAND_6GHZ) in cfg80211_scan()
911 *request = *rdev_req; in cfg80211_scan()
914 for (i = idx = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan()
915 if (rdev_req->channels[i]->band != NL80211_BAND_6GHZ) in cfg80211_scan()
916 request->channels[idx++] = rdev_req->channels[i]; in cfg80211_scan()
919 rdev_req->scan_6ghz = false; in cfg80211_scan()
927 struct cfg80211_scan_request *request, *rdev_req; in ___cfg80211_scan_done() local
942 rdev_req = rdev->scan_req; in ___cfg80211_scan_done()
943 if (!rdev_req) in ___cfg80211_scan_done()
946 wdev = rdev_req->wdev; in ___cfg80211_scan_done()
947 request = rdev->int_scan_req ? rdev->int_scan_req : rdev_req; in ___cfg80211_scan_done()
951 !rdev_req->scan_6ghz && !request->info.aborted && in ___cfg80211_scan_done()