1 /******************************************************************************
3 * Copyright(c) 2007 - 2016 Realtek Corporation.
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.
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
14 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
17 * Contact Information:
18 * wlanfae <wlanfae@realtek.com>
19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20 * Hsinchu 300, Taiwan.
22 * Larry Finger <Larry.Finger@lwfinger.net>
24 *****************************************************************************/
25 #ifndef __INC_ODM_REGCONFIG_H_8822B
26 #define __INC_ODM_REGCONFIG_H_8822B
28 void odm_config_rf_reg_8822b(struct phy_dm_struct *dm, u32 addr, u32 data,
29 enum odm_rf_radio_path RF_PATH, u32 reg_addr);
31 void odm_config_rf_radio_a_8822b(struct phy_dm_struct *dm, u32 addr, u32 data);
33 void odm_config_rf_radio_b_8822b(struct phy_dm_struct *dm, u32 addr, u32 data);
35 void odm_config_mac_8822b(struct phy_dm_struct *dm, u32 addr, u8 data);
37 void odm_update_agc_big_jump_lmt_8822b(struct phy_dm_struct *dm, u32 addr,
40 void odm_config_bb_agc_8822b(struct phy_dm_struct *dm, u32 addr, u32 bitmask,
43 void odm_config_bb_phy_reg_pg_8822b(struct phy_dm_struct *dm, u32 band,
44 u32 rf_path, u32 tx_num, u32 addr,
45 u32 bitmask, u32 data);
47 void odm_config_bb_phy_8822b(struct phy_dm_struct *dm, u32 addr, u32 bitmask,
50 void odm_config_bb_txpwr_lmt_8822b(struct phy_dm_struct *dm, u8 *regulation,
51 u8 *band, u8 *bandwidth, u8 *rate_section,
52 u8 *rf_path, u8 *channel, u8 *power_limit);
54 #endif /* RTL8822B_SUPPORT == 1*/