1 #ifndef __HOSTAPD_AP_UCODE_H
2 #define __HOSTAPD_AP_UCODE_H
4 #include "utils/ucode.h"
8 struct hostapd_ucode_bss
{
14 struct hostapd_ucode_iface
{
22 int hostapd_ucode_init(struct hapd_interfaces
*ifaces
);
24 void hostapd_ucode_free(void);
25 void hostapd_ucode_free_iface(struct hostapd_iface
*iface
);
26 void hostapd_ucode_add_bss(struct hostapd_data
*hapd
);
27 void hostapd_ucode_free_bss(struct hostapd_data
*hapd
);
28 void hostapd_ucode_reload_bss(struct hostapd_data
*hapd
);
29 int hostapd_ucode_afc_request(struct hostapd_iface
*iface
, const char *request
,
30 char *buf
, size_t len
);
34 static inline int hostapd_ucode_init(struct hapd_interfaces
*ifaces
)
38 static inline void hostapd_ucode_free(void)
41 static inline void hostapd_ucode_free_iface(struct hostapd_iface
*iface
)
44 static inline void hostapd_ucode_reload_bss(struct hostapd_data
*hapd
)
47 static inline void hostapd_ucode_add_bss(struct hostapd_data
*hapd
)
50 static inline void hostapd_ucode_free_bss(struct hostapd_data
*hapd
)