1 /******************************************************************************
3 * Copyright(c) 2016 - 2017 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 *****************************************************************************/
15 #ifndef __INC_ODM_REGCONFIG_H_8821C
16 #define __INC_ODM_REGCONFIG_H_8821C
18 #if (RTL8821C_SUPPORT == 1)
20 void odm_config_rf_reg_8821c(struct dm_struct *dm, u32 addr, u32 data,
21 enum rf_path rf_path, u32 reg_addr);
23 void odm_config_rf_radio_a_8821c(struct dm_struct *dm, u32 addr, u32 data);
25 void odm_config_rf_radio_b_8821c(
30 void odm_config_mac_8821c(struct dm_struct *dm, u32 addr, u8 data);
32 void odm_update_agc_big_jump_lmt_8821c(struct dm_struct *dm, u32 addr,
35 void odm_config_bb_agc_8821c(struct dm_struct *dm, u32 addr, u32 bitmask,
38 void odm_config_bb_phy_reg_pg_8821c(struct dm_struct *dm, u32 band, u32 rf_path,
39 u32 tx_num, u32 addr, u32 bitmask,
42 void odm_config_bb_phy_8821c(struct dm_struct *dm, u32 addr, u32 bitmask,
45 void odm_config_bb_txpwr_lmt_8821c(struct dm_struct *dm, u8 *regulation,
46 u8 *band, u8 *bandwidth, u8 *rate_section,
47 u8 *rf_path, u8 *channel, u8 *power_limit);
50 #endif /* RTL8822B_SUPPORT == 1*/