]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - drivers/staging/rtl8723bs/hal/odm_RegConfig8723B.h
staging: Add rtl8723bs sdio wifi driver
[mirror_ubuntu-artful-kernel.git] / drivers / staging / rtl8723bs / hal / odm_RegConfig8723B.h
1 /******************************************************************************
2 *
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
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_8723B
16 #define __INC_ODM_REGCONFIG_H_8723B
17
18 void odm_ConfigRFReg_8723B(
19 PDM_ODM_T pDM_Odm,
20 u32 Addr,
21 u32 Data,
22 ODM_RF_RADIO_PATH_E RF_PATH,
23 u32 RegAddr
24 );
25
26 void odm_ConfigRF_RadioA_8723B(PDM_ODM_T pDM_Odm, u32 Addr, u32 Data);
27
28 void odm_ConfigMAC_8723B(PDM_ODM_T pDM_Odm, u32 Addr, u8 Data);
29
30 void odm_ConfigBB_AGC_8723B(
31 PDM_ODM_T pDM_Odm,
32 u32 Addr,
33 u32 Bitmask,
34 u32 Data
35 );
36
37 void odm_ConfigBB_PHY_REG_PG_8723B(
38 PDM_ODM_T pDM_Odm,
39 u32 Band,
40 u32 RfPath,
41 u32 TxNum,
42 u32 Addr,
43 u32 Bitmask,
44 u32 Data
45 );
46
47 void odm_ConfigBB_PHY_8723B(
48 PDM_ODM_T pDM_Odm,
49 u32 Addr,
50 u32 Bitmask,
51 u32 Data
52 );
53
54 void odm_ConfigBB_TXPWR_LMT_8723B(
55 PDM_ODM_T pDM_Odm,
56 u8 *Regulation,
57 u8 *Band,
58 u8 *Bandwidth,
59 u8 *RateSection,
60 u8 *RfPath,
61 u8 *Channel,
62 u8 *PowerLimit
63 );
64
65 #endif