Lines Matching defs:rdev
16 #include "rdev-ops.h"
803 cfg80211_offchan_chain_is_active(struct cfg80211_registered_device *rdev,
806 if (!rdev->background_radar_wdev)
809 if (!cfg80211_chandef_valid(&rdev->background_radar_chandef))
812 return cfg80211_is_sub_chan(&rdev->background_radar_chandef, channel,
819 struct cfg80211_registered_device *rdev;
826 list_for_each_entry(rdev, &cfg80211_rdev_list, list) {
827 if (!reg_dfs_domain_same(wiphy, &rdev->wiphy))
830 if (cfg80211_is_wiphy_oper_chan(&rdev->wiphy, chan))
833 if (cfg80211_offchan_chain_is_active(rdev, chan))
1293 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy);
1295 lockdep_assert_held(&rdev->wiphy.mtx);
1321 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) {
1373 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy);
1376 lockdep_assert_held(&rdev->wiphy.mtx);
1391 int cfg80211_set_monitor_channel(struct cfg80211_registered_device *rdev,
1394 if (!rdev->ops->set_monitor_channel)
1396 if (!cfg80211_has_monitors_only(rdev))
1399 return rdev_set_monitor_channel(rdev, chandef);