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 ieee80211_channel * channel;
enum nl80211_channel_type channel_type;
enum ieee80211_smps_mode smps_mode;
};
MEMBERS
flags
configuration flags defined above
power_level
requested transmit power (in dBm)
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
channel
the channel to tune to
channel_type
the channel (HT) type
smps_mode
spatial multiplexing powersave mode; note that IEEE80211_SMPS_STATIC is used when the device is not configured for an HT channel
DESCRIPTION
This struct indicates how the driver shall configure the hardware.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 STRUCT IEEE80211_CON(9)
Check Out this Related Man Page
ENUM IEEE80211_HW_FL(9) The basic mac80211 driver inte ENUM IEEE80211_HW_FL(9)NAME
enum_ieee80211_hw_flags - hardware flags
SYNOPSIS
enum ieee80211_hw_flags {
IEEE80211_HW_HAS_RATE_CONTROL,
IEEE80211_HW_RX_INCLUDES_FCS,
IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING,
IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE,
IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE,
IEEE80211_HW_SIGNAL_UNSPEC,
IEEE80211_HW_SIGNAL_DBM,
IEEE80211_HW_NOISE_DBM,
IEEE80211_HW_SPECTRUM_MGMT,
IEEE80211_HW_AMPDU_AGGREGATION,
IEEE80211_HW_SUPPORTS_PS,
IEEE80211_HW_PS_NULLFUNC_STACK,
IEEE80211_HW_SUPPORTS_DYNAMIC_PS,
IEEE80211_HW_MFP_CAPABLE,
IEEE80211_HW_BEACON_FILTER,
IEEE80211_HW_SUPPORTS_STATIC_SMPS,
IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS,
IEEE80211_HW_SUPPORTS_UAPSD,
IEEE80211_HW_REPORTS_TX_ACK_STATUS
};
CONSTANTS
IEEE80211_HW_HAS_RATE_CONTROL
The hardware or firmware includes rate control, and cannot be controlled by the stack. As such, no rate control algorithm should be
instantiated, and the TX rate reported to userspace will be taken from the TX status instead of the rate control algorithm. Note that
this requires that the driver implement a number of callbacks so it has the correct information, it needs to have the set_rts_threshold
callback and must look at the BSS config use_cts_prot for G/N protection, use_short_slot for slot timing in 2.4 GHz and
use_short_preamble for preambles for CCK frames.
IEEE80211_HW_RX_INCLUDES_FCS
Indicates that received frames passed to the stack include the FCS at the end.
IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING
Some wireless LAN chipsets buffer broadcast/multicast frames for power saving stations in the hardware/firmware and others rely on the
host system for such buffering. This option is used to configure the IEEE 802.11 upper layer to buffer broadcast and multicast frames
when there are power saving stations so that the driver can fetch them with ieee80211_get_buffered_bc.
IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE
Hardware is not capable of short slot operation on the 2.4 GHz band.
IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE
Hardware is not capable of receiving frames with short preamble on the 2.4 GHz band.
IEEE80211_HW_SIGNAL_UNSPEC
Hardware can provide signal values but we don't know its units. We expect values between 0 and max_signal. If possible please provide
dB or dBm instead.
IEEE80211_HW_SIGNAL_DBM
Hardware gives signal values in dBm, decibel difference from one milliwatt. This is the preferred method since it is standardized
between different devices. max_signal does not need to be set.
IEEE80211_HW_NOISE_DBM
Hardware can provide noise (radio interference) values in units dBm, decibel difference from one milliwatt.
IEEE80211_HW_SPECTRUM_MGMT
Hardware supports spectrum management defined in 802.11h Measurement, Channel Switch, Quieting, TPC
IEEE80211_HW_AMPDU_AGGREGATION
Hardware supports 11n A-MPDU aggregation.
IEEE80211_HW_SUPPORTS_PS
Hardware has power save support (i.e. can go to sleep).
IEEE80211_HW_PS_NULLFUNC_STACK
Hardware requires nullfunc frame handling in stack, implies stack support for dynamic PS.
IEEE80211_HW_SUPPORTS_DYNAMIC_PS
Hardware has support for dynamic PS.
IEEE80211_HW_MFP_CAPABLE
Hardware supports management frame protection (MFP, IEEE 802.11w).
IEEE80211_HW_BEACON_FILTER
Hardware supports dropping of irrelevant beacon frames to avoid waking up cpu.
IEEE80211_HW_SUPPORTS_STATIC_SMPS
Hardware supports static spatial multiplexing powersave, ie. can turn off all but one chain even on HT connections that should be using
more chains.
IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS
Hardware supports dynamic spatial multiplexing powersave, ie. can turn off all but one chain and then wake the rest up as required
after, for example, rts/cts handshake.
IEEE80211_HW_SUPPORTS_UAPSD
Hardware supports Unscheduled Automatic Power Save Delivery (U-APSD) in managed mode. The mode is configured with conf_tx operation.
IEEE80211_HW_REPORTS_TX_ACK_STATUS
Hardware can provide ack status reports of Tx frames to the stack.
DESCRIPTION
These flags are used to indicate hardware capabilities to the stack. Generally, flags here should have their meaning done in a way that the
simplest hardware doesn't need setting any particular flags. There are some exceptions to this rule, however, so you are advised to review
these flags carefully.
AUTHOR
Johannes Berg <johannes@sipsolutions.net>
Author.
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 ENUM IEEE80211_HW_FL(9)