aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/sta_info.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-06-18 19:14:37 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-19 17:18:09 (GMT)
commit3b6deac0e7d5e84527bcae49890c6775527f590c (patch)
tree1a4af8321d2005504be79cea0a53d0c630b42562 /src/ap/sta_info.h
parentf868d5607d67d9e99b7ca3e7eed3383283830c64 (diff)
downloadhostap-3b6deac0e7d5e84527bcae49890c6775527f590c.zip
hostap-3b6deac0e7d5e84527bcae49890c6775527f590c.tar.gz
hostap-3b6deac0e7d5e84527bcae49890c6775527f590c.tar.bz2
mesh: Avoid use of hardcoded cipher
This moves pairwise, group, and management group ciphers to various mesh data structures to avoid having to hardcode cipher in number of places through the code. While CCMP and BIP are still the hardcoded ciphers, these are now set only in one location. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/ap/sta_info.h')
-rw-r--r--src/ap/sta_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ap/sta_info.h b/src/ap/sta_info.h
index c374ea0..5d4d0c8 100644
--- a/src/ap/sta_info.h
+++ b/src/ap/sta_info.h
@@ -88,6 +88,7 @@ struct sta_info {
u8 mtk[WPA_TK_MAX_LEN];
size_t mtk_len;
u8 mgtk_rsc[6];
+ u8 mgtk_key_id;
u8 mgtk[WPA_TK_MAX_LEN];
size_t mgtk_len;
u8 igtk_rsc[6];