aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/preauth_test.c
diff options
context:
space:
mode:
authorVidyullatha Kanchanapally <vkanchan@qti.qualcomm.com>2017-03-30 13:57:15 (GMT)
committerJouni Malinen <j@w1.fi>2017-04-07 15:46:13 (GMT)
commit42e69bda2aa0752a3a18714728d0d06bb20ad152 (patch)
treee3ceb61a9a1d9f3f5cbe08374153302d755bf16c /wpa_supplicant/preauth_test.c
parent061a3d3d5300cd7b62a9a0431e3dda9758d5a8bc (diff)
downloadhostap-42e69bda2aa0752a3a18714728d0d06bb20ad152.zip
hostap-42e69bda2aa0752a3a18714728d0d06bb20ad152.tar.gz
hostap-42e69bda2aa0752a3a18714728d0d06bb20ad152.tar.bz2
FILS: Add support for Cache Identifier in add/remove PMKSA
Add support for setting and deleting PMKSA cache entries based on FILS Cache Identifer. Also additionally add support for sending PMK as part of SET_PMKSA to enable driver to derive keys in case of FILS shared key offload using PMKSA caching. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/preauth_test.c')
-rw-r--r--wpa_supplicant/preauth_test.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wpa_supplicant/preauth_test.c b/wpa_supplicant/preauth_test.c
index 9cb2d92..a213a30 100644
--- a/wpa_supplicant/preauth_test.c
+++ b/wpa_supplicant/preauth_test.c
@@ -144,7 +144,9 @@ static int wpa_supplicant_mlme_setprotection(void *wpa_s, const u8 *addr,
static int wpa_supplicant_add_pmkid(void *wpa_s, void *network_ctx,
- const u8 *bssid, const u8 *pmkid)
+ const u8 *bssid, const u8 *pmkid,
+ const u8 *fils_cache_id,
+ const u8 *pmk, size_t pmk_len)
{
printf("%s - not implemented\n", __func__);
return -1;
@@ -152,7 +154,8 @@ static int wpa_supplicant_add_pmkid(void *wpa_s, void *network_ctx,
static int wpa_supplicant_remove_pmkid(void *wpa_s, void *network_ctx,
- const u8 *bssid, const u8 *pmkid)
+ const u8 *bssid, const u8 *pmkid,
+ const u8 *fils_cache_id)
{
printf("%s - not implemented\n", __func__);
return -1;