diff mbox series

[8/9] wiphy: add FT-8021X-SHA384 to supported AKMs

Message ID 20230410220135.373872-9-prestwoj@gmail.com (mailing list archive)
State New
Headers show
Series Support FT-8021X-SHA384 | expand

Commit Message

James Prestwood April 10, 2023, 10:01 p.m. UTC
This AKM is now possible to choose from the list.
---
 src/wiphy.c | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/src/wiphy.c b/src/wiphy.c
index 2db2d2cd..40ab0a0b 100644
--- a/src/wiphy.c
+++ b/src/wiphy.c
@@ -281,6 +281,12 @@  enum ie_rsn_akm_suite wiphy_select_akm(struct wiphy *wiphy,
 				return IE_RSN_AKM_SUITE_FILS_SHA256;
 		}
 
+		if ((info->akm_suites &
+				IE_RSN_AKM_SUITE_FT_OVER_8021X_SHA384) &&
+				bss->rsne && bss->mde_present &&
+				wiphy->support_cmds_auth_assoc)
+			return IE_RSN_AKM_SUITE_FT_OVER_8021X_SHA384;
+
 		if ((info->akm_suites & IE_RSN_AKM_SUITE_FT_OVER_8021X) &&
 				bss->rsne && bss->mde_present &&
 				wiphy->support_cmds_auth_assoc)