Lines Matching refs:wiphy

116 struct ieee80211_channel *__ieee80211_get_channel(struct wiphy *wiphy,  in __ieee80211_get_channel()  argument
124 sband = wiphy->bands[band]; in __ieee80211_get_channel()
199 void ieee80211_set_bitrate_flags(struct wiphy *wiphy) in ieee80211_set_bitrate_flags() argument
204 if (wiphy->bands[band]) in ieee80211_set_bitrate_flags()
205 set_mandatory_flags_band(wiphy->bands[band], band); in ieee80211_set_bitrate_flags()
208 bool cfg80211_supported_cipher_suite(struct wiphy *wiphy, u32 cipher) in cfg80211_supported_cipher_suite() argument
211 for (i = 0; i < wiphy->n_cipher_suites; i++) in cfg80211_supported_cipher_suite()
212 if (cipher == wiphy->cipher_suites[i]) in cfg80211_supported_cipher_suite()
224 if (!pairwise && mac_addr && !(rdev->wiphy.flags & WIPHY_FLAG_IBSS_RSN)) in cfg80211_validate_key_settings()
334 if (!cfg80211_supported_cipher_suite(&rdev->wiphy, params->cipher)) in cfg80211_validate_key_settings()
827 struct cfg80211_registered_device *rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_upload_connect_keys()
898 __cfg80211_leave(wiphy_to_rdev(wdev->wiphy), wdev); in cfg80211_process_wdev_events()
938 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface()
1509 int cfg80211_iter_combinations(struct wiphy *wiphy, in cfg80211_iter_combinations() argument
1534 !(wiphy->software_iftypes & BIT(iftype))) in cfg80211_iter_combinations()
1538 for (i = 0; i < wiphy->n_iface_combinations; i++) { in cfg80211_iter_combinations()
1543 c = &wiphy->iface_combinations[i]; in cfg80211_iter_combinations()
1556 if (wiphy->software_iftypes & BIT(iftype)) in cfg80211_iter_combinations()
1604 int cfg80211_check_combinations(struct wiphy *wiphy, in cfg80211_check_combinations() argument
1611 err = cfg80211_iter_combinations(wiphy, num_different_channels, in cfg80211_check_combinations()
1649 if (rdev->wiphy.software_iftypes & BIT(iftype)) { in cfg80211_can_use_iftype_chan()
1691 if (rdev->wiphy.software_iftypes & BIT(wdev_iter->iftype)) in cfg80211_can_use_iftype_chan()
1733 return cfg80211_check_combinations(&rdev->wiphy, num_different_channels, in cfg80211_can_use_iftype_chan()
1775 unsigned int ieee80211_get_num_supported_channels(struct wiphy *wiphy) in ieee80211_get_num_supported_channels() argument
1781 if (wiphy->bands[band]) in ieee80211_get_num_supported_channels()
1782 n_channels += wiphy->bands[band]->n_channels; in ieee80211_get_num_supported_channels()
1798 rdev = wiphy_to_rdev(wdev->wiphy); in cfg80211_get_station()