commit af3d0d21a09425ab163f6aece5fd90fc65f858bc
parent e7c7e7de41802afb4a192d2c5d729467f3dcb4ca
Author: James Prestwood <prestwoj@gmail.com>
Date: Mon, 22 Mar 2021 09:01:51 -0700
wiphy: add getter for 'supports_cmds_auth_assoc'
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/wiphy.c b/src/wiphy.c
@@ -404,6 +404,11 @@ bool wiphy_can_connect(struct wiphy *wiphy, struct scan_bss *bss)
return true;
}
+bool wiphy_supports_cmds_auth_assoc(struct wiphy *wiphy)
+{
+ return wiphy->support_cmds_auth_assoc;
+}
+
bool wiphy_has_feature(struct wiphy *wiphy, uint32_t feature)
{
return wiphy->feature_flags & feature;
diff --git a/src/wiphy.h b/src/wiphy.h
@@ -79,6 +79,7 @@ uint32_t wiphy_get_supported_bands(struct wiphy *wiphy);
const struct scan_freq_set *wiphy_get_supported_freqs(
const struct wiphy *wiphy);
bool wiphy_can_connect(struct wiphy *wiphy, struct scan_bss *bss);
+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_has_feature(struct wiphy *wiphy, uint32_t feature);