xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/rtl8188f/phydm_regconfig8188f.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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_8188F
16 #define __INC_ODM_REGCONFIG_H_8188F
17 
18 #if (RTL8188F_SUPPORT == 1)
19 
20 void odm_config_rf_reg_8188f(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_8188f(struct dm_struct *dm, u32 addr, u32 data);
24 
25 void odm_config_rf_radio_b_8188f(struct dm_struct *dm, u32 addr, u32 data);
26 
27 void odm_config_mac_8188f(struct dm_struct *dm, u32 addr, u8 data);
28 
29 void odm_config_bb_agc_8188f(struct dm_struct *dm, u32 addr, u32 bitmask,
30 			     u32 data);
31 
32 void odm_config_bb_phy_reg_pg_8188f(struct dm_struct *dm, u32 band, u32 rf_path,
33 				    u32 tx_num, u32 addr, u32 bitmask,
34 				    u32 data);
35 
36 void odm_config_bb_phy_8188f(struct dm_struct *dm, u32 addr, u32 bitmask,
37 			     u32 data);
38 
39 void odm_config_bb_txpwr_lmt_8188f(struct dm_struct *dm, u8 *regulation,
40 				   u8 *band, u8 *bandwidth, u8 *rate_section,
41 				   u8 *rf_path, u8 *channel, u8 *power_limit);
42 
43 #endif
44 #endif /* end of SUPPORT */
45