wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
acs.h
Go to the documentation of this file.
1 
6 #ifndef ACS_H
7 #define ACS_H
8 
9 #ifdef CONFIG_ACS
10 
11 enum hostapd_chan_status acs_init(struct hostapd_iface *iface);
12 
13 #else /* CONFIG_ACS */
14 
15 static inline enum hostapd_chan_status acs_init(struct hostapd_iface *iface)
16 {
17  wpa_printf(MSG_ERROR, "ACS was disabled on your build, rebuild hostapd with CONFIG_ACS=y or set channel");
18  return HOSTAPD_CHAN_INVALID;
19 }
20 
21 #endif /* CONFIG_ACS */
22 
23 #endif /* ACS_H */
hostapd per-interface data structure
Definition: hostapd.h:291
void wpa_printf(int level, const char *fmt,...)
conditional printf
Definition: wpa_debug.c:200