iPXE
Data Fields
net80211_wlan Struct Reference

Structure representing a probed network. More...

#include <net80211.h>

Data Fields

char essid [IEEE80211_MAX_SSID_LEN+1]
 The human-readable ESSID (network name) More...
 
u8 bssid [ETH_ALEN]
 MAC address of the strongest-signal access point for this ESSID. More...
 
int signal
 Signal strength of beacon frame from that access point. More...
 
int channel
 The channel on which that access point communicates. More...
 
struct io_bufferbeacon
 The complete beacon or probe-response frame received. More...
 
enum net80211_security_proto handshaking
 Security handshaking method used on the network. More...
 
enum net80211_crypto_alg crypto
 Cryptographic algorithm used on the network. More...
 
struct list_head list
 Link to allow chaining multiple structures into a list to be returned from net80211_probe_finish_all(). More...
 

Detailed Description

Structure representing a probed network.

This is returned from the net80211_probe_finish functions and passed to the low-level association functions. At least essid, bssid, channel, beacon, and security must be filled in if you want to build this structure manually.

Definition at line 1056 of file net80211.h.

Field Documentation

◆ essid

char net80211_wlan::essid[IEEE80211_MAX_SSID_LEN+1]

The human-readable ESSID (network name)

Although the 802.11 SSID field is generally not NUL-terminated, the iPXE code adds an extra NUL (and expects one in this structure) for convenience.

Definition at line 1064 of file net80211.h.

Referenced by iwlist(), iwstat(), net80211_prepare_assoc(), net80211_probe_step(), and net80211_step_associate().

◆ bssid

u8 net80211_wlan::bssid[ETH_ALEN]

MAC address of the strongest-signal access point for this ESSID.

Definition at line 1067 of file net80211.h.

Referenced by iwlist(), net80211_prepare_assoc(), net80211_probe_step(), net80211_send_assoc(), net80211_send_auth(), and net80211_step_associate().

◆ signal

int net80211_wlan::signal

Signal strength of beacon frame from that access point.

Definition at line 1070 of file net80211.h.

Referenced by iwlist(), net80211_probe_finish_best(), and net80211_probe_step().

◆ channel

int net80211_wlan::channel

The channel on which that access point communicates.

This is a raw channel number (net80211_channel::channel_nr), so that it will not be affected by reconfiguration of the device channels array.

Definition at line 1078 of file net80211.h.

Referenced by iwlist(), net80211_prepare_assoc(), and net80211_probe_step().

◆ beacon

struct io_buffer* net80211_wlan::beacon

The complete beacon or probe-response frame received.

Definition at line 1081 of file net80211.h.

Referenced by net80211_free_wlan(), net80211_prepare_assoc(), net80211_probe_step(), wpa_make_rsn_ie(), and wpa_start().

◆ handshaking

enum net80211_security_proto net80211_wlan::handshaking

Security handshaking method used on the network.

Definition at line 1084 of file net80211.h.

Referenced by iwlist(), net80211_prepare_assoc(), net80211_probe_step(), wpa_handle_3_of_4(), and wpa_make_rsn_ie().

◆ crypto

enum net80211_crypto_alg net80211_wlan::crypto

Cryptographic algorithm used on the network.

Definition at line 1087 of file net80211.h.

Referenced by iwlist(), net80211_probe_step(), net80211_send_assoc(), trivial_init(), wpa_handle_3_of_4(), wpa_make_rsn_ie(), and wpa_start().

◆ list

struct list_head net80211_wlan::list

Link to allow chaining multiple structures into a list to be returned from net80211_probe_finish_all().

Definition at line 1091 of file net80211.h.

Referenced by iwlist(), net80211_free_wlanlist(), net80211_probe_finish_best(), and net80211_probe_step().


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