xref: /linux/drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h (revision 762f99f4f3cb41a775b5157dd761217beba65873)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5  *
6  ******************************************************************************/
7 #ifndef __INC_ODM_REGCONFIG_H_8723B
8 #define __INC_ODM_REGCONFIG_H_8723B
9 
10 void odm_ConfigRFReg_8723B(struct dm_odm_t *pDM_Odm,
11 			   u32 Addr,
12 			   u32 Data,
13 			   enum rf_path RF_PATH,
14 			   u32 RegAddr
15 );
16 
17 void odm_ConfigRF_RadioA_8723B(struct dm_odm_t *pDM_Odm, u32 Addr, u32 Data);
18 
19 void odm_ConfigMAC_8723B(struct dm_odm_t *pDM_Odm, u32 Addr, u8 Data);
20 
21 void odm_ConfigBB_AGC_8723B(struct dm_odm_t *pDM_Odm,
22 			    u32 Addr,
23 			    u32 Bitmask,
24 			    u32 Data
25 );
26 
27 void odm_ConfigBB_PHY_REG_PG_8723B(struct dm_odm_t *pDM_Odm, u32 RfPath, u32 Addr,
28 				   u32 Bitmask, u32 Data);
29 
30 void odm_ConfigBB_PHY_8723B(struct dm_odm_t *pDM_Odm,
31 			    u32 Addr,
32 			    u32 Bitmask,
33 			    u32 Data
34 );
35 
36 void odm_ConfigBB_TXPWR_LMT_8723B(struct dm_odm_t *pDM_Odm,
37 				  u8 *Regulation,
38 				  u8 *Bandwidth,
39 				  u8 *RateSection,
40 				  u8 *RfPath,
41 				  u8 *Channel,
42 				  u8 *PowerLimit
43 );
44 
45 #endif
46