aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-03-26 18:37:05 (GMT)
committerJouni Malinen <j@w1.fi>2009-03-26 18:37:05 (GMT)
commit2d5b792d2b7e8940bd860348443b1e579c14c53a (patch)
treea8f7688d3b772183bed7c93d3455eb1d8e60dbb2 /wpa_supplicant/ap.h
parent89111f3bbcf65a99d14abaf6982c24b725de8329 (diff)
downloadhostap-2d5b792d2b7e8940bd860348443b1e579c14c53a.zip
hostap-2d5b792d2b7e8940bd860348443b1e579c14c53a.tar.gz
hostap-2d5b792d2b7e8940bd860348443b1e579c14c53a.tar.bz2
Add preliminary hostapd data structure initialization for AP mode
wpa_supplicant can now initialize hostapd data structures when mode=2 is used to set up an AP. The hostapd configuration is not yet set based on wpa_supplicant network configuration block. In addition, the glue code for hostapd driver_ops needs number of functions that will be needed for AP functionality.
Diffstat (limited to 'wpa_supplicant/ap.h')
-rw-r--r--wpa_supplicant/ap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/wpa_supplicant/ap.h b/wpa_supplicant/ap.h
index 1255b60..1234954 100644
--- a/wpa_supplicant/ap.h
+++ b/wpa_supplicant/ap.h
@@ -16,7 +16,8 @@
#ifndef AP_H
#define AP_H
-void wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
- struct wpa_ssid *ssid);
+int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
+ struct wpa_ssid *ssid);
+void wpa_supplicant_ap_deinit(struct wpa_supplicant *wpa_s);
#endif /* AP_H */