EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
Data Structures | Macros | Enumerations
ap_config.h File Reference

File containing the definition of AP config structures. More...

#include <stdbool.h>
#include <net/if.h>
#include <sys/types.h>
#include "../radius/radius_server.h"
#include "../utils/allocs.h"
#include "../utils/os.h"
Include dependency graph for ap_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  apconf
 The hostapd configuration structure. More...
 

Macros

#define AP_NAME_LEN   32 /* Maximum length of the AP name, i.e., ESSID name */
 
#define AP_SECRET_LEN    64 /* Maximum length of the AP secret, i.e., ESSID secret */
 
#define AP_DRIVE_LEN   20 /* Maximum length of the AP driver name */
 
#define AP_HWMODE_LEN
 
#define AP_WPA_KEY_MGMT_LEN
 
#define AP_RSN_PAIRWISE_LEN
 

Enumerations

enum  AP_CONNECTION_STATUS { AP_DEFAULT_STATUS = 0 , AP_CONNECTED_STATUS , AP_DISCONNECTED_STATUS }
 The AP conection status. More...
 

Detailed Description

File containing the definition of AP config structures.

Author
Alexandru Mereacre
Date
2020

Defines the access point (AP) configuration structure used to configure the AP service.

Macro Definition Documentation

◆ AP_DRIVE_LEN

#define AP_DRIVE_LEN   20 /* Maximum length of the AP driver name */

◆ AP_HWMODE_LEN

#define AP_HWMODE_LEN
Value:
4 /* Maximum size of the hostapd @c hw_mode param @see \
https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf */

◆ AP_NAME_LEN

#define AP_NAME_LEN   32 /* Maximum length of the AP name, i.e., ESSID name */

◆ AP_RSN_PAIRWISE_LEN

#define AP_RSN_PAIRWISE_LEN
Value:
20 /* Maximum size of the hostapd @c rsn_pairwise param @see \
https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf */

◆ AP_SECRET_LEN

#define AP_SECRET_LEN    64 /* Maximum length of the AP secret, i.e., ESSID secret */

◆ AP_WPA_KEY_MGMT_LEN

#define AP_WPA_KEY_MGMT_LEN
Value:
20 /* Maximum size of the hostapd @c wpa_key_mgmt param @see \
https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf */

Enumeration Type Documentation

◆ AP_CONNECTION_STATUS

The AP conection status.

Defines the connection state for a station connected to the AP.

Enumerator
AP_DEFAULT_STATUS 
AP_CONNECTED_STATUS 
AP_DISCONNECTED_STATUS