• Home
  • Raw
  • Download

Lines Matching refs:wiphy

162 struct ieee80211_channel *ieee80211_get_channel_khz(struct wiphy *wiphy,  in ieee80211_get_channel_khz()  argument
170 sband = wiphy->bands[band]; in ieee80211_get_channel_khz()
253 void ieee80211_set_bitrate_flags(struct wiphy *wiphy) in ieee80211_set_bitrate_flags() argument
258 if (wiphy->bands[band]) in ieee80211_set_bitrate_flags()
259 set_mandatory_flags_band(wiphy->bands[band]); in ieee80211_set_bitrate_flags()
262 bool cfg80211_supported_cipher_suite(struct wiphy *wiphy, u32 cipher) in cfg80211_supported_cipher_suite() argument
265 for (i = 0; i < wiphy->n_cipher_suites; i++) in cfg80211_supported_cipher_suite()
266 if (cipher == wiphy->cipher_suites[i]) in cfg80211_supported_cipher_suite()
274 struct wiphy *wiphy = &rdev->wiphy; in cfg80211_igtk_cipher_supported() local
277 for (i = 0; i < wiphy->n_cipher_suites; i++) { in cfg80211_igtk_cipher_supported()
278 switch (wiphy->cipher_suites[i]) { in cfg80211_igtk_cipher_supported()
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()
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()
1069 __cfg80211_leave(wiphy_to_rdev(wdev->wiphy), wdev); in cfg80211_process_wdev_events()
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()
1103 lockdep_assert_held(&rdev->wiphy.mtx); in cfg80211_change_iface()
1115 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface()
2152 static void cfg80211_calculate_bi_data(struct wiphy *wiphy, u32 new_beacon_int, in cfg80211_calculate_bi_data() argument
2161 list_for_each_entry(wdev, &wiphy->wdev_list, list) { in cfg80211_calculate_bi_data()
2209 int cfg80211_iter_combinations(struct wiphy *wiphy, in cfg80211_iter_combinations() argument
2233 cfg80211_calculate_bi_data(wiphy, params->new_beacon_int, in cfg80211_iter_combinations()
2247 !cfg80211_iftype_allowed(wiphy, iftype, 0, 1)) in cfg80211_iter_combinations()
2251 for (i = 0; i < wiphy->n_iface_combinations; i++) { in cfg80211_iter_combinations()
2256 c = &wiphy->iface_combinations[i]; in cfg80211_iter_combinations()
2269 if (cfg80211_iftype_allowed(wiphy, iftype, 0, 1)) in cfg80211_iter_combinations()
2326 int cfg80211_check_combinations(struct wiphy *wiphy, in cfg80211_check_combinations() argument
2331 err = cfg80211_iter_combinations(wiphy, params, in cfg80211_check_combinations()
2380 unsigned int ieee80211_get_num_supported_channels(struct wiphy *wiphy) in ieee80211_get_num_supported_channels() argument
2386 if (wiphy->bands[band]) in ieee80211_get_num_supported_channels()
2387 n_channels += wiphy->bands[band]->n_channels; in ieee80211_get_num_supported_channels()
2404 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_get_station()
2410 wiphy_lock(&rdev->wiphy); in cfg80211_get_station()
2412 wiphy_unlock(&rdev->wiphy); in cfg80211_get_station()
2630 bool cfg80211_iftype_allowed(struct wiphy *wiphy, enum nl80211_iftype iftype, in cfg80211_iftype_allowed() argument
2639 return wiphy->flags & WIPHY_FLAG_4ADDR_AP; in cfg80211_iftype_allowed()
2640 return wiphy->interface_modes & BIT(iftype); in cfg80211_iftype_allowed()
2642 if (!(wiphy->software_iftypes & BIT(iftype)) && is_vlan) in cfg80211_iftype_allowed()
2643 return wiphy->flags & WIPHY_FLAG_4ADDR_AP; in cfg80211_iftype_allowed()
2644 return wiphy->software_iftypes & BIT(iftype); in cfg80211_iftype_allowed()
2655 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_remove_link()
2704 cfg80211_get_iftype_ext_capa(struct wiphy *wiphy, enum nl80211_iftype type) in cfg80211_get_iftype_ext_capa() argument
2708 for (i = 0; i < wiphy->num_iftype_ext_capab; i++) { in cfg80211_get_iftype_ext_capa()
2709 if (wiphy->iftype_ext_capab[i].iftype == type) in cfg80211_get_iftype_ext_capa()
2710 return &wiphy->iftype_ext_capab[i]; in cfg80211_get_iftype_ext_capa()