• Home
  • Raw
  • Download

Lines Matching refs:rdev

518 cfg80211_dfs_permissive_check_wdev(struct cfg80211_registered_device *rdev,  in cfg80211_dfs_permissive_check_wdev()  argument
545 ret = rdev_get_channel(rdev, wdev, link_id, &chandef); in cfg80211_dfs_permissive_check_wdev()
564 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_dfs_permissive_chan() local
566 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_dfs_permissive_chan()
568 if (!wiphy_ext_feature_isset(&rdev->wiphy, in cfg80211_dfs_permissive_chan()
580 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in cfg80211_dfs_permissive_chan()
581 bool ret = cfg80211_dfs_permissive_check_wdev(rdev, iftype, in cfg80211_dfs_permissive_chan()
879 cfg80211_offchan_chain_is_active(struct cfg80211_registered_device *rdev, in cfg80211_offchan_chain_is_active() argument
882 if (!rdev->background_radar_wdev) in cfg80211_offchan_chain_is_active()
885 if (!cfg80211_chandef_valid(&rdev->background_radar_chandef)) in cfg80211_offchan_chain_is_active()
888 return cfg80211_is_sub_chan(&rdev->background_radar_chandef, channel, in cfg80211_offchan_chain_is_active()
895 struct cfg80211_registered_device *rdev; in cfg80211_any_wiphy_oper_chan() local
902 list_for_each_entry(rdev, &cfg80211_rdev_list, list) { in cfg80211_any_wiphy_oper_chan()
903 if (!reg_dfs_domain_same(wiphy, &rdev->wiphy)) in cfg80211_any_wiphy_oper_chan()
906 if (cfg80211_is_wiphy_oper_chan(&rdev->wiphy, chan)) in cfg80211_any_wiphy_oper_chan()
909 if (cfg80211_offchan_chain_is_active(rdev, chan)) in cfg80211_any_wiphy_oper_chan()
1369 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_ir_permissive_chan() local
1371 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_ir_permissive_chan()
1397 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in cfg80211_ir_permissive_chan()
1453 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wiphy); in cfg80211_reg_can_beacon_relax() local
1456 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_reg_can_beacon_relax()
1471 int cfg80211_set_monitor_channel(struct cfg80211_registered_device *rdev, in cfg80211_set_monitor_channel() argument
1474 if (!rdev->ops->set_monitor_channel) in cfg80211_set_monitor_channel()
1476 if (!cfg80211_has_monitors_only(rdev)) in cfg80211_set_monitor_channel()
1479 return rdev_set_monitor_channel(rdev, chandef); in cfg80211_set_monitor_channel()