Name

struct ieee80211_conf — configuration of the device

Synopsis

struct ieee80211_conf {
  int beacon_int;
  u32 flags;
  int power_level;
  int dynamic_ps_timeout;
  u16 listen_interval;
  bool radio_enabled;
  u8 long_frame_max_tx_count;
  u8 short_frame_max_tx_count;
  struct ieee80211_channel * channel;
  enum nl80211_channel_type channel_type;
};  

Members

beacon_int

beacon interval (TODO make interface config)

flags

configuration flags defined above

power_level

requested transmit power (in dBm)

dynamic_ps_timeout

dynamic powersave timeout (in ms)

listen_interval

listen interval in units of beacon interval

radio_enabled

when zero, driver is required to switch off the radio.

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

Description

This struct indicates how the driver shall configure the hardware.