commit d2f52a67237bbdd87be878e5b335920b848f61da
parent 1cd3cd2eb960da01d1191dc9735294083129154d
Author: James Prestwood <prestwoj@gmail.com>
Date: Mon, 4 Oct 2021 09:48:52 -0700
wiphy: add wiphy_supports_ext_key_id
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/wiphy.c b/src/wiphy.c
@@ -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;
diff --git a/src/wiphy.h b/src/wiphy.h
@@ -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);