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
This commit is contained in:
wadesong 2019-05-31 13:52:46 +08:00 committed by nshrivas
parent 821baeb405
commit 90d68dee05

View File

@ -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