hostapd
Public Attributes | List of all members
wpa_event_data::assoc_info Struct Reference

struct assoc_info - Data for EVENT_ASSOC and EVENT_ASSOCINFO events More...

#include <driver.h>

Public Attributes

int reassoc
 reassoc - Flag to indicate association or reassociation
 
const u8 * req_ies
 req_ies - (Re)Association Request IEs More...
 
size_t req_ies_len
 req_ies_len - Length of req_ies in bytes
 
const u8 * resp_ies
 resp_ies - (Re)Association Response IEs More...
 
size_t resp_ies_len
 resp_ies_len - Length of resp_ies in bytes
 
const u8 * resp_frame
 resp_frame - (Re)Association Response frame
 
size_t resp_frame_len
 resp_frame_len - (Re)Association Response frame length
 
const u8 * beacon_ies
 beacon_ies - Beacon or Probe Response IEs More...
 
size_t beacon_ies_len
 beacon_ies_len - Length of beacon_ies
 
unsigned int freq
 freq - Frequency of the operational channel in MHz
 
struct wmm_params wmm_params
 wmm_params - WMM parameters used in this association.
 
const u8 * addr
 addr - Station address (for AP mode)
 
int authorized
 The following is the key management offload information . More...
 
const u8 * key_replay_ctr
 key_replay_ctr - Key replay counter value last used in a valid EAPOL-Key frame
 
size_t key_replay_ctr_len
 key_replay_ctr_len - The length of key_replay_ctr
 
const u8 * ptk_kck
 ptk_kck - The derived PTK KCK
 
size_t ptk_kck_len
 ptk_kek_len - The length of ptk_kck
 
const u8 * ptk_kek
 ptk_kek - The derived PTK KEK
 
size_t ptk_kek_len
 ptk_kek_len - The length of ptk_kek
 
u8 subnet_status
 subnet_status - The subnet status: 0 = unknown, 1 = unchanged, 2 = changed
 

Detailed Description

struct assoc_info - Data for EVENT_ASSOC and EVENT_ASSOCINFO events

This structure is optional for EVENT_ASSOC calls and required for EVENT_ASSOCINFO calls. By using EVENT_ASSOC with this data, the driver interface does not need to generate separate EVENT_ASSOCINFO calls.

Member Data Documentation

§ authorized

int wpa_event_data::assoc_info::authorized

The following is the key management offload information .

authorized - Status of key management offload, 1 = successful

§ beacon_ies

const u8* wpa_event_data::assoc_info::beacon_ies

beacon_ies - Beacon or Probe Response IEs

Optional Beacon/ProbeResp data: IEs included in Beacon or Probe Response frames from the current AP (i.e., the one that the client just associated with). This information is used to update WPA/RSN IE for the AP. If this field is not set, the results from previous scan will be used. If no data for the new AP is found, scan results will be requested again (without scan request). At this point, the driver is expected to provide WPA/RSN IE for the AP (if WPA/WPA2 is used).

This should start with the first IE (fixed fields before IEs are not included).

§ req_ies

const u8* wpa_event_data::assoc_info::req_ies

req_ies - (Re)Association Request IEs

If the driver generates WPA/RSN IE, this event data must be returned for WPA handshake to have needed information. If wpa_supplicant-generated WPA/RSN IE is used, this information event is optional.

This should start with the first IE (fixed fields before IEs are not included).

§ resp_ies

const u8* wpa_event_data::assoc_info::resp_ies

resp_ies - (Re)Association Response IEs

Optional association data from the driver. This data is not required WPA, but may be useful for some protocols and as such, should be reported if this is available to the driver interface.

This should start with the first IE (fixed fields before IEs are not included).


The documentation for this struct was generated from the following file: