iPXE
Data Fields
net80211_channel Struct Reference

An 802.11 RF channel. More...

#include <net80211.h>

Data Fields

u8 band
 The band with which this channel is associated. More...
 
u8 channel_nr
 A channel number interpreted according to the band. More...
 
u16 center_freq
 The center frequency for this channel. More...
 
u16 hw_value
 Hardware channel value. More...
 
u8 maxpower
 Maximum allowable transmit power, in dBm. More...
 

Detailed Description

An 802.11 RF channel.

Definition at line 385 of file net80211.h.

Field Documentation

◆ band

u8 net80211_channel::band

◆ channel_nr

u8 net80211_channel::channel_nr

A channel number interpreted according to the band.

The 2.4GHz band uses channel numbers from 1-13 at 5MHz intervals such that channel 1 is 2407 MHz; channel 14, legal for use only in Japan, is defined separately as 2484 MHz. Adjacent channels will overlap, since 802.11 transmissions use a 20 MHz (4-channel) bandwidth. Most commonly, channels 1, 6, and 11 are used.

The 5GHz band uses channel numbers derived directly from the frequency; channel 0 is 5000 MHz, and channels are always spaced 5 MHz apart. Channel numbers over 180 are relative to 4GHz instead of 5GHz, but these are rarely seen. Most channels are not legal for use.

Definition at line 405 of file net80211.h.

Referenced by ath5k_calibrate(), grf5101_rf_set_channel(), iwlist(), iwstat(), max2820_rf_set_channel(), net80211_change_channel(), net80211_probe_step(), net80211_process_ie(), rtl8225_rf_set_channel(), and sa2400_rf_set_channel().

◆ center_freq

u16 net80211_channel::center_freq

The center frequency for this channel.

Currently a bandwidth of 20 MHz is assumed.

Definition at line 411 of file net80211.h.

Referenced by ath5k_chan_set(), ath9k_cmn_update_ichannel(), ath9k_config(), ath9k_start(), and net80211_filter_hw_channels().

◆ hw_value

u16 net80211_channel::hw_value

◆ maxpower

u8 net80211_channel::maxpower

Maximum allowable transmit power, in dBm.

This should be interpreted as EIRP, the power supplied to an ideal isotropic antenna in order to achieve the same average signal intensity as the real hardware at a particular distance.

Currently no provision is made for directional antennas.

Definition at line 425 of file net80211.h.

Referenced by ath5k_config(), ath9k_config(), ath9k_init_band_txpower(), and net80211_filter_hw_channels().


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