iPXE
Data Fields
wpa_kde Struct Reference

Any key descriptor element type. More...

#include <wpa.h>

Data Fields

u8 ie_type
 Information element type: always 0xDD (IEEE80211_IE_VENDOR)
u8 len
 Length, not including ie_type and length fields.
u32 oui_type
 OUI + type byte.
union {
   struct wpa_kde_gtk_encap   gtk_encap
 For GTK-type KDEs, encapsulated GTK.
   u8   mac [ETH_ALEN]
 For MAC-type KDEs, the MAC address.
   u8   pmkid [WPA_PMKID_LEN]
 For PMKID-type KDEs, the PMKID.
   u8   nonce [WPA_NONCE_LEN]
 For Nonce-type KDEs, the nonce.
   u32   lifetime
 For Lifetime-type KDEs, the lifetime in seconds.
__attribute__
 Payload data.

Detailed Description

Any key descriptor element type.

KDEs follow the 802.11 information element format of a type byte (in this case "vendor-specific", with the requisite OUI+subtype after length) and a length byte whose value does not include the length of the type and length bytes.

Definition at line 464 of file wpa.h.


Field Documentation

Information element type: always 0xDD (IEEE80211_IE_VENDOR)

Definition at line 467 of file wpa.h.

Length, not including ie_type and length fields.

Definition at line 470 of file wpa.h.

Referenced by wpa_maybe_install_gtk().

OUI + type byte.

Definition at line 473 of file wpa.h.

For GTK-type KDEs, encapsulated GTK.

Definition at line 478 of file wpa.h.

Referenced by wpa_maybe_install_gtk().

For MAC-type KDEs, the MAC address.

Definition at line 481 of file wpa.h.

For PMKID-type KDEs, the PMKID.

Definition at line 484 of file wpa.h.

For Nonce-type KDEs, the nonce.

Definition at line 487 of file wpa.h.

For Lifetime-type KDEs, the lifetime in seconds.

This is in network byte order!

Definition at line 493 of file wpa.h.

union { ... } wpa_kde::__attribute__

Payload data.


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