aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_glue.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-02-21 10:18:58 (GMT)
committerJouni Malinen <j@w1.fi>2017-02-21 10:18:58 (GMT)
commit7eace3787c0659bda640a4a7ea4ca6fe4b5c4e8f (patch)
treecc30ee67f25938fd206656dee251e6a3cd660b5b /src/ap/wpa_auth_glue.c
parent128f6a98b3d4d6ed103db759707309f451db9682 (diff)
downloadhostap-7eace3787c0659bda640a4a7ea4ca6fe4b5c4e8f.zip
hostap-7eace3787c0659bda640a4a7ea4ca6fe4b5c4e8f.tar.gz
hostap-7eace3787c0659bda640a4a7ea4ca6fe4b5c4e8f.tar.bz2
FILS: Find PMKSA cache entries on AP based on FILS Cache Identifier
This allows PMKSA cache entries to be shared between all the BSSs operated by the same hostapd process when those BSSs use the same FILS Cache Identifier value. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/wpa_auth_glue.c')
-rw-r--r--src/ap/wpa_auth_glue.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ap/wpa_auth_glue.c b/src/ap/wpa_auth_glue.c
index 394f77a..969ede2 100644
--- a/src/ap/wpa_auth_glue.c
+++ b/src/ap/wpa_auth_glue.c
@@ -110,6 +110,11 @@ static void hostapd_wpa_auth_conf(struct hostapd_bss_config *conf,
os_memcpy(wconf->ip_addr_start, conf->ip_addr_start, 4);
os_memcpy(wconf->ip_addr_end, conf->ip_addr_end, 4);
#endif /* CONFIG_P2P */
+#ifdef CONFIG_FILS
+ wconf->fils_cache_id_set = conf->fils_cache_id_set;
+ os_memcpy(wconf->fils_cache_id, conf->fils_cache_id,
+ FILS_CACHE_ID_LEN);
+#endif /* CONFIG_FILS */
}