hostapd: Use separate driver operations abstraction
[libeap.git] / hostapd / beacon.h
index 5cf06ca..c1510e1 100644 (file)
 #ifndef BEACON_H
 #define BEACON_H
 
-void handle_probe_req(struct hostapd_data *hapd, struct ieee80211_mgmt *mgmt,
-                     size_t len);
-#ifdef NEED_MLME
+struct ieee80211_mgmt;
+
+void handle_probe_req(struct hostapd_data *hapd,
+                     const struct ieee80211_mgmt *mgmt, size_t len);
+#ifdef NEED_AP_MLME
 void ieee802_11_set_beacon(struct hostapd_data *hapd);
 void ieee802_11_set_beacons(struct hostapd_iface *iface);
-#else /* NEED_MLME */
+#else /* NEED_AP_MLME */
 static inline void ieee802_11_set_beacon(struct hostapd_data *hapd)
 {
 }
@@ -29,6 +31,6 @@ static inline void ieee802_11_set_beacon(struct hostapd_data *hapd)
 static inline void ieee802_11_set_beacons(struct hostapd_iface *iface)
 {
 }
-#endif /* NEED_MLME */
+#endif /* NEED_AP_MLME */
 
 #endif /* BEACON_H */