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