Lines Matching refs:rdev_req

846 	struct cfg80211_scan_request *request, *rdev_req = rdev->scan_req;  in cfg80211_scan_6ghz()  local
852 rdev_req->scan_6ghz = true; in cfg80211_scan_6ghz()
858 rdev_req->wdev->iftype); in cfg80211_scan_6ghz()
864 if (rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ) { in cfg80211_scan_6ghz()
886 if (is_broadcast_ether_addr(rdev_req->bssid) || in cfg80211_scan_6ghz()
887 !ether_addr_equal(rdev_req->bssid, res->bssid) || in cfg80211_scan_6ghz()
916 size += sizeof(*request->ssids) * rdev_req->n_ssids; in cfg80211_scan_6ghz()
920 size += rdev_req->ie_len; in cfg80211_scan_6ghz()
928 *request = *rdev_req; in cfg80211_scan_6ghz()
931 if (rdev_req->n_ssids) { in cfg80211_scan_6ghz()
939 memcpy(request->ssids, rdev_req->ssids, in cfg80211_scan_6ghz()
944 if (rdev_req->ie_len) { in cfg80211_scan_6ghz()
947 memcpy(ie, rdev_req->ie, rdev_req->ie_len); in cfg80211_scan_6ghz()
971 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan_6ghz()
972 if (rdev_req->channels[i]->band == NL80211_BAND_6GHZ && in cfg80211_scan_6ghz()
974 cfg80211_channel_is_psc(rdev_req->channels[i])) || in cfg80211_scan_6ghz()
975 !(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ))) { in cfg80211_scan_6ghz()
977 rdev_req->channels[i], in cfg80211_scan_6ghz()
982 if (!(rdev_req->flags & NL80211_SCAN_FLAG_COLOCATED_6GHZ)) in cfg80211_scan_6ghz()
993 !cfg80211_wdev_channel_allowed(rdev_req->wdev, chan)) in cfg80211_scan_6ghz()
996 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan_6ghz()
997 if (rdev_req->channels[i] == chan) in cfg80211_scan_6ghz()
1067 struct cfg80211_scan_request *rdev_req = rdev->scan_req; in cfg80211_scan() local
1071 return rdev_scan(rdev, rdev_req); in cfg80211_scan()
1073 for (i = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan()
1074 if (rdev_req->channels[i]->band != NL80211_BAND_6GHZ) in cfg80211_scan()
1086 *request = *rdev_req; in cfg80211_scan()
1089 for (i = idx = 0; i < rdev_req->n_channels; i++) { in cfg80211_scan()
1090 if (rdev_req->channels[i]->band != NL80211_BAND_6GHZ) in cfg80211_scan()
1091 request->channels[idx++] = rdev_req->channels[i]; in cfg80211_scan()
1094 rdev_req->scan_6ghz = false; in cfg80211_scan()
1102 struct cfg80211_scan_request *request, *rdev_req; in ___cfg80211_scan_done() local
1117 rdev_req = rdev->scan_req; in ___cfg80211_scan_done()
1118 if (!rdev_req) in ___cfg80211_scan_done()
1121 wdev = rdev_req->wdev; in ___cfg80211_scan_done()
1122 request = rdev->int_scan_req ? rdev->int_scan_req : rdev_req; in ___cfg80211_scan_done()
1126 !rdev_req->scan_6ghz && !request->info.aborted && in ___cfg80211_scan_done()