aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/bss.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-08-06 12:51:36 (GMT)
committerJouni Malinen <j@w1.fi>2015-08-06 17:47:25 (GMT)
commit3fb62bdae9c936db9ec261cb3087fdc0ac2a1bae (patch)
tree92471b8ee9dd9e6d663fc6e66b00822db97fcc9a /wlantest/bss.c
parente1eb0e9e6e56b94ce28e9560abf834ba8a09c59e (diff)
downloadhostap-3fb62bdae9c936db9ec261cb3087fdc0ac2a1bae.zip
hostap-3fb62bdae9c936db9ec261cb3087fdc0ac2a1bae.tar.gz
hostap-3fb62bdae9c936db9ec261cb3087fdc0ac2a1bae.tar.bz2
wlantest: Add support for FT-PSK initial association key derivation
This adds minimal support for deriving keys for FT-PSK to allow the initial mobility domain association to be analyzed in more detail. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wlantest/bss.c')
-rw-r--r--wlantest/bss.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wlantest/bss.c b/wlantest/bss.c
index 61e2960..f021956 100644
--- a/wlantest/bss.c
+++ b/wlantest/bss.c
@@ -217,6 +217,9 @@ void bss_update(struct wlantest *wt, struct wlantest_bss *bss,
elems->wpa_ie_len + 2);
}
+ if (elems->mdie)
+ os_memcpy(bss->mdid, elems->mdie, 2);
+
if (!update)
return;