From 90d68dee055550d415ea00c595127e6a503bf4e7 Mon Sep 17 00:00:00 2001 From: wadesong Date: Fri, 31 May 2019 13:52:46 +0800 Subject: [PATCH] qcacld-3.0: Enlarge the PMKR0 buffer for FT-FILS PMKR0 buffer's length is currently 32 bytes in struct pe_fils_session, which is incapable of storing the value of Q when SHA384 is used for authentication. Enlarge the PMKR0 buffer to 48 bytes in case SHA384 is used. Change-Id: Ib935a4dfc6fc415453d3c3b9cf458cc3b0f4f0a2 CRs-Fixed: 2462643 --- core/mac/src/pe/include/lim_fils_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mac/src/pe/include/lim_fils_defs.h b/core/mac/src/pe/include/lim_fils_defs.h index 95c6ceabda05..277485cec55c 100644 --- a/core/mac/src/pe/include/lim_fils_defs.h +++ b/core/mac/src/pe/include/lim_fils_defs.h @@ -268,7 +268,7 @@ struct mac_ft_ie { struct mac_ft_igtk_ie igtk_ie; }; -#define FILS_PMK_LEN 32 +#define FILS_PMK_LEN 48 #define FILS_PMK_NAME_LEN 16 #define FILS_FT_MAX_LEN 48 #define FILS_FT_PMK_R0_SALT_LEN 16