aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-04-20 13:27:45 (GMT)
committerJouni Malinen <j@w1.fi>2009-04-20 13:27:45 (GMT)
commitdb149ac9492c7da0db7e172cf777a4385712c278 (patch)
tree8d70f2fee6d5b112063ddee120538a86b6c842f5 /wpa_supplicant/driver_i.h
parent07d9a55297a49b7e001452d20982105bf2da55d8 (diff)
downloadhostap-db149ac9492c7da0db7e172cf777a4385712c278.zip
hostap-db149ac9492c7da0db7e172cf777a4385712c278.tar.gz
hostap-db149ac9492c7da0db7e172cf777a4385712c278.tar.bz2
wpa_supplicant AP: Add EAPOL frame TX and RX
This allows WPA-Personal 4-way handshake to be completed successfully.
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 0c10b0f..45107f7 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -415,4 +415,16 @@ static inline int wpa_drv_sta_remove(struct wpa_supplicant *wpa_s,
return -1;
}
+static inline int wpa_drv_hapd_send_eapol(struct wpa_supplicant *wpa_s,
+ const u8 *addr, const u8 *data,
+ size_t data_len, int encrypt,
+ const u8 *own_addr)
+{
+ if (wpa_s->driver->hapd_send_eapol)
+ return wpa_s->driver->hapd_send_eapol(wpa_s->drv_priv, addr,
+ data, data_len, encrypt,
+ own_addr);
+ return -1;
+}
+
#endif /* DRIVER_I_H */