wpa_supplicant AP: Add EAPOL frame TX and RX
[mech_eap.git] / wpa_supplicant / ap.h
1 /*
2  * WPA Supplicant - Basic AP mode support routines
3  * Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
4  * Copyright (c) 2009, Atheros Communications
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  * Alternatively, this software may be distributed under the terms of BSD
11  * license.
12  *
13  * See README and COPYING for more details.
14  */
15
16 #ifndef AP_H
17 #define AP_H
18
19 int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
20                              struct wpa_ssid *ssid);
21 void wpa_supplicant_ap_deinit(struct wpa_supplicant *wpa_s);
22 void wpa_supplicant_ap_rx_eapol(struct wpa_supplicant *wpa_s,
23                                 const u8 *src_addr, const u8 *buf, size_t len);
24
25 #endif /* AP_H */