1STRUCT IEEE80211_CHA(9) Device registration STRUCT IEEE80211_CHA(9)
2
3
4
6 struct_ieee80211_channel - channel definition
7
9 struct ieee80211_channel {
10 enum nl80211_band band;
11 u16 center_freq;
12 u16 hw_value;
13 u32 flags;
14 int max_antenna_gain;
15 int max_power;
16 int max_reg_power;
17 bool beacon_found;
18 u32 orig_flags;
19 int orig_mag;
20 int orig_mpwr;
21 enum nl80211_dfs_state dfs_state;
22 unsigned long dfs_state_entered;
23 unsigned int dfs_cac_ms;
24 };
25
27 band
28 band this channel belongs to.
29
30 center_freq
31 center frequency in MHz
32
33 hw_value
34 hardware-specific value for the channel
35
36 flags
37 channel flags from enum ieee80211_channel_flags.
38
39 max_antenna_gain
40 maximum antenna gain in dBi
41
42 max_power
43 maximum transmission power (in dBm)
44
45 max_reg_power
46 maximum regulatory transmission power (in dBm)
47
48 beacon_found
49 helper to regulatory code to indicate when a beacon has been found
50 on this channel. Use regulatory_hint_found_beacon to enable this,
51 this is useful only on 5 GHz band.
52
53 orig_flags
54 channel flags at registration time, used by regulatory code to
55 support devices with additional restrictions
56
57 orig_mag
58 internal use
59
60 orig_mpwr
61 internal use
62
63 dfs_state
64 current state of this channel. Only relevant if radar is required
65 on this channel.
66
67 dfs_state_entered
68 timestamp (jiffies) when the dfs state was entered.
69
70 dfs_cac_ms
71 DFS CAC time in milliseconds, this is valid for DFS channels.
72
74 This structure describes a single channel for use with cfg80211.
75
77 Johannes Berg <johannes@sipsolutions.net>
78 Author.
79
81Kernel Hackers Manual 3.10 June 2019 STRUCT IEEE80211_CHA(9)