summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-09-15 18:12:37 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-09-15 18:12:36 -0700
commit393bfcf23206ec8302876474526b6e595cbaacce (patch)
tree224c1f54742acddb0782e66eba86ee09c4d1573d /include
parent569fef54de0bced23f057bd8146b5e5c0c9ed36f (diff)
parent162b1e5303bb4de72c264ac43c0cb6595dd5d8bd (diff)
Merge "cfg80211: Include length of kek in rekey data"
Diffstat (limited to 'include')
-rw-r--r--include/net/cfg80211.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index e6b3b861e4ec..1997eed64c68 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -79,6 +79,9 @@ struct wiphy;
/* Indicate backport support for FILS SK offload in cfg80211 */
#define CFG80211_FILS_SK_OFFLOAD_SUPPORT 1
+/* Indicate support for including KEK length in rekey data */
+#define CFG80211_REKEY_DATA_KEK_LEN 1
+
/*
* wireless hardware capability structures
*/
@@ -2288,12 +2291,14 @@ struct cfg80211_wowlan_wakeup {
/**
* struct cfg80211_gtk_rekey_data - rekey data
- * @kek: key encryption key (NL80211_KEK_LEN bytes)
+ * @kek: key encryption key
* @kck: key confirmation key (NL80211_KCK_LEN bytes)
* @replay_ctr: replay counter (NL80211_REPLAY_CTR_LEN bytes)
+ * @kek_len: Length of @kek in octets
*/
struct cfg80211_gtk_rekey_data {
const u8 *kek, *kck, *replay_ctr;
+ size_t kek_len;
};
/**