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.
u8 channel_nr
 A channel number interpreted according to the band.
u16 center_freq
 The center frequency for this channel.
u16 hw_value
 Hardware channel value.
u8 maxpower
 Maximum allowable transmit power, in dBm.

Detailed Description

An 802.11 RF channel.

Definition at line 385 of file net80211.h.

Field Documentation

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_add_channels(), net80211_change_channel(), net80211_probe_step(), net80211_process_ie(), rtl8225_rf_set_channel(), and sa2400_rf_set_channel().

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 ar5008_hw_process_ini(), ar9003_hw_process_ini(), ath5k_config(), ath5k_copy_channels(), ath9k_config(), ath9k_hw_channel_change(), ath9k_hw_set_txpowerlimit(), ath9k_init_band_txpower(), net80211_add_channels(), and net80211_filter_hw_channels().

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