From: Jouni Malinen Date: Wed, 26 Oct 2016 21:42:03 +0000 (+0300) Subject: cfg80211: Add KEK/nonces for FILS association frames X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=36c97f8bf79f3b4228b83536d3f671824383ec11;hp=fbb82cdd842b2596f8ece5ffb55654f1c71cc723;p=carl9170fw.git cfg80211: Add KEK/nonces for FILS association frames The new nl80211 attributes can be used to provide KEK and nonces to allow the driver to encrypt and decrypt FILS (Re)Association Request/Response frames in station mode. Signed-off-by: Jouni Malinen Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index f1165b2..35bb2e3 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -2114,6 +2114,9 @@ enum ieee80211_key_len { #define IEEE80211_GCMP_MIC_LEN 16 #define IEEE80211_GCMP_PN_LEN 6 +#define FILS_NONCE_LEN 16 +#define FILS_MAX_KEK_LEN 64 + /* Public action codes */ enum ieee80211_pub_actioncode { WLAN_PUB_ACTION_EXT_CHANSW_ANN = 4,