1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
4 * Copyright(c) 2007 - 2016 Realtek Corporation.
7 * wlanfae <wlanfae@realtek.com>
8 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
11 * Larry Finger <Larry.Finger@lwfinger.net>
13 *****************************************************************************/
14 #ifndef __INC_ODM_REGCONFIG_H_8822B
15 #define __INC_ODM_REGCONFIG_H_8822B
17 void odm_config_rf_reg_8822b(struct phy_dm_struct *dm, u32 addr, u32 data,
18 enum odm_rf_radio_path RF_PATH, u32 reg_addr);
20 void odm_config_rf_radio_a_8822b(struct phy_dm_struct *dm, u32 addr, u32 data);
22 void odm_config_rf_radio_b_8822b(struct phy_dm_struct *dm, u32 addr, u32 data);
24 void odm_config_mac_8822b(struct phy_dm_struct *dm, u32 addr, u8 data);
26 void odm_update_agc_big_jump_lmt_8822b(struct phy_dm_struct *dm, u32 addr,
29 void odm_config_bb_agc_8822b(struct phy_dm_struct *dm, u32 addr, u32 bitmask,
32 void odm_config_bb_phy_reg_pg_8822b(struct phy_dm_struct *dm, u32 band,
33 u32 rf_path, u32 tx_num, u32 addr,
34 u32 bitmask, u32 data);
36 void odm_config_bb_phy_8822b(struct phy_dm_struct *dm, u32 addr, u32 bitmask,
39 void odm_config_bb_txpwr_lmt_8822b(struct phy_dm_struct *dm, u8 *regulation,
40 u8 *band, u8 *bandwidth, u8 *rate_section,
41 u8 *rf_path, u8 *channel, u8 *power_limit);
43 #endif /* RTL8822B_SUPPORT == 1*/