STRUCT IEEE80211_CHA(9) Device registration STRUCT IEEE80211_CHA(9)NAME
struct_ieee80211_channel - channel definition
SYNOPSIS
struct ieee80211_channel {
enum ieee80211_band band;
u16 center_freq;
u16 hw_value;
u32 flags;
int max_antenna_gain;
int max_power;
int max_reg_power;
bool beacon_found;
u32 orig_flags;
int orig_mag;
int orig_mpwr;
enum nl80211_dfs_state dfs_state;
unsigned long dfs_state_entered;
};
MEMBERS
band
band this channel belongs to.
center_freq
center frequency in MHz
hw_value
hardware-specific value for the channel
flags
channel flags from enum ieee80211_channel_flags.
max_antenna_gain
maximum antenna gain in dBi
max_power
maximum transmission power (in dBm)
max_reg_power
maximum regulatory transmission power (in dBm)
beacon_found
helper to regulatory code to indicate when a beacon has been found on this channel. Use regulatory_hint_found_beacon to enable this,
this is useful only on 5 GHz band.
orig_flags
channel flags at registration time, used by regulatory code to support devices with additional restrictions
orig_mag
internal use
orig_mpwr
internal use
dfs_state
current state of this channel. Only relevant if radar is required on this channel.
dfs_state_entered
timestamp (jiffies) when the dfs state was entered.
DESCRIPTION
This structure describes a single channel for use with cfg80211.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 STRUCT IEEE80211_CHA(9)
Check Out this Related Man Page
STRUCT IEEE80211_CON(9) The basic mac80211 driver inte STRUCT IEEE80211_CON(9)NAME
struct_ieee80211_conf - configuration of the device
SYNOPSIS
struct ieee80211_conf {
u32 flags;
int power_level;
int dynamic_ps_timeout;
int max_sleep_period;
u16 listen_interval;
u8 ps_dtim_period;
u8 long_frame_max_tx_count;
u8 short_frame_max_tx_count;
struct cfg80211_chan_def chandef;
bool radar_enabled;
enum ieee80211_smps_mode smps_mode;
};
MEMBERS
flags
configuration flags defined above
power_level
requested transmit power (in dBm), backward compatibility value only that is set to the minimum of all interfaces
dynamic_ps_timeout
The dynamic powersave timeout (in ms), see the powersave documentation below. This variable is valid only when the CONF_PS flag is set.
max_sleep_period
the maximum number of beacon intervals to sleep for before checking the beacon for a TIM bit (managed mode only); this value will be
only achievable between DTIM frames, the hardware needs to check for the multicast traffic bit in DTIM beacons. This variable is valid
only when the CONF_PS flag is set.
listen_interval
listen interval in units of beacon interval
ps_dtim_period
The DTIM period of the AP we're connected to, for use in power saving. Power saving will not be enabled until a beacon has been
received and the DTIM period is known.
long_frame_max_tx_count
Maximum number of transmissions for a "long" frame (a frame not RTS protected), called "dot11LongRetryLimit" in 802.11, but actually
means the number of transmissions not the number of retries
short_frame_max_tx_count
Maximum number of transmissions for a "short" frame, called "dot11ShortRetryLimit" in 802.11, but actually means the number of
transmissions not the number of retries
chandef
the channel definition to tune to
radar_enabled
whether radar detection is enabled
smps_mode
spatial multiplexing powersave mode; note that IEEE80211_SMPS_STATIC is used when the device is not configured for an HT channel. Note
that this is only valid if channel contexts are not used, otherwise each channel context has the number of chains listed.
DESCRIPTION
This struct indicates how the driver shall configure the hardware.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 STRUCT IEEE80211_CON(9)