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) More...
 
u8 len
 Length, not including ie_type and length fields. More...
 
u32 oui_type
 OUI + type byte. More...
 
union {
   struct wpa_kde_gtk_encap   gtk_encap
 For GTK-type KDEs, encapsulated GTK. More...
 
   u8   mac [ETH_ALEN]
 For MAC-type KDEs, the MAC address. More...
 
   u8   pmkid [WPA_PMKID_LEN]
 For PMKID-type KDEs, the PMKID. More...
 
   u8   nonce [WPA_NONCE_LEN]
 For Nonce-type KDEs, the nonce. More...
 
   u32   lifetime
 For Lifetime-type KDEs, the lifetime in seconds. More...
 
__attribute__
 Payload data. More...
 

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

◆ ie_type

u8 wpa_kde::ie_type

Information element type: always 0xDD (IEEE80211_IE_VENDOR)

Definition at line 467 of file wpa.h.

◆ len

u8 wpa_kde::len

Length, not including ie_type and length fields.

Definition at line 470 of file wpa.h.

Referenced by wpa_maybe_install_gtk().

◆ oui_type

u32 wpa_kde::oui_type

OUI + type byte.

Definition at line 473 of file wpa.h.

◆ gtk_encap

struct wpa_kde_gtk_encap wpa_kde::gtk_encap

For GTK-type KDEs, encapsulated GTK.

Definition at line 478 of file wpa.h.

Referenced by wpa_maybe_install_gtk().

◆ mac

u8 wpa_kde::mac[ETH_ALEN]

For MAC-type KDEs, the MAC address.

Definition at line 481 of file wpa.h.

◆ pmkid

u8 wpa_kde::pmkid[WPA_PMKID_LEN]

For PMKID-type KDEs, the PMKID.

Definition at line 484 of file wpa.h.

◆ nonce

u8 wpa_kde::nonce[WPA_NONCE_LEN]

For Nonce-type KDEs, the nonce.

Definition at line 487 of file wpa.h.

◆ lifetime

u32 wpa_kde::lifetime

For Lifetime-type KDEs, the lifetime in seconds.

This is in network byte order!

Definition at line 493 of file wpa.h.

◆ __attribute__

union { ... } wpa_kde::__attribute__

Payload data.


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