Public Attributes
wpa_driver_associate_params Struct Reference

#include <driver.h>

List of all members.

Public Attributes

int auth_alg
const u8 * bssid
int drop_unencrypted
int freq
const u8 * ft_ies
size_t ft_ies_len
const u8 * ft_md
enum wpa_cipher group_suite
enum wpa_key_mgmt key_mgmt_suite
enum mfp_options mgmt_frame_protection
int mode
enum wpa_cipher pairwise_suite
const char * passphrase
const u8 * prev_bssid
const u8 * psk
const u8 * ssid
size_t ssid_len
const u8 * wep_key [4]
size_t wep_key_len [4]
int wep_tx_keyidx
const u8 * wpa_ie
size_t wpa_ie_len

Detailed Description

struct wpa_driver_associate_params - Association parameters Data for struct wpa_driver_ops::associate().

Definition at line 290 of file driver.h.


Member Data Documentation

auth_alg - Allowed authentication algorithms Bit field of WPA_AUTH_ALG_*

Definition at line 364 of file driver.h.

bssid - BSSID of the selected AP This can be NULL, if ap_scan=2 mode is used and the driver is responsible for selecting with which BSS to associate.

Definition at line 295 of file driver.h.

drop_unencrypted - Enable/disable unencrypted frame filtering

Configure the driver to drop all non-EAPOL frames (both receive and transmit paths). Unencrypted EAPOL frames (ethertype 0x888e) must still be allowed for key negotiation.

Definition at line 456 of file driver.h.

freq - Frequency of the channel the selected AP is using Frequency that the selected AP is using (in MHz as reported in the scan results)

Definition at line 312 of file driver.h.

ft_ies - IEEE 802.11r / FT information elements If the supplicant is using IEEE 802.11r (FT) and has the needed keys for fast transition, this parameter is set to include the IEs that are to be sent in the next FT Authentication Request message. update_ft_ies() handler is called to update the IEs for further FT messages in the sequence.

The driver should use these IEs only if the target AP is advertising the same mobility domain as the one included in the MDIE here.

In ap_scan=2 mode, the driver can use these IEs when moving to a new AP after the initial association. These IEs can only be used if the target AP is advertising support for FT and is using the same MDIE and SSID as the current AP.

The driver is responsible for reporting the FT IEs received from the AP's response using wpa_supplicant_event() with EVENT_FT_RESPONSE type. update_ft_ies() handler will then be called with the FT IEs to include in the next frame in the authentication sequence.

Definition at line 412 of file driver.h.

ft_ies_len - Length of ft_ies in bytes

Definition at line 417 of file driver.h.

ft_md - FT Mobility domain (6 octets) (also included inside ft_ies)

This value is provided to allow the driver interface easier access to the current mobility domain. This value is set to NULL if no mobility domain is currently active.

Definition at line 426 of file driver.h.

group_suite - Selected group cipher suite

This is usually ignored if is used.

Definition at line 351 of file driver.h.

key_mgmt_suite - Selected key management suite

This is usually ignored if is used.

Definition at line 358 of file driver.h.

mgmt_frame_protection - IEEE 802.11w management frame protection

Definition at line 389 of file driver.h.

mode - Operation mode (infra/ibss) IEEE80211_MODE_*

Definition at line 369 of file driver.h.

pairwise_suite - Selected pairwise cipher suite

This is usually ignored if is used.

Definition at line 344 of file driver.h.

passphrase - RSN passphrase for PSK

This value is made available only for WPA/WPA2-Personal (PSK) and only for drivers that set WPA_DRIVER_FLAGS_4WAY_HANDSHAKE. This is the 8..63 character ASCII passphrase, if available. Please note that this can be NULL if passphrase was not used to generate the PSK. In that case, the psk field must be used to fetch the PSK.

Definition at line 437 of file driver.h.

prev_bssid - Previously used BSSID in this ESS

When not NULL, this is a request to use reassociation instead of association.

Definition at line 464 of file driver.h.

psk - RSN PSK (alternative for passphrase for PSK)

This value is made available only for WPA/WPA2-Personal (PSK) and only for drivers that set WPA_DRIVER_FLAGS_4WAY_HANDSHAKE. This is the 32-octet (256-bit) PSK, if available. The driver wrapper should be prepared to handle NULL value as an error.

Definition at line 447 of file driver.h.

ssid - The selected SSID

Definition at line 300 of file driver.h.

ssid_len - Length of the SSID (1..32)

Definition at line 305 of file driver.h.

wep_key - WEP keys for static WEP configuration

Definition at line 374 of file driver.h.

wep_key_len - WEP key length for static WEP configuration

Definition at line 379 of file driver.h.

wep_tx_keyidx - WEP TX key index for static WEP configuration

Definition at line 384 of file driver.h.

wpa_ie - WPA information element for (Re)Association Request WPA information element to be included in (Re)Association Request (including information element id and length). Use of this WPA IE is optional. If the driver generates the WPA IE, it can use pairwise_suite, group_suite, and key_mgmt_suite to select proper algorithms. In this case, the driver has to notify wpa_supplicant about the used WPA IE by generating an event that the interface code will convert into EVENT_ASSOCINFO data (see below).

When using WPA2/IEEE 802.11i, wpa_ie is used for RSN IE instead. The driver can determine which version is used by looking at the first byte of the IE (0xdd for WPA, 0x30 for WPA2/RSN).

When using WPS, wpa_ie is used for WPS IE instead of WPA/RSN IE.

Definition at line 332 of file driver.h.

wpa_ie_len - length of the wpa_ie

Definition at line 337 of file driver.h.


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


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:33:26