1STRUCT IEEE80211_CON(9) The basic mac80211 driver inte STRUCT IEEE80211_CON(9)
2
3
4
6 struct_ieee80211_conf - configuration of the device
7
9 struct ieee80211_conf {
10 u32 flags;
11 int power_level;
12 int dynamic_ps_timeout;
13 int dynamic_ps_forced_timeout;
14 int max_sleep_period;
15 u16 listen_interval;
16 u8 ps_dtim_period;
17 u8 long_frame_max_tx_count;
18 u8 short_frame_max_tx_count;
19 struct ieee80211_channel * channel;
20 enum nl80211_channel_type channel_type;
21 enum ieee80211_smps_mode smps_mode;
22 };
23
25 flags
26 configuration flags defined above
27
28 power_level
29 requested transmit power (in dBm)
30
31 dynamic_ps_timeout
32 The dynamic powersave timeout (in ms), see the powersave
33 documentation below. This variable is valid only when the CONF_PS
34 flag is set.
35
36 dynamic_ps_forced_timeout
37 The dynamic powersave timeout (in ms) configured by cfg80211
38 (essentially, wext) If set, this value overrules the value chosen
39 by mac80211 based on ps qos network latency.
40
41 max_sleep_period
42 the maximum number of beacon intervals to sleep for before checking
43 the beacon for a TIM bit (managed mode only); this value will be
44 only achievable between DTIM frames, the hardware needs to check
45 for the multicast traffic bit in DTIM beacons. This variable is
46 valid only when the CONF_PS flag is set.
47
48 listen_interval
49 listen interval in units of beacon interval
50
51 ps_dtim_period
52 The DTIM period of the AP we're connected to, for use in power
53 saving. Power saving will not be enabled until a beacon has been
54 received and the DTIM period is known.
55
56 long_frame_max_tx_count
57 Maximum number of transmissions for a “long” frame (a frame not RTS
58 protected), called “dot11LongRetryLimit” in 802.11, but actually
59 means the number of transmissions not the number of retries
60
61 short_frame_max_tx_count
62 Maximum number of transmissions for a “short” frame, called
63 “dot11ShortRetryLimit” in 802.11, but actually means the number of
64 transmissions not the number of retries
65
66 channel
67 the channel to tune to
68
69 channel_type
70 the channel (HT) type
71
72 smps_mode
73 spatial multiplexing powersave mode; note that
74 IEEE80211_SMPS_STATIC is used when the device is not configured for
75 an HT channel
76
78 This struct indicates how the driver shall configure the hardware.
79
81 Johannes Berg <johannes@sipsolutions.net>
82 Author.
83
85Kernel Hackers Manual 2.6. November 2011 STRUCT IEEE80211_CON(9)