aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorSunil Dutt <usdutt@codeaurora.org>2018-02-01 11:31:28 (GMT)
committerJouni Malinen <j@w1.fi>2018-02-02 19:17:55 (GMT)
commit5ff39c1380d9dea794c5102c0b6d11d1b1e23ad0 (patch)
tree67f50c523b3f9e0290a4929194f89e02d46a9db7 /wpa_supplicant/driver_i.h
parent3382224082835170e0bc8adc30e851487fd102e6 (diff)
downloadhostap-5ff39c1380d9dea794c5102c0b6d11d1b1e23ad0.zip
hostap-5ff39c1380d9dea794c5102c0b6d11d1b1e23ad0.tar.gz
hostap-5ff39c1380d9dea794c5102c0b6d11d1b1e23ad0.tar.bz2
SAE: Support external authentication offload for driver-SME cases
Extend the SME functionality to support the external authentication. External authentication may be used by the drivers that do not define separate commands for authentication and association (~WPA_DRIVER_FLAGS_SME) but rely on wpa_supplicant's SME for the authentication. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 81b4b55..078de23 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -1036,4 +1036,14 @@ static inline int wpa_drv_update_connect_params(
mask);
}
+static inline int
+wpa_drv_send_external_auth_status(struct wpa_supplicant *wpa_s,
+ struct external_auth *params)
+{
+ if (!wpa_s->driver->send_external_auth_status)
+ return -1;
+ return wpa_s->driver->send_external_auth_status(wpa_s->drv_priv,
+ params);
+}
+
#endif /* DRIVER_I_H */