hc
2024-05-08 f309769f8af08599af39b6de4f675784ce76530d
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
/******************************************************************************
 *
 * Copyright(c) 2007 - 2017 Realtek Corporation.
 *
 * 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.
 *
 * The full GNU General Public License is included in this distribution in the
 * file called LICENSE.
 *
 * Contact Information:
 * wlanfae <wlanfae@realtek.com>
 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
 * Hsinchu 300, Taiwan.
 *
 * Larry Finger <Larry.Finger@lwfinger.net>
 *
 *****************************************************************************/
 
/*Image2HeaderVersion: R3 1.5.12*/
#if (RTL8822C_SUPPORT == 1)
#ifndef __INC_MP_RF_HW_IMG_8822C_H
#define __INC_MP_RF_HW_IMG_8822C_H
 
/* Please add following compiler flags definition (#define CONFIG_XXX_DRV_DIS)
 * into driver source code to reduce code size if necessary.
 * #define CONFIG_8822C_DRV_DIS
 * #define CONFIG_8822CTSSI_DRV_DIS
 * #define CONFIG_8822C_TYPE5_DRV_DIS
 */
 
#define CONFIG_8822C
#ifdef CONFIG_8822C_DRV_DIS
    #undef CONFIG_8822C
#endif
 
#define CONFIG_8822CTSSI
#ifdef CONFIG_8822CTSSI_DRV_DIS
    #undef CONFIG_8822CTSSI
#endif
 
#define CONFIG_8822C_TYPE5
#ifdef CONFIG_8822C_TYPE5_DRV_DIS
    #undef CONFIG_8822C_TYPE5
#endif
 
struct txpwr_lmt_t_8822c {
   u8            reg;
   u8            band:1;
   u8            bw:3;
   u8            rs:2;
   u8            ntx:2;
   u8            ch;
   s8            val;
};
 
/******************************************************************************
 *                           radioa.TXT
 ******************************************************************************/
 
/* tc: Test Chip, mp: mp Chip*/
void
odm_read_and_config_mp_8822c_radioa(struct dm_struct *dm);
u32 odm_get_version_mp_8822c_radioa(void);
 
/******************************************************************************
 *                           radiob.TXT
 ******************************************************************************/
 
/* tc: Test Chip, mp: mp Chip*/
void
odm_read_and_config_mp_8822c_radiob(struct dm_struct *dm);
u32 odm_get_version_mp_8822c_radiob(void);
 
/******************************************************************************
 *                           txpowertrack.TXT
 ******************************************************************************/
 
/* tc: Test Chip, mp: mp Chip*/
void
odm_read_and_config_mp_8822c_txpowertrack(struct dm_struct *dm);
u32 odm_get_version_mp_8822c_txpowertrack(void);
 
/******************************************************************************
 *                           txpowertracktssi.TXT
 ******************************************************************************/
 
/* tc: Test Chip, mp: mp Chip*/
void
odm_read_and_config_mp_8822c_txpowertracktssi(struct dm_struct *dm);
u32 odm_get_version_mp_8822c_txpowertracktssi(void);
 
/******************************************************************************
 *                           txpwr_lmt.TXT
 ******************************************************************************/
 
/* tc: Test Chip, mp: mp Chip*/
void
odm_read_and_config_mp_8822c_txpwr_lmt(struct dm_struct *dm);
u32 odm_get_version_mp_8822c_txpwr_lmt(void);
 
/******************************************************************************
 *                           txpwr_lmt_type5.TXT
 ******************************************************************************/
 
/* tc: Test Chip, mp: mp Chip*/
void
odm_read_and_config_mp_8822c_txpwr_lmt_type5(struct dm_struct *dm);
u32 odm_get_version_mp_8822c_txpwr_lmt_type5(void);
 
#endif
#endif /* end of HWIMG_SUPPORT*/