1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2017 Realtek Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  *****************************************************************************/
15 #ifndef __INC_ODM_REGCONFIG_H_8703B
16 #define __INC_ODM_REGCONFIG_H_8703B
17 
18 #if (RTL8703B_SUPPORT == 1)
19 
20 void odm_config_rf_reg_8703b(struct dm_struct *dm, u32 addr, u32 data,
21 			     enum rf_path RF_PATH, u32 reg_addr);
22 
23 void odm_config_rf_radio_a_8703b(struct dm_struct *dm, u32 addr, u32 data);
24 
25 void odm_config_rf_radio_b_8703b(struct dm_struct *dm, u32 addr, u32 data);
26 
27 void odm_config_rf_radio_c_8703b(struct dm_struct *dm, u32 addr, u32 data);
28 
29 void odm_config_rf_radio_d_8703b(struct dm_struct *dm, u32 addr, u32 data);
30 
31 void odm_config_mac_8703b(struct dm_struct *dm, u32 addr, u8 data);
32 
33 void odm_config_bb_agc_8703b(struct dm_struct *dm, u32 addr, u32 bitmask,
34 			     u32 data);
35 
36 void odm_config_bb_phy_reg_pg_8703b(struct dm_struct *dm, u32 band, u32 rf_path,
37 				    u32 tx_num, u32 addr, u32 bitmask,
38 				    u32 data);
39 
40 void odm_config_bb_phy_8703b(struct dm_struct *dm, u32 addr, u32 bitmask,
41 			     u32 data);
42 
43 void odm_config_bb_txpwr_lmt_8703b(struct dm_struct *dm, u8 *regulation,
44 				   u8 *band, u8 *bandwidth, u8 *rate_section,
45 				   u8 *rf_path, u8 *channel, u8 *power_limit);
46 #endif
47 #endif /* end of SUPPORT */
48