Lines Matching refs:rdev
272 cfg80211_igtk_cipher_supported(struct cfg80211_registered_device *rdev) in cfg80211_igtk_cipher_supported() argument
274 struct wiphy *wiphy = &rdev->wiphy; in cfg80211_igtk_cipher_supported()
290 bool cfg80211_valid_key_idx(struct cfg80211_registered_device *rdev, in cfg80211_valid_key_idx() argument
297 else if (wiphy_ext_feature_isset(&rdev->wiphy, in cfg80211_valid_key_idx()
299 wiphy_ext_feature_isset(&rdev->wiphy, in cfg80211_valid_key_idx()
302 else if (cfg80211_igtk_cipher_supported(rdev)) in cfg80211_valid_key_idx()
313 int cfg80211_validate_key_settings(struct cfg80211_registered_device *rdev, in cfg80211_validate_key_settings() argument
317 if (!cfg80211_valid_key_idx(rdev, key_idx, pairwise)) in cfg80211_validate_key_settings()
320 if (!pairwise && mac_addr && !(rdev->wiphy.flags & WIPHY_FLAG_IBSS_RSN)) in cfg80211_validate_key_settings()
347 if (wiphy_ext_feature_isset(&rdev->wiphy, in cfg80211_validate_key_settings()
451 if (!cfg80211_supported_cipher_suite(&rdev->wiphy, params->cipher)) in cfg80211_validate_key_settings()
1009 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_upload_connect_keys() local
1019 if (rdev_add_key(rdev, dev, -1, i, false, NULL, in cfg80211_upload_connect_keys()
1025 rdev_set_default_key(rdev, dev, -1, i, true, true)) { in cfg80211_upload_connect_keys()
1086 void cfg80211_process_rdev_events(struct cfg80211_registered_device *rdev) in cfg80211_process_rdev_events() argument
1090 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_process_rdev_events()
1092 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) in cfg80211_process_rdev_events()
1096 int cfg80211_change_iface(struct cfg80211_registered_device *rdev, in cfg80211_change_iface() argument
1103 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_change_iface()
1114 if (!rdev->ops->change_virtual_intf || in cfg80211_change_iface()
1115 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface()
1128 rdev_set_qos_map(rdev, dev, NULL); in cfg80211_change_iface()
1134 cfg80211_stop_ap(rdev, dev, -1, true); in cfg80211_change_iface()
1137 cfg80211_leave_ibss(rdev, dev, false); in cfg80211_change_iface()
1142 cfg80211_disconnect(rdev, dev, in cfg80211_change_iface()
1150 cfg80211_leave_ocb(rdev, dev); in cfg80211_change_iface()
1156 cfg80211_process_rdev_events(rdev); in cfg80211_change_iface()
1165 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface()
1206 cfg80211_update_iface_num(rdev, ntype, 1); in cfg80211_change_iface()
1207 cfg80211_update_iface_num(rdev, otype, -1); in cfg80211_change_iface()
2192 int cfg80211_validate_beacon_int(struct cfg80211_registered_device *rdev, in cfg80211_validate_beacon_int() argument
2396 struct cfg80211_registered_device *rdev; in cfg80211_get_station() local
2404 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_get_station()
2405 if (!rdev->ops->get_station) in cfg80211_get_station()
2410 wiphy_lock(&rdev->wiphy); in cfg80211_get_station()
2411 ret = rdev_get_station(rdev, dev, mac_addr, sinfo); in cfg80211_get_station()
2412 wiphy_unlock(&rdev->wiphy); in cfg80211_get_station()
2655 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_remove_link() local
2662 __cfg80211_stop_ap(rdev, wdev->netdev, link_id, true); in cfg80211_remove_link()
2671 rdev_del_intf_link(rdev, wdev, link_id); in cfg80211_remove_link()
2695 int cfg80211_remove_virtual_intf(struct cfg80211_registered_device *rdev, in cfg80211_remove_virtual_intf() argument
2700 return rdev_del_virtual_intf(rdev, wdev); in cfg80211_remove_virtual_intf()