Name

struct ieee80211_conf — configuration of the device

Synopsis

struct ieee80211_conf {
  int radio_enabled;
  int beacon_int;
  u32 flags;
  int power_level;
  int max_antenna_gain;
  u8 antenna_sel_tx;
  u8 antenna_sel_rx;
  struct ieee80211_channel * channel;
  struct ieee80211_ht_info ht_conf;
  struct ieee80211_ht_bss_info ht_bss_conf;
};  

Members

radio_enabled

when zero, driver is required to switch off the radio. TODO make a flag

beacon_int

beacon interval (TODO make interface config)

flags

configuration flags defined above

power_level

requested transmit power (in dBm)

max_antenna_gain

maximum antenna gain (in dBi)

antenna_sel_tx

transmit antenna selection, 0: default/diversity, 1/2: antenna 0/1

antenna_sel_rx

receive antenna selection, like antenna_sel_tx

channel

the channel to tune to

ht_conf

describes current self configuration of 802.11n HT capabilies

ht_bss_conf

describes current BSS configuration of 802.11n HT parameters

Description

This struct indicates how the driver shall configure the hardware.