hostapd - IEEE 802.11i-2004 / WPA Authenticator More...
#include "defs.h"
#include "eapol_common.h"
#include "wpa_common.h"
Go to the source code of this file.
Data Structures | |
struct | ft_rrb_frame |
struct | ft_r0kh_r1kh_pull_frame |
struct | ft_r0kh_r1kh_resp_frame |
struct | ft_r0kh_r1kh_push_frame |
struct | ft_remote_r0kh |
struct | ft_remote_r1kh |
struct | wpa_auth_config |
struct | wpa_auth_callbacks |
Defines | |
#define | RSN_REMOTE_FRAME_TYPE_FT_RRB 1 |
#define | FT_PACKET_REQUEST 0 |
#define | FT_PACKET_RESPONSE 1 |
#define | FT_PACKET_R0KH_R1KH_PULL 200 |
#define | FT_PACKET_R0KH_R1KH_RESP 201 |
#define | FT_PACKET_R0KH_R1KH_PUSH 202 |
#define | FT_R0KH_R1KH_PULL_DATA_LEN 44 |
#define | FT_R0KH_R1KH_RESP_DATA_LEN 76 |
#define | FT_R0KH_R1KH_PUSH_DATA_LEN 80 |
Enumerations | |
enum | logger_level { LOGGER_DEBUG, LOGGER_INFO, LOGGER_WARNING } |
enum | wpa_eapol_variable { WPA_EAPOL_portEnabled, WPA_EAPOL_portValid, WPA_EAPOL_authorized, WPA_EAPOL_portControl_Auto, WPA_EAPOL_keyRun, WPA_EAPOL_keyAvailable, WPA_EAPOL_keyDone, WPA_EAPOL_inc_EapolFramesTx } |
enum | { WPA_IE_OK, WPA_INVALID_IE, WPA_INVALID_GROUP, WPA_INVALID_PAIRWISE, WPA_INVALID_AKMP, WPA_NOT_ENABLED, WPA_ALLOC_FAIL, WPA_MGMT_FRAME_PROTECTION_VIOLATION, WPA_INVALID_MGMT_GROUP_CIPHER, WPA_INVALID_MDIE, WPA_INVALID_PROTO } |
enum | wpa_event { WPA_AUTH, WPA_ASSOC, WPA_DISASSOC, WPA_DEAUTH, WPA_REAUTH, WPA_REAUTH_EAPOL, WPA_ASSOC_FT } |
Functions | |
struct wpa_authenticator * | wpa_init (const u8 *addr, struct wpa_auth_config *conf, struct wpa_auth_callbacks *cb) |
Initialize WPA authenticator. | |
void | wpa_deinit (struct wpa_authenticator *wpa_auth) |
Deinitialize WPA authenticator. | |
int | wpa_reconfig (struct wpa_authenticator *wpa_auth, struct wpa_auth_config *conf) |
Update WPA authenticator configuration. | |
int | wpa_validate_wpa_ie (struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *wpa_ie, size_t wpa_ie_len, const u8 *mdie, size_t mdie_len) |
int | wpa_auth_uses_mfp (struct wpa_state_machine *sm) |
struct wpa_state_machine * | wpa_auth_sta_init (struct wpa_authenticator *wpa_auth, const u8 *addr) |
void | wpa_auth_sta_associated (struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm) |
void | wpa_auth_sta_no_wpa (struct wpa_state_machine *sm) |
void | wpa_auth_sta_deinit (struct wpa_state_machine *sm) |
void | wpa_receive (struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, u8 *data, size_t data_len) |
void | wpa_remove_ptk (struct wpa_state_machine *sm) |
void | wpa_auth_sm_event (struct wpa_state_machine *sm, wpa_event event) |
void | wpa_auth_sm_notify (struct wpa_state_machine *sm) |
void | wpa_gtk_rekey (struct wpa_authenticator *wpa_auth) |
int | wpa_get_mib (struct wpa_authenticator *wpa_auth, char *buf, size_t buflen) |
int | wpa_get_mib_sta (struct wpa_state_machine *sm, char *buf, size_t buflen) |
void | wpa_auth_countermeasures_start (struct wpa_authenticator *wpa_auth) |
int | wpa_auth_pairwise_set (struct wpa_state_machine *sm) |
int | wpa_auth_get_pairwise (struct wpa_state_machine *sm) |
int | wpa_auth_sta_key_mgmt (struct wpa_state_machine *sm) |
int | wpa_auth_sta_wpa_version (struct wpa_state_machine *sm) |
int | wpa_auth_sta_clear_pmksa (struct wpa_state_machine *sm, struct rsn_pmksa_cache_entry *entry) |
struct rsn_pmksa_cache_entry * | wpa_auth_sta_get_pmksa (struct wpa_state_machine *sm) |
void | wpa_auth_sta_local_mic_failure_report (struct wpa_state_machine *sm) |
const u8 * | wpa_auth_get_wpa_ie (struct wpa_authenticator *wpa_auth, size_t *len) |
int | wpa_auth_pmksa_add (struct wpa_state_machine *sm, const u8 *pmk, int session_timeout, struct eapol_state_machine *eapol) |
int | wpa_auth_pmksa_add_preauth (struct wpa_authenticator *wpa_auth, const u8 *pmk, size_t len, const u8 *sta_addr, int session_timeout, struct eapol_state_machine *eapol) |
int | wpa_auth_sta_set_vlan (struct wpa_state_machine *sm, int vlan_id) |
Variables | |
struct ft_rrb_frame | STRUCT_PACKED |
hostapd - IEEE 802.11i-2004 / WPA Authenticator
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Alternatively, this software may be distributed under the terms of BSD license.
See README and COPYING for more details.
Definition in file wpa.h.
void wpa_deinit | ( | struct wpa_authenticator * | wpa_auth | ) |
Deinitialize WPA authenticator.
wpa_auth | Pointer to WPA authenticator data from wpa_init() |
Definition at line 425 of file wpa.c.
struct wpa_authenticator* wpa_init | ( | const u8 * | addr, | |
struct wpa_auth_config * | conf, | |||
struct wpa_auth_callbacks * | cb | |||
) | [read] |
int wpa_reconfig | ( | struct wpa_authenticator * | wpa_auth, | |
struct wpa_auth_config * | conf | |||
) |
Update WPA authenticator configuration.
wpa_auth | Pointer to WPA authenticator data from wpa_init() | |
conf | Configuration for WPA authenticator |
Definition at line 463 of file wpa.c.