Lines Matching defs:rdev
10 #include "rdev-ops.h"
12 static int pmsr_parse_ftm(struct cfg80211_registered_device *rdev,
17 const struct cfg80211_pmsr_capabilities *capa = rdev->wiphy.pmsr_capa;
22 if (!(rdev->wiphy.pmsr_capa->ftm.bandwidths & BIT(out->chandef.width))) {
164 static int pmsr_parse_peer(struct cfg80211_registered_device *rdev,
196 err = nl80211_parse_chandef(rdev, info, &out->chandef);
215 if (out->report_ap_tsf && !rdev->wiphy.pmsr_capa->report_ap_tsf) {
225 err = pmsr_parse_ftm(rdev, treq, out, info);
243 struct cfg80211_registered_device *rdev = info->user_ptr[0];
249 if (!rdev->wiphy.pmsr_capa)
264 if (count > rdev->wiphy.pmsr_capa->max_peers) {
279 if (!rdev->wiphy.pmsr_capa->randomize_mac_addr) {
299 err = pmsr_parse_peer(rdev, peer, &req->peers[idx], info);
306 req->cookie = cfg80211_assign_cookie(rdev);
309 err = rdev_start_pmsr(rdev, wdev, req);
326 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
342 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) ||
534 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
555 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) ||
580 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy);
595 rdev_abort_pmsr(rdev, wdev, req);