xref: /wlan-driver/qcacld-3.0/components/mlme/dispatcher/inc/cfg_mlme_vht_caps.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
5*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
6*5113495bSYour Name  * above copyright notice and this permission notice appear in all
7*5113495bSYour Name  * copies.
8*5113495bSYour Name  *
9*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
17*5113495bSYour Name  */
18*5113495bSYour Name 
19*5113495bSYour Name /**
20*5113495bSYour Name  * DOC: This file contains centralized definitions of converged configuration.
21*5113495bSYour Name  */
22*5113495bSYour Name 
23*5113495bSYour Name #ifndef __CFG_MLME_VHT_CAPS_H
24*5113495bSYour Name #define __CFG_MLME_VHT_CAPS_H
25*5113495bSYour Name 
26*5113495bSYour Name #define CFG_VHT_SUPP_CHAN_WIDTH CFG_UINT( \
27*5113495bSYour Name 		"supp_chan_width", \
28*5113495bSYour Name 		0, \
29*5113495bSYour Name 		2, \
30*5113495bSYour Name 		0, \
31*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
32*5113495bSYour Name 		"VHT SUPPORTED CHAN WIDTH SET")
33*5113495bSYour Name 
34*5113495bSYour Name /*
35*5113495bSYour Name  * <ini>
36*5113495bSYour Name  * gTxBFCsnValue - ini to set VHT/HE STS Caps field
37*5113495bSYour Name  * @Min: 0
38*5113495bSYour Name  * @Max: 7
39*5113495bSYour Name  * @Default: 7
40*5113495bSYour Name  *
41*5113495bSYour Name  * This ini is used to configure the STS capability shown in AC/AX mode
42*5113495bSYour Name  * MGMT frame IE, the final STS field shown in VHT/HE IE will be calculated
43*5113495bSYour Name  * by MIN of (INI set, target report value). Only if gTxBFEnable is enabled
44*5113495bSYour Name  * and SU/MU BEAMFORMEE Caps is shown, then STS Caps make sense.
45*5113495bSYour Name  *
46*5113495bSYour Name  * Related: gTxBFEnable.
47*5113495bSYour Name  *
48*5113495bSYour Name  * Supported Feature: STA/SAP
49*5113495bSYour Name  *
50*5113495bSYour Name  * Usage: Internal
51*5113495bSYour Name  *
52*5113495bSYour Name  * </ini>
53*5113495bSYour Name  */
54*5113495bSYour Name #define CFG_VHT_BEAMFORMEE_ANT_SUPP CFG_INI_UINT( \
55*5113495bSYour Name 		"txBFCsnValue", \
56*5113495bSYour Name 		0, \
57*5113495bSYour Name 		7, \
58*5113495bSYour Name 		7, \
59*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
60*5113495bSYour Name 		"VHT BEAMFORMEE ANTENNA SUPPORTED CAP")
61*5113495bSYour Name 
62*5113495bSYour Name /*
63*5113495bSYour Name  * <ini>
64*5113495bSYour Name  * gEnableTxSUBeamformer - Enables TX Su beam former
65*5113495bSYour Name  * @Min: 0
66*5113495bSYour Name  * @Max: 1
67*5113495bSYour Name  * @Default: 0
68*5113495bSYour Name  *
69*5113495bSYour Name  * Related: NA
70*5113495bSYour Name  *
71*5113495bSYour Name  * Supported Feature: 11AC
72*5113495bSYour Name  *
73*5113495bSYour Name  * Usage: External
74*5113495bSYour Name  *
75*5113495bSYour Name  * </ini>
76*5113495bSYour Name  */
77*5113495bSYour Name #define CFG_VHT_ENABLE_TX_SU_BEAM_FORMER CFG_INI_BOOL( \
78*5113495bSYour Name 		"gEnableTxSUBeamformer", \
79*5113495bSYour Name 		0, \
80*5113495bSYour Name 		"vht tx su beam former")
81*5113495bSYour Name 
82*5113495bSYour Name #define CFG_VHT_NUM_SOUNDING_DIMENSIONS CFG_UINT( \
83*5113495bSYour Name 		"num_soundingdim", \
84*5113495bSYour Name 		0, \
85*5113495bSYour Name 		3, \
86*5113495bSYour Name 		0, \
87*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
88*5113495bSYour Name 		"VHT NUMBER OF SOUNDING DIMENSIONS")
89*5113495bSYour Name 
90*5113495bSYour Name #define CFG_VHT_HTC_VHTC CFG_BOOL( \
91*5113495bSYour Name 		"htc_vhtc", \
92*5113495bSYour Name 		0, \
93*5113495bSYour Name 		"VHT HTC VHTC")
94*5113495bSYour Name 
95*5113495bSYour Name #define CFG_VHT_LINK_ADAPTATION_CAP CFG_UINT( \
96*5113495bSYour Name 		"link_adap_cap", \
97*5113495bSYour Name 		0, \
98*5113495bSYour Name 		3, \
99*5113495bSYour Name 		0, \
100*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
101*5113495bSYour Name 		"VHT LINK ADAPTATION CAP")
102*5113495bSYour Name 
103*5113495bSYour Name #define CFG_VHT_RX_ANT_PATTERN CFG_BOOL( \
104*5113495bSYour Name 		"rx_antpattern", \
105*5113495bSYour Name 		1, \
106*5113495bSYour Name 		"VHT RX ANTENNA PATTERN CAP")
107*5113495bSYour Name 
108*5113495bSYour Name #define CFG_VHT_TX_ANT_PATTERN CFG_BOOL( \
109*5113495bSYour Name 		"tx_antpattern", \
110*5113495bSYour Name 		1, \
111*5113495bSYour Name 		"VHT TX ANTENNA PATTERN CAP")
112*5113495bSYour Name 
113*5113495bSYour Name #define CFG_VHT_RX_SUPP_DATA_RATE CFG_UINT( \
114*5113495bSYour Name 		"rx_supp_data_rate", \
115*5113495bSYour Name 		0, \
116*5113495bSYour Name 		780, \
117*5113495bSYour Name 		780, \
118*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
119*5113495bSYour Name 		"VHT RX SUPP DATA RATE")
120*5113495bSYour Name 
121*5113495bSYour Name #define CFG_VHT_TX_SUPP_DATA_RATE CFG_UINT( \
122*5113495bSYour Name 		"tx_supp_data_rate", \
123*5113495bSYour Name 		0, \
124*5113495bSYour Name 		780, \
125*5113495bSYour Name 		780, \
126*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
127*5113495bSYour Name 		"VHT TX SUPP DATA RATE")
128*5113495bSYour Name 
129*5113495bSYour Name #define CFG_TX_BF_CAP CFG_UINT( \
130*5113495bSYour Name 		"tx_bf_cap", \
131*5113495bSYour Name 		0, \
132*5113495bSYour Name 		4294967295, \
133*5113495bSYour Name 		0, \
134*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
135*5113495bSYour Name 		"TX BF CAP")
136*5113495bSYour Name 
137*5113495bSYour Name #define CFG_AS_CAP CFG_UINT( \
138*5113495bSYour Name 		"as_cap", \
139*5113495bSYour Name 		0, \
140*5113495bSYour Name 		255, \
141*5113495bSYour Name 		0, \
142*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
143*5113495bSYour Name 		"AS CAP")
144*5113495bSYour Name 
145*5113495bSYour Name /*
146*5113495bSYour Name  * <ini>
147*5113495bSYour Name  * gDisableLDPCWithTxbfAP - Disable LDPC with tx bf AP
148*5113495bSYour Name  * @Min: 0
149*5113495bSYour Name  * @Max: 1
150*5113495bSYour Name  * @Default: 0
151*5113495bSYour Name  *
152*5113495bSYour Name  * Related: NA
153*5113495bSYour Name  *
154*5113495bSYour Name  * Supported Feature: 11AC
155*5113495bSYour Name  *
156*5113495bSYour Name  * Usage: External
157*5113495bSYour Name  *
158*5113495bSYour Name  * </ini>
159*5113495bSYour Name  */
160*5113495bSYour Name #define CFG_DISABLE_LDPC_WITH_TXBF_AP CFG_INI_BOOL( \
161*5113495bSYour Name 		"gDisableLDPCWithTxbfAP", \
162*5113495bSYour Name 		0, \
163*5113495bSYour Name 		"Disable LDPC with tx bf AP")
164*5113495bSYour Name 
165*5113495bSYour Name /*
166*5113495bSYour Name  * <ini>
167*5113495bSYour Name  * gTxBFEnable - Enables SU beamformee caps
168*5113495bSYour Name  * @Min: 0
169*5113495bSYour Name  * @Max: 1
170*5113495bSYour Name  * @Default: 1
171*5113495bSYour Name  *
172*5113495bSYour Name  * Related: NA
173*5113495bSYour Name  *
174*5113495bSYour Name  * Supported Feature: 11AC
175*5113495bSYour Name  *
176*5113495bSYour Name  * Usage: External
177*5113495bSYour Name  *
178*5113495bSYour Name  * </ini>
179*5113495bSYour Name  */
180*5113495bSYour Name #define CFG_VHT_SU_BEAMFORMEE_CAP CFG_INI_BOOL( \
181*5113495bSYour Name 		"gTxBFEnable", \
182*5113495bSYour Name 		1, \
183*5113495bSYour Name 		"VHT SU BEAMFORMEE CAPABILITY")
184*5113495bSYour Name 
185*5113495bSYour Name /*
186*5113495bSYour Name  * <ini>
187*5113495bSYour Name  * gEnableTxBFin20MHz - Enables TXBF in 20mhz
188*5113495bSYour Name  * @Min: 0
189*5113495bSYour Name  * @Max: 1
190*5113495bSYour Name  * @Default: 1
191*5113495bSYour Name  *
192*5113495bSYour Name  * Related: NA
193*5113495bSYour Name  *
194*5113495bSYour Name  * Supported Feature: 11AC
195*5113495bSYour Name  *
196*5113495bSYour Name  * Usage: External
197*5113495bSYour Name  *
198*5113495bSYour Name  * </ini>
199*5113495bSYour Name  */
200*5113495bSYour Name #define CFG_VHT_ENABLE_TXBF_IN_20MHZ CFG_INI_BOOL( \
201*5113495bSYour Name 		"gEnableTxBFin20MHz", \
202*5113495bSYour Name 		1, \
203*5113495bSYour Name 		"VHT ENABLE TXBF 20MHZ")
204*5113495bSYour Name 
205*5113495bSYour Name #define CFG_VHT_MU_BEAMFORMER_CAP CFG_BOOL( \
206*5113495bSYour Name 		"mu_bformer", \
207*5113495bSYour Name 		0, \
208*5113495bSYour Name 		"VHT MU BEAMFORMER CAP")
209*5113495bSYour Name 
210*5113495bSYour Name #define CFG_VHT_TXOP_PS CFG_BOOL( \
211*5113495bSYour Name 		"txop_ps", \
212*5113495bSYour Name 		0, \
213*5113495bSYour Name 		"VHT TXOP PS")
214*5113495bSYour Name 
215*5113495bSYour Name /*
216*5113495bSYour Name  * <ini>
217*5113495bSYour Name  * gVhtChannelWidth - Channel width capability for 11ac
218*5113495bSYour Name  * @Min: 0
219*5113495bSYour Name  * @Max: 4
220*5113495bSYour Name  * @Default: 2
221*5113495bSYour Name  *
222*5113495bSYour Name  * This ini is used to set channel width capability for 11AC.
223*5113495bSYour Name  * eHT_CHANNEL_WIDTH_20MHZ = 0,
224*5113495bSYour Name  * eHT_CHANNEL_WIDTH_40MHZ = 1,
225*5113495bSYour Name  * eHT_CHANNEL_WIDTH_80MHZ = 2,
226*5113495bSYour Name  * eHT_CHANNEL_WIDTH_160MHZ = 3,
227*5113495bSYour Name  * eHT_CHANNEL_WIDTH_80P80MHZ = 4,
228*5113495bSYour Name  *
229*5113495bSYour Name  * Related: NA
230*5113495bSYour Name  *
231*5113495bSYour Name  * Supported Feature: 11AC
232*5113495bSYour Name  *
233*5113495bSYour Name  * Usage: External
234*5113495bSYour Name  *
235*5113495bSYour Name  * </ini>
236*5113495bSYour Name  */
237*5113495bSYour Name #define CFG_VHT_CHANNEL_WIDTH CFG_INI_UINT( \
238*5113495bSYour Name 		"gVhtChannelWidth", \
239*5113495bSYour Name 		0, \
240*5113495bSYour Name 		4, \
241*5113495bSYour Name 		2, \
242*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
243*5113495bSYour Name 		"Channel width capability for 11ac")
244*5113495bSYour Name 
245*5113495bSYour Name /*
246*5113495bSYour Name  * <ini>
247*5113495bSYour Name  * gVhtRxMCS - VHT Rx MCS capability for 1x1 mode
248*5113495bSYour Name  * @Min: 0
249*5113495bSYour Name  * @Max: 2
250*5113495bSYour Name  * @Default: 2
251*5113495bSYour Name  *
252*5113495bSYour Name  * This ini is  used to set VHT Rx MCS capability for 1x1 mode.
253*5113495bSYour Name  * 0, MCS0-7
254*5113495bSYour Name  * 1, MCS0-8
255*5113495bSYour Name  * 2, MCS0-9
256*5113495bSYour Name  *
257*5113495bSYour Name  * Related: NA
258*5113495bSYour Name  *
259*5113495bSYour Name  * Supported Feature: 11AC
260*5113495bSYour Name  *
261*5113495bSYour Name  * Usage: External
262*5113495bSYour Name  *
263*5113495bSYour Name  * </ini>
264*5113495bSYour Name  */
265*5113495bSYour Name #define CFG_VHT_ENABLE_RX_MCS_8_9 CFG_INI_UINT( \
266*5113495bSYour Name 		"gVhtRxMCS", \
267*5113495bSYour Name 		0, \
268*5113495bSYour Name 		2, \
269*5113495bSYour Name 		2, \
270*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
271*5113495bSYour Name 		"VHT Rx MCS")
272*5113495bSYour Name 
273*5113495bSYour Name /*
274*5113495bSYour Name  * <ini>
275*5113495bSYour Name  * gVhtTxMCS - VHT Tx MCS capability for 1x1 mode
276*5113495bSYour Name  * @Min: 0
277*5113495bSYour Name  * @Max: 2
278*5113495bSYour Name  * @Default: 2
279*5113495bSYour Name  *
280*5113495bSYour Name  * This ini is  used to set VHT Tx MCS capability for 1x1 mode.
281*5113495bSYour Name  * 0, MCS0-7
282*5113495bSYour Name  * 1, MCS0-8
283*5113495bSYour Name  * 2, MCS0-9
284*5113495bSYour Name  *
285*5113495bSYour Name  * Related: NA
286*5113495bSYour Name  *
287*5113495bSYour Name  * Supported Feature: 11AC
288*5113495bSYour Name  *
289*5113495bSYour Name  * Usage: External
290*5113495bSYour Name  *
291*5113495bSYour Name  * </ini>
292*5113495bSYour Name  */
293*5113495bSYour Name #define CFG_VHT_ENABLE_TX_MCS_8_9 CFG_INI_UINT( \
294*5113495bSYour Name 		"gVhtTxMCS", \
295*5113495bSYour Name 		0, \
296*5113495bSYour Name 		2, \
297*5113495bSYour Name 		2, \
298*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
299*5113495bSYour Name 		"VHT Tx MCS")
300*5113495bSYour Name 
301*5113495bSYour Name /*
302*5113495bSYour Name  * <ini>
303*5113495bSYour Name  * gVhtRxMCS2x2 - VHT Rx MCS capability for 2x2 mode
304*5113495bSYour Name  * @Min: 0
305*5113495bSYour Name  * @Max: 2
306*5113495bSYour Name  * @Default: 2
307*5113495bSYour Name  *
308*5113495bSYour Name  * This ini is  used to set VHT Rx MCS capability for 2x2 mode.
309*5113495bSYour Name  * 0, MCS0-7
310*5113495bSYour Name  * 1, MCS0-8
311*5113495bSYour Name  * 2, MCS0-9
312*5113495bSYour Name  *
313*5113495bSYour Name  * Related: NA
314*5113495bSYour Name  *
315*5113495bSYour Name  * Supported Feature: 11AC
316*5113495bSYour Name  *
317*5113495bSYour Name  * Usage: External
318*5113495bSYour Name  *
319*5113495bSYour Name  * </ini>
320*5113495bSYour Name  */
321*5113495bSYour Name #define CFG_VHT_ENABLE_RX_MCS2x2_8_9 CFG_INI_UINT( \
322*5113495bSYour Name 		"gVhtRxMCS2x2", \
323*5113495bSYour Name 		0, \
324*5113495bSYour Name 		2, \
325*5113495bSYour Name 		2, \
326*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
327*5113495bSYour Name 		"VHT Rx MCS 2x2")
328*5113495bSYour Name 
329*5113495bSYour Name /*
330*5113495bSYour Name  * <ini>
331*5113495bSYour Name  * gVhtTxMCS2x2 - VHT Tx MCS capability for 2x2 mode
332*5113495bSYour Name  * @Min: 0
333*5113495bSYour Name  * @Max: 2
334*5113495bSYour Name  * @Default: 2
335*5113495bSYour Name  *
336*5113495bSYour Name  * This ini is  used to set VHT Tx MCS capability for 2x2 mode.
337*5113495bSYour Name  * 0, MCS0-7
338*5113495bSYour Name  * 1, MCS0-8
339*5113495bSYour Name  * 2, MCS0-9
340*5113495bSYour Name  *
341*5113495bSYour Name  * Related: NA
342*5113495bSYour Name  *
343*5113495bSYour Name  * Supported Feature: 11AC
344*5113495bSYour Name  *
345*5113495bSYour Name  * Usage: External
346*5113495bSYour Name  *
347*5113495bSYour Name  * </ini>
348*5113495bSYour Name  */
349*5113495bSYour Name #define CFG_VHT_ENABLE_TX_MCS2x2_8_9 CFG_INI_UINT( \
350*5113495bSYour Name 		"gVhtTxMCS2x2", \
351*5113495bSYour Name 		0, \
352*5113495bSYour Name 		2, \
353*5113495bSYour Name 		2, \
354*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
355*5113495bSYour Name 		"VHT Tx MCS 2x2")
356*5113495bSYour Name 
357*5113495bSYour Name /*
358*5113495bSYour Name  * <ini>
359*5113495bSYour Name  * enable_vht20_mcs9 - Enables VHT MCS9 in 20M BW operation
360*5113495bSYour Name  * @Min: 0
361*5113495bSYour Name  * @Max: 1
362*5113495bSYour Name  * @Default: 1
363*5113495bSYour Name  *
364*5113495bSYour Name  * Related: NA
365*5113495bSYour Name  *
366*5113495bSYour Name  * Supported Feature: 11AC
367*5113495bSYour Name  *
368*5113495bSYour Name  * Usage: External
369*5113495bSYour Name  *
370*5113495bSYour Name  * </ini>
371*5113495bSYour Name  */
372*5113495bSYour Name #define CFG_ENABLE_VHT20_MCS9 CFG_INI_BOOL( \
373*5113495bSYour Name 		"enable_vht20_mcs9", \
374*5113495bSYour Name 		1, \
375*5113495bSYour Name 		"Enables VHT MCS9 in 20M BW")
376*5113495bSYour Name 
377*5113495bSYour Name /*
378*5113495bSYour Name  * <ini>
379*5113495bSYour Name  * gEnable2x2 - Enables/disables VHT Tx/Rx MCS values for 2x2
380*5113495bSYour Name  * @Min: 0
381*5113495bSYour Name  * @Max: 1
382*5113495bSYour Name  * @Default: 1
383*5113495bSYour Name  *
384*5113495bSYour Name  * This ini disables/enables 2x2 mode. If this is zero then DUT operates as 1x1
385*5113495bSYour Name  *
386*5113495bSYour Name  * 0, Disable
387*5113495bSYour Name  * 1, Enable
388*5113495bSYour Name  *
389*5113495bSYour Name  * Related: NA
390*5113495bSYour Name  *
391*5113495bSYour Name  * Supported Feature: 11AC
392*5113495bSYour Name  *
393*5113495bSYour Name  * Usage: External
394*5113495bSYour Name  *
395*5113495bSYour Name  * </ini>
396*5113495bSYour Name  */
397*5113495bSYour Name #define CFG_VHT_ENABLE_2x2_CAP_FEATURE CFG_INI_BOOL( \
398*5113495bSYour Name 		"gEnable2x2", \
399*5113495bSYour Name 		1, \
400*5113495bSYour Name 		"VHT Enable 2x2")
401*5113495bSYour Name 
402*5113495bSYour Name /*
403*5113495bSYour Name  * <ini>
404*5113495bSYour Name  * gEnableMuBformee - Enables/disables multi-user (MU) beam formee capability
405*5113495bSYour Name  * @Min: 0
406*5113495bSYour Name  * @Max: 1
407*5113495bSYour Name  * @Default: 1
408*5113495bSYour Name  *
409*5113495bSYour Name  * This ini enables/disables multi-user (MU) beam formee
410*5113495bSYour Name  * capability
411*5113495bSYour Name  *
412*5113495bSYour Name  * Change MU Bformee only when  gTxBFEnable is enabled.
413*5113495bSYour Name  * When gTxBFEnable and gEnableMuBformee are set, MU beam formee capability is
414*5113495bSYour Name  * enabled.
415*5113495bSYour Name  * Related:  gTxBFEnable
416*5113495bSYour Name  *
417*5113495bSYour Name  * Supported Feature: 11AC
418*5113495bSYour Name  *
419*5113495bSYour Name  * Usage: External
420*5113495bSYour Name  *
421*5113495bSYour Name  * </ini>
422*5113495bSYour Name  */
423*5113495bSYour Name #define CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE CFG_INI_BOOL( \
424*5113495bSYour Name 		"gEnableMuBformee", \
425*5113495bSYour Name 		1, \
426*5113495bSYour Name 		"VHT Enable MU Beamformee")
427*5113495bSYour Name 
428*5113495bSYour Name /*
429*5113495bSYour Name  * <ini>
430*5113495bSYour Name  * gEnablePAID - VHT partial AID feature
431*5113495bSYour Name  * @Min: 0
432*5113495bSYour Name  * @Max: 1
433*5113495bSYour Name  * @Default: 0
434*5113495bSYour Name  *
435*5113495bSYour Name  * This option enables/disables VHT partial AID feature.
436*5113495bSYour Name  * Related: NA
437*5113495bSYour Name  *
438*5113495bSYour Name  * Supported Feature: 11AC
439*5113495bSYour Name  *
440*5113495bSYour Name  * Usage: External
441*5113495bSYour Name  *
442*5113495bSYour Name  * </ini>
443*5113495bSYour Name  */
444*5113495bSYour Name #define CFG_VHT_ENABLE_PAID_FEATURE CFG_INI_BOOL( \
445*5113495bSYour Name 		"gEnablePAID", \
446*5113495bSYour Name 		0, \
447*5113495bSYour Name 		"VHT Enable PAID")
448*5113495bSYour Name 
449*5113495bSYour Name /*
450*5113495bSYour Name  * <ini>
451*5113495bSYour Name  * gEnableGID - VHT Group ID feature
452*5113495bSYour Name  * @Min: 0
453*5113495bSYour Name  * @Max: 1
454*5113495bSYour Name  * @Default: 0
455*5113495bSYour Name  *
456*5113495bSYour Name  * This option enables/disables VHT Group ID feature.
457*5113495bSYour Name  * Related: NA
458*5113495bSYour Name  *
459*5113495bSYour Name  * Supported Feature: 11AC
460*5113495bSYour Name  *
461*5113495bSYour Name  * Usage: External
462*5113495bSYour Name  *
463*5113495bSYour Name  * </ini>
464*5113495bSYour Name  */
465*5113495bSYour Name #define CFG_VHT_ENABLE_GID_FEATURE CFG_INI_BOOL( \
466*5113495bSYour Name 		"gEnableGID", \
467*5113495bSYour Name 		0, \
468*5113495bSYour Name 		"VHT Enable GID")
469*5113495bSYour Name 
470*5113495bSYour Name /*
471*5113495bSYour Name  * <ini>
472*5113495bSYour Name  * gEnableVhtFor24GHzBand - Enable VHT for 2.4GHZ in SAP mode
473*5113495bSYour Name  * @Min: 0
474*5113495bSYour Name  * @Max: 1
475*5113495bSYour Name  * @Default: 1
476*5113495bSYour Name  *
477*5113495bSYour Name  * Related: NA
478*5113495bSYour Name  *
479*5113495bSYour Name  * Supported Feature: 11AC
480*5113495bSYour Name  *
481*5113495bSYour Name  * Usage: External
482*5113495bSYour Name  *
483*5113495bSYour Name  * </ini>
484*5113495bSYour Name  */
485*5113495bSYour Name #define CFG_ENABLE_VHT_FOR_24GHZ CFG_INI_BOOL( \
486*5113495bSYour Name 		"gEnableVhtFor24GHzBand", \
487*5113495bSYour Name 		1, \
488*5113495bSYour Name 		"VHT Enable for 24GHz")
489*5113495bSYour Name 
490*5113495bSYour Name /*
491*5113495bSYour Name  * gEnableVendorVhtFor24GHzBand - Parameter to control VHT support
492*5113495bSYour Name  * based on vendor ie in 2.4 GHz band
493*5113495bSYour Name  * @Min: 0
494*5113495bSYour Name  * @Max: 1
495*5113495bSYour Name  * @Default: 1
496*5113495bSYour Name  *
497*5113495bSYour Name  * This parameter will enable SAP to read VHT capability in vendor ie in Assoc
498*5113495bSYour Name  * Req and send VHT caps in Resp to establish connection in VHT Mode.
499*5113495bSYour Name  * Supported Feature: SAP
500*5113495bSYour Name  *
501*5113495bSYour Name  *
502*5113495bSYour Name  * Usage: External
503*5113495bSYour Name  *
504*5113495bSYour Name  * </ini>
505*5113495bSYour Name  */
506*5113495bSYour Name #define CFG_ENABLE_VENDOR_VHT_FOR_24GHZ CFG_INI_BOOL( \
507*5113495bSYour Name 		"gEnableVendorVhtFor24GHzBand", \
508*5113495bSYour Name 		1, \
509*5113495bSYour Name 		"VHT Enable Vendor for 24GHz")
510*5113495bSYour Name 
511*5113495bSYour Name /*
512*5113495bSYour Name  * <ini>
513*5113495bSYour Name  * gVhtAmpduLenExponent - maximum receive AMPDU size configuration
514*5113495bSYour Name  * @Min: 0
515*5113495bSYour Name  * @Max: 7
516*5113495bSYour Name  * @Default: 7
517*5113495bSYour Name  *
518*5113495bSYour Name  * Related: NA
519*5113495bSYour Name  *
520*5113495bSYour Name  * Supported Feature: 11AC
521*5113495bSYour Name  *
522*5113495bSYour Name  * Usage: External
523*5113495bSYour Name  *
524*5113495bSYour Name  * </ini>
525*5113495bSYour Name  */
526*5113495bSYour Name #define CFG_VHT_AMPDU_LEN_EXPONENT CFG_INI_UINT( \
527*5113495bSYour Name 		"gVhtAmpduLenExponent", \
528*5113495bSYour Name 		0, \
529*5113495bSYour Name 		7, \
530*5113495bSYour Name 		7, \
531*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
532*5113495bSYour Name 		"VHT AMPDU Len in Exponent")
533*5113495bSYour Name 
534*5113495bSYour Name /*
535*5113495bSYour Name  * <ini>
536*5113495bSYour Name  * gVhtMpduLen - VHT MPDU length
537*5113495bSYour Name  * @Min: 0
538*5113495bSYour Name  * @Max: 2
539*5113495bSYour Name  * @Default: 2
540*5113495bSYour Name  *
541*5113495bSYour Name  * Related: NA
542*5113495bSYour Name  *
543*5113495bSYour Name  * Supported Feature: 11AC
544*5113495bSYour Name  *
545*5113495bSYour Name  * Usage: External
546*5113495bSYour Name  *
547*5113495bSYour Name  * </ini>
548*5113495bSYour Name  */
549*5113495bSYour Name #define CFG_VHT_MPDU_LEN CFG_INI_UINT( \
550*5113495bSYour Name 		"gVhtMpduLen", \
551*5113495bSYour Name 		0, \
552*5113495bSYour Name 		2, \
553*5113495bSYour Name 		2, \
554*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
555*5113495bSYour Name 		"VHT MPDU Length")
556*5113495bSYour Name 
557*5113495bSYour Name /*
558*5113495bSYour Name  * <ini>
559*5113495bSYour Name  * gEnableTxBFeeSAP - Enable / Disable Tx beamformee in SAP mode
560*5113495bSYour Name  * @Min: 0
561*5113495bSYour Name  * @Max: 1
562*5113495bSYour Name  * @Default: 1
563*5113495bSYour Name  *
564*5113495bSYour Name  * Related: NA
565*5113495bSYour Name  *
566*5113495bSYour Name  * Supported Feature: 11AC
567*5113495bSYour Name  *
568*5113495bSYour Name  * Usage: External
569*5113495bSYour Name  *
570*5113495bSYour Name  * </ini>
571*5113495bSYour Name  */
572*5113495bSYour Name #define CFG_VHT_ENABLE_TXBF_SAP_MODE CFG_INI_BOOL( \
573*5113495bSYour Name 			"gEnableTxBFeeSAP", \
574*5113495bSYour Name 			1, \
575*5113495bSYour Name 			"Enable tx bf sap mode")
576*5113495bSYour Name 
577*5113495bSYour Name /*
578*5113495bSYour Name  * <ini>
579*5113495bSYour Name  * enable_subfee_vendor_vhtie - ini to enable/disable SU Bformee in vendor VHTIE
580*5113495bSYour Name  * @Min: 0
581*5113495bSYour Name  * @Max: 1
582*5113495bSYour Name  * @Default: 1
583*5113495bSYour Name  *
584*5113495bSYour Name  * This ini is used to enable/disable SU Bformee in vendor vht ie if gTxBFEnable
585*5113495bSYour Name  * is enabled. if gTxBFEnable is 0 this will not have any effect.
586*5113495bSYour Name  *
587*5113495bSYour Name  * Related: gTxBFEnable.
588*5113495bSYour Name  *
589*5113495bSYour Name  * Supported Feature: STA
590*5113495bSYour Name  *
591*5113495bSYour Name  * Usage: External
592*5113495bSYour Name  *
593*5113495bSYour Name  * </ini>
594*5113495bSYour Name  */
595*5113495bSYour Name #define CFG_ENABLE_SUBFEE_IN_VENDOR_VHTIE CFG_INI_BOOL( \
596*5113495bSYour Name 			"enable_subfee_vendor_vhtie", \
597*5113495bSYour Name 			1, \
598*5113495bSYour Name 			"Enable subfee in vendor vht ie")
599*5113495bSYour Name 
600*5113495bSYour Name /*
601*5113495bSYour Name  * <ini>
602*5113495bSYour Name  * enable_vhtmcs_10_11_support - Enable/Disable vht mcs 10, 11 support
603*5113495bSYour Name  * @Min: 0
604*5113495bSYour Name  * @Max: 1
605*5113495bSYour Name  * @Default: 1
606*5113495bSYour Name  *
607*5113495bSYour Name  * This ini is  used to enable/disable mcs 10, 11 support.
608*5113495bSYour Name  *
609*5113495bSYour Name  * Related: NA
610*5113495bSYour Name  *
611*5113495bSYour Name  * Usage: Internal
612*5113495bSYour Name  *
613*5113495bSYour Name  * </ini>
614*5113495bSYour Name  */
615*5113495bSYour Name #define CFG_ENABLE_VHT_MCS_10_11 CFG_INI_BOOL( \
616*5113495bSYour Name 		"enable_vhtmcs_10_11_support", \
617*5113495bSYour Name 		1, \
618*5113495bSYour Name 		"Enable/Disable vht mcs 10, 11 support")
619*5113495bSYour Name 
620*5113495bSYour Name #define CFG_VHT_CAPS_ALL \
621*5113495bSYour Name 	CFG(CFG_VHT_SUPP_CHAN_WIDTH) \
622*5113495bSYour Name 	CFG(CFG_VHT_SU_BEAMFORMEE_CAP) \
623*5113495bSYour Name 	CFG(CFG_VHT_BEAMFORMEE_ANT_SUPP) \
624*5113495bSYour Name 	CFG(CFG_VHT_ENABLE_TX_SU_BEAM_FORMER) \
625*5113495bSYour Name 	CFG(CFG_VHT_NUM_SOUNDING_DIMENSIONS) \
626*5113495bSYour Name 	CFG(CFG_VHT_MU_BEAMFORMER_CAP) \
627*5113495bSYour Name 	CFG(CFG_VHT_TXOP_PS) \
628*5113495bSYour Name 	CFG(CFG_VHT_HTC_VHTC) \
629*5113495bSYour Name 	CFG(CFG_VHT_LINK_ADAPTATION_CAP) \
630*5113495bSYour Name 	CFG(CFG_VHT_RX_ANT_PATTERN) \
631*5113495bSYour Name 	CFG(CFG_VHT_TX_ANT_PATTERN) \
632*5113495bSYour Name 	CFG(CFG_VHT_RX_SUPP_DATA_RATE) \
633*5113495bSYour Name 	CFG(CFG_VHT_TX_SUPP_DATA_RATE) \
634*5113495bSYour Name 	CFG(CFG_VHT_ENABLE_TXBF_IN_20MHZ) \
635*5113495bSYour Name 	CFG(CFG_VHT_CHANNEL_WIDTH) \
636*5113495bSYour Name 	CFG(CFG_VHT_ENABLE_RX_MCS_8_9) \
637*5113495bSYour Name 	CFG(CFG_VHT_ENABLE_TX_MCS_8_9) \
638*5113495bSYour Name 	CFG(CFG_VHT_ENABLE_RX_MCS2x2_8_9) \
639*5113495bSYour Name 	CFG(CFG_VHT_ENABLE_TX_MCS2x2_8_9) \
640*5113495bSYour Name 	CFG(CFG_ENABLE_VHT20_MCS9) \
641*5113495bSYour Name 	CFG(CFG_VHT_ENABLE_2x2_CAP_FEATURE) \
642*5113495bSYour Name 	CFG(CFG_VHT_ENABLE_MU_BFORMEE_CAP_FEATURE) \
643*5113495bSYour Name 	CFG(CFG_VHT_ENABLE_PAID_FEATURE) \
644*5113495bSYour Name 	CFG(CFG_VHT_ENABLE_GID_FEATURE) \
645*5113495bSYour Name 	CFG(CFG_ENABLE_VHT_FOR_24GHZ) \
646*5113495bSYour Name 	CFG(CFG_ENABLE_VENDOR_VHT_FOR_24GHZ) \
647*5113495bSYour Name 	CFG(CFG_VHT_AMPDU_LEN_EXPONENT) \
648*5113495bSYour Name 	CFG(CFG_VHT_MPDU_LEN) \
649*5113495bSYour Name 	CFG(CFG_VHT_ENABLE_TXBF_SAP_MODE) \
650*5113495bSYour Name 	CFG(CFG_ENABLE_SUBFEE_IN_VENDOR_VHTIE) \
651*5113495bSYour Name 	CFG(CFG_TX_BF_CAP) \
652*5113495bSYour Name 	CFG(CFG_AS_CAP) \
653*5113495bSYour Name 	CFG(CFG_DISABLE_LDPC_WITH_TXBF_AP) \
654*5113495bSYour Name 	CFG(CFG_ENABLE_VHT_MCS_10_11)
655*5113495bSYour Name 
656*5113495bSYour Name #endif /* __CFG_MLME_VHT_CAPS_H */
657