aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh_rsn.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-06-18 11:41:59 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-19 17:18:09 (GMT)
commitfccba2c946407f39b546ad0b6ba42b60577777ac (patch)
tree5706a8eeb08983679fc778fc858e78c50ce4c4cb /wpa_supplicant/mesh_rsn.h
parent696f792320b9a082d28eba4e97ccc4cdab09b8b8 (diff)
downloadhostap-fccba2c946407f39b546ad0b6ba42b60577777ac.zip
hostap-fccba2c946407f39b546ad0b6ba42b60577777ac.tar.gz
hostap-fccba2c946407f39b546ad0b6ba42b60577777ac.tar.bz2
mesh: Generate a separate TX IGTK if PMF is enabled
Previous implementation was incorrectly using MGTK also as the IGTK and doing this regardless of whether PMF was enabled. IGTK needs to be a independent key and this commit does that at the local TX side. The current AMPE element construction and parsing is quite broken, so this does not get add the IGTKdata field there. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/mesh_rsn.h')
-rw-r--r--wpa_supplicant/mesh_rsn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/mesh_rsn.h b/wpa_supplicant/mesh_rsn.h
index 4d9425b..8f2a8e7 100644
--- a/wpa_supplicant/mesh_rsn.h
+++ b/wpa_supplicant/mesh_rsn.h
@@ -14,6 +14,8 @@ struct mesh_rsn {
struct wpa_authenticator *auth;
u8 mgtk[WPA_TK_MAX_LEN];
size_t mgtk_len;
+ u8 igtk[WPA_TK_MAX_LEN];
+ size_t igtk_len;
#ifdef CONFIG_SAE
struct wpabuf *sae_token;
int sae_group_index;