wpa_supplicant / hostapd
2.5
|
hostapd / IEEE 802.11 authentication (ACL) More...
Go to the source code of this file.
Enumerations | |
enum | { HOSTAPD_ACL_REJECT = 0, HOSTAPD_ACL_ACCEPT = 1, HOSTAPD_ACL_PENDING = 2, HOSTAPD_ACL_ACCEPT_TIMEOUT = 3 } |
Functions | |
int | hostapd_allowed_address (struct hostapd_data *hapd, const u8 *addr, const u8 *msg, size_t len, u32 *session_timeout, u32 *acct_interim_interval, int *vlan_id, struct hostapd_sta_wpa_psk_short **psk, char **identity, char **radius_cui) |
Check whether a specified STA can be authenticated. More... | |
int | hostapd_acl_init (struct hostapd_data *hapd) |
hostapd_acl_init: Initialize IEEE 802.11 ACL More... | |
void | hostapd_acl_deinit (struct hostapd_data *hapd) |
Deinitialize IEEE 802.11 ACL. More... | |
void | hostapd_free_psk_list (struct hostapd_sta_wpa_psk_short *psk) |
void | hostapd_acl_expire (struct hostapd_data *hapd) |
ACL cache expiration callback. More... | |
hostapd / IEEE 802.11 authentication (ACL)
void hostapd_acl_deinit | ( | struct hostapd_data * | hapd | ) |
Deinitialize IEEE 802.11 ACL.
hapd | hostapd BSS data |
void hostapd_acl_expire | ( | struct hostapd_data * | hapd | ) |
ACL cache expiration callback.
hapd | struct hostapd_data * |
int hostapd_acl_init | ( | struct hostapd_data * | hapd | ) |
hostapd_acl_init: Initialize IEEE 802.11 ACL
hapd | hostapd BSS data |
int hostapd_allowed_address | ( | struct hostapd_data * | hapd, |
const u8 * | addr, | ||
const u8 * | msg, | ||
size_t | len, | ||
u32 * | session_timeout, | ||
u32 * | acct_interim_interval, | ||
int * | vlan_id, | ||
struct hostapd_sta_wpa_psk_short ** | psk, | ||
char ** | identity, | ||
char ** | radius_cui | ||
) |
Check whether a specified STA can be authenticated.
hapd | hostapd BSS data |
addr | MAC address of the STA |
msg | Authentication message |
len | Length of msg in octets |
session_timeout | Buffer for returning session timeout (from RADIUS) |
acct_interim_interval | Buffer for returning account interval (from RADIUS) |
vlan_id | Buffer for returning VLAN ID |
psk | Linked list buffer for returning WPA PSK |
identity | Buffer for returning identity (from RADIUS) |
radius_cui | Buffer for returning CUI (from RADIUS) |
The caller is responsible for freeing the returned *identity and *radius_cui values with os_free().