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 max_sleep_period;
14 u16 listen_interval;
15 u8 ps_dtim_period;
16 u8 long_frame_max_tx_count;
17 u8 short_frame_max_tx_count;
18 struct cfg80211_chan_def chandef;
19 bool radar_enabled;
20 enum ieee80211_smps_mode smps_mode;
21 };
22
24 flags
25 configuration flags defined above
26
27 power_level
28 requested transmit power (in dBm), backward compatibility value
29 only that is set to the minimum of all interfaces
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 max_sleep_period
37 the maximum number of beacon intervals to sleep for before checking
38 the beacon for a TIM bit (managed mode only); this value will be
39 only achievable between DTIM frames, the hardware needs to check
40 for the multicast traffic bit in DTIM beacons. This variable is
41 valid only when the CONF_PS flag is set.
42
43 listen_interval
44 listen interval in units of beacon interval
45
46 ps_dtim_period
47 The DTIM period of the AP we´re connected to, for use in power
48 saving. Power saving will not be enabled until a beacon has been
49 received and the DTIM period is known.
50
51 long_frame_max_tx_count
52 Maximum number of transmissions for a “long” frame (a frame not RTS
53 protected), called “dot11LongRetryLimit” in 802.11, but actually
54 means the number of transmissions not the number of retries
55
56 short_frame_max_tx_count
57 Maximum number of transmissions for a “short” frame, called
58 “dot11ShortRetryLimit” in 802.11, but actually means the number of
59 transmissions not the number of retries
60
61 chandef
62 the channel definition to tune to
63
64 radar_enabled
65 whether radar detection is enabled
66
67 smps_mode
68 spatial multiplexing powersave mode; note that
69 IEEE80211_SMPS_STATIC is used when the device is not configured for
70 an HT channel. Note that this is only valid if channel contexts are
71 not used, otherwise each channel context has the number of chains
72 listed.
73
75 This struct indicates how the driver shall configure the hardware.
76
78 Johannes Berg <johannes@sipsolutions.net>
79 Author.
80
82Kernel Hackers Manual 2.6. June 2019 STRUCT IEEE80211_CON(9)