1
2
3
4
5
6
7
8#ifndef __WL12XX_CONF_H__
9#define __WL12XX_CONF_H__
10
11
12#define CONF_TX_PWR_COMPENSATION_LEN_2 7
13#define CONF_TX_PWR_COMPENSATION_LEN_5 18
14
15struct wl12xx_conf_rf {
16
17
18
19
20
21 u8 tx_per_channel_power_compensation_2[CONF_TX_PWR_COMPENSATION_LEN_2];
22
23
24
25
26
27
28 u8 tx_per_channel_power_compensation_5[CONF_TX_PWR_COMPENSATION_LEN_5];
29};
30
31struct wl12xx_priv_conf {
32 struct wl12xx_conf_rf rf;
33 struct conf_memory_settings mem_wl127x;
34};
35
36enum wl12xx_sg_params {
37
38
39
40
41
42
43 WL12XX_CONF_SG_ACL_BT_MASTER_MIN_BR = 0,
44 WL12XX_CONF_SG_ACL_BT_MASTER_MAX_BR,
45
46
47
48
49
50
51
52 WL12XX_CONF_SG_ACL_BT_SLAVE_MIN_BR,
53 WL12XX_CONF_SG_ACL_BT_SLAVE_MAX_BR,
54
55
56
57
58
59
60
61 WL12XX_CONF_SG_ACL_BT_MASTER_MIN_EDR,
62 WL12XX_CONF_SG_ACL_BT_MASTER_MAX_EDR,
63
64
65
66
67
68
69
70 WL12XX_CONF_SG_ACL_BT_SLAVE_MIN_EDR,
71 WL12XX_CONF_SG_ACL_BT_SLAVE_MAX_EDR,
72
73
74
75
76
77
78
79 WL12XX_CONF_SG_ACL_WLAN_PS_MASTER_BR,
80 WL12XX_CONF_SG_ACL_WLAN_PS_SLAVE_BR,
81
82
83
84
85
86
87
88 WL12XX_CONF_SG_ACL_WLAN_PS_MASTER_EDR,
89 WL12XX_CONF_SG_ACL_WLAN_PS_SLAVE_EDR,
90
91
92 WL12XX_CONF_SG_ACL_WLAN_ACTIVE_MASTER_MIN_BR,
93 WL12XX_CONF_SG_ACL_WLAN_ACTIVE_MASTER_MAX_BR,
94 WL12XX_CONF_SG_ACL_WLAN_ACTIVE_SLAVE_MIN_BR,
95 WL12XX_CONF_SG_ACL_WLAN_ACTIVE_SLAVE_MAX_BR,
96 WL12XX_CONF_SG_ACL_WLAN_ACTIVE_MASTER_MIN_EDR,
97 WL12XX_CONF_SG_ACL_WLAN_ACTIVE_MASTER_MAX_EDR,
98 WL12XX_CONF_SG_ACL_WLAN_ACTIVE_SLAVE_MIN_EDR,
99 WL12XX_CONF_SG_ACL_WLAN_ACTIVE_SLAVE_MAX_EDR,
100
101 WL12XX_CONF_SG_ACL_ACTIVE_SCAN_WLAN_BR,
102 WL12XX_CONF_SG_ACL_ACTIVE_SCAN_WLAN_EDR,
103 WL12XX_CONF_SG_ACL_PASSIVE_SCAN_BT_BR,
104 WL12XX_CONF_SG_ACL_PASSIVE_SCAN_WLAN_BR,
105 WL12XX_CONF_SG_ACL_PASSIVE_SCAN_BT_EDR,
106 WL12XX_CONF_SG_ACL_PASSIVE_SCAN_WLAN_EDR,
107
108
109
110
111
112
113
114 WL12XX_CONF_SG_AUTO_SCAN_PROBE_REQ,
115
116
117
118
119
120
121
122 WL12XX_CONF_SG_ACTIVE_SCAN_DURATION_FACTOR_HV3,
123
124
125
126
127
128
129
130 WL12XX_CONF_SG_ACTIVE_SCAN_DURATION_FACTOR_A2DP,
131
132
133
134
135
136
137
138 WL12XX_CONF_SG_PASSIVE_SCAN_DUR_FACTOR_A2DP_BR,
139
140
141
142
143
144
145
146 WL12XX_CONF_SG_PASSIVE_SCAN_DUR_FACTOR_A2DP_EDR,
147
148
149
150
151
152
153
154 WL12XX_CONF_SG_PASSIVE_SCAN_DUR_FACTOR_HV3,
155
156
157 WL12XX_CONF_SG_CONSECUTIVE_HV3_IN_PASSIVE_SCAN,
158 WL12XX_CONF_SG_BCN_HV3_COLL_THR_IN_PASSIVE_SCAN,
159 WL12XX_CONF_SG_TX_RX_PROTECT_BW_IN_PASSIVE_SCAN,
160
161
162
163
164
165
166 WL12XX_CONF_SG_STA_FORCE_PS_IN_BT_SCO,
167
168
169
170
171
172
173 WL12XX_CONF_SG_ANTENNA_CONFIGURATION,
174
175
176
177
178
179
180
181 WL12XX_CONF_SG_BEACON_MISS_PERCENT,
182
183
184
185
186
187
188 WL12XX_CONF_SG_DHCP_TIME,
189
190
191
192
193
194
195
196 WL12XX_CONF_SG_RXT,
197
198
199
200
201
202
203
204 WL12XX_CONF_SG_TXT,
205
206
207
208
209
210
211
212 WL12XX_CONF_SG_ADAPTIVE_RXT_TXT,
213
214
215 WL12XX_CONF_SG_GENERAL_USAGE_BIT_MAP,
216
217
218
219
220
221
222 WL12XX_CONF_SG_HV3_MAX_SERVED,
223
224
225
226
227
228
229 WL12XX_CONF_SG_PS_POLL_TIMEOUT,
230
231
232
233
234
235
236 WL12XX_CONF_SG_UPSD_TIMEOUT,
237
238 WL12XX_CONF_SG_CONSECUTIVE_CTS_THRESHOLD,
239 WL12XX_CONF_SG_STA_RX_WINDOW_AFTER_DTIM,
240 WL12XX_CONF_SG_STA_CONNECTION_PROTECTION_TIME,
241
242
243 WL12XX_CONF_AP_BEACON_MISS_TX,
244 WL12XX_CONF_AP_RX_WINDOW_AFTER_BEACON,
245 WL12XX_CONF_AP_BEACON_WINDOW_INTERVAL,
246 WL12XX_CONF_AP_CONNECTION_PROTECTION_TIME,
247 WL12XX_CONF_AP_BT_ACL_VAL_BT_SERVE_TIME,
248 WL12XX_CONF_AP_BT_ACL_VAL_WL_SERVE_TIME,
249
250
251 WL12XX_CONF_SG_CTS_DILUTED_BAD_RX_PACKETS_TH,
252 WL12XX_CONF_SG_CTS_CHOP_IN_DUAL_ANT_SCO_MASTER,
253
254 WL12XX_CONF_SG_TEMP_PARAM_1,
255 WL12XX_CONF_SG_TEMP_PARAM_2,
256 WL12XX_CONF_SG_TEMP_PARAM_3,
257 WL12XX_CONF_SG_TEMP_PARAM_4,
258 WL12XX_CONF_SG_TEMP_PARAM_5,
259 WL12XX_CONF_SG_TEMP_PARAM_6,
260 WL12XX_CONF_SG_TEMP_PARAM_7,
261 WL12XX_CONF_SG_TEMP_PARAM_8,
262 WL12XX_CONF_SG_TEMP_PARAM_9,
263 WL12XX_CONF_SG_TEMP_PARAM_10,
264
265 WL12XX_CONF_SG_PARAMS_MAX,
266 WL12XX_CONF_SG_PARAMS_ALL = 0xff
267};
268
269#endif
270