aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/mesh_rsn.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-06-18 11:11:23 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-19 17:18:09 (GMT)
commitf868d5607d67d9e99b7ca3e7eed3383283830c64 (patch)
tree976a987a90395d20cb58bb83cf9787ecd88b2384 /wpa_supplicant/mesh_rsn.h
parent4367eec4394002046e1ad99b2ecf878d925415f0 (diff)
downloadhostap-f868d5607d67d9e99b7ca3e7eed3383283830c64.zip
hostap-f868d5607d67d9e99b7ca3e7eed3383283830c64.tar.gz
hostap-f868d5607d67d9e99b7ca3e7eed3383283830c64.tar.bz2
mesh: Clean up AMPE element encoding and parsing
The AMPE element includes number of optional and variable length fields and those cannot really be represented by a fixed struct ieee80211_ampe_ie. Remove the optional fields from the struct and build/parse these fields separately. This is also adding support for IGTKdata that was completely missing from the previous implementation. In addition, Key RSC for MGTK is now filled in and used when configuring the RX MGTK for a peer. 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 8f2a8e7..85fba7d 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 mgtk_key_id;
+ u8 igtk_key_id;
u8 igtk[WPA_TK_MAX_LEN];
size_t igtk_len;
#ifdef CONFIG_SAE