/****************************************************************************** * * Copyright(c) 2007 - 2020 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * The full GNU General Public License is included in this distribution in the * file called LICENSE. * * Contact Information: * wlanfae * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, * Hsinchu 300, Taiwan. * * Larry Finger * *****************************************************************************/ #ifndef __HALRF_DPK_8852BH__ #define __HALRF_DPK_8852BH__ #ifdef RF_8852B_SUPPORT /*--------------------------Define Parameters-------------------------------*/ #define DPK_VER_8852B 0x9 #define DPK_RF_PATH_MAX_8852B 2 #define DPK_KIP_REG_NUM_8852B 3 #define DPK_BB_REG_NUM_8852B 3 #define DPK_RF_REG_NUM_8852B 8 #define DPK_PATH_A_8852B 1 #define DPK_PATH_B_8852B 1 #define PATH_OFST_8852B 0x100 #define CH_OFST_8852B 0x4 #define PHY_OFST_8852B 0x80 #define DPK_BY_NCTL_8852B 1 #define DPK_RELOAD_EN_8852B 0 #define DPK_REG_DBG 0 /*---------------------------End Define Parameters----------------------------*/ void halrf_dpk_8852b(struct rf_info *rf, enum phl_phy_idx phy_idx, bool force); void halrf_dpk_onoff_8852b(struct rf_info *rf, enum rf_path path, bool off); void halrf_dpk_track_8852b(struct rf_info *rf); #endif #endif /* __HALRF_DPK_8852BH__ */