hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
/** @file */
/******************************************************************************
 *
 * Copyright(c) 2019 Realtek Corporation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of version 2 of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
 * more details.
 *
 ******************************************************************************/
 
#ifndef _TABLEUPD_H2C_H_
#define _TABLEUPD_H2C_H_
 
#include "../type.h"
#include "fwcmd.h"
#include "trx_desc.h"
#include "addr_cam.h"
 
/*--------------------Define MACRO--------------------------------------*/
#define DLRU_CLASS_GRP_TBL    0
#define ULRU_CLASS_GRP_TBL    1
#define CLASS_RUSTA_INFO    2
#define DLRU_CLASS_FIXED_TBL    3
#define ULRU_CLASS_FIXED_TBL    4
#define CLASS_BA_INFOTBL    5
#define CLASS_MUDECISION_PARA    6
#define CLASS_UL_FIXINFO    7
#define CLASS_F2P_FIXMODE_PARA    8
 
#define BACAM_RST_DLY_CNT    1000
#define BACAM_RST_DLY_US    1
 
#define NTX_PATH_EN_MASK 0xf
#define PATH_MAP_MASK 0x3
 
#define BACAM_MIN_ENTRY_IDX_8852B 0
#define BACAM_MAX_ENTRY_IDX_8852B 1
#define BACAM_MIN_ENTRY_IDX_8851B 0
#define BACAM_MAX_ENTRY_IDX_8851B 1
#define BACAM_MIN_ENTRY_IDX_8852BT 0
#define BACAM_MAX_ENTRY_IDX_8852BT 1
#define BACAM_MAX_ENTRY_IDX_8851E 15
#define BACAM_INIT_TMP_ENTRY_NUM_STA_8851E 2
#define BACAM_MAX_ENTRY_IDX_8852C 15
#define BACAM_INIT_TMP_ENTRY_NUM_AP_8852C 8
#define BACAM_INIT_TMP_ENTRY_NUM_STA_8852C 2
#define BACAM_MAX_ENTRY_IDX_8192XB 15
#define BACAM_INIT_TMP_ENTRY_NUM_AP_8192XB 8
#define BACAM_INIT_TMP_ENTRY_NUM_STA_8192XB 2
#define BACAM_MAX_ENTRY_IDX_8852D 15
#define BACAM_INIT_TMP_ENTRY_NUM_AP_8852D 8
#define BACAM_INIT_TMP_ENTRY_NUM_STA_8852D 2
#define BACAM_MAX_RU_SUPPORT_B0_AP_8852C 8
#define BACAM_MAX_RU_SUPPORT_B1_AP_8852C 0
#define BACAM_MAX_RU_SUPPORT_B0_AP_8192XB 8
#define BACAM_MAX_RU_SUPPORT_B1_AP_8192XB 0
#define BACAM_MAX_RU_SUPPORT_B0_AP_8852D 8
#define BACAM_MAX_RU_SUPPORT_B1_AP_8852D 0
#define BACAM_MIN_ENTRY_IDX_DEF_1115E 0
#define BACAM_MAX_RU_SUPPORT_B0_NON_AP 1 //for Fool-proof mechanism
#define BACAM_MAX_RU_SUPPORT_B1_NON_AP 0 //for Fool-proof mechanism
#define BACAM_MAX_ENTRY_IDX_DEF_1115E 127
#define BACAM_MAX_RU_SUPPORT_B0_STA 1
#define BACAM_MAX_RU_SUPPORT_B1_STA 1
 
#define DCTL_INFO_SIZE        16
#define DCTL_INFO_SIZE_V1    32
/*--------------------Define Enum---------------------------------------*/
 
/**
 * @enum H2C_WLANINFO_SEL
 *
 * @brief H2C_WLANINFO_SEL
 *
 * @var H2C_WLANINFO_SEL::DUMPWLANC
 * Please Place Description here.
 * @var H2C_WLANINFO_SEL::DUMPWLANS
 * Please Place Description here.
 * @var H2C_WLANINFO_SEL::DUMPWLAND
 * Please Place Description here.
 */
enum H2C_WLANINFO_SEL {
   DUMPWLANC = BIT0,
   DUMPWLANS = BIT1,
   DUMPWLAND = BIT2
};
 
