xref: /wlan-driver/qcacld-3.0/components/mlme/dispatcher/inc/cfg_mlme_edca_params.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2011-2021 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
4*5113495bSYour Name  *
5*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
6*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
7*5113495bSYour Name  * above copyright notice and this permission notice appear in all
8*5113495bSYour Name  * copies.
9*5113495bSYour Name  *
10*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
18*5113495bSYour Name  */
19*5113495bSYour Name 
20*5113495bSYour Name /**
21*5113495bSYour Name  * DOC: This file contains centralized definitions of converged configuration.
22*5113495bSYour Name  */
23*5113495bSYour Name 
24*5113495bSYour Name #ifndef __CFG_MLME_EDCA__PARAM_H
25*5113495bSYour Name #define __CFG_MLME_EDCA__PARAM_H
26*5113495bSYour Name 
27*5113495bSYour Name #define STR_EDCA_ANI_ACBK_LOCAL "0x0, 0x7, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0x1f, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0"
28*5113495bSYour Name #define STR_EDCA_ANI_ACBK_LOCAL_LEN (sizeof(STR_EDCA_ANI_ACBK_LOCAL) - 1)
29*5113495bSYour Name 
30*5113495bSYour Name #define CFG_EDCA_ANI_ACBK_LOCAL CFG_INI_STRING( \
31*5113495bSYour Name 		"edca_ani_acbk_local", \
32*5113495bSYour Name 		0, \
33*5113495bSYour Name 		STR_EDCA_ANI_ACBK_LOCAL_LEN, \
34*5113495bSYour Name 		STR_EDCA_ANI_ACBK_LOCAL, \
35*5113495bSYour Name 		"EDCA ANI ACBK LOCAL")
36*5113495bSYour Name 
37*5113495bSYour Name #define STR_EDCA_ANI_ACBE_LOCAL "0x0, 0x2, 0x0, 0xf, 0x3, 0xff, 0x64, 0x0, 0x1f, 0x3, 0xff, 0x64, 0x0, 0xf, 0x3, 0xff, 0x64"
38*5113495bSYour Name #define STR_EDCA_ANI_ACBE_LOCAL_LEN (sizeof(STR_EDCA_ANI_ACBE_LOCAL) - 1)
39*5113495bSYour Name 
40*5113495bSYour Name #define CFG_EDCA_ANI_ACBE_LOCAL CFG_INI_STRING( \
41*5113495bSYour Name 		"edca_ani_acbe_local", \
42*5113495bSYour Name 		0, \
43*5113495bSYour Name 		STR_EDCA_ANI_ACBE_LOCAL_LEN, \
44*5113495bSYour Name 		STR_EDCA_ANI_ACBE_LOCAL, \
45*5113495bSYour Name 		"EDCA ANI ACBE LOCAL")
46*5113495bSYour Name 
47*5113495bSYour Name #define STR_EDCA_ANI_ACVI_LOCAL "0x0, 0x2, 0x0, 0x7, 0x0, 0xf, 0xc8, 0x0, 0xf, 0x0, 0x1f, 0xbc, 0x0, 0x7, 0x0, 0xf, 0xc8"
48*5113495bSYour Name #define STR_EDCA_ANI_ACVI_LOCAL_LEN (sizeof(STR_EDCA_ANI_ACVI_LOCAL) - 1)
49*5113495bSYour Name 
50*5113495bSYour Name #define CFG_EDCA_ANI_ACVI_LOCAL CFG_INI_STRING( \
51*5113495bSYour Name 		"edca_ani_acvi_local",\
52*5113495bSYour Name 		0, \
53*5113495bSYour Name 		STR_EDCA_ANI_ACVI_LOCAL_LEN, \
54*5113495bSYour Name 		STR_EDCA_ANI_ACVI_LOCAL, \
55*5113495bSYour Name 		"EDCA ANI ACVI LOCAL")
56*5113495bSYour Name 
57*5113495bSYour Name #define STR_EDCA_ANI_ACVO_LOCAL "0x0, 0x2, 0x0, 0x3, 0x0, 0x7, 0x64, 0x0, 0x7, 0x0, 0xf, 0x66, 0x0, 0x3, 0x0, 0x7, 0x64"
58*5113495bSYour Name #define STR_EDCA_ANI_ACVO_LOCAL_LEN (sizeof(STR_EDCA_ANI_ACVO_LOCAL) - 1)
59*5113495bSYour Name 
60*5113495bSYour Name #define CFG_EDCA_ANI_ACVO_LOCAL CFG_INI_STRING( \
61*5113495bSYour Name 		"edca_ani_acvo_local", \
62*5113495bSYour Name 		0, \
63*5113495bSYour Name 		STR_EDCA_ANI_ACVO_LOCAL_LEN, \
64*5113495bSYour Name 		STR_EDCA_ANI_ACVO_LOCAL, \
65*5113495bSYour Name 		"EDCA ANI ACVO LOCAL")
66*5113495bSYour Name 
67*5113495bSYour Name #define STR_EDCA_ANI_ACBK "0x0, 0x7, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0x1f, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0"
68*5113495bSYour Name #define STR_EDCA_ANI_ACBK_LEN (sizeof(STR_EDCA_ANI_ACBK) - 1)
69*5113495bSYour Name 
70*5113495bSYour Name #define CFG_EDCA_ANI_ACBK CFG_INI_STRING( \
71*5113495bSYour Name 		"edca_ani_acbk", \
72*5113495bSYour Name 		0, \
73*5113495bSYour Name 		STR_EDCA_ANI_ACBK_LEN, \
74*5113495bSYour Name 		STR_EDCA_ANI_ACBK, \
75*5113495bSYour Name 		"EDCA ANI ACBK BROADCAST")
76*5113495bSYour Name 
77*5113495bSYour Name #define STR_EDCA_ANI_ACBE "0x0, 0x2, 0x0, 0xf, 0x3, 0xff, 0x64, 0x0, 0x1f, 0x3, 0xff, 0x64, 0x0, 0xf, 0x3, 0xff, 0x64"
78*5113495bSYour Name #define STR_EDCA_ANI_ACBE_LEN (sizeof(STR_EDCA_ANI_ACBE) - 1)
79*5113495bSYour Name 
80*5113495bSYour Name #define CFG_EDCA_ANI_ACBE CFG_INI_STRING( \
81*5113495bSYour Name 		"edca_ani_acbe", \
82*5113495bSYour Name 		0, \
83*5113495bSYour Name 		STR_EDCA_ANI_ACBE_LEN, \
84*5113495bSYour Name 		STR_EDCA_ANI_ACBE, \
85*5113495bSYour Name 		"EDCA ANI ACBE BROADCAST")
86*5113495bSYour Name 
87*5113495bSYour Name #define STR_EDCA_ANI_ACVI "0x0, 0x2, 0x0, 0x7, 0x0, 0xf, 0xc8, 0x0, 0xf, 0x0, 0x1f, 0xbc, 0x0, 0x7, 0x0, 0xf, 0xc8"
88*5113495bSYour Name #define STR_EDCA_ANI_ACVI_LEN (sizeof(STR_EDCA_ANI_ACVI) - 1)
89*5113495bSYour Name 
90*5113495bSYour Name #define CFG_EDCA_ANI_ACVI CFG_INI_STRING( \
91*5113495bSYour Name 		"edca_ani_acvi", \
92*5113495bSYour Name 		0, \
93*5113495bSYour Name 		STR_EDCA_ANI_ACVI_LEN, \
94*5113495bSYour Name 		STR_EDCA_ANI_ACVI, \
95*5113495bSYour Name 		"EDCA ANI ACVI BROADCAST")
96*5113495bSYour Name 
97*5113495bSYour Name #define STR_EDCA_ANI_ACVO "0x0, 0x2, 0x0, 0x3, 0x0, 0x7, 0x64, 0x0, 0x7, 0x0, 0xf, 0x66, 0x0, 0x3, 0x0, 0x7, 0x64"
98*5113495bSYour Name #define STR_EDCA_ANI_ACVO_LEN (sizeof(STR_EDCA_ANI_ACVO) - 1)
99*5113495bSYour Name 
100*5113495bSYour Name #define CFG_EDCA_ANI_ACVO CFG_INI_STRING( \
101*5113495bSYour Name 		"edca_ani_acvo", \
102*5113495bSYour Name 		0, \
103*5113495bSYour Name 		STR_EDCA_ANI_ACVO_LEN, \
104*5113495bSYour Name 		STR_EDCA_ANI_ACVO, \
105*5113495bSYour Name 		"EDCA ANI ACVO BROADCAST")
106*5113495bSYour Name 
107*5113495bSYour Name #define STR_EDCA_WME_ACBK_LOCAL "0x0, 0x7, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0x1f, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0"
108*5113495bSYour Name #define STR_EDCA_WME_ACBK_LOCAL_LEN (sizeof(STR_EDCA_WME_ACBK_LOCAL) - 1)
109*5113495bSYour Name 
110*5113495bSYour Name /*
111*5113495bSYour Name  * <ini>
112*5113495bSYour Name  * edca_wme_acbk_local - Set EDCA parameters for WME local AC BK
113*5113495bSYour Name  * @Default: 0x0,0x7,0x0,0xf,0x3,0xff,0x0,0x0,0x1f,0x3,0xff,0x0,0x0,0xf,0x3,
114*5113495bSYour Name  *	     0xff,0x0
115*5113495bSYour Name  *
116*5113495bSYour Name  * This ini is used to set EDCA parameters for WME AC BK that are used locally
117*5113495bSYour Name  * on AP. The ini is with 17 bytes and comma is used as a separator for each
118*5113495bSYour Name  * byte. Index of each byte is defined in wlan_mlme_public_struct.h, such as
119*5113495bSYour Name  * CFG_EDCA_PROFILE_ACM_IDX.
120*5113495bSYour Name  *
121*5113495bSYour Name  * For cwmin and cwmax, they each occupy two bytes with the index defined
122*5113495bSYour Name  * above. The actual value are counted as number of bits with 1, e.g.
123*5113495bSYour Name  * "0x0,0x3f" means a value of 6. And final cwmin and cwmax will be converted
124*5113495bSYour Name  * to 2^value - 1.
125*5113495bSYour Name  *
126*5113495bSYour Name  * Related: None
127*5113495bSYour Name  *
128*5113495bSYour Name  * Supported Feature: AP
129*5113495bSYour Name  *
130*5113495bSYour Name  * Usage: External
131*5113495bSYour Name  *
132*5113495bSYour Name  * </ini>
133*5113495bSYour Name  */
134*5113495bSYour Name #define CFG_EDCA_WME_ACBK_LOCAL CFG_INI_STRING( \
135*5113495bSYour Name 		"edca_wme_acbk_local", \
136*5113495bSYour Name 		0, \
137*5113495bSYour Name 		STR_EDCA_WME_ACBK_LOCAL_LEN, \
138*5113495bSYour Name 		STR_EDCA_WME_ACBK_LOCAL, \
139*5113495bSYour Name 		"EDCA WME ACBK LOCAL")
140*5113495bSYour Name 
141*5113495bSYour Name #define STR_EDCA_WME_ACBE_LOCAL "0x0, 0x3, 0x0, 0xf, 0x0, 0x3f, 0x0, 0x0, 0x1f, 0x3, 0xff, 0x0, 0x0, 0xf, 0x0, 0x3f, 0x0"
142*5113495bSYour Name #define STR_EDCA_WME_ACBE_LOCAL_LEN (sizeof(STR_EDCA_WME_ACBE_LOCAL) - 1)
143*5113495bSYour Name 
144*5113495bSYour Name /*
145*5113495bSYour Name  * <ini>
146*5113495bSYour Name  * edca_wme_acbe_local - Set EDCA parameters for WME local AC BE
147*5113495bSYour Name  * @Default: 0x0,0x3,0x0,0xf,0x0,0x3f,0x0,0x0,0x1f,0x3,0xff,0x0,0x0,0xf,0x0,
148*5113495bSYour Name  *	     0x3f,0x0
149*5113495bSYour Name  *
150*5113495bSYour Name  * This ini is used to set EDCA parameters for WME AC BE that are used locally
151*5113495bSYour Name  * on AP. The ini is with 17 bytes and comma is used as a separator for each
152*5113495bSYour Name  * byte. Index of each byte is defined in wlan_mlme_public_struct.h, such as
153*5113495bSYour Name  * CFG_EDCA_PROFILE_ACM_IDX.
154*5113495bSYour Name  *
155*5113495bSYour Name  * For cwmin and cwmax, they each occupy two bytes with the index defined
156*5113495bSYour Name  * above. The actual value are counted as number of bits with 1, e.g.
157*5113495bSYour Name  * "0x0,0x3f" means a value of 6. And final cwmin and cwmax will be converted
158*5113495bSYour Name  * to 2^value - 1.
159*5113495bSYour Name  *
160*5113495bSYour Name  * Related: None
161*5113495bSYour Name  *
162*5113495bSYour Name  * Supported Feature: AP
163*5113495bSYour Name  *
164*5113495bSYour Name  * Usage: External
165*5113495bSYour Name  *
166*5113495bSYour Name  * </ini>
167*5113495bSYour Name  */
168*5113495bSYour Name #define CFG_EDCA_WME_ACBE_LOCAL CFG_INI_STRING( \
169*5113495bSYour Name 		"edca_wme_acbe_local", \
170*5113495bSYour Name 		0, \
171*5113495bSYour Name 		STR_EDCA_WME_ACBE_LOCAL_LEN, \
172*5113495bSYour Name 		STR_EDCA_WME_ACBE_LOCAL, \
173*5113495bSYour Name 		"EDCA WME ACBE LOCAL")
174*5113495bSYour Name 
175*5113495bSYour Name #define STR_EDCA_WME_ACVI_LOCAL "0x0, 0x1, 0x0, 0x7, 0x0, 0xf, 0x5e, 0x0, 0x7, 0x0, 0xf, 0xbc, 0x0, 0x7, 0x0, 0xf, 0x5e"
176*5113495bSYour Name #define STR_EDCA_WME_ACVI_LOCAL_LEN (sizeof(STR_EDCA_WME_ACVI_LOCAL) - 1)
177*5113495bSYour Name 
178*5113495bSYour Name /*
179*5113495bSYour Name  * <ini>
180*5113495bSYour Name  * edca_wme_acvi_local - Set EDCA parameters for WME AC VI
181*5113495bSYour Name  * @Default: 0x0,0x1,0x0,0x7,0x0,0xf,0x5e,0x0,0x7,0x0,0xf,0xbc,0x0,0x7,0x0,0xf,
182*5113495bSYour Name  *	     0x5e
183*5113495bSYour Name  *
184*5113495bSYour Name  * This ini is used to set EDCA parameters for WME AC VI that are used locally
185*5113495bSYour Name  * on AP. The ini is with 17 bytes and comma is used as a separator for each
186*5113495bSYour Name  * byte. Index of each byte is defined in wlan_mlme_public_struct.h, such as
187*5113495bSYour Name  * CFG_EDCA_PROFILE_ACM_IDX.
188*5113495bSYour Name  *
189*5113495bSYour Name  * For cwmin and cwmax, they each occupy two bytes with the index defined
190*5113495bSYour Name  * above. The actual value are counted as number of bits with 1, e.g.
191*5113495bSYour Name  * "0x0,0x3f" means a value of 6. And final cwmin and cwmax will be converted
192*5113495bSYour Name  * to 2^value - 1.
193*5113495bSYour Name  *
194*5113495bSYour Name  * Related: None
195*5113495bSYour Name  *
196*5113495bSYour Name  * Supported Feature: AP
197*5113495bSYour Name  *
198*5113495bSYour Name  * Usage: External
199*5113495bSYour Name  *
200*5113495bSYour Name  * </ini>
201*5113495bSYour Name  */
202*5113495bSYour Name #define CFG_EDCA_WME_ACVI_LOCAL CFG_INI_STRING( \
203*5113495bSYour Name 		"edca_wme_acvi_local", \
204*5113495bSYour Name 		0, \
205*5113495bSYour Name 		STR_EDCA_WME_ACVI_LOCAL_LEN, \
206*5113495bSYour Name 		STR_EDCA_WME_ACVI_LOCAL, \
207*5113495bSYour Name 		"EDCA WME ACVI LOCAL")
208*5113495bSYour Name 
209*5113495bSYour Name #define STR_EDCA_WME_ACVO_LOCAL "0x0, 0x1, 0x0, 0x3, 0x0, 0x7, 0x2f, 0x0, 0x3, 0x0, 0x7, 0x66, 0x0, 0x3, 0x0, 0x7, 0x2f"
210*5113495bSYour Name #define STR_EDCA_WME_ACVO_LOCAL_LEN (sizeof(STR_EDCA_WME_ACVO_LOCAL) - 1)
211*5113495bSYour Name 
212*5113495bSYour Name /*
213*5113495bSYour Name  * <ini>
214*5113495bSYour Name  * edca_wme_acvo_local - Set EDCA parameters for WME AC VO
215*5113495bSYour Name  * @Default: 0x0,0x1,0x0,0x3,0x0,0x7,0x2f,0x0,0x3,0x0,0x7,0x66,0x0,0x3,0x0,0x7,
216*5113495bSYour Name  *	     0x2f
217*5113495bSYour Name  *
218*5113495bSYour Name  * This ini is used to set EDCA parameters for WME AC VO that are used locally
219*5113495bSYour Name  * on AP. The ini is with 17 bytes and comma is used as a separator for each
220*5113495bSYour Name  * byte. Index of each byte is defined in wlan_mlme_public_struct.h, such as
221*5113495bSYour Name  * CFG_EDCA_PROFILE_ACM_IDX.
222*5113495bSYour Name  *
223*5113495bSYour Name  * For cwmin and cwmax, they each occupy two bytes with the index defined
224*5113495bSYour Name  * above. The actual value are counted as number of bits with 1, e.g.
225*5113495bSYour Name  * "0x0,0x3f" means a value of 6. And final cwmin and cwmax will be converted
226*5113495bSYour Name  * to 2^value - 1.
227*5113495bSYour Name  *
228*5113495bSYour Name  * Related: None
229*5113495bSYour Name  *
230*5113495bSYour Name  * Supported Feature: AP
231*5113495bSYour Name  *
232*5113495bSYour Name  * Usage: External
233*5113495bSYour Name  *
234*5113495bSYour Name  * </ini>
235*5113495bSYour Name  */
236*5113495bSYour Name #define CFG_EDCA_WME_ACVO_LOCAL CFG_INI_STRING( \
237*5113495bSYour Name 		"edca_wme_acvo_local", \
238*5113495bSYour Name 		0, \
239*5113495bSYour Name 		STR_EDCA_WME_ACVO_LOCAL_LEN, \
240*5113495bSYour Name 		STR_EDCA_WME_ACVO_LOCAL, \
241*5113495bSYour Name 		"EDCA WME ACVO LOCAL")
242*5113495bSYour Name 
243*5113495bSYour Name #define STR_EDCA_WME_ACBK "0x0, 0x7, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0"
244*5113495bSYour Name #define STR_EDCA_WME_ACBK_LEN (sizeof(STR_EDCA_WME_ACBK) - 1)
245*5113495bSYour Name 
246*5113495bSYour Name #define CFG_EDCA_WME_ACBK CFG_INI_STRING( \
247*5113495bSYour Name 		"edca_wme_acbk", \
248*5113495bSYour Name 		0, \
249*5113495bSYour Name 		STR_EDCA_WME_ACBK_LEN, \
250*5113495bSYour Name 		STR_EDCA_WME_ACBK, \
251*5113495bSYour Name 		"EDCA WME ACBK BROADCAST")
252*5113495bSYour Name 
253*5113495bSYour Name #define STR_EDCA_WME_ACBE "0x0, 0x3, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0"
254*5113495bSYour Name #define STR_EDCA_WME_ACBE_LEN (sizeof(STR_EDCA_WME_ACBE) - 1)
255*5113495bSYour Name 
256*5113495bSYour Name #define CFG_EDCA_WME_ACBE CFG_INI_STRING( \
257*5113495bSYour Name 		"edca_wme_acbe", \
258*5113495bSYour Name 		0, \
259*5113495bSYour Name 		STR_EDCA_WME_ACBE_LEN, \
260*5113495bSYour Name 		STR_EDCA_WME_ACBE, \
261*5113495bSYour Name 		"EDCA WME ACBE BROADCAST")
262*5113495bSYour Name 
263*5113495bSYour Name #define STR_EDCA_WME_ACVI "0x0, 0x2, 0x0, 0x7, 0x0, 0xf, 0x5e, 0x0, 0x7, 0x0, 0xf, 0xbc, 0x0, 0x7, 0x0, 0xf, 0x5e"
264*5113495bSYour Name #define STR_EDCA_WME_ACVI_LEN (sizeof(STR_EDCA_WME_ACVI) - 1)
265*5113495bSYour Name 
266*5113495bSYour Name #define CFG_EDCA_WME_ACVI CFG_INI_STRING( \
267*5113495bSYour Name 		"edca_wme_acvi", \
268*5113495bSYour Name 		0, \
269*5113495bSYour Name 		STR_EDCA_WME_ACVI_LEN, \
270*5113495bSYour Name 		STR_EDCA_WME_ACVI, \
271*5113495bSYour Name 		"EDCA WME ACVI BROADCAST")
272*5113495bSYour Name 
273*5113495bSYour Name #define STR_EDCA_WME_ACVO "0x0, 0x2, 0x0, 0x3, 0x0, 0x7, 0x2f, 0x0, 0x3, 0x0, 0x7, 0x66, 0x0, 0x3, 0x0, 0x7, 0x2f"
274*5113495bSYour Name #define STR_EDCA_WME_ACVO_LEN (sizeof(STR_EDCA_WME_ACVO) - 1)
275*5113495bSYour Name 
276*5113495bSYour Name #define CFG_EDCA_WME_ACVO CFG_INI_STRING( \
277*5113495bSYour Name 		"edca_wme_acvo", \
278*5113495bSYour Name 		0, \
279*5113495bSYour Name 		STR_EDCA_WME_ACVO_LEN, \
280*5113495bSYour Name 		STR_EDCA_WME_ACVO, \
281*5113495bSYour Name 		"EDCA WME ACVO BROADCAST")
282*5113495bSYour Name 
283*5113495bSYour Name #define STR_EDCA_ETSI_ACBK_LOCAL "0x0, 0x7, 0x0, 0xf, 0x3, 0xff, 0xbb, 0x0, 0x1f, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0"
284*5113495bSYour Name #define STR_EDCA_ETSI_ACBK_LOCAL_LEN (sizeof(STR_EDCA_ETSI_ACBK_LOCAL) - 1)
285*5113495bSYour Name 
286*5113495bSYour Name /*
287*5113495bSYour Name  * <ini>
288*5113495bSYour Name  * edca_etsi_acbk_local - Set EDCA parameters for ETSI local AC BK
289*5113495bSYour Name  * @Default: 0x0,0x7,0x0,0xf,0x3,0xff,0xbb,0x0,0x1f,0x3,0xff,0x0,0x0,0xf,0x3,
290*5113495bSYour Name  *	     0xff,0x0
291*5113495bSYour Name  *
292*5113495bSYour Name  * This ini is used to set EDCA parameters for ETSI AC BK that are used locally
293*5113495bSYour Name  * on AP. The ini is with 17 bytes and comma is used as a separator for each
294*5113495bSYour Name  * byte. Index of each byte is defined in wlan_mlme_public_struct.h, such as
295*5113495bSYour Name  * CFG_EDCA_PROFILE_ACM_IDX.
296*5113495bSYour Name  *
297*5113495bSYour Name  * For cwmin and cwmax, they each occupy two bytes with the index defined
298*5113495bSYour Name  * above. The actual value are counted as number of bits with 1, e.g.
299*5113495bSYour Name  * "0x0,0x3f" means a value of 6. And final cwmin and cwmax will be converted
300*5113495bSYour Name  * to 2^value - 1.
301*5113495bSYour Name  *
302*5113495bSYour Name  * Related: None
303*5113495bSYour Name  *
304*5113495bSYour Name  * Supported Feature: AP
305*5113495bSYour Name  *
306*5113495bSYour Name  * Usage: External
307*5113495bSYour Name  *
308*5113495bSYour Name  * </ini>
309*5113495bSYour Name  */
310*5113495bSYour Name #define CFG_EDCA_ETSI_ACBK_LOCAL CFG_INI_STRING( \
311*5113495bSYour Name 		"edca_etsi_acbk_local", \
312*5113495bSYour Name 		0, \
313*5113495bSYour Name 		STR_EDCA_ETSI_ACBK_LOCAL_LEN, \
314*5113495bSYour Name 		STR_EDCA_ETSI_ACBK_LOCAL, \
315*5113495bSYour Name 		"EDCA ETSI ACBK LOCAL")
316*5113495bSYour Name 
317*5113495bSYour Name #define STR_EDCA_ETSI_ACBE_LOCAL "0x0, 0x3, 0x0, 0xf, 0x0, 0x3f, 0xbb, 0x0, 0x1f, 0x3, 0xff, 0x0, 0x0, 0xf, 0x0, 0x3f, 0x0"
318*5113495bSYour Name #define STR_EDCA_ETSI_ACBE_LOCAL_LEN (sizeof(STR_EDCA_ETSI_ACBE_LOCAL) - 1)
319*5113495bSYour Name 
320*5113495bSYour Name /*
321*5113495bSYour Name  * <ini>
322*5113495bSYour Name  * edca_etsi_acbe_local - Set EDCA parameters for ETSI local AC BE
323*5113495bSYour Name  * @Default: 0x0,0x3,0x0,0xf,0x0,0x3f,0xbb,0x0,0x1f,0x3,0xff,0x0,0x0,0xf,0x0,
324*5113495bSYour Name  *	     0x3f,0x0
325*5113495bSYour Name  *
326*5113495bSYour Name  * This ini is used to set EDCA parameters for ETSI AC BE that are used locally
327*5113495bSYour Name  * on AP. The ini is with 17 bytes and comma is used as a separator for each
328*5113495bSYour Name  * byte. Index of each byte is defined in wlan_mlme_public_struct.h, such as
329*5113495bSYour Name  * CFG_EDCA_PROFILE_ACM_IDX.
330*5113495bSYour Name  *
331*5113495bSYour Name  * For cwmin and cwmax, they each occupy two bytes with the index defined
332*5113495bSYour Name  * above. The actual value are counted as number of bits with 1, e.g.
333*5113495bSYour Name  * "0x0,0x3f" means a value of 6. And final cwmin and cwmax will be converted
334*5113495bSYour Name  * to 2^value - 1.
335*5113495bSYour Name  *
336*5113495bSYour Name  * Related: None
337*5113495bSYour Name  *
338*5113495bSYour Name  * Supported Feature: AP
339*5113495bSYour Name  *
340*5113495bSYour Name  * Usage: External
341*5113495bSYour Name  *
342*5113495bSYour Name  * </ini>
343*5113495bSYour Name  */
344*5113495bSYour Name #define CFG_EDCA_ETSI_ACBE_LOCAL CFG_INI_STRING( \
345*5113495bSYour Name 		"edca_etsi_acbe_local", \
346*5113495bSYour Name 		0, \
347*5113495bSYour Name 		STR_EDCA_ETSI_ACBE_LOCAL_LEN, \
348*5113495bSYour Name 		STR_EDCA_ETSI_ACBE_LOCAL, \
349*5113495bSYour Name 		"EDCA ETSI ACBE LOCAL")
350*5113495bSYour Name 
351*5113495bSYour Name #define STR_EDCA_ETSI_ACVI_LOCAL "0x0, 0x1, 0x0, 0x7, 0x0, 0xf, 0x7d, 0x0, 0x7, 0x0, 0xf, 0xbc, 0x0, 0x7, 0x0, 0xf, 0x5e"
352*5113495bSYour Name #define STR_EDCA_ETSI_ACVI_LOCAL_LEN (sizeof(STR_EDCA_ETSI_ACVI_LOCAL) - 1)
353*5113495bSYour Name 
354*5113495bSYour Name /*
355*5113495bSYour Name  * <ini>
356*5113495bSYour Name  * edca_etsi_acvi_local - Set EDCA parameters for ETSI local AC VI
357*5113495bSYour Name  * @Default: 0x0,0x1,0x0,0x7,0x0,0xf,0x7d,0x0,0x7,0x0,0xf,0xbc,0x0,0x7,0x0,
358*5113495bSYour Name  *	     0xf,0x5e
359*5113495bSYour Name  *
360*5113495bSYour Name  * This ini is used to set EDCA parameters for ETSI AC VI that are used locally
361*5113495bSYour Name  * on AP. The ini is with 17 bytes and comma is used as a separator for each
362*5113495bSYour Name  * byte. Index of each byte is defined in wlan_mlme_public_struct.h, such as
363*5113495bSYour Name  * CFG_EDCA_PROFILE_ACM_IDX.
364*5113495bSYour Name  *
365*5113495bSYour Name  * For cwmin and cwmax, they each occupy two bytes with the index defined
366*5113495bSYour Name  * above. The actual value are counted as number of bits with 1, e.g.
367*5113495bSYour Name  * "0x0,0x3f" means a value of 6. And final cwmin and cwmax will be converted
368*5113495bSYour Name  * to 2^value - 1.
369*5113495bSYour Name  *
370*5113495bSYour Name  * Related: None
371*5113495bSYour Name  *
372*5113495bSYour Name  * Supported Feature: AP
373*5113495bSYour Name  *
374*5113495bSYour Name  * Usage: External
375*5113495bSYour Name  *
376*5113495bSYour Name  * </ini>
377*5113495bSYour Name  */
378*5113495bSYour Name #define CFG_EDCA_ETSI_ACVI_LOCAL CFG_INI_STRING( \
379*5113495bSYour Name 		"edca_etsi_acvi_local", \
380*5113495bSYour Name 		0, \
381*5113495bSYour Name 		STR_EDCA_ETSI_ACVI_LOCAL_LEN, \
382*5113495bSYour Name 		STR_EDCA_ETSI_ACVI_LOCAL, \
383*5113495bSYour Name 		"EDCA ETSI ACVI LOCAL")
384*5113495bSYour Name 
385*5113495bSYour Name #define STR_EDCA_ETSI_ACVO_LOCAL "0x0, 0x1, 0x0, 0x3, 0x0, 0x7, 0x3e, 0x0, 0x3, 0x0, 0x7, 0x66, 0x0, 0x3, 0x0, 0x7, 0x2f"
386*5113495bSYour Name #define STR_EDCA_ETSI_ACVO_LOCAL_LEN (sizeof(STR_EDCA_ETSI_ACVO_LOCAL) - 1)
387*5113495bSYour Name 
388*5113495bSYour Name /*
389*5113495bSYour Name  * <ini>
390*5113495bSYour Name  * edca_etsi_acvo_local - Set EDCA parameters for ETSI local AC VO
391*5113495bSYour Name  * @Default: 0x0,0x1,0x0,0x3,0x0,0x7,0x3e,0x0,0x3,0x0,0x7,0x66,0x0,0x3,0x0,
392*5113495bSYour Name  *	     0x7,0x2f
393*5113495bSYour Name  *
394*5113495bSYour Name  * This ini is used to set EDCA parameters for ETSI AC VO that are used locally
395*5113495bSYour Name  * on AP. The ini is with 17 bytes and comma is used as a separator for each
396*5113495bSYour Name  * byte. Index of each byte is defined in wlan_mlme_public_struct.h, such as
397*5113495bSYour Name  * CFG_EDCA_PROFILE_ACM_IDX.
398*5113495bSYour Name  *
399*5113495bSYour Name  * For cwmin and cwmax, they each occupy two bytes with the index defined
400*5113495bSYour Name  * above. The actual value are counted as number of bits with 1, e.g.
401*5113495bSYour Name  * "0x0,0x3f" means a value of 6. And final cwmin and cwmax will be converted
402*5113495bSYour Name  * to 2^value - 1.
403*5113495bSYour Name  *
404*5113495bSYour Name  * Related: None
405*5113495bSYour Name  *
406*5113495bSYour Name  * Supported Feature: AP
407*5113495bSYour Name  *
408*5113495bSYour Name  * Usage: External
409*5113495bSYour Name  *
410*5113495bSYour Name  * </ini>
411*5113495bSYour Name  */
412*5113495bSYour Name #define CFG_EDCA_ETSI_ACVO_LOCAL CFG_INI_STRING( \
413*5113495bSYour Name 		"edca_etsi_acvo_local", \
414*5113495bSYour Name 		0, \
415*5113495bSYour Name 		STR_EDCA_ETSI_ACVO_LOCAL_LEN, \
416*5113495bSYour Name 		STR_EDCA_ETSI_ACVO_LOCAL, \
417*5113495bSYour Name 		"EDCA ETSI ACVO LOCAL")
418*5113495bSYour Name 
419*5113495bSYour Name #define STR_EDCA_ETSI_ACBK "0x0, 0x7, 0x0, 0xf, 0x3, 0xff, 0xbb, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0"
420*5113495bSYour Name #define STR_EDCA_ETSI_ACBK_LEN (sizeof(STR_EDCA_ETSI_ACBK) - 1)
421*5113495bSYour Name 
422*5113495bSYour Name #define CFG_EDCA_ETSI_ACBK CFG_INI_STRING( \
423*5113495bSYour Name 		"edca_etsi_acbk", \
424*5113495bSYour Name 		0, \
425*5113495bSYour Name 		STR_EDCA_ETSI_ACBK_LEN, \
426*5113495bSYour Name 		STR_EDCA_ETSI_ACBK, \
427*5113495bSYour Name 		"EDCA ETSI ACBK BROADCAST")
428*5113495bSYour Name 
429*5113495bSYour Name #define STR_EDCA_ETSI_ACBE "0x0, 0x3, 0x0, 0xf, 0x3, 0xff, 0xbb, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0"
430*5113495bSYour Name #define STR_EDCA_ETSI_ACBE_LEN (sizeof(STR_EDCA_ETSI_ACBE) - 1)
431*5113495bSYour Name 
432*5113495bSYour Name #define CFG_EDCA_ETSI_ACBE CFG_INI_STRING( \
433*5113495bSYour Name 		"edca_etsi_acbe", \
434*5113495bSYour Name 		0, \
435*5113495bSYour Name 		STR_EDCA_ETSI_ACBE_LEN, \
436*5113495bSYour Name 		STR_EDCA_ETSI_ACBE, \
437*5113495bSYour Name 		"EDCA ETSI ACBE BROADCAST")
438*5113495bSYour Name 
439*5113495bSYour Name #define STR_EDCA_ETSI_ACVI "0x0, 0x2, 0x0, 0x7, 0x0, 0xf, 0x7d, 0x0, 0x7, 0x0, 0xf, 0xbc, 0x0, 0x7, 0x0, 0xf, 0x5e"
440*5113495bSYour Name #define STR_EDCA_ETSI_ACVI_LEN (sizeof(STR_EDCA_ETSI_ACVI) - 1)
441*5113495bSYour Name 
442*5113495bSYour Name #define CFG_EDCA_ETSI_ACVI CFG_INI_STRING( \
443*5113495bSYour Name 		"edca_etsi_acvi", \
444*5113495bSYour Name 		0, \
445*5113495bSYour Name 		STR_EDCA_ETSI_ACVI_LEN, \
446*5113495bSYour Name 		STR_EDCA_ETSI_ACVI, \
447*5113495bSYour Name 		"EDCA ETSI ACVI BROADCAST")
448*5113495bSYour Name 
449*5113495bSYour Name #define STR_EDCA_ETSI_ACVO "0x0, 0x2, 0x0, 0x3, 0x0, 0x7, 0x3e, 0x0, 0x3, 0x0, 0x7, 0x66, 0x0, 0x3, 0x0, 0x7, 0x2f"
450*5113495bSYour Name #define STR_EDCA_ETSI_ACVO_LEN (sizeof(STR_EDCA_ETSI_ACVO) - 1)
451*5113495bSYour Name 
452*5113495bSYour Name #define CFG_EDCA_ETSI_ACVO CFG_INI_STRING( \
453*5113495bSYour Name 		"edca_etsi_acvo", \
454*5113495bSYour Name 		0, \
455*5113495bSYour Name 		STR_EDCA_ETSI_ACVO_LEN, \
456*5113495bSYour Name 		STR_EDCA_ETSI_ACVO, \
457*5113495bSYour Name 		"EDCA ETSI ACVO BROADCAST")
458*5113495bSYour Name 
459*5113495bSYour Name /*
460*5113495bSYour Name  * <ini>
461*5113495bSYour Name  * gEnableEdcaParams - Enable edca parameter
462*5113495bSYour Name  * @Min: 0
463*5113495bSYour Name  * @Max: 1
464*5113495bSYour Name  * @Default: 0
465*5113495bSYour Name  *
466*5113495bSYour Name  * This ini is used if gEnableEdcaParams is set to 1, params gEdcaVoCwmin,
467*5113495bSYour Name  * gEdcaViCwmin, gEdcaBkCwmin, gEdcaBeCwmin, gEdcaVoCwmax,
468*5113495bSYour Name  * gEdcaViCwmax, gEdcaBkCwmax, gEdcaBeCwmax, gEdcaVoAifs,
469*5113495bSYour Name  * gEdcaViAifs, gEdcaBkAifs and gEdcaBeAifs values are used
470*5113495bSYour Name  * to overwrite the values received from AP
471*5113495bSYour Name  *
472*5113495bSYour Name  * Related: None
473*5113495bSYour Name  *
474*5113495bSYour Name  * Supported Feature: STA
475*5113495bSYour Name  *
476*5113495bSYour Name  * Usage: Internal/External
477*5113495bSYour Name  *
478*5113495bSYour Name  * </ini>
479*5113495bSYour Name  */
480*5113495bSYour Name #define CFG_EDCA_ENABLE_PARAM CFG_INI_BOOL( \
481*5113495bSYour Name 		"gEnableEdcaParams", \
482*5113495bSYour Name 		0, \
483*5113495bSYour Name 		"Enable edca parameter")
484*5113495bSYour Name 
485*5113495bSYour Name /*
486*5113495bSYour Name  * <ini>
487*5113495bSYour Name  * enable_wmm_txop - Enable WMM based txop feature
488*5113495bSYour Name  * @Min: 0
489*5113495bSYour Name  * @Max: 1
490*5113495bSYour Name  * @Default: 1
491*5113495bSYour Name  *
492*5113495bSYour Name  * This ini is used to enable/disable the WMM based txop feature in FW
493*5113495bSYour Name  *
494*5113495bSYour Name  * Related: None
495*5113495bSYour Name  *
496*5113495bSYour Name  * Supported Feature: STA
497*5113495bSYour Name  *
498*5113495bSYour Name  * Usage: Internal
499*5113495bSYour Name  *
500*5113495bSYour Name  * </ini>
501*5113495bSYour Name  */
502*5113495bSYour Name #define CFG_ENABLE_WMM_TXOP CFG_INI_BOOL( \
503*5113495bSYour Name 		"enable_wmm_txop", \
504*5113495bSYour Name 		1, \
505*5113495bSYour Name 		"Enable WMM TXOP")
506*5113495bSYour Name 
507*5113495bSYour Name /*
508*5113495bSYour Name  * <ini>
509*5113495bSYour Name  * gEdcaVoCwmin - Set Cwmin value for QCA_WLAN_AC_VO
510*5113495bSYour Name  * @Min: 0
511*5113495bSYour Name  * @Max: 0x15
512*5113495bSYour Name  * @Default: 2
513*5113495bSYour Name  *
514*5113495bSYour Name  * This ini is used to set default Cwmin value for QCA_WLAN_AC_VO
515*5113495bSYour Name  * Cwmin value for QCA_WLAN_AC_VO. CWVomin = 2^gEdcaVoCwmin -1
516*5113495bSYour Name  *
517*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin etc
518*5113495bSYour Name  * are aplicable
519*5113495bSYour Name  *
520*5113495bSYour Name  * Supported Feature: STA
521*5113495bSYour Name  *
522*5113495bSYour Name  * Usage: Internal/External
523*5113495bSYour Name  *
524*5113495bSYour Name  * </ini>
525*5113495bSYour Name  */
526*5113495bSYour Name #define CFG_EDCA_VO_CWMIN CFG_INI_UINT( \
527*5113495bSYour Name 		"gEdcaVoCwmin", \
528*5113495bSYour Name 		0x0, \
529*5113495bSYour Name 		15, \
530*5113495bSYour Name 		2, \
531*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
532*5113495bSYour Name 		"Cwmin value for QCA_WLAN_AC_VO")
533*5113495bSYour Name 
534*5113495bSYour Name /*
535*5113495bSYour Name  * <ini>
536*5113495bSYour Name  * gEdcaVoCwmax - Set Cwmax value for QCA_WLAN_AC_VO
537*5113495bSYour Name  * @Min: 0
538*5113495bSYour Name  * @Max: 15
539*5113495bSYour Name  * @Default: 3
540*5113495bSYour Name  *
541*5113495bSYour Name  * This ini is used to set default Cwmax value for QCA_WLAN_AC_VO
542*5113495bSYour Name  * Cwmax value for QCA_WLAN_AC_VO. CWVomax = 2^gEdcaVoCwmax -1
543*5113495bSYour Name  *
544*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
545*5113495bSYour Name  * etc are aplicable
546*5113495bSYour Name  *
547*5113495bSYour Name  * Supported Feature: STA
548*5113495bSYour Name  *
549*5113495bSYour Name  * Usage: Internal/External
550*5113495bSYour Name  *
551*5113495bSYour Name  * </ini>
552*5113495bSYour Name  */
553*5113495bSYour Name #define CFG_EDCA_VO_CWMAX CFG_INI_UINT( \
554*5113495bSYour Name 		"gEdcaVoCwmax", \
555*5113495bSYour Name 		0x0, \
556*5113495bSYour Name 		15, \
557*5113495bSYour Name 		3, \
558*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
559*5113495bSYour Name 		"Cwmax value for QCA_WLAN_AC_VO")
560*5113495bSYour Name 
561*5113495bSYour Name /*
562*5113495bSYour Name  * <ini>
563*5113495bSYour Name  * gEdcaVoAifs - Set Aifs value for QCA_WLAN_AC_VO
564*5113495bSYour Name  * @Min: 0
565*5113495bSYour Name  * @Max: 15
566*5113495bSYour Name  * @Default: 2
567*5113495bSYour Name  *
568*5113495bSYour Name  * This ini is used to set default Aifs value for QCA_WLAN_AC_VO
569*5113495bSYour Name  *
570*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
571*5113495bSYour Name  * etc are aplicable
572*5113495bSYour Name  *
573*5113495bSYour Name  * Supported Feature: STA
574*5113495bSYour Name  *
575*5113495bSYour Name  * Usage: Internal/External
576*5113495bSYour Name  *
577*5113495bSYour Name  * </ini>
578*5113495bSYour Name  */
579*5113495bSYour Name #define CFG_EDCA_VO_AIFS CFG_INI_UINT( \
580*5113495bSYour Name 		"gEdcaVoAifs", \
581*5113495bSYour Name 		0x0, \
582*5113495bSYour Name 		15, \
583*5113495bSYour Name 		2, \
584*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
585*5113495bSYour Name 		"default Aifs value for QCA_WLAN_AC_VO")
586*5113495bSYour Name 
587*5113495bSYour Name /*
588*5113495bSYour Name  * <ini>
589*5113495bSYour Name  * gEdcaViCwmin - Set Cwmin value for QCA_WLAN_AC_VI
590*5113495bSYour Name  * @Min: 0x0
591*5113495bSYour Name  * @Max: 15
592*5113495bSYour Name  * @Default: 3
593*5113495bSYour Name  *
594*5113495bSYour Name  * This ini is used to set default value for QCA_WLAN_AC_VI
595*5113495bSYour Name  * Cwmin value for QCA_WLAN_AC_VI. CWVimin = 2^gEdcaViCwmin -1
596*5113495bSYour Name  *
597*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
598*5113495bSYour Name  * etc are aplicable
599*5113495bSYour Name  *
600*5113495bSYour Name  * Supported Feature: STA
601*5113495bSYour Name  *
602*5113495bSYour Name  * Usage: Internal/External
603*5113495bSYour Name  *
604*5113495bSYour Name  * </ini>
605*5113495bSYour Name  */
606*5113495bSYour Name #define CFG_EDCA_VI_CWMIN CFG_INI_UINT( \
607*5113495bSYour Name 		"gEdcaViCwmin", \
608*5113495bSYour Name 		0x0, \
609*5113495bSYour Name 		15, \
610*5113495bSYour Name 		3, \
611*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
612*5113495bSYour Name 		"Cwmin value for QCA_WLAN_AC_VI")
613*5113495bSYour Name 
614*5113495bSYour Name /*
615*5113495bSYour Name  * <ini>
616*5113495bSYour Name  * gEdcaViCwmax - Set Cwmax value for QCA_WLAN_AC_VI
617*5113495bSYour Name  * @Min: 0
618*5113495bSYour Name  * @Max: 15
619*5113495bSYour Name  * @Default: 4
620*5113495bSYour Name  *
621*5113495bSYour Name  * This ini is used to set default Cwmax value for QCA_WLAN_AC_VI
622*5113495bSYour Name  * Cwmax value for QCA_WLAN_AC_VI. CWVimax = 2^gEdcaViCwmax -1
623*5113495bSYour Name  *
624*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
625*5113495bSYour Name  * etc are aplicable
626*5113495bSYour Name  *
627*5113495bSYour Name  * Supported Feature: STA
628*5113495bSYour Name  *
629*5113495bSYour Name  * Usage: Internal/External
630*5113495bSYour Name  *
631*5113495bSYour Name  * </ini>
632*5113495bSYour Name  */
633*5113495bSYour Name #define CFG_EDCA_VI_CWMAX CFG_INI_UINT( \
634*5113495bSYour Name 		"gEdcaViCwmax", \
635*5113495bSYour Name 		0x0, \
636*5113495bSYour Name 		15, \
637*5113495bSYour Name 		4, \
638*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
639*5113495bSYour Name 		"cwmax value for QCA_WLAN_AC_VI")
640*5113495bSYour Name 
641*5113495bSYour Name /*
642*5113495bSYour Name  * <ini>
643*5113495bSYour Name  * gEdcaViAifs - Set Aifs value for QCA_WLAN_AC_VI
644*5113495bSYour Name  * @Min: 0
645*5113495bSYour Name  * @Max: 15
646*5113495bSYour Name  * @Default: 2
647*5113495bSYour Name  *
648*5113495bSYour Name  * This ini is used to set default Aifs value for QCA_WLAN_AC_VI
649*5113495bSYour Name  *
650*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
651*5113495bSYour Name  * etc are aplicable
652*5113495bSYour Name  *
653*5113495bSYour Name  * Supported Feature: STA
654*5113495bSYour Name  *
655*5113495bSYour Name  * Usage: Internal/External
656*5113495bSYour Name  *
657*5113495bSYour Name  * </ini>
658*5113495bSYour Name  */
659*5113495bSYour Name #define CFG_EDCA_VI_AIFS CFG_INI_UINT( \
660*5113495bSYour Name 		"gEdcaViAifs", \
661*5113495bSYour Name 		0x0, \
662*5113495bSYour Name 		15, \
663*5113495bSYour Name 		2, \
664*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
665*5113495bSYour Name 		"default Aifs value for QCA_WLAN_AC_VI")
666*5113495bSYour Name 
667*5113495bSYour Name /*
668*5113495bSYour Name  * <ini>
669*5113495bSYour Name  * gEdcaBkCwmin - Set Cwmin value for QCA_WLAN_AC_BK
670*5113495bSYour Name  * @Min: 0x0
671*5113495bSYour Name  * @Max: 15
672*5113495bSYour Name  * @Default: 4
673*5113495bSYour Name  *
674*5113495bSYour Name  * This ini is used to set default Cwmin value for QCA_WLAN_AC_BK
675*5113495bSYour Name  * Cwmin value for QCA_WLAN_AC_BK. CWBkmin = 2^gEdcaBkCwmin -1
676*5113495bSYour Name  *
677*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
678*5113495bSYour Name  * etc are aplicable
679*5113495bSYour Name  *
680*5113495bSYour Name  * Supported Feature: STA
681*5113495bSYour Name  *
682*5113495bSYour Name  * Usage: Internal/External
683*5113495bSYour Name  * </ini>
684*5113495bSYour Name  */
685*5113495bSYour Name #define CFG_EDCA_BK_CWMIN CFG_INI_UINT( \
686*5113495bSYour Name 		"gEdcaBkCwmin", \
687*5113495bSYour Name 		0x0, \
688*5113495bSYour Name 		15, \
689*5113495bSYour Name 		4, \
690*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
691*5113495bSYour Name 		"Cwmin value for QCA_WLAN_AC_BK")
692*5113495bSYour Name 
693*5113495bSYour Name /*
694*5113495bSYour Name  * <ini>
695*5113495bSYour Name  * gEdcaBkCwmax - Set Cwmax value for QCA_WLAN_AC_BK
696*5113495bSYour Name  * @Min: 0
697*5113495bSYour Name  * @Max: 15
698*5113495bSYour Name  * @Default: 10
699*5113495bSYour Name  *
700*5113495bSYour Name  * This ini is used to set default Cwmax value for QCA_WLAN_AC_BK
701*5113495bSYour Name  * Cwmax value for QCA_WLAN_AC_BK. CWBkmax = 2^gEdcaBkCwmax -1
702*5113495bSYour Name  *
703*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
704*5113495bSYour Name  * etc are aplicable
705*5113495bSYour Name  *
706*5113495bSYour Name  * Supported Feature: STA
707*5113495bSYour Name  *
708*5113495bSYour Name  * Usage: Internal/External
709*5113495bSYour Name  *
710*5113495bSYour Name  * </ini>
711*5113495bSYour Name  */
712*5113495bSYour Name #define CFG_EDCA_BK_CWMAX CFG_INI_UINT( \
713*5113495bSYour Name 		"gEdcaBkCwmax", \
714*5113495bSYour Name 		0, \
715*5113495bSYour Name 		15, \
716*5113495bSYour Name 		10, \
717*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
718*5113495bSYour Name 		"cwmax value for QCA_WLAN_AC_BK")
719*5113495bSYour Name 
720*5113495bSYour Name /*
721*5113495bSYour Name  * <ini>
722*5113495bSYour Name  * gEdcaBkAifs - Set Aifs value for QCA_WLAN_AC_BK
723*5113495bSYour Name  * @Min: 0
724*5113495bSYour Name  * @Max: 15
725*5113495bSYour Name  * @Default: 7
726*5113495bSYour Name  *
727*5113495bSYour Name  * This ini is used to set default Aifs value for QCA_WLAN_AC_BK
728*5113495bSYour Name  *
729*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
730*5113495bSYour Name  * etc are aplicable
731*5113495bSYour Name  *
732*5113495bSYour Name  * Supported Feature: STA
733*5113495bSYour Name  *
734*5113495bSYour Name  * Usage: Internal/External
735*5113495bSYour Name  *
736*5113495bSYour Name  * </ini>
737*5113495bSYour Name  */
738*5113495bSYour Name #define CFG_EDCA_BK_AIFS CFG_INI_UINT( \
739*5113495bSYour Name 		"gEdcaBkAifs", \
740*5113495bSYour Name 		0, \
741*5113495bSYour Name 		15, \
742*5113495bSYour Name 		7, \
743*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
744*5113495bSYour Name 		"default Aifs value for QCA_WLAN_AC_BK")
745*5113495bSYour Name 
746*5113495bSYour Name /*
747*5113495bSYour Name  * <ini>
748*5113495bSYour Name  * gEdcaBeCwmin - Set Cwmin value for QCA_WLAN_AC_BE
749*5113495bSYour Name  * @Min: 0x0
750*5113495bSYour Name  * @Max: 15
751*5113495bSYour Name  * @Default: 4
752*5113495bSYour Name  *
753*5113495bSYour Name  * This ini is used to set default Cwmin value for QCA_WLAN_AC_BE
754*5113495bSYour Name  * Cwmin value for QCA_WLAN_AC_BE. CWBemin = 2^gEdcaBeCwmin
755*5113495bSYour Name  *
756*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
757*5113495bSYour Name  * etc are aplicable
758*5113495bSYour Name  *
759*5113495bSYour Name  * Supported Feature: STA
760*5113495bSYour Name  *
761*5113495bSYour Name  * Usage: Internal/External
762*5113495bSYour Name  *
763*5113495bSYour Name  * </ini>
764*5113495bSYour Name  */
765*5113495bSYour Name #define CFG_EDCA_BE_CWMIN CFG_INI_UINT( \
766*5113495bSYour Name 		"gEdcaBeCwmin", \
767*5113495bSYour Name 		0x0, \
768*5113495bSYour Name 		15, \
769*5113495bSYour Name 		4, \
770*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
771*5113495bSYour Name 		"Cwmin value for QCA_WLAN_AC_BE")
772*5113495bSYour Name 
773*5113495bSYour Name /*
774*5113495bSYour Name  * <ini>
775*5113495bSYour Name  * gEdcaBeCwmax - Set Cwmax value for QCA_WLAN_AC_BE
776*5113495bSYour Name  * @Min: 0
777*5113495bSYour Name  * @Max: 15
778*5113495bSYour Name  * @Default: 10
779*5113495bSYour Name  *
780*5113495bSYour Name  * This ini is used to set default Cwmax value for QCA_WLAN_AC_BE
781*5113495bSYour Name  * Cwmax value for QCA_WLAN_AC_BE. CWBemax = 2^gEdcaBeCwmax -1
782*5113495bSYour Name  *
783*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
784*5113495bSYour Name  * etc are aplicable
785*5113495bSYour Name  *
786*5113495bSYour Name  * Supported Feature: STA
787*5113495bSYour Name  *
788*5113495bSYour Name  * Usage: Internal/External
789*5113495bSYour Name  *
790*5113495bSYour Name  * </ini>
791*5113495bSYour Name  */
792*5113495bSYour Name 
793*5113495bSYour Name #define CFG_EDCA_BE_CWMAX CFG_INI_UINT( \
794*5113495bSYour Name 		"gEdcaBeCwmax", \
795*5113495bSYour Name 		0, \
796*5113495bSYour Name 		15, \
797*5113495bSYour Name 		10, \
798*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
799*5113495bSYour Name 		"cwmax value for QCA_WLAN_AC_BE")
800*5113495bSYour Name 
801*5113495bSYour Name /*
802*5113495bSYour Name  * <ini>
803*5113495bSYour Name  * gEdcaBeAifs - Set Aifs value for QCA_WLAN_AC_BE
804*5113495bSYour Name  * @Min: 0
805*5113495bSYour Name  * @Max: 15
806*5113495bSYour Name  * @Default: 3
807*5113495bSYour Name  *
808*5113495bSYour Name  * This ini is used to set default Aifs value for QCA_WLAN_AC_BE
809*5113495bSYour Name  *
810*5113495bSYour Name  * Related: If gEnableEdcaParams is set to 1, params gEdcaVoCwmin
811*5113495bSYour Name  * etc are aplicable
812*5113495bSYour Name  *
813*5113495bSYour Name  * Supported Feature: STA
814*5113495bSYour Name  *
815*5113495bSYour Name  * Usage: Internal/External
816*5113495bSYour Name  *
817*5113495bSYour Name  * </ini>
818*5113495bSYour Name  */
819*5113495bSYour Name #define CFG_EDCA_BE_AIFS CFG_INI_UINT( \
820*5113495bSYour Name 		"gEdcaBeAifs", \
821*5113495bSYour Name 		0, \
822*5113495bSYour Name 		15, \
823*5113495bSYour Name 		3, \
824*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
825*5113495bSYour Name 		"default Aifs value for QCA_WLAN_AC_BE")
826*5113495bSYour Name 
827*5113495bSYour Name /*
828*5113495bSYour Name  * <ini>
829*5113495bSYour Name  * edca_param_type - Edca param type
830*5113495bSYour Name  * @Min: 0
831*5113495bSYour Name  * @Max: 1
832*5113495bSYour Name  * @Default: 0
833*5113495bSYour Name  *
834*5113495bSYour Name  * This ini is used to configure edca or pifs param for low latency SAP.
835*5113495bSYour Name  * If edca_param_type is set to 0 then host configures edca param and
836*5113495bSYour Name  * send it to firmware via WMI cmd and earbud via OTA frame. If it set to
837*5113495bSYour Name  * to 1 then host configures pifs param and send it to firmware via WMI
838*5113495bSYour Name  * cmd and earbud via OTA frame.
839*5113495bSYour Name  *
840*5113495bSYour Name  * Related: None
841*5113495bSYour Name  *
842*5113495bSYour Name  * Supported Feature: STA
843*5113495bSYour Name  *
844*5113495bSYour Name  * Usage: Internal/External
845*5113495bSYour Name  *
846*5113495bSYour Name  * </ini>
847*5113495bSYour Name  */
848*5113495bSYour Name #define CFG_EDCA_PIFS_PARAM_TYPE CFG_INI_UINT( \
849*5113495bSYour Name 		"edca_param_type", \
850*5113495bSYour Name 		0, \
851*5113495bSYour Name 		1, \
852*5113495bSYour Name 		0, \
853*5113495bSYour Name 		CFG_VALUE_OR_DEFAULT, \
854*5113495bSYour Name 		"Edca param type")
855*5113495bSYour Name 
856*5113495bSYour Name #define CFG_EDCA_PARAMS_ALL \
857*5113495bSYour Name 	CFG(CFG_EDCA_ANI_ACBK_LOCAL) \
858*5113495bSYour Name 	CFG(CFG_EDCA_ANI_ACBE_LOCAL) \
859*5113495bSYour Name 	CFG(CFG_EDCA_ANI_ACVI_LOCAL) \
860*5113495bSYour Name 	CFG(CFG_EDCA_ANI_ACVO_LOCAL) \
861*5113495bSYour Name 	CFG(CFG_EDCA_ANI_ACBK) \
862*5113495bSYour Name 	CFG(CFG_EDCA_ANI_ACBE) \
863*5113495bSYour Name 	CFG(CFG_EDCA_ANI_ACVI) \
864*5113495bSYour Name 	CFG(CFG_EDCA_ANI_ACVO) \
865*5113495bSYour Name 	CFG(CFG_EDCA_WME_ACBK_LOCAL) \
866*5113495bSYour Name 	CFG(CFG_EDCA_WME_ACBE_LOCAL) \
867*5113495bSYour Name 	CFG(CFG_EDCA_WME_ACVI_LOCAL) \
868*5113495bSYour Name 	CFG(CFG_EDCA_WME_ACVO_LOCAL) \
869*5113495bSYour Name 	CFG(CFG_EDCA_WME_ACBK) \
870*5113495bSYour Name 	CFG(CFG_EDCA_WME_ACBE) \
871*5113495bSYour Name 	CFG(CFG_EDCA_WME_ACVI) \
872*5113495bSYour Name 	CFG(CFG_EDCA_WME_ACVO) \
873*5113495bSYour Name 	CFG(CFG_EDCA_ETSI_ACBK_LOCAL) \
874*5113495bSYour Name 	CFG(CFG_EDCA_ETSI_ACBE_LOCAL) \
875*5113495bSYour Name 	CFG(CFG_EDCA_ETSI_ACVI_LOCAL) \
876*5113495bSYour Name 	CFG(CFG_EDCA_ETSI_ACVO_LOCAL) \
877*5113495bSYour Name 	CFG(CFG_EDCA_ETSI_ACBK) \
878*5113495bSYour Name 	CFG(CFG_EDCA_ETSI_ACBE) \
879*5113495bSYour Name 	CFG(CFG_EDCA_ETSI_ACVI) \
880*5113495bSYour Name 	CFG(CFG_EDCA_ETSI_ACVO) \
881*5113495bSYour Name 	CFG(CFG_EDCA_ENABLE_PARAM) \
882*5113495bSYour Name 	CFG(CFG_EDCA_VO_CWMIN) \
883*5113495bSYour Name 	CFG(CFG_EDCA_VO_CWMAX) \
884*5113495bSYour Name 	CFG(CFG_EDCA_VO_AIFS) \
885*5113495bSYour Name 	CFG(CFG_EDCA_VI_CWMIN) \
886*5113495bSYour Name 	CFG(CFG_EDCA_VI_CWMAX) \
887*5113495bSYour Name 	CFG(CFG_EDCA_VI_AIFS) \
888*5113495bSYour Name 	CFG(CFG_EDCA_BK_CWMIN) \
889*5113495bSYour Name 	CFG(CFG_EDCA_BK_CWMAX) \
890*5113495bSYour Name 	CFG(CFG_EDCA_BK_AIFS) \
891*5113495bSYour Name 	CFG(CFG_EDCA_BE_CWMIN) \
892*5113495bSYour Name 	CFG(CFG_EDCA_BE_CWMAX) \
893*5113495bSYour Name 	CFG(CFG_ENABLE_WMM_TXOP) \
894*5113495bSYour Name 	CFG(CFG_EDCA_BE_AIFS) \
895*5113495bSYour Name 	CFG(CFG_EDCA_PIFS_PARAM_TYPE)
896*5113495bSYour Name 
897*5113495bSYour Name #endif  /* __CFG_MLME_EDCA__PARAM_H */
898