From cddfda7892b8a2cdb0a7a16a405233f11815ef13 Mon Sep 17 00:00:00 2001 From: Vidyullatha Kanchanapally Date: Wed, 2 Aug 2017 18:48:47 +0530 Subject: [PATCH] Add attributes to support roam+auth vendor event for FILS Add additional attributes to specify the PMK, PMKID, and the ERP next sequence number to the vendor subcommand QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_ROAM_AUTH. These are needed in case of an offloaded FILS roaming. Signed-off-by: Jouni Malinen --- src/common/qca-vendor.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 6fe2890b4..b4f7d12bf 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -684,6 +684,20 @@ enum qca_wlan_vendor_attr_roam_auth { * This attribute is applicable only for re-association failure cases. */ QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_RETAIN_CONNECTION, + /* This attribute specifies the PMK if one was newly generated during + * FILS roaming. This is added to the PMKSA cache and is used in + * subsequent connections with PMKSA caching. + */ + QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PMK = 11, + /* This attribute specifies the PMKID used/generated for the current + * FILS roam. This is used in subsequent connections with PMKSA caching. + */ + QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PMKID = 12, + /* A 16-bit unsigned value specifying the next sequence number to use + * in ERP message in the currently associated realm. This is used in + * doing subsequent ERP based connections in the same realm. + */ + QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_FILS_ERP_NEXT_SEQ_NUM = 13, /* keep last */ QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_MAX =