wpa_supplicant / hostapd 2.0
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
size_t req_ies_len
 Length of req_ies in bytes.
const u8 * resp_ies
 (Re)Association Response IEs
size_t resp_ies_len
 Length of resp_ies in bytes.
const u8 * beacon_ies
 Beacon or Probe Response IEs.
size_t beacon_ies_len
 Length of beacon_ies.
unsigned int freq
 Frequency of the operational channel in MHz.
const u8 * addr
 Station address (for AP mode)

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

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).

(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).

(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:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines