Lines Matching defs:rdev
8 #include "rdev-ops.h"
10 static int pmsr_parse_ftm(struct cfg80211_registered_device *rdev,
15 const struct cfg80211_pmsr_capabilities *capa = rdev->wiphy.pmsr_capa;
20 if (!(rdev->wiphy.pmsr_capa->ftm.bandwidths & BIT(out->chandef.width))) {
184 static int pmsr_parse_peer(struct cfg80211_registered_device *rdev,
216 err = nl80211_parse_chandef(rdev, info, &out->chandef);
235 if (out->report_ap_tsf && !rdev->wiphy.pmsr_capa->report_ap_tsf) {
245 err = pmsr_parse_ftm(rdev, treq, out, info);
263 struct cfg80211_registered_device *rdev = info->user_ptr[0];
269 if (!rdev->wiphy.pmsr_capa)
284 if (count > rdev->wiphy.pmsr_capa->max_peers) {
300 if (!rdev->wiphy.pmsr_capa->randomize_mac_addr) {
320 err = pmsr_parse_peer(rdev, peer, &req->peers[idx], info);
325 req->cookie = cfg80211_assign_cookie(rdev);
328 err = rdev_start_pmsr(rdev, wdev, req);
345 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
361 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) ||
553 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
574 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) ||
599 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
614 rdev_abort_pmsr(rdev, wdev, req);