]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Include driver.h in hostapd.h
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Sun, 15 Dec 2013 08:47:40 +0000 (10:47 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 24 Dec 2013 06:22:37 +0000 (08:22 +0200)
This allows use of structs (and not only pointers) defined in drivers.h.
Remove also some not needed forward declarations and redundant includes.

Signed-hostap: Andrei Otcheretianski <andrei.otcheretianski@intel.com>

12 files changed:
src/ap/accounting.c
src/ap/ap_drv_ops.c
src/ap/ap_list.c
src/ap/beacon.c
src/ap/hostapd.c
src/ap/hostapd.h
src/ap/hw_features.c
src/ap/ieee802_11.c
src/ap/ieee802_11_ht.c
src/ap/ieee802_11_vht.c
src/ap/sta_info.c
src/ap/wpa_auth_glue.c

index 96bfce33ad0f7197ce437467d6262f2a6f74a65c..6290d3f397301552a6b87b4349b1a7db65f6fbd0 100644 (file)
@@ -10,7 +10,6 @@
 
 #include "utils/common.h"
 #include "utils/eloop.h"
-#include "drivers/driver.h"
 #include "radius/radius.h"
 #include "radius/radius_client.h"
 #include "hostapd.h"
index 09b5f68b1667b20b8c8a8221e6b64e946589bb5e..bd5d8b2f6dafe95c8a0ad505b01f59ae9ffd6af3 100644 (file)
@@ -9,7 +9,6 @@
 #include "utils/includes.h"
 
 #include "utils/common.h"
-#include "drivers/driver.h"
 #include "common/ieee802_11_defs.h"
 #include "wps/wps.h"
 #include "p2p/p2p.h"
index 0dab39fa02be74db1e269618c578cb094f5634e4..f9b154012abb974222e128431bf5b9607e606924 100644 (file)
@@ -14,7 +14,6 @@
 #include "utils/eloop.h"
 #include "common/ieee802_11_defs.h"
 #include "common/ieee802_11_common.h"
-#include "drivers/driver.h"
 #include "hostapd.h"
 #include "ap_config.h"
 #include "ieee802_11.h"
index 0e0dae467b306a4e679281920930836c8b4706b6..cdee579a44aa55d6fd13c51728fcd8fbf30d2671 100644 (file)
@@ -21,7 +21,6 @@
 #include "utils/common.h"
 #include "common/ieee802_11_defs.h"
 #include "common/ieee802_11_common.h"
-#include "drivers/driver.h"
 #include "wps/wps_defs.h"
 #include "p2p/p2p.h"
 #include "hostapd.h"
index a436c2aec0f2ebe48757a44e610aa1eb4a13611f..4c5937203c887a1152818b48ce2057dda1aee480 100644 (file)
@@ -14,7 +14,6 @@
 #include "common/wpa_ctrl.h"
 #include "radius/radius_client.h"
 #include "radius/radius_das.h"
-#include "drivers/driver.h"
 #include "hostapd.h"
 #include "authsrv.h"
 #include "sta_info.h"
index 6f786a8f66dd505d52e46c32baf86f9a4eea8976..88b56e39c95c2c25ea663a991e0ae6c23cbbce0e 100644 (file)
 
 #include "common/defs.h"
 #include "ap_config.h"
+#include "drivers/driver.h"
 
-struct wpa_driver_ops;
 struct wpa_ctrl_dst;
 struct radius_server_data;
 struct upnp_wps_device_sm;
 struct hostapd_data;
 struct sta_info;
-struct hostap_sta_driver_data;
 struct ieee80211_ht_capabilities;
 struct full_dynamic_vlan;
 enum wps_event;
@@ -27,8 +26,6 @@ union wps_event_data;
 struct hostapd_iface;
 struct hostapd_dynamic_iface;
 
-struct csa_settings;
-
 struct hapd_interfaces {
        int (*reload_config)(struct hostapd_iface *iface);
        struct hostapd_config * (*config_read_cb)(const char *config_fname);
index e95e0e1af51992373ef0752f446c12ab80d5f66d..735ba432a62aafbf903ce71b153e8a0eaf910e31 100644 (file)
@@ -21,7 +21,6 @@
 #include "common/ieee802_11_defs.h"
 #include "common/ieee802_11_common.h"
 #include "common/wpa_ctrl.h"
-#include "drivers/driver.h"
 #include "hostapd.h"
 #include "ap_config.h"
 #include "ap_drv_ops.h"
index e55f843c6807c45c5194470f2f3506973b99f36e..6f013fb18048a1f7afe5a33555650cc0b3035bd4 100644 (file)
@@ -15,7 +15,6 @@
 #include "crypto/crypto.h"
 #include "crypto/sha256.h"
 #include "crypto/random.h"
-#include "drivers/driver.h"
 #include "common/ieee802_11_defs.h"
 #include "common/ieee802_11_common.h"
 #include "common/wpa_ctrl.h"
index 2d53648c687bbe9f9f2cc5f51c0e6d481a1a0b4e..854cbab5998a0425b130817c32fb5c885d0a08a2 100644 (file)
@@ -17,7 +17,6 @@
 
 #include "utils/common.h"
 #include "common/ieee802_11_defs.h"
-#include "drivers/driver.h"
 #include "hostapd.h"
 #include "ap_config.h"
 #include "sta_info.h"
index 60e6b5724f49fa6e0c29280a3569052114c85fe8..f2ab182db3949db193595d9fa43de982bfcd2ef8 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "utils/common.h"
 #include "common/ieee802_11_defs.h"
-#include "drivers/driver.h"
 #include "hostapd.h"
 #include "ap_config.h"
 #include "sta_info.h"
index d1d8657199b9dd052d5bae3623bf940223e34395..c4a0a8697b2c22aa001d8e50db2066635a455d62 100644 (file)
@@ -15,7 +15,6 @@
 #include "common/sae.h"
 #include "radius/radius.h"
 #include "radius/radius_client.h"
-#include "drivers/driver.h"
 #include "p2p/p2p.h"
 #include "hostapd.h"
 #include "accounting.h"
index cbaab9f0934004ce14becd21a960ec3184eb1d7c..4c1d6257620456528921290e3c77c6172bbfbc78 100644 (file)
@@ -15,7 +15,6 @@
 #include "eapol_auth/eapol_auth_sm_i.h"
 #include "eap_server/eap.h"
 #include "l2_packet/l2_packet.h"
-#include "drivers/driver.h"
 #include "hostapd.h"
 #include "ieee802_1x.h"
 #include "preauth_auth.h"