Fixed build with 802.11n disabled
[wpasupplicant] / hostapd / ieee802_1x.h
index 08d808a..5f4e60d 100644 (file)
@@ -62,7 +62,7 @@ int ieee802_1x_reconfig(struct hostapd_data *hapd,
                        struct hostapd_config *oldconf,
                        struct hostapd_bss_config *oldbss);
 int ieee802_1x_tx_status(struct hostapd_data *hapd, struct sta_info *sta,
-                        u8 *buf, size_t len, int ack);
+                        const u8 *buf, size_t len, int ack);
 u8 * ieee802_1x_get_identity(struct eapol_state_machine *sm, size_t *len);
 u8 * ieee802_1x_get_radius_class(struct eapol_state_machine *sm, size_t *len,
                                 int idx);
@@ -82,6 +82,9 @@ struct radius_class_data;
 
 void ieee802_1x_free_radius_class(struct radius_class_data *class);
 int ieee802_1x_copy_radius_class(struct radius_class_data *dst,
-                                struct radius_class_data *src);
+                                const struct radius_class_data *src);
+
+const char *radius_mode_txt(struct hostapd_data *hapd);
+int radius_sta_rate(struct hostapd_data *hapd, struct sta_info *sta);
 
 #endif /* IEEE802_1X_H */