1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2018-2019  Realtek Corporation
3  */
4 
5 #include "main.h"
6 #include "phy.h"
7 #include "rtw8723d_table.h"
8 
9 static const u32 rtw8723d_mac[] = {
10 	0x020, 0x00000013,
11 	0x02F, 0x00000010,
12 	0x077, 0x00000007,
13 	0x421, 0x0000000F,
14 	0x428, 0x0000000A,
15 	0x429, 0x00000010,
16 	0x430, 0x00000000,
17 	0x431, 0x00000000,
18 	0x432, 0x00000000,
19 	0x433, 0x00000001,
20 	0x434, 0x00000002,
21 	0x435, 0x00000003,
22 	0x436, 0x00000005,
23 	0x437, 0x00000007,
24 	0x438, 0x00000000,
25 	0x439, 0x00000000,
26 	0x43A, 0x00000000,
27 	0x43B, 0x00000001,
28 	0x43C, 0x00000002,
29 	0x43D, 0x00000003,
30 	0x43E, 0x00000005,
31 	0x43F, 0x00000007,
32 	0x440, 0x0000005D,
33 	0x441, 0x00000001,
34 	0x442, 0x00000000,
35 	0x444, 0x00000010,
36 	0x445, 0x00000000,
37 	0x446, 0x00000000,
38 	0x447, 0x00000000,
39 	0x448, 0x00000000,
40 	0x449, 0x000000F0,
41 	0x44A, 0x0000000F,
42 	0x44B, 0x0000003E,
43 	0x44C, 0x00000010,
44 	0x44D, 0x00000000,
45 	0x44E, 0x00000000,
46 	0x44F, 0x00000000,
47 	0x450, 0x00000000,
48 	0x451, 0x000000F0,
49 	0x452, 0x0000000F,
50 	0x453, 0x00000000,
51 	0x456, 0x0000005E,
52 	0x460, 0x00000066,
53 	0x461, 0x00000066,
54 	0x4C8, 0x000000FF,
55 	0x4C9, 0x00000008,
56 	0x4CC, 0x000000FF,
57 	0x4CD, 0x000000FF,
58 	0x4CE, 0x00000001,
59 	0x500, 0x00000026,
60 	0x501, 0x000000A2,
61 	0x502, 0x0000002F,
62 	0x503, 0x00000000,
63 	0x504, 0x00000028,
64 	0x505, 0x000000A3,
65 	0x506, 0x0000005E,
66 	0x507, 0x00000000,
67 	0x508, 0x0000002B,
68 	0x509, 0x000000A4,
69 	0x50A, 0x0000005E,
70 	0x50B, 0x00000000,
71 	0x50C, 0x0000004F,
72 	0x50D, 0x000000A4,
73 	0x50E, 0x00000000,
74 	0x50F, 0x00000000,
75 	0x512, 0x0000001C,
76 	0x514, 0x0000000A,
77 	0x516, 0x0000000A,
78 	0x525, 0x0000004F,
79 	0x550, 0x00000010,
80 	0x551, 0x00000010,
81 	0x559, 0x00000002,
82 	0x55C, 0x00000028,
83 	0x55D, 0x000000FF,
84 	0x605, 0x00000030,
85 	0x608, 0x0000000E,
86 	0x609, 0x0000002A,
87 	0x620, 0x000000FF,
88 	0x621, 0x000000FF,
89 	0x622, 0x000000FF,
90 	0x623, 0x000000FF,
91 	0x624, 0x000000FF,
92 	0x625, 0x000000FF,
93 	0x626, 0x000000FF,
94 	0x627, 0x000000FF,
95 	0x638, 0x00000028,
96 	0x63C, 0x0000000A,
97 	0x63D, 0x0000000A,
98 	0x63E, 0x0000000C,
99 	0x63F, 0x0000000C,
100 	0x640, 0x00000040,
101 	0x642, 0x00000040,
102 	0x643, 0x00000000,
103 	0x652, 0x000000C8,
104 	0x66A, 0x000000B0,
105 	0x66E, 0x00000005,
106 	0x700, 0x00000021,
107 	0x701, 0x00000043,
108 	0x702, 0x00000065,
109 	0x703, 0x00000087,
110 	0x708, 0x00000021,
111 	0x709, 0x00000043,
112 	0x70A, 0x00000065,
113 	0x70B, 0x00000087,
114 	0x765, 0x00000018,
115 	0x76E, 0x00000004,
116 	0x7C0, 0x00000038,
117 	0x7C2, 0x0000000F,
118 	0x7C3, 0x000000C0,
119 	0x073, 0x00000004,
120 	0x7C4, 0x00000077,
121 	0x07C, 0x00000003,
122 	0x016, 0x000000B3,
123 };
124 
125 RTW_DECL_TABLE_PHY_COND(rtw8723d_mac, rtw_phy_cfg_mac);
126 
127 static const u32 rtw8723d_agc[] = {
128 	0xC78, 0xFE000101,
129 	0xC78, 0xFD010101,
130 	0xC78, 0xFC020101,
131 	0xC78, 0xFB030101,
132 	0xC78, 0xFA040101,
133 	0xC78, 0xF9050101,
134 	0xC78, 0xF8060101,
135 	0xC78, 0xF7070101,
136 	0xC78, 0xF6080101,
137 	0xC78, 0xF5090101,
138 	0xC78, 0xF40A0101,
139 	0xC78, 0xF30B0101,
140 	0xC78, 0xF20C0101,
141 	0xC78, 0xF10D0101,
142 	0xC78, 0xF00E0101,
143 	0xC78, 0xEF0F0101,
144 	0xC78, 0xEE100101,
145 	0xC78, 0xED110101,
146 	0xC78, 0xEC120101,
147 	0xC78, 0xEB130101,
148 	0xC78, 0xEA140101,
149 	0xC78, 0xE9150101,
150 	0xC78, 0xE8160101,
151 	0xC78, 0xE7170101,
152 	0xC78, 0xE6180101,
153 	0xC78, 0xE5190101,
154 	0xC78, 0xE41A0101,
155 	0xC78, 0xE31B0101,
156 	0xC78, 0xE21C0101,
157 	0xC78, 0xE11D0101,
158 	0xC78, 0xE01E0101,
159 	0xC78, 0x861F0101,
160 	0xC78, 0x85200101,
161 	0xC78, 0x84210101,
162 	0xC78, 0x83220101,
163 	0xC78, 0x82230101,
164 	0xC78, 0x81240101,
165 	0xC78, 0x80250101,
166 	0xC78, 0x44260101,
167 	0xC78, 0x43270101,
168 	0xC78, 0x42280101,
169 	0xC78, 0x41290101,
170 	0xC78, 0x402A0101,
171 	0xC78, 0x022B0101,
172 	0xC78, 0x012C0101,
173 	0xC78, 0x002D0101,
174 	0xC78, 0xC52E0001,
175 	0xC78, 0xC42F0001,
176 	0xC78, 0xC3300001,
177 	0xC78, 0xC2310001,
178 	0xC78, 0xC1320001,
179 	0xC78, 0xC0330001,
180 	0xC78, 0x04340001,
181 	0xC78, 0x03350001,
182 	0xC78, 0x02360001,
183 	0xC78, 0x01370001,
184 	0xC78, 0x00380001,
185 	0xC78, 0x00390001,
186 	0xC78, 0x003A0001,
187 	0xC78, 0x003B0001,
188 	0xC78, 0x003C0001,
189 	0xC78, 0x003D0001,
190 	0xC78, 0x003E0001,
191 	0xC78, 0x003F0001,
192 	0xC78, 0x6F002001,
193 	0xC78, 0x6F012001,
194 	0xC78, 0x6F022001,
195 	0xC78, 0x6F032001,
196 	0xC78, 0x6F042001,
197 	0xC78, 0x6F052001,
198 	0xC78, 0x6F062001,
199 	0xC78, 0x6F072001,
200 	0xC78, 0x6F082001,
201 	0xC78, 0x6F092001,
202 	0xC78, 0x6F0A2001,
203 	0xC78, 0x6F0B2001,
204 	0xC78, 0x6F0C2001,
205 	0xC78, 0x6F0D2001,
206 	0xC78, 0x6F0E2001,
207 	0xC78, 0x6F0F2001,
208 	0xC78, 0x6F102001,
209 	0xC78, 0x6F112001,
210 	0xC78, 0x6F122001,
211 	0xC78, 0x6F132001,
212 	0xC78, 0x6F142001,
213 	0xC78, 0x6F152001,
214 	0xC78, 0x6F162001,
215 	0xC78, 0x6F172001,
216 	0xC78, 0x6F182001,
217 	0xC78, 0x6F192001,
218 	0xC78, 0x6F1A2001,
219 	0xC78, 0x6F1B2001,
220 	0xC78, 0x6F1C2001,
221 	0xC78, 0x6F1D2001,
222 	0xC78, 0x6F1E2001,
223 	0xC78, 0x6F1F2001,
224 	0xC78, 0x6F202001,
225 	0xC78, 0x6F212001,
226 	0xC78, 0x6F222001,
227 	0xC78, 0x6F232001,
228 	0xC78, 0x6E242001,
229 	0xC78, 0x6D252001,
230 	0xC78, 0x6C262001,
231 	0xC78, 0x6B272001,
232 	0xC78, 0x6A282001,
233 	0xC78, 0x69292001,
234 	0xC78, 0x4B2A2001,
235 	0xC78, 0x4A2B2001,
236 	0xC78, 0x492C2001,
237 	0xC78, 0x482D2001,
238 	0xC78, 0x472E2001,
239 	0xC78, 0x462F2001,
240 	0xC78, 0x45302001,
241 	0xC78, 0x44312001,
242 	0xC78, 0x43322001,
243 	0xC78, 0x42332001,
244 	0xC78, 0x41342001,
245 	0xC78, 0x40352001,
246 	0xC78, 0x02362001,
247 	0xC78, 0x01372001,
248 	0xC78, 0x00382001,
249 	0xC78, 0x00392001,
250 	0xC78, 0x003A2001,
251 	0xC78, 0x003B2001,
252 	0xC78, 0x003C2001,
253 	0xC78, 0x003D2001,
254 	0xC78, 0x003E2001,
255 	0xC78, 0x003F2001,
256 	0xC78, 0x7F003101,
257 	0xC78, 0x7F013101,
258 	0xC78, 0x7F023101,
259 	0xC78, 0x7F033101,
260 	0xC78, 0x7F043101,
261 	0xC78, 0x7F053101,
262 	0xC78, 0x7F063101,
263 	0xC78, 0x7F073101,
264 	0xC78, 0x7E083101,
265 	0xC78, 0x7D093101,
266 	0xC78, 0x7C0A3101,
267 	0xC78, 0x7B0B3101,
268 	0xC78, 0x7A0C3101,
269 	0xC78, 0x790D3101,
270 	0xC78, 0x780E3101,
271 	0xC78, 0x770F3101,
272 	0xC78, 0x76103101,
273 	0xC78, 0x75113101,
274 	0xC78, 0x74123101,
275 	0xC78, 0x73133101,
276 	0xC78, 0x72143101,
277 	0xC78, 0x71153101,
278 	0xC78, 0x70163101,
279 	0xC78, 0x6F173101,
280 	0xC78, 0x6E183101,
281 	0xC78, 0x6D193101,
282 	0xC78, 0x6C1A3101,
283 	0xC78, 0x6B1B3101,
284 	0xC78, 0x6A1C3101,
285 	0xC78, 0x691D3101,
286 	0xC78, 0x681E3101,
287 	0xC78, 0x4B1F3101,
288 	0xC78, 0x4A203101,
289 	0xC78, 0x49213101,
290 	0xC78, 0x48223101,
291 	0xC78, 0x47233101,
292 	0xC78, 0x46243101,
293 	0xC78, 0x45253101,
294 	0xC78, 0x44263101,
295 	0xC78, 0x43273101,
296 	0xC78, 0x42283101,
297 	0xC78, 0x41293101,
298 	0xC78, 0x402A3101,
299 	0xC78, 0x022B3101,
300 	0xC78, 0x012C3101,
301 	0xC78, 0x002D3101,
302 	0xC78, 0x002E3101,
303 	0xC78, 0x002F3101,
304 	0xC78, 0x00303101,
305 	0xC78, 0x00313101,
306 	0xC78, 0x00323101,
307 	0xC78, 0x00333101,
308 	0xC78, 0x00343101,
309 	0xC78, 0x00353101,
310 	0xC78, 0x00363101,
311 	0xC78, 0x00373101,
312 	0xC78, 0x00383101,
313 	0xC78, 0x00393101,
314 	0xC78, 0x003A3101,
315 	0xC78, 0x003B3101,
316 	0xC78, 0x003C3101,
317 	0xC78, 0x003D3101,
318 	0xC78, 0x003E3101,
319 	0xC78, 0x003F3101,
320 	0xC78, 0xFE403101,
321 	0xC78, 0xFD413101,
322 	0xC78, 0xFC423101,
323 	0xC78, 0xFB433101,
324 	0xC78, 0xFA443101,
325 	0xC78, 0xF9453101,
326 	0xC78, 0xF8463101,
327 	0xC78, 0xF7473101,
328 	0xC78, 0xF6483101,
329 	0xC78, 0xF5493101,
330 	0xC78, 0xF44A3101,
331 	0xC78, 0xF34B3101,
332 	0xC78, 0xF24C3101,
333 	0xC78, 0xF14D3101,
334 	0xC78, 0xF04E3101,
335 	0xC78, 0xEF4F3101,
336 	0xC78, 0xEE503101,
337 	0xC78, 0xED513101,
338 	0xC78, 0xEC523101,
339 	0xC78, 0xEB533101,
340 	0xC78, 0xEA543101,
341 	0xC78, 0xE9553101,
342 	0xC78, 0xE8563101,
343 	0xC78, 0xE7573101,
344 	0xC78, 0xE6583101,
345 	0xC78, 0xE5593101,
346 	0xC78, 0xE45A3101,
347 	0xC78, 0xE35B3101,
348 	0xC78, 0xE25C3101,
349 	0xC78, 0xE15D3101,
350 	0xC78, 0xE05E3101,
351 	0xC78, 0x865F3101,
352 	0xC78, 0x85603101,
353 	0xC78, 0x84613101,
354 	0xC78, 0x83623101,
355 	0xC78, 0x82633101,
356 	0xC78, 0x81643101,
357 	0xC78, 0x80653101,
358 	0xC78, 0x80663101,
359 	0xC78, 0x80673101,
360 	0xC78, 0x80683101,
361 	0xC78, 0x80693101,
362 	0xC78, 0x806A3101,
363 	0xC78, 0x806B3101,
364 	0xC78, 0x806C3101,
365 	0xC78, 0x806D3101,
366 	0xC78, 0x806E3101,
367 	0xC78, 0x806F3101,
368 	0xC78, 0x80703101,
369 	0xC78, 0x80713101,
370 	0xC78, 0x80723101,
371 	0xC78, 0x80733101,
372 	0xC78, 0x80743101,
373 	0xC78, 0x80753101,
374 	0xC78, 0x80763101,
375 	0xC78, 0x80773101,
376 	0xC78, 0x80783101,
377 	0xC78, 0x80793101,
378 	0xC78, 0x807A3101,
379 	0xC78, 0x807B3101,
380 	0xC78, 0x807C3101,
381 	0xC78, 0x807D3101,
382 	0xC78, 0x807E3101,
383 	0xC78, 0x807F3101,
384 	0xC78, 0xEF402001,
385 	0xC78, 0xEF412001,
386 	0xC78, 0xEF422001,
387 	0xC78, 0xEF432001,
388 	0xC78, 0xEF442001,
389 	0xC78, 0xEF452001,
390 	0xC78, 0xEF462001,
391 	0xC78, 0xEF472001,
392 	0xC78, 0xEF482001,
393 	0xC78, 0xEF492001,
394 	0xC78, 0xEF4A2001,
395 	0xC78, 0xEF4B2001,
396 	0xC78, 0xEF4C2001,
397 	0xC78, 0xEF4D2001,
398 	0xC78, 0xEF4E2001,
399 	0xC78, 0xEF4F2001,
400 	0xC78, 0xEF502001,
401 	0xC78, 0xEF512001,
402 	0xC78, 0xEF522001,
403 	0xC78, 0xEF532001,
404 	0xC78, 0xEF542001,
405 	0xC78, 0xEF552001,
406 	0xC78, 0xEF562001,
407 	0xC78, 0xEF572001,
408 	0xC78, 0xEF582001,
409 	0xC78, 0xEF592001,
410 	0xC78, 0xEF5A2001,
411 	0xC78, 0xEF5B2001,
412 	0xC78, 0xEF5C2001,
413 	0xC78, 0xEF5D2001,
414 	0xC78, 0xEF5E2001,
415 	0xC78, 0xEF5F2001,
416 	0xC78, 0xEF602001,
417 	0xC78, 0xEE612001,
418 	0xC78, 0xED622001,
419 	0xC78, 0xEC632001,
420 	0xC78, 0xEB642001,
421 	0xC78, 0xEA652001,
422 	0xC78, 0xE9662001,
423 	0xC78, 0xE8672001,
424 	0xC78, 0xCB682001,
425 	0xC78, 0xCA692001,
426 	0xC78, 0xC96A2001,
427 	0xC78, 0xC86B2001,
428 	0xC78, 0xC76C2001,
429 	0xC78, 0xC66D2001,
430 	0xC78, 0xC56E2001,
431 	0xC78, 0xC46F2001,
432 	0xC78, 0xC3702001,
433 	0xC78, 0xC2712001,
434 	0xC78, 0xC1722001,
435 	0xC78, 0xC0732001,
436 	0xC78, 0x82742001,
437 	0xC78, 0x81752001,
438 	0xC78, 0x80762001,
439 	0xC78, 0x80772001,
440 	0xC78, 0x80782001,
441 	0xC78, 0x80792001,
442 	0xC78, 0x807A2001,
443 	0xC78, 0x807B2001,
444 	0xC78, 0x807C2001,
445 	0xC78, 0x807D2001,
446 	0xC78, 0x807E2001,
447 	0xC78, 0x807F2001,
448 	0xC78, 0xFA001101,
449 	0xC78, 0xF9011101,
450 	0xC78, 0xF8021101,
451 	0xC78, 0xF7031101,
452 	0xC78, 0xF6041101,
453 	0xC78, 0xF5051101,
454 	0xC78, 0xF4061101,
455 	0xC78, 0xD7071101,
456 	0xC78, 0xD6081101,
457 	0xC78, 0xD5091101,
458 	0xC78, 0xD40A1101,
459 	0xC78, 0x970B1101,
460 	0xC78, 0x960C1101,
461 	0xC78, 0x950D1101,
462 	0xC78, 0x940E1101,
463 	0xC78, 0x930F1101,
464 	0xC78, 0x92101101,
465 	0xC78, 0x91111101,
466 	0xC78, 0x90121101,
467 	0xC78, 0x8F131101,
468 	0xC78, 0x8E141101,
469 	0xC78, 0x8D151101,
470 	0xC78, 0x8C161101,
471 	0xC78, 0x8B171101,
472 	0xC78, 0x8A181101,
473 	0xC78, 0x89191101,
474 	0xC78, 0x881A1101,
475 	0xC78, 0x871B1101,
476 	0xC78, 0x861C1101,
477 	0xC78, 0x851D1101,
478 	0xC78, 0x841E1101,
479 	0xC78, 0x831F1101,
480 	0xC78, 0x82201101,
481 	0xC78, 0x81211101,
482 	0xC78, 0x80221101,
483 	0xC78, 0x43231101,
484 	0xC78, 0x42241101,
485 	0xC78, 0x41251101,
486 	0xC78, 0x04261101,
487 	0xC78, 0x03271101,
488 	0xC78, 0x02281101,
489 	0xC78, 0x01291101,
490 	0xC78, 0x002A1101,
491 	0xC78, 0xC42B1001,
492 	0xC78, 0xC32C1001,
493 	0xC78, 0xC22D1001,
494 	0xC78, 0xC12E1001,
495 	0xC78, 0xC02F1001,
496 	0xC78, 0x85301001,
497 	0xC78, 0x84311001,
498 	0xC78, 0x83321001,
499 	0xC78, 0x82331001,
500 	0xC78, 0x81341001,
501 	0xC78, 0x80351001,
502 	0xC78, 0x05361001,
503 	0xC78, 0x04371001,
504 	0xC78, 0x03381001,
505 	0xC78, 0x02391001,
506 	0xC78, 0x013A1001,
507 	0xC78, 0x003B1001,
508 	0xC78, 0x003C1001,
509 	0xC78, 0x003D1001,
510 	0xC78, 0x003E1001,
511 	0xC78, 0x003F1001,
512 	0xC50, 0x69553422,
513 	0xC50, 0x69553420,
514 };
515 
516 RTW_DECL_TABLE_PHY_COND(rtw8723d_agc, rtw_phy_cfg_agc);
517 
518 static const u32 rtw8723d_bb[] = {
519 	0x800, 0x80046C00,
520 	0x804, 0x00000003,
521 	0x808, 0x0000FC00,
522 	0x80C, 0x0000000A,
523 	0x810, 0x10001331,
524 	0x814, 0x020C3D10,
525 	0x818, 0x00200385,
526 	0x81C, 0x00000000,
527 	0x820, 0x01000100,
528 	0x824, 0x00390204,
529 	0x828, 0x00000000,
530 	0x82C, 0x00000000,
531 	0x830, 0x00000000,
532 	0x834, 0x00000000,
533 	0x838, 0x00000000,
534 	0x83C, 0x00000000,
535 	0x840, 0x00010000,
536 	0x844, 0x00000000,
537 	0x848, 0x00000000,
538 	0x84C, 0x00000000,
539 	0x850, 0x00000000,
540 	0x854, 0x00000000,
541 	0x858, 0x569A11A9,
542 	0x85C, 0x01000014,
543 	0x860, 0x66F60110,
544 	0x864, 0x461F0641,
545 	0x868, 0x00000000,
546 	0x86C, 0x27272700,
547 	0x870, 0x07000460,
548 	0x874, 0x25004000,
549 	0x878, 0x00000808,
550 	0x87C, 0x004F0201,
551 	0x880, 0xB2002E12,
552 	0x884, 0x00000007,
553 	0x888, 0x00000000,
554 	0x88C, 0xCCC000C0,
555 	0x890, 0x00000800,
556 	0x894, 0xFFFFFFFE,
557 	0x898, 0x40302010,
558 	0x89C, 0x00706050,
559 	0x900, 0x00000000,
560 	0x904, 0x00000023,
561 	0x908, 0x00000000,
562 	0x90C, 0x81121111,
563 	0x910, 0x00000402,
564 	0x914, 0x00000300,
565 	0x920, 0x18C6318C,
566 	0x924, 0x0000018C,
567 	0x948, 0x99000000,
568 	0x94C, 0x00000010,
569 	0x950, 0x00003800,
570 	0x954, 0x5A380000,
571 	0x958, 0x4BC6D87A,
572 	0x95C, 0x04EB9B79,
573 	0x96C, 0x00000003,
574 	0x970, 0x00000000,
575 	0x974, 0x00000000,
576 	0x978, 0x00000000,
577 	0x97C, 0x13000000,
578 	0x980, 0x00000000,
579 	0xA00, 0x00D046C8,
580 	0xA04, 0x80FF800C,
581 	0xA08, 0x8C838300,
582 	0xA0C, 0x2E20100F,
583 	0xA10, 0x9500BB78,
584 	0xA14, 0x1114D028,
585 	0xA18, 0x00881117,
586 	0xA1C, 0x89140F00,
587 	0xA20, 0xE82C0001,
588 	0xA24, 0x64B80C1C,
589 	0xA28, 0x00008810,
590 	0xA2C, 0x00D30000,
591 	0xA70, 0x101FBF00,
592 	0xA74, 0x00000007,
593 	0xA78, 0x00008900,
594 	0xA7C, 0x225B0606,
595 	0xA80, 0x2180FA74,
596 	0xA84, 0x00200000,
597 	0xA88, 0x040C0000,
598 	0xA8C, 0x12345678,
599 	0xA90, 0xABCDEF00,
600 	0xA94, 0x001B1B89,
601 	0xA98, 0x00000000,
602 	0xA9C, 0x00020000,
603 	0xAA0, 0x00000000,
604 	0xAA4, 0x0000000C,
605 	0xAA8, 0xCA100008,
606 	0xAAC, 0x01235667,
607 	0xAB0, 0x00000000,
608 	0xAB4, 0x20201402,
609 	0xB2C, 0x00000000,
610 	0xC00, 0x48071D40,
611 	0xC04, 0x03A05611,
612 	0xC08, 0x000000E4,
613 	0xC0C, 0x6C6C6C6C,
614 	0xC10, 0x28800000,
615 	0xC14, 0x40000100,
616 	0xC18, 0x08800000,
617 	0xC1C, 0x40000100,
618 	0xC20, 0x00000000,
619 	0xC24, 0x00000000,
620 	0xC28, 0x00000000,
621 	0xC2C, 0x00000000,
622 	0xC30, 0x69E9AC48,
623 	0xC34, 0x31000040,
624 	0xC38, 0x21688080,
625 	0xC3C, 0x000016D4,
626 	0xC40, 0x1F78403F,
627 	0xC44, 0x00010036,
628 	0xC48, 0xEC020107,
629 	0xC4C, 0x007F037F,
630 	0xC50, 0x69553420,
631 	0xC54, 0x43BC0094,
632 	0xC58, 0x00015969,
633 	0xC5C, 0x00310492,
634 	0xC60, 0x00280A00,
635 	0xC64, 0x7112848B,
636 	0xC68, 0x47C074FF,
637 	0xC6C, 0x00000036,
638 	0xC70, 0x2C7F000D,
639 	0xC74, 0x020600DB,
640 	0xC78, 0x0000001F,
641 	0xC7C, 0x00B91612,
642 	0xC80, 0x390000E4,
643 	0xC84, 0x21F60000,
644 	0xC88, 0x40000100,
645 	0xC8C, 0x20200000,
646 	0xC90, 0x00091521,
647 	0xC94, 0x00000000,
648 	0xC98, 0x00121820,
649 	0xC9C, 0x00007F7F,
650 	0xCA0, 0x00012000,
651 	0xCA4, 0x800000A0,
652 	0xCA8, 0x84E6C606,
653 	0xCAC, 0x00000060,
654 	0xCB0, 0x00000000,
655 	0xCB4, 0x00000000,
656 	0xCB8, 0x00000000,
657 	0xCBC, 0x28000000,
658 	0xCC0, 0x0010A3D0,
659 	0xCC4, 0x00000F7D,
660 	0xCC8, 0x000442D6,
661 	0xCCC, 0x00000000,
662 	0xCD0, 0x000001C8,
663 	0xCD4, 0x001C8000,
664 	0xCD8, 0x00000100,
665 	0xCDC, 0x40100000,
666 	0xCE0, 0x00222220,
667 	0xCE4, 0x20000000,
668 	0xCE8, 0x37644302,
669 	0xCEC, 0x2F97D40C,
670 	0xD00, 0x00030740,
671 	0xD04, 0x40020401,
672 	0xD08, 0x0000907F,
673 	0xD0C, 0x20010201,
674 	0xD10, 0xA0633333,
675 	0xD14, 0x3333BC53,
676 	0xD18, 0x7A8F5B6F,
677 	0xD2C, 0xCC979975,
678 	0xD30, 0x00000000,
679 	0xD34, 0x40608000,
680 	0xD38, 0x88000000,
681 	0xD3C, 0xC0127343,
682 	0xD40, 0x00000000,
683 	0xD44, 0x00000000,
684 	0xD48, 0x00000000,
685 	0xD4C, 0x00000000,
686 	0xD50, 0x00000038,
687 	0xD54, 0x00000000,
688 	0xD58, 0x00000282,
689 	0xD5C, 0x30032064,
690 	0xD60, 0x4653DE68,
691 	0xD64, 0x04518A3C,
692 	0xD68, 0x00002101,
693 	0xE00, 0x2D2D2D2D,
694 	0xE04, 0x2D2D2D2D,
695 	0xE08, 0x0390272D,
696 	0xE10, 0x2D2D2D2D,
697 	0xE14, 0x2D2D2D2D,
698 	0xE18, 0x2D2D2D2D,
699 	0xE1C, 0x2D2D2D2D,
700 	0xE28, 0x00000000,
701 	0xE30, 0x1000DC1F,
702 	0xE34, 0x10008C1F,
703 	0xE38, 0x02140102,
704 	0xE3C, 0x681604C2,
705 	0xE40, 0x01007C00,
706 	0xE44, 0x01004800,
707 	0xE48, 0xFB000000,
708 	0xE4C, 0x000028D1,
709 	0xE50, 0x1000DC1F,
710 	0xE54, 0x10008C1F,
711 	0xE58, 0x02140102,
712 	0xE5C, 0x28160D05,
713 	0xE60, 0x00000008,
714 	0xE68, 0x001B25A4,
715 	0xE6C, 0x01C00014,
716 	0xE70, 0x01C00016,
717 	0xE74, 0x02000014,
718 	0xE78, 0x02000014,
719 	0xE7C, 0x02000014,
720 	0xE80, 0x02000014,
721 	0xE84, 0x01C00014,
722 	0xE88, 0x02000014,
723 	0xE8C, 0x01C00014,
724 	0xED0, 0x01C00014,
725 	0xED4, 0x01C00014,
726 	0xED8, 0x01C00014,
727 	0xEDC, 0x00000014,
728 	0xEE0, 0x00000014,
729 	0xEE8, 0x21555448,
730 	0xEEC, 0x03C00014,
731 	0xF14, 0x00000003,
732 	0xF00, 0x00100300,
733 	0xF08, 0x0000800B,
734 	0xF0C, 0x0000F007,
735 	0xF10, 0x0000A487,
736 	0xF1C, 0x80000064,
737 	0xF38, 0x00030155,
738 	0xF3C, 0x0000003A,
739 	0xF4C, 0x13000000,
740 	0xF50, 0x00000000,
741 	0xF18, 0x00000000,
742 };
743 
744 RTW_DECL_TABLE_PHY_COND(rtw8723d_bb, rtw_phy_cfg_bb);
745 
746 static const struct rtw_phy_pg_cfg_pair rtw8723d_bb_pg[] = {
747 	{ 0, 0, 0, 0x00000e08, 0x0000ff00, 0x00003200, },
748 	{ 0, 0, 0, 0x0000086c, 0xffffff00, 0x32323200, },
749 	{ 0, 0, 0, 0x00000e00, 0xffffffff, 0x32343434, },
750 	{ 0, 0, 0, 0x00000e04, 0xffffffff, 0x28303032, },
751 	{ 0, 0, 0, 0x00000e10, 0xffffffff, 0x30323234, },
752 	{ 0, 0, 0, 0x00000e14, 0xffffffff, 0x26282830, },
753 };
754 
755 RTW_DECL_TABLE_BB_PG(rtw8723d_bb_pg);
756 
757 static const u32 rtw8723d_rf_a[] = {
758 		0x050, 0x0001C000,
759 		0x049, 0x0004AA00,
760 		0x000, 0x00010000,
761 		0x0B1, 0x00054573,
762 		0x0B4, 0x000508AB,
763 		0x0B7, 0x00014787,
764 		0x0B8, 0x000064CB,
765 		0x01B, 0x00073A40,
766 		0x051, 0x00038CAF,
767 		0x052, 0x000FCCA3,
768 		0x053, 0x00090F38,
769 		0x054, 0x00011083,
770 		0x057, 0x000D0000,
771 		0x08D, 0x00000A1A,
772 		0x082, 0x00082AAC,
773 		0x08E, 0x00076940,
774 		0x08F, 0x00088400,
775 		0x061, 0x00038CAF,
776 		0x062, 0x000FCCA3,
777 		0x063, 0x00090F38,
778 		0x064, 0x00011083,
779 		0x067, 0x000D0000,
780 		0x092, 0x00082AAC,
781 		0x0EF, 0x00000400,
782 		0x030, 0x000008CA,
783 		0x030, 0x000018CA,
784 		0x030, 0x000028CA,
785 		0x030, 0x000038CA,
786 		0x0EF, 0x00000000,
787 		0x0EE, 0x00000400,
788 		0x030, 0x000008CA,
789 		0x030, 0x000018CA,
790 		0x030, 0x000028CA,
791 		0x030, 0x000038CA,
792 		0x0EE, 0x00000000,
793 		0x0EF, 0x00000100,
794 		0x033, 0x00000000,
795 		0x03F, 0x0000CCA3,
796 		0x033, 0x00000001,
797 		0x03F, 0x0000CCA3,
798 		0x033, 0x00000002,
799 		0x03F, 0x0000CCA3,
800 		0x033, 0x00000003,
801 		0x03F, 0x0000CCA3,
802 		0x033, 0x00000004,
803 		0x03F, 0x0000CCA3,
804 		0x033, 0x00000005,
805 		0x03F, 0x0000CCA3,
806 		0x033, 0x00000006,
807 		0x03F, 0x0000CCA3,
808 		0x033, 0x00000007,
809 		0x03F, 0x0000CCA3,
810 		0x0EF, 0x00000000,
811 		0x0EE, 0x00000100,
812 		0x033, 0x00000000,
813 		0x03F, 0x0000CCA3,
814 		0x033, 0x00000001,
815 		0x03F, 0x0000CCA3,
816 		0x033, 0x00000002,
817 		0x03F, 0x0000CCA3,
818 		0x033, 0x00000003,
819 		0x03F, 0x0000CCA3,
820 		0x033, 0x00000004,
821 		0x03F, 0x0000CCA3,
822 		0x033, 0x00000005,
823 		0x03F, 0x0000CCA3,
824 		0x033, 0x00000006,
825 		0x03F, 0x0000CCA3,
826 		0x033, 0x00000007,
827 		0x03F, 0x0000CCA3,
828 		0x0EE, 0x00000000,
829 		0x0EF, 0x00000800,
830 		0x030, 0x0000002D,
831 		0x030, 0x0000122C,
832 		0x030, 0x0000222F,
833 		0x030, 0x0000326C,
834 		0x030, 0x0000466B,
835 		0x030, 0x0000566E,
836 		0x030, 0x000066EB,
837 		0x030, 0x000077EC,
838 		0x030, 0x000087EF,
839 		0x030, 0x000097F2,
840 		0x030, 0x0000A7F5,
841 		0x0EF, 0x00000000,
842 		0x0EE, 0x00000800,
843 		0x030, 0x00000001,
844 		0x030, 0x00001011,
845 		0x030, 0x00002011,
846 		0x030, 0x00003013,
847 		0x030, 0x00004033,
848 		0x030, 0x00005033,
849 		0x030, 0x00006037,
850 		0x030, 0x0000703F,
851 		0x030, 0x0000803F,
852 		0x030, 0x0000903F,
853 		0x030, 0x0000A03F,
854 		0x0EE, 0x00000000,
855 		0x082, 0x00083B8C,
856 		0x0ED, 0x00000008,
857 		0x030, 0x000030F6,
858 		0x030, 0x00002004,
859 		0x030, 0x000010F6,
860 		0x030, 0x000000F6,
861 		0x0ED, 0x00000000,
862 		0x092, 0x00083B8C,
863 		0x0EC, 0x00000008,
864 		0x030, 0x000030F6,
865 		0x030, 0x00002004,
866 		0x030, 0x000010F6,
867 		0x030, 0x000000F6,
868 		0x0EC, 0x00000000,
869 		0x0EF, 0x00010000,
870 		0x030, 0x0001C11C,
871 		0x030, 0x000181F4,
872 		0x030, 0x00014108,
873 		0x030, 0x000101E4,
874 		0x030, 0x0000C11C,
875 		0x030, 0x000081F4,
876 		0x030, 0x00004108,
877 		0x030, 0x000001E4,
878 		0x0EF, 0x00000000,
879 		0x0EE, 0x00010000,
880 		0x030, 0x0001C11C,
881 		0x030, 0x000181F4,
882 		0x030, 0x00014108,
883 		0x030, 0x000101E4,
884 		0x030, 0x0000C11C,
885 		0x030, 0x000081F4,
886 		0x030, 0x00004108,
887 		0x030, 0x000001E4,
888 		0x0EE, 0x00000000,
889 		0x0EF, 0x00080000,
890 		0x033, 0x00000007,
891 		0x03E, 0x0000005F,
892 		0x03F, 0x000B3FDB,
893 		0x033, 0x00000004,
894 		0x03E, 0x0000005D,
895 		0x03F, 0x000BFFE0,
896 		0x033, 0x00000005,
897 		0x03E, 0x0000005D,
898 		0x03F, 0x000FBFCE,
899 		0x033, 0x00000006,
900 		0x03E, 0x0000005F,
901 		0x03F, 0x000A7FFB,
902 		0x0EF, 0x00000000,
903 		0x0EE, 0x00000002,
904 		0x030, 0x00000001,
905 		0x030, 0x00002001,
906 		0x030, 0x00004001,
907 		0x030, 0x00007001,
908 		0x030, 0x00006001,
909 		0x030, 0x00020001,
910 		0x030, 0x00022001,
911 		0x030, 0x00024001,
912 		0x030, 0x00027001,
913 		0x030, 0x00026001,
914 		0x030, 0x00034001,
915 		0x030, 0x00037001,
916 		0x030, 0x00036001,
917 		0x030, 0x00008000,
918 		0x030, 0x0000A000,
919 		0x030, 0x0000C000,
920 	0x83000100,	0x00000000,	0x40000000,	0x00000000,
921 		0x030, 0x0000E024,
922 	0xA0000000,	0x00000000,
923 		0x030, 0x0000E000,
924 	0xB0000000,	0x00000000,
925 		0x030, 0x0001C000,
926 		0x030, 0x0001E000,
927 		0x0EE, 0x00000000,
928 		0x0EE, 0x00020000,
929 		0x0EF, 0x00020000,
930 		0x030, 0x00000F75,
931 		0x030, 0x00002F55,
932 		0x030, 0x00003F75,
933 		0x0EE, 0x00000000,
934 		0x0EF, 0x00000000,
935 		0x018, 0x00008401,
936 		0xFFE, 0x00000000,
937 };
938 
939 RTW_DECL_TABLE_RF_RADIO(rtw8723d_rf_a, A);
940 
941 static const struct rtw_txpwr_lmt_cfg_pair rtw8723d_txpwr_lmt[] = {
942 	{0, 0, 0, 0, 1, 30, },
943 	{2, 0, 0, 0, 1, 30, },
944 	{1, 0, 0, 0, 1, 30, },
945 	{0, 0, 0, 0, 2, 30, },
946 	{2, 0, 0, 0, 2, 30, },
947 	{1, 0, 0, 0, 2, 30, },
948 	{0, 0, 0, 0, 3, 30, },
949 	{2, 0, 0, 0, 3, 30, },
950 	{1, 0, 0, 0, 3, 30, },
951 	{0, 0, 0, 0, 4, 30, },
952 	{2, 0, 0, 0, 4, 30, },
953 	{1, 0, 0, 0, 4, 30, },
954 	{0, 0, 0, 0, 5, 30, },
955 	{2, 0, 0, 0, 5, 30, },
956 	{1, 0, 0, 0, 5, 30, },
957 	{0, 0, 0, 0, 6, 30, },
958 	{2, 0, 0, 0, 6, 30, },
959 	{1, 0, 0, 0, 6, 30, },
960 	{0, 0, 0, 0, 7, 30, },
961 	{2, 0, 0, 0, 7, 30, },
962 	{1, 0, 0, 0, 7, 30, },
963 	{0, 0, 0, 0, 8, 30, },
964 	{2, 0, 0, 0, 8, 30, },
965 	{1, 0, 0, 0, 8, 30, },
966 	{0, 0, 0, 0, 9, 30, },
967 	{2, 0, 0, 0, 9, 30, },
968 	{1, 0, 0, 0, 9, 30, },
969 	{0, 0, 0, 0, 10, 30, },
970 	{2, 0, 0, 0, 10, 30, },
971 	{1, 0, 0, 0, 10, 30, },
972 	{0, 0, 0, 0, 11, 30, },
973 	{2, 0, 0, 0, 11, 30, },
974 	{1, 0, 0, 0, 11, 30, },
975 	{0, 0, 0, 0, 12, 30, },
976 	{2, 0, 0, 0, 12, 30, },
977 	{1, 0, 0, 0, 12, 30, },
978 	{0, 0, 0, 0, 13, 17, },
979 	{2, 0, 0, 0, 13, 30, },
980 	{1, 0, 0, 0, 13, 30, },
981 	{0, 0, 0, 0, 14, 63, },
982 	{2, 0, 0, 0, 14, 63, },
983 	{1, 0, 0, 0, 14, 30, },
984 	{0, 0, 0, 1, 1, 26, },
985 	{2, 0, 0, 1, 1, 31, },
986 	{1, 0, 0, 1, 1, 31, },
987 	{0, 0, 0, 1, 2, 28, },
988 	{2, 0, 0, 1, 2, 31, },
989 	{1, 0, 0, 1, 2, 31, },
990 	{0, 0, 0, 1, 3, 30, },
991 	{2, 0, 0, 1, 3, 31, },
992 	{1, 0, 0, 1, 3, 31, },
993 	{0, 0, 0, 1, 4, 30, },
994 	{2, 0, 0, 1, 4, 31, },
995 	{1, 0, 0, 1, 4, 31, },
996 	{0, 0, 0, 1, 5, 30, },
997 	{2, 0, 0, 1, 5, 31, },
998 	{1, 0, 0, 1, 5, 31, },
999 	{0, 0, 0, 1, 6, 30, },
1000 	{2, 0, 0, 1, 6, 31, },
1001 	{1, 0, 0, 1, 6, 31, },
1002 	{0, 0, 0, 1, 7, 30, },
1003 	{2, 0, 0, 1, 7, 31, },
1004 	{1, 0, 0, 1, 7, 31, },
1005 	{0, 0, 0, 1, 8, 30, },
1006 	{2, 0, 0, 1, 8, 31, },
1007 	{1, 0, 0, 1, 8, 31, },
1008 	{0, 0, 0, 1, 9, 30, },
1009 	{2, 0, 0, 1, 9, 31, },
1010 	{1, 0, 0, 1, 9, 31, },
1011 	{0, 0, 0, 1, 10, 28, },
1012 	{2, 0, 0, 1, 10, 31, },
1013 	{1, 0, 0, 1, 10, 31, },
1014 	{0, 0, 0, 1, 11, 26, },
1015 	{2, 0, 0, 1, 11, 31, },
1016 	{1, 0, 0, 1, 11, 31, },
1017 	{0, 0, 0, 1, 12, 24, },
1018 	{2, 0, 0, 1, 12, 31, },
1019 	{1, 0, 0, 1, 12, 31, },
1020 	{0, 0, 0, 1, 13, 14, },
1021 	{2, 0, 0, 1, 13, 31, },
1022 	{1, 0, 0, 1, 13, 31, },
1023 	{0, 0, 0, 1, 14, 63, },
1024 	{2, 0, 0, 1, 14, 63, },
1025 	{1, 0, 0, 1, 14, 63, },
1026 	{0, 0, 0, 2, 1, 24, },
1027 	{2, 0, 0, 2, 1, 31, },
1028 	{1, 0, 0, 2, 1, 31, },
1029 	{0, 0, 0, 2, 2, 26, },
1030 	{2, 0, 0, 2, 2, 31, },
1031 	{1, 0, 0, 2, 2, 31, },
1032 	{0, 0, 0, 2, 3, 30, },
1033 	{2, 0, 0, 2, 3, 31, },
1034 	{1, 0, 0, 2, 3, 31, },
1035 	{0, 0, 0, 2, 4, 30, },
1036 	{2, 0, 0, 2, 4, 31, },
1037 	{1, 0, 0, 2, 4, 31, },
1038 	{0, 0, 0, 2, 5, 30, },
1039 	{2, 0, 0, 2, 5, 31, },
1040 	{1, 0, 0, 2, 5, 31, },
1041 	{0, 0, 0, 2, 6, 30, },
1042 	{2, 0, 0, 2, 6, 31, },
1043 	{1, 0, 0, 2, 6, 31, },
1044 	{0, 0, 0, 2, 7, 30, },
1045 	{2, 0, 0, 2, 7, 31, },
1046 	{1, 0, 0, 2, 7, 31, },
1047 	{0, 0, 0, 2, 8, 30, },
1048 	{2, 0, 0, 2, 8, 31, },
1049 	{1, 0, 0, 2, 8, 31, },
1050 	{0, 0, 0, 2, 9, 30, },
1051 	{2, 0, 0, 2, 9, 31, },
1052 	{1, 0, 0, 2, 9, 31, },
1053 	{0, 0, 0, 2, 10, 26, },
1054 	{2, 0, 0, 2, 10, 31, },
1055 	{1, 0, 0, 2, 10, 31, },
1056 	{0, 0, 0, 2, 11, 24, },
1057 	{2, 0, 0, 2, 11, 31, },
1058 	{1, 0, 0, 2, 11, 31, },
1059 	{0, 0, 0, 2, 12, 23, },
1060 	{2, 0, 0, 2, 12, 31, },
1061 	{1, 0, 0, 2, 12, 31, },
1062 	{0, 0, 0, 2, 13, 13, },
1063 	{2, 0, 0, 2, 13, 31, },
1064 	{1, 0, 0, 2, 13, 31, },
1065 	{0, 0, 0, 2, 14, 63, },
1066 	{2, 0, 0, 2, 14, 63, },
1067 	{1, 0, 0, 2, 14, 63, },
1068 	{0, 0, 0, 3, 1, 28, },
1069 	{2, 0, 0, 3, 1, 30, },
1070 	{1, 0, 0, 3, 1, 30, },
1071 	{0, 0, 0, 3, 2, 28, },
1072 	{2, 0, 0, 3, 2, 30, },
1073 	{1, 0, 0, 3, 2, 30, },
1074 	{0, 0, 0, 3, 3, 30, },
1075 	{2, 0, 0, 3, 3, 30, },
1076 	{1, 0, 0, 3, 3, 30, },
1077 	{0, 0, 0, 3, 4, 30, },
1078 	{2, 0, 0, 3, 4, 30, },
1079 	{1, 0, 0, 3, 4, 30, },
1080 	{0, 0, 0, 3, 5, 30, },
1081 	{2, 0, 0, 3, 5, 30, },
1082 	{1, 0, 0, 3, 5, 30, },
1083 	{0, 0, 0, 3, 6, 30, },
1084 	{2, 0, 0, 3, 6, 30, },
1085 	{1, 0, 0, 3, 6, 30, },
1086 	{0, 0, 0, 3, 7, 30, },
1087 	{2, 0, 0, 3, 7, 30, },
1088 	{1, 0, 0, 3, 7, 30, },
1089 	{0, 0, 0, 3, 8, 30, },
1090 	{2, 0, 0, 3, 8, 30, },
1091 	{1, 0, 0, 3, 8, 30, },
1092 	{0, 0, 0, 3, 9, 28, },
1093 	{2, 0, 0, 3, 9, 30, },
1094 	{1, 0, 0, 3, 9, 30, },
1095 	{0, 0, 0, 3, 10, 28, },
1096 	{2, 0, 0, 3, 10, 30, },
1097 	{1, 0, 0, 3, 10, 30, },
1098 	{0, 0, 0, 3, 11, 28, },
1099 	{2, 0, 0, 3, 11, 30, },
1100 	{1, 0, 0, 3, 11, 30, },
1101 	{0, 0, 0, 3, 12, 63, },
1102 	{2, 0, 0, 3, 12, 30, },
1103 	{1, 0, 0, 3, 12, 30, },
1104 	{0, 0, 0, 3, 13, 63, },
1105 	{2, 0, 0, 3, 13, 30, },
1106 	{1, 0, 0, 3, 13, 30, },
1107 	{0, 0, 0, 3, 14, 63, },
1108 	{2, 0, 0, 3, 14, 63, },
1109 	{1, 0, 0, 3, 14, 63, },
1110 	{0, 0, 1, 2, 1, 63, },
1111 	{2, 0, 1, 2, 1, 63, },
1112 	{1, 0, 1, 2, 1, 63, },
1113 	{0, 0, 1, 2, 2, 63, },
1114 	{2, 0, 1, 2, 2, 63, },
1115 	{1, 0, 1, 2, 2, 63, },
1116 	{0, 0, 1, 2, 3, 24, },
1117 	{2, 0, 1, 2, 3, 30, },
1118 	{1, 0, 1, 2, 3, 30, },
1119 	{0, 0, 1, 2, 4, 24, },
1120 	{2, 0, 1, 2, 4, 30, },
1121 	{1, 0, 1, 2, 4, 30, },
1122 	{0, 0, 1, 2, 5, 24, },
1123 	{2, 0, 1, 2, 5, 30, },
1124 	{1, 0, 1, 2, 5, 30, },
1125 	{0, 0, 1, 2, 6, 24, },
1126 	{2, 0, 1, 2, 6, 30, },
1127 	{1, 0, 1, 2, 6, 30, },
1128 	{0, 0, 1, 2, 7, 24, },
1129 	{2, 0, 1, 2, 7, 30, },
1130 	{1, 0, 1, 2, 7, 30, },
1131 	{0, 0, 1, 2, 8, 24, },
1132 	{2, 0, 1, 2, 8, 30, },
1133 	{1, 0, 1, 2, 8, 30, },
1134 	{0, 0, 1, 2, 9, 24, },
1135 	{2, 0, 1, 2, 9, 30, },
1136 	{1, 0, 1, 2, 9, 30, },
1137 	{0, 0, 1, 2, 10, 22, },
1138 	{2, 0, 1, 2, 10, 30, },
1139 	{1, 0, 1, 2, 10, 30, },
1140 	{0, 0, 1, 2, 11, 20, },
1141 	{2, 0, 1, 2, 11, 30, },
1142 	{1, 0, 1, 2, 11, 30, },
1143 	{0, 0, 1, 2, 12, 63, },
1144 	{2, 0, 1, 2, 12, 30, },
1145 	{1, 0, 1, 2, 12, 30, },
1146 	{0, 0, 1, 2, 13, 63, },
1147 	{2, 0, 1, 2, 13, 30, },
1148 	{1, 0, 1, 2, 13, 30, },
1149 	{0, 0, 1, 2, 14, 63, },
1150 	{2, 0, 1, 2, 14, 63, },
1151 	{1, 0, 1, 2, 14, 63, },
1152 	{0, 0, 1, 3, 1, 63, },
1153 	{2, 0, 1, 3, 1, 63, },
1154 	{1, 0, 1, 3, 1, 63, },
1155 	{0, 0, 1, 3, 2, 63, },
1156 	{2, 0, 1, 3, 2, 63, },
1157 	{1, 0, 1, 3, 2, 63, },
1158 	{0, 0, 1, 3, 3, 26, },
1159 	{2, 0, 1, 3, 3, 26, },
1160 	{1, 0, 1, 3, 3, 26, },
1161 	{0, 0, 1, 3, 4, 26, },
1162 	{2, 0, 1, 3, 4, 26, },
1163 	{1, 0, 1, 3, 4, 26, },
1164 	{0, 0, 1, 3, 5, 26, },
1165 	{2, 0, 1, 3, 5, 26, },
1166 	{1, 0, 1, 3, 5, 26, },
1167 	{0, 0, 1, 3, 6, 26, },
1168 	{2, 0, 1, 3, 6, 26, },
1169 	{1, 0, 1, 3, 6, 26, },
1170 	{0, 0, 1, 3, 7, 26, },
1171 	{2, 0, 1, 3, 7, 26, },
1172 	{1, 0, 1, 3, 7, 26, },
1173 	{0, 0, 1, 3, 8, 26, },
1174 	{2, 0, 1, 3, 8, 26, },
1175 	{1, 0, 1, 3, 8, 26, },
1176 	{0, 0, 1, 3, 9, 26, },
1177 	{2, 0, 1, 3, 9, 26, },
1178 	{1, 0, 1, 3, 9, 26, },
1179 	{0, 0, 1, 3, 10, 26, },
1180 	{2, 0, 1, 3, 10, 26, },
1181 	{1, 0, 1, 3, 10, 26, },
1182 	{0, 0, 1, 3, 11, 26, },
1183 	{2, 0, 1, 3, 11, 26, },
1184 	{1, 0, 1, 3, 11, 26, },
1185 	{0, 0, 1, 3, 12, 63, },
1186 	{2, 0, 1, 3, 12, 26, },
1187 	{1, 0, 1, 3, 12, 26, },
1188 	{0, 0, 1, 3, 13, 63, },
1189 	{2, 0, 1, 3, 13, 26, },
1190 	{1, 0, 1, 3, 13, 26, },
1191 	{0, 0, 1, 3, 14, 63, },
1192 	{2, 0, 1, 3, 14, 63, },
1193 	{1, 0, 1, 3, 14, 63, },
1194 };
1195 
1196 RTW_DECL_TABLE_TXPWR_LMT(rtw8723d_txpwr_lmt);
1197