#include "common/defs.h"
#include "ip_addr.h"
#include "common/wpa_common.h"
Go to the source code of this file.
#define DYNAMIC_VLAN_DISABLED 0 |
Definition at line 69 of file ap_config.h.
#define DYNAMIC_VLAN_OPTIONAL 1 |
Definition at line 70 of file ap_config.h.
#define DYNAMIC_VLAN_REQUIRED 2 |
Definition at line 71 of file ap_config.h.
#define EAP_USER_MAX_METHODS 8 |
Definition at line 106 of file ap_config.h.
#define HOSTAPD_MAX_SSID_LEN 32 |
Definition at line 36 of file ap_config.h.
#define MAX_STA_COUNT 2007 |
Definition at line 22 of file ap_config.h.
#define MAX_VLAN_ID 4094 |
Definition at line 23 of file ap_config.h.
#define NUM_TX_QUEUES 8 |
Definition at line 126 of file ap_config.h.
#define NUM_WEP_KEYS 4 |
Definition at line 38 of file ap_config.h.
#define PMK_LEN 32 |
Definition at line 98 of file ap_config.h.
#define VLAN_ID_WILDCARD -1 |
Definition at line 81 of file ap_config.h.
Definition at line 25 of file ap_config.h.
typedef enum hostap_security_policy secpolicy |
SECURITY_PLAINTEXT | |
SECURITY_STATIC_WEP | |
SECURITY_IEEE_802_1X | |
SECURITY_WPA_PSK | |
SECURITY_WPA |
Definition at line 47 of file ap_config.h.
struct hostapd_config* hostapd_config_defaults | ( | void | ) | [read] |
Definition at line 90 of file ap_config.c.
void hostapd_config_defaults_bss | ( | struct hostapd_bss_config * | bss | ) |
Definition at line 45 of file ap_config.c.
void hostapd_config_free | ( | struct hostapd_config * | conf | ) |
hostapd_config_free - Free hostapd configuration : Configuration data from hostapd_config_read().
Definition at line 454 of file ap_config.c.
struct hostapd_eap_user* hostapd_get_eap_user | ( | const struct hostapd_bss_config * | conf, | |
const u8 * | identity, | |||
size_t | identity_len, | |||
int | phase2 | |||
) | [read] |
Definition at line 554 of file ap_config.c.
const u8* hostapd_get_psk | ( | const struct hostapd_bss_config * | conf, | |
const u8 * | addr, | |||
const u8 * | prev_psk | |||
) |
Definition at line 534 of file ap_config.c.
const char* hostapd_get_vlan_id_ifname | ( | struct hostapd_vlan * | vlan, | |
int | vlan_id | |||
) |
Definition at line 522 of file ap_config.c.
int hostapd_mac_comp | ( | const void * | a, | |
const void * | b | |||
) |
Definition at line 146 of file ap_config.c.
int hostapd_mac_comp_empty | ( | const void * | a | ) |
Definition at line 152 of file ap_config.c.
int hostapd_maclist_found | ( | struct mac_acl_entry * | list, | |
int | num_entries, | |||
const u8 * | addr, | |||
int * | vlan_id | |||
) |
hostapd_maclist_found - Find a MAC address from a list : MAC address list : Number of addresses in the list : Address to search for : Buffer for returning VLAN ID or NULL if not needed Returns: 1 if address is in the list or 0 if not.
Perform a binary search for given MAC address from a pre-sorted list.
Definition at line 481 of file ap_config.c.
int hostapd_rate_found | ( | int * | list, | |
int | rate | |||
) |
Definition at line 507 of file ap_config.c.
int hostapd_setup_wpa_psk | ( | struct hostapd_bss_config * | conf | ) |
Definition at line 269 of file ap_config.c.
int hostapd_wep_key_cmp | ( | struct hostapd_wep_keys * | a, | |
struct hostapd_wep_keys * | b | |||
) |
Definition at line 296 of file ap_config.c.