/**
 * @enum DLDECISION_RESULT_TYPE
 *
 * @brief DLDECISION_RESULT_TYPE
 *
 * @var DLDECISION_RESULT_TYPE::DLDECISION_SU_FORCESU
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_MU_FORCEMU
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_SU_FORCEMU_FAIL
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_SU_FORCERU_FAIL
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_SU_FORCERU_RUARST_RU2SU
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_RU_FORCERU_RUSRST_FIXTBL
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_RU_FORCERU
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_SU_WDINFO_USERATE
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_SU_PRINULLWD
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_MU_BYPASS_MUTPCOMPARE
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_SU_MUTXTIME_PASS_MU_NOTSUPPORT
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_SU_MUTXTIME_FAIL_RU_NOTSUPPORT
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_SU_RUARST_RU2SU
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_RU_RUARST_FIXTBL
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_MU_TPCOMPARE_RST
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_RU_TPCOMPARE_RST
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_SU_TPCOMPARE_RST
 * Please Place Description here.
 * @var DLDECISION_RESULT_TYPE::DLDECISION_MAX
 * Please Place Description here.
 */
enum DLDECISION_RESULT_TYPE {
   DLDECISION_SU_FORCESU = 0,
   DLDECISION_MU_FORCEMU = 1,
   DLDECISION_SU_FORCEMU_FAIL = 2,
   DLDECISION_SU_FORCERU_FAIL = 3,
   DLDECISION_SU_FORCERU_RUARST_RU2SU = 4,
   DLDECISION_RU_FORCERU_RUSRST_FIXTBL = 5,
   DLDECISION_RU_FORCERU = 6,
   DLDECISION_SU_WDINFO_USERATE = 7,
   DLDECISION_SU_PRINULLWD = 8,
   DLDECISION_MU_BYPASS_MUTPCOMPARE = 9,
   DLDECISION_SU_MUTXTIME_PASS_MU_NOTSUPPORT = 10,
   DLDECISION_SU_MUTXTIME_FAIL_RU_NOTSUPPORT = 11,
   DLDECISION_SU_RUARST_RU2SU = 12,
   DLDECISION_RU_RUARST_FIXTBL = 13,
   DLDECISION_MU_TPCOMPARE_RST = 14,
   DLDECISION_RU_TPCOMPARE_RST = 15,
   DLDECISION_SU_TPCOMPARE_RST = 16,
   DLDECISION_MAX = 17
};
 
enum S_AX_BACAM_RST {
   S_AX_BACAM_RST_DONE = 0,
   S_AX_BACAM_RST_ENT,
   S_AX_BACAM_RST_ALL,
   S_AX_BACAM_RST_RSVD
};
 
enum BACAM_RST_TYPE {
   BACAM_RST_ALL = 0,
   BACAM_RST_ENT,
};
 
/*--------------------Define Struct-------------------------------------*/
 
struct rst_bacam_info {
   enum BACAM_RST_TYPE type;
   u8 ent;
};
 
/**
 * @brief mac_bacam_avl_std_entry_idx
 *
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_bacam_avl_std_entry_idx(struct mac_ax_adapter *adapter,
               struct mac_ax_avl_std_bacam_info *info);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup Association
 * @{
 * @addtogroup BA_Info
 * @{
 */
 
/**
 * @brief mac_bacam_init
 *
 * @param *adapter
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_bacam_init(struct mac_ax_adapter *adapter);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup Association
 * @{
 * @addtogroup BA_Info
 * @{
 */
 
/**
 * @addtogroup Association
 * @{
 * @addtogroup BA_Info
 * @{
 */
