wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
wpa_event_data::assoc_info Struct Reference

Data for EVENT_ASSOC and EVENT_ASSOCINFO events. More...

#include <driver.h>

Data Fields

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

Detailed Description

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.

Field Documentation

int wpa_event_data::assoc_info::authorized

The following is the key management offload information.

Parameters
authorizedkey_replay_ctr
key_replay_ctr_lenptk_kck
ptk_kek_lenptk_kek
ptk_kek_lenStatus of key management offload, 1 = successful
const u8* wpa_event_data::assoc_info::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).

const u8* wpa_event_data::assoc_info::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).

const u8* wpa_event_data::assoc_info::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: