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)
u8 bssid [ETH_ALEN]
 MAC address of the strongest-signal access point for this ESSID.
int signal
 Signal strength of beacon frame from that access point.
int channel
 The channel on which that access point communicates.
struct io_bufferbeacon
 The complete beacon or probe-response frame received.
enum net80211_security_proto handshaking
 Security handshaking method used on the network.
enum net80211_crypto_alg crypto
 Cryptographic algorithm used on the network.
struct list_head list
 Link to allow chaining multiple structures into a list to be returned from net80211_probe_finish_all().

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

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().

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 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().

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().

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().

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().

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().

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: