From: Srinivas Dasari Date: Tue, 6 Feb 2018 14:19:35 +0000 (+0530) Subject: ieee80211: Increase PMK maximum length to 64 bytes X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=cedfe47491df21bb32f2ea233c70da93401acee8;p=carl9170fw.git ieee80211: Increase PMK maximum length to 64 bytes Increase the PMK maximum length to 64 bytes to accommodate the key length used in DPP with the NIST P-521 and Brainpool 512 curves. Signed-off-by: Srinivas Dasari Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 46ce6cf..c2c0eb0 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -2129,7 +2129,7 @@ enum ieee80211_key_len { #define FILS_ERP_MAX_REALM_LEN 253 #define FILS_ERP_MAX_RRK_LEN 64 -#define PMK_MAX_LEN 48 +#define PMK_MAX_LEN 64 /* Public action codes (IEEE Std 802.11-2016, 9.6.8.1, Table 9-307) */ enum ieee80211_pub_actioncode {