/**
 * @brief mac_upd_ba_infotbl
 *
 * @param *adapter
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_upd_ba_infotbl(struct mac_ax_adapter *adapter,
              struct mac_ax_ba_infotbl *info);
/**
 * @}
 * @}
 */
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup MU
 * @{
 */
 
/**
 * @brief mac_upd_mudecision_para
 *
 * @param *adapter
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_upd_mudecision_para(struct mac_ax_adapter *adapter,
               struct mac_ax_mudecision_para *info);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup UL
 * @{
 */
 
/**
 * @brief mac_upd_ul_fixinfo
 *
 * @param *adapter
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_upd_ul_fixinfo(struct mac_ax_adapter *adapter,
              struct rtw_phl_ax_ul_fixinfo *info);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup F2P_TestCmd
 * @{
 */
 
/**
 * @brief mac_f2p_test_cmd
 *
 * @param *adapter
 * @param *info
 * @param *f2pwd
 * @param *ptxcmd
 * @param *psigb_addr
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_f2p_test_cmd(struct mac_ax_adapter *adapter,
            struct mac_ax_f2p_test_para *info,
            struct mac_ax_f2p_wd *f2pwd,
            struct mac_ax_f2p_tx_cmd *ptxcmd,
            u8 *psigb_addr);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup Basic_TRX
 * @{
 * @addtogroup DMAC_Table
 * @{
 */
 
/**
 * @brief mac_upd_dctl_info
 *
 * @param *adapter
 * @param *info
 * @param *mask
 * @param macid
 * @param operation
 * @return Please Place Description here.
 * @retval u32
 */
#if (MAC_AX_8852A_SUPPORT || MAC_AX_8852B_SUPPORT || MAC_AX_8851B_SUPPORT || MAC_AX_8852BT_SUPPORT)
u32 mac_upd_dctl_info(struct mac_ax_adapter *adapter,
             struct mac_ax_dctl_info *info,
             struct mac_ax_dctl_info *mask, u8 macid, u8 operation);
u32 dctl_info_debug_write(struct mac_ax_adapter *adapter, u8 *buf, u8 macid);
#endif
#if (MAC_AX_8852C_SUPPORT || MAC_AX_8192XB_SUPPORT || MAC_AX_8851E_SUPPORT || MAC_AX_8852D_SUPPORT)
u32 mac_upd_dctl_info_v1(struct mac_ax_adapter *adapter,
            struct mac_ax_dctl_info *info,
            struct mac_ax_dctl_info *mask,
            u8 macid, u8 operation);
u32 dctl_info_debug_write_v1(struct mac_ax_adapter *adapter, u8 *buf, u8 macid);
#endif
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup Basic_TRX
 * @{
 * @addtogroup TX_ShortCut
 * @{
 */
 
/**
 * @brief mac_upd_shcut_mhdr
 *
 * @param *adapter
 * @param *info
 * @param macid
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_upd_shcut_mhdr(struct mac_ax_adapter *adapter,
              struct mac_ax_shcut_mhdr *info, u8 macid);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup Basic_TRX
 * @{
 * @addtogroup CMAC_Table
 * @{
 */
 
/**
 * @brief mac_upd_cctl_info
 *
 * @param *adapter
 * @param *info
 * @param *mask
 * @param macid
 * @param operation
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_upd_cctl_info(struct mac_ax_adapter *adapter,
             struct rtw_hal_mac_ax_cctl_info *info,
             struct rtw_hal_mac_ax_cctl_info *mask, u8 macid, u8 operation);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup FW_CommonInfo
 * @{
 */
 
/**
 * @brief mac_set_fixmode_mib
 *
 * @param *adapter
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_set_fixmode_mib(struct mac_ax_adapter *adapter,
           struct mac_ax_fixmode_para *info);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup F2P_TestCmd
 * @{
 */
 
/**
 * @brief mac_snd_test_cmd
 *
 * @param *adapter
 * @param *cmd_buf
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_snd_test_cmd(struct mac_ax_adapter *adapter,
            u8 *cmd_buf);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup Association
 * @{
 * @addtogroup BA_Info
 * @{
 */
 
/**
 * @brief rst_bacam
 *
 * @param *adapter
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 rst_bacam(struct mac_ax_adapter *adapter, struct rst_bacam_info *info);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup Association
 * @{
 * @addtogroup BA_Info
 * @{
 */
 
/**
 * @brief mac_bacam_info
 *
 * @param *adapter
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_bacam_info(struct mac_ax_adapter *adapter,
          struct mac_ax_bacam_info *info);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup SU
 * @{
 */
 
/**
 * @brief mac_ss_dl_grp_upd
 *
 * @param *adapter
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_ss_dl_grp_upd(struct mac_ax_adapter *adapter,
             struct mac_ax_ss_dl_grp_upd *info);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup UL
 * @{
 */
 
/**
 * @brief mac_ss_ul_grp_upd
 *
 * @param *adapter
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_ss_ul_grp_upd(struct mac_ax_adapter *adapter,
             struct mac_ax_ss_ul_grp_upd *info);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup UL
 * @{
 */
 
/**
 * @brief mac_ss_ul_sta_upd
 *
 * @param *adapter
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_ss_ul_sta_upd(struct mac_ax_adapter *adapter,
             struct mac_ax_ss_ul_sta_upd *info);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup MU
 * @{
 */
 
/**
 * @brief mac_mu_sta_upd
 *
 * @param *adapter
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_mu_sta_upd(struct mac_ax_adapter *adapter,
          struct mac_ax_mu_sta_upd *info);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup FW_CommonInfo
 * @{
 */
 
/**
 * @brief mac_wlaninfo_get
 *
 * @param *adapter
 * @param *info
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_wlaninfo_get(struct mac_ax_adapter *adapter,
            struct mac_ax_wlaninfo_get *info);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup FW_CommonInfo
 * @{
 */
 
/**
 * @brief mac_dumpwlanc
 *
 * @param *adapter
 * @param *para
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_dumpwlanc(struct mac_ax_adapter *adapter,
         struct mac_ax_dumpwlanc *para);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup FW_CommonInfo
 * @{
 */
 
/**
 * @brief mac_dumpwlans
 *
 * @param *adapter
 * @param *para
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_dumpwlans(struct mac_ax_adapter *adapter,
         struct mac_ax_dumpwlans *para);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup FW_CommonInfo
 * @{
 */
 
/**
 * @brief mac_dumpwland
 *
 * @param *adapter
 * @param *para
 * @return Please Place Description here.
 * @retval u32
 */
u32 mac_dumpwland(struct mac_ax_adapter *adapter,
         struct mac_ax_dumpwland *para);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup Basic_TRX
 * @{
 * @addtogroup CMAC_Table
 * @{
 */
 
/**
 * @brief cctl_info_debug_write
 *
 * @param *adapter
 * @param macid
 * @param *tbl
 * @return Please Place Description here.
 * @retval u32
 */
 
#if MAC_AX_FEATURE_DBGPKG
u32 cctl_info_debug_write(struct mac_ax_adapter *adapter, u8 macid,
             struct fwcmd_cctlinfo_ud *tbl);
/**
 * @}
 * @}
 */
#endif
u32 mac_fw_status_cmd(struct mac_ax_adapter *adapter,
             struct mac_ax_fwstatus_payload *info);
 
/**
 * @addtogroup Basic_TRX
 * @{
 * @addtogroup CMAC_TABLE
 * @{
 */
 
/**
 * @brief mac_tx_path_map_cfg
 *
 * @param *adapter
 * @param macid
 * @param *tbl
 * @return Please Place Description here.
 * @retval u32
 */
 
u32 mac_tx_path_map_cfg(struct mac_ax_adapter *adapter,
           struct hal_txmap_cfg *cfg);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup fw_ofdma_info
 * @{
 */
 
/**
 * @brief mac_fwc2h_ofdma_sts_parse
 *
 * @param *adapter
 * @param *fw_c2h_sts
 * @param *content
 * @return parse the ofdma info report by fw to mac_ax_fwc2h_sts structure
 * @retval u32
 */
 
u32 mac_fwc2h_ofdma_sts_parse(struct mac_ax_adapter *adapter,
                 struct mac_ax_fwc2h_sts *fw_c2h_sts,
                 u32 *content);
/**
 * @}
 * @}
 */
 
/**
 * @addtogroup FrameExchange
 * @{
 * @addtogroup fw_ofdma_info
 * @{
 */
 
/**
 * @brief mac_fw_ofdma_sts_en
 *
 * @param *adapter
 * @param *fwsts_para
 * @return enable/disable and set period for fw report ofdma info
 * @retval u32
 */
 
u32 mac_fw_ofdma_sts_en(struct mac_ax_adapter *adapter,
           struct mac_ax_fwsts_para *fwsts_para);
/**
 * @}
 * @}
 */
 
u32 mac_txmode_switch(struct mac_ax_adapter *adapter, u8 swtx);
#endif