1STRUCT CFG80211_AP_S(9) Actions and configuration STRUCT CFG80211_AP_S(9)
2
3
4
6 struct_cfg80211_ap_settings - AP configuration
7
9 struct cfg80211_ap_settings {
10 struct cfg80211_chan_def chandef;
11 struct cfg80211_beacon_data beacon;
12 int beacon_interval;
13 int dtim_period;
14 const u8 * ssid;
15 size_t ssid_len;
16 enum nl80211_hidden_ssid hidden_ssid;
17 struct cfg80211_crypto_settings crypto;
18 bool privacy;
19 enum nl80211_auth_type auth_type;
20 enum nl80211_smps_mode smps_mode;
21 int inactivity_timeout;
22 u8 p2p_ctwindow;
23 bool p2p_opp_ps;
24 const struct cfg80211_acl_data * acl;
25 bool pbss;
26 struct cfg80211_bitrate_mask beacon_rate;
27 const struct ieee80211_ht_cap * ht_cap;
28 const struct ieee80211_vht_cap * vht_cap;
29 bool ht_required;
30 bool vht_required;
31 };
32
34 chandef
35 defines the channel to use
36
37 beacon
38 beacon data
39
40 beacon_interval
41 beacon interval
42
43 dtim_period
44 DTIM period
45
46 ssid
47 SSID to be used in the BSS (note: may be NULL if not provided from
48 user space)
49
50 ssid_len
51 length of ssid
52
53 hidden_ssid
54 whether to hide the SSID in Beacon/Probe Response frames
55
56 crypto
57 crypto settings
58
59 privacy
60 the BSS uses privacy
61
62 auth_type
63 Authentication type (algorithm)
64
65 smps_mode
66 SMPS mode
67
68 inactivity_timeout
69 time in seconds to determine station's inactivity.
70
71 p2p_ctwindow
72 P2P CT Window
73
74 p2p_opp_ps
75 P2P opportunistic PS
76
77 acl
78 ACL configuration used by the drivers which has support for MAC
79 address based access control
80
81 pbss
82 If set, start as a PCP instead of AP. Relevant for DMG networks.
83
84 beacon_rate
85 bitrate to be used for beacons
86
87 ht_cap
88 HT capabilities (or NULL if HT isn't enabled)
89
90 vht_cap
91 VHT capabilities (or NULL if VHT isn't enabled)
92
93 ht_required
94 stations must support HT
95
96 vht_required
97 stations must support VHT
98
100 Used to configure an AP interface.
101
103 Johannes Berg <johannes@sipsolutions.net>
104 Author.
105
107Kernel Hackers Manual 3.10 June 2019 STRUCT CFG80211_AP_S(9)