mesh: Generate a separate TX IGTK if PMF is enabled
authorJouni Malinen <j@w1.fi>
Sat, 18 Jun 2016 11:41:59 +0000 (14:41 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 19 Jun 2016 17:18:09 +0000 (20:18 +0300)
commitfccba2c946407f39b546ad0b6ba42b60577777ac
tree5706a8eeb08983679fc778fc858e78c50ce4c4cb
parent696f792320b9a082d28eba4e97ccc4cdab09b8b8
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>
wpa_supplicant/mesh_rsn.c
wpa_supplicant/mesh_rsn.h