iPXE
Data Fields
ieee80211_ie_rsn Struct Reference

802.11 Robust Security Network ("WPA") information element More...

#include <ieee80211.h>

Data Fields

u8 id
 Information element ID.
u8 len
 Information element length.
u16 version
 RSN information element version.
u32 group_cipher
 Cipher ID for the cipher used in multicast/broadcast frames.
u16 pairwise_count
 Number of unicast ciphers supported.
u32 pairwise_cipher [1]
 List of cipher IDs for supported unicast frame ciphers.
u16 akm_count
 Number of authentication types supported.
u32 akm_list [1]
 List of authentication type IDs for supported types.
u16 rsn_capab
 Security capabilities field (RSN only)
u16 pmkid_count
 Number of PMKIDs included (present only in association frames)
u8 pmkid_list [0]
 List of PMKIDs included, each a 16-byte SHA1 hash.

Detailed Description

802.11 Robust Security Network ("WPA") information element

Showing once again a striking clarity of design, the IEEE folks put dynamically-sized data in the middle of this structure. As such, the below structure definition only works for IEs we create ourselves, which always have one pairwise cipher and one AKM; received IEs should be parsed piecemeal.

Also inspired was IEEE's choice of 16-bit fields to count the number of 4-byte elements in a structure with a maximum length of 255 bytes.

Many fields reference a cipher or authentication-type ID; this is a three-byte OUI followed by one byte identifying the cipher with respect to that OUI. For all standard ciphers the OUI is 00:0F:AC, except in old-style WPA IEs encapsulated in vendor-specific IEs, where it's 00:50:F2.

Definition at line 798 of file ieee80211.h.


Field Documentation

Information element ID.

Definition at line 800 of file ieee80211.h.

Information element length.

Definition at line 803 of file ieee80211.h.

RSN information element version.

Definition at line 806 of file ieee80211.h.

Referenced by wpa_make_rsn_ie().

Cipher ID for the cipher used in multicast/broadcast frames.

Definition at line 809 of file ieee80211.h.

Referenced by wpa_make_rsn_ie().

Number of unicast ciphers supported.

Definition at line 812 of file ieee80211.h.

Referenced by wpa_make_rsn_ie().

List of cipher IDs for supported unicast frame ciphers.

Definition at line 815 of file ieee80211.h.

Referenced by wpa_make_rsn_ie().

Number of authentication types supported.

Definition at line 818 of file ieee80211.h.

Referenced by wpa_make_rsn_ie().

List of authentication type IDs for supported types.

Definition at line 821 of file ieee80211.h.

Referenced by wpa_make_rsn_ie().

Security capabilities field (RSN only)

Definition at line 824 of file ieee80211.h.

Referenced by wpa_make_rsn_ie().

Number of PMKIDs included (present only in association frames)

Definition at line 827 of file ieee80211.h.

Referenced by wpa_make_rsn_ie().

List of PMKIDs included, each a 16-byte SHA1 hash.

Definition at line 830 of file ieee80211.h.


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