3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00

wiphy: add wiphy_supports_ext_key_id

This commit is contained in:
James Prestwood 2021-10-04 09:48:52 -07:00 committed by Denis Kenzior
parent 1cd3cd2eb9
commit d2f52a6723
2 changed files with 6 additions and 0 deletions

View File

@ -459,6 +459,11 @@ bool wiphy_can_transition_disable(struct wiphy *wiphy)
return true;
}
bool wiphy_supports_ext_key_id(struct wiphy *wiphy)
{
return wiphy_has_ext_feature(wiphy, NL80211_EXT_FEATURE_EXT_KEY_ID);
}
bool wiphy_supports_cmds_auth_assoc(struct wiphy *wiphy)
{
return wiphy->support_cmds_auth_assoc;

View File

@ -86,6 +86,7 @@ bool wiphy_can_transition_disable(struct wiphy *wiphy);
bool wiphy_supports_cmds_auth_assoc(struct wiphy *wiphy);
bool wiphy_can_randomize_mac_addr(struct wiphy *wiphy);
bool wiphy_rrm_capable(struct wiphy *wiphy);
bool wiphy_supports_ext_key_id(struct wiphy *wiphy);
bool wiphy_has_feature(struct wiphy *wiphy, uint32_t feature);
bool wiphy_has_ext_feature(struct wiphy *wiphy, uint32_t feature);
uint8_t wiphy_get_max_num_ssids_per_scan(struct wiphy *wiphy);