• Home
  • Raw
  • Download

Lines Matching refs:rdev

278 cfg80211_igtk_cipher_supported(struct cfg80211_registered_device *rdev)  in cfg80211_igtk_cipher_supported()  argument
280 struct wiphy *wiphy = &rdev->wiphy; in cfg80211_igtk_cipher_supported()
296 bool cfg80211_valid_key_idx(struct cfg80211_registered_device *rdev, in cfg80211_valid_key_idx() argument
303 else if (wiphy_ext_feature_isset(&rdev->wiphy, in cfg80211_valid_key_idx()
305 wiphy_ext_feature_isset(&rdev->wiphy, in cfg80211_valid_key_idx()
308 else if (cfg80211_igtk_cipher_supported(rdev)) in cfg80211_valid_key_idx()
319 int cfg80211_validate_key_settings(struct cfg80211_registered_device *rdev, in cfg80211_validate_key_settings() argument
323 if (!cfg80211_valid_key_idx(rdev, key_idx, pairwise)) in cfg80211_validate_key_settings()
326 if (!pairwise && mac_addr && !(rdev->wiphy.flags & WIPHY_FLAG_IBSS_RSN)) in cfg80211_validate_key_settings()
353 if (wiphy_ext_feature_isset(&rdev->wiphy, in cfg80211_validate_key_settings()
457 if (!cfg80211_supported_cipher_suite(&rdev->wiphy, params->cipher)) in cfg80211_validate_key_settings()
928 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_upload_connect_keys() local
938 if (rdev_add_key(rdev, dev, -1, i, false, NULL, in cfg80211_upload_connect_keys()
944 rdev_set_default_key(rdev, dev, -1, i, true, true)) { in cfg80211_upload_connect_keys()
1005 void cfg80211_process_rdev_events(struct cfg80211_registered_device *rdev) in cfg80211_process_rdev_events() argument
1009 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_process_rdev_events()
1011 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) in cfg80211_process_rdev_events()
1015 int cfg80211_change_iface(struct cfg80211_registered_device *rdev, in cfg80211_change_iface() argument
1022 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_change_iface()
1033 if (!rdev->ops->change_virtual_intf || in cfg80211_change_iface()
1034 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface()
1047 rdev_set_qos_map(rdev, dev, NULL); in cfg80211_change_iface()
1053 cfg80211_stop_ap(rdev, dev, -1, true); in cfg80211_change_iface()
1056 cfg80211_leave_ibss(rdev, dev, false); in cfg80211_change_iface()
1061 cfg80211_disconnect(rdev, dev, in cfg80211_change_iface()
1069 cfg80211_leave_ocb(rdev, dev); in cfg80211_change_iface()
1075 cfg80211_process_rdev_events(rdev); in cfg80211_change_iface()
1084 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface()
1125 cfg80211_update_iface_num(rdev, ntype, 1); in cfg80211_change_iface()
1126 cfg80211_update_iface_num(rdev, otype, -1); in cfg80211_change_iface()
1999 int cfg80211_validate_beacon_int(struct cfg80211_registered_device *rdev, in cfg80211_validate_beacon_int() argument
2203 struct cfg80211_registered_device *rdev; in cfg80211_get_station() local
2210 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_get_station()
2211 if (!rdev->ops->get_station) in cfg80211_get_station()
2216 return rdev_get_station(rdev, dev, mac_addr, sinfo); in cfg80211_get_station()
2457 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_remove_link() local
2464 __cfg80211_stop_ap(rdev, wdev->netdev, link_id, true); in cfg80211_remove_link()
2473 rdev_del_intf_link(rdev, wdev, link_id); in cfg80211_remove_link()
2490 int cfg80211_remove_virtual_intf(struct cfg80211_registered_device *rdev, in cfg80211_remove_virtual_intf() argument
2495 return rdev_del_virtual_intf(rdev, wdev); in cfg80211_remove_virtual_intf()