14 #ifndef CONFIG_GENERATOR_H
15 #define CONFIG_GENERATOR_H
19 #include <sys/types.h>
21 #include "../radius/radius_server.h"
22 #include "../utils/allocs.h"
23 #include "../utils/os.h"
25 #define AP_NAME_LEN 32
26 #define AP_SECRET_LEN \
28 #define AP_DRIVE_LEN 20
29 #define AP_HWMODE_LEN \
32 #define AP_WPA_KEY_MGMT_LEN \
35 #define AP_RSN_PAIRWISE_LEN \
#define AP_NAME_LEN
Definition: ap_config.h:25
#define AP_HWMODE_LEN
Definition: ap_config.h:29
#define AP_WPA_KEY_MGMT_LEN
Definition: ap_config.h:31
#define AP_DRIVE_LEN
Definition: ap_config.h:28
#define AP_SECRET_LEN
Definition: ap_config.h:26
AP_CONNECTION_STATUS
The AP conection status.
Definition: ap_config.h:41
@ AP_DISCONNECTED_STATUS
Definition: ap_config.h:44
@ AP_CONNECTED_STATUS
Definition: ap_config.h:43
@ AP_DEFAULT_STATUS
Definition: ap_config.h:42
#define AP_RSN_PAIRWISE_LEN
Definition: ap_config.h:33
#define MAX_OS_PATH_LEN
Definition: os.h:29
The hostapd configuration structure.
Definition: ap_config.h:51
int logger_stdout
Definition: ap_config.h:113
char vlan_tagged_interface[IF_NAMESIZE]
Definition: ap_config.h:130
char wpa_key_mgmt[AP_WPA_KEY_MGMT_LEN]
Definition: ap_config.h:87
char ctrl_interface_path[MAX_OS_PATH_LEN]
Definition: ap_config.h:56
char wpa_passphrase[AP_SECRET_LEN]
Definition: ap_config.h:67
char hw_mode[AP_HWMODE_LEN]
Definition: ap_config.h:75
int ignore_broadcast_ssid
Definition: ap_config.h:123
int wmm_enabled
Definition: ap_config.h:80
int auth_algs
Definition: ap_config.h:82
char ssid[AP_NAME_LEN]
Definition: ap_config.h:64
char vlan_bridge[IF_NAMESIZE]
Definition: ap_config.h:106
int wpa_psk_radius
Definition: ap_config.h:127
char ap_file_path[MAX_OS_PATH_LEN]
Definition: ap_config.h:53
char ap_log_path[MAX_OS_PATH_LEN]
Definition: ap_config.h:55
char ctrl_interface[MAX_OS_PATH_LEN]
Definition: ap_config.h:97
char rsn_pairwise[AP_RSN_PAIRWISE_LEN]
Definition: ap_config.h:92
int logger_syslog_level
Definition: ap_config.h:120
int logger_stdout_level
Definition: ap_config.h:115
int logger_syslog
Definition: ap_config.h:118
char driver[AP_DRIVE_LEN]
Definition: ap_config.h:71
int macaddr_acl
Definition: ap_config.h:101
int channel
Definition: ap_config.h:78
int dynamic_vlan
Definition: ap_config.h:103
int wpa
Definition: ap_config.h:84
char ap_bin_path[MAX_OS_PATH_LEN]
Definition: ap_config.h:52
char device[IF_NAMESIZE]
Definition: ap_config.h:62
char interface[IF_NAMESIZE]
Definition: ap_config.h:59
char vlan_file[MAX_OS_PATH_LEN]
Definition: ap_config.h:110