1 /****************************************************************************** 2 * 3 * Copyright(c) 2007 - 2017 Realtek Corporation. 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 * The full GNU General Public License is included in this distribution in the 15 * file called LICENSE. 16 * 17 * Contact Information: 18 * wlanfae <wlanfae@realtek.com> 19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, 20 * Hsinchu 300, Taiwan. 21 * 22 * Larry Finger <Larry.Finger@lwfinger.net> 23 * 24 *****************************************************************************/ 25 26 #ifndef __HALRF_DPK_8822C_H__ 27 #define __HALRF_DPK_8822C_H__ 28 29 #if (RTL8822C_SUPPORT == 1) 30 /*--------------------------Define Parameters-------------------------------*/ 31 #define DPK_RF_PATH_NUM_8822C 2 32 #define DPK_GROUP_NUM_8822C 1 33 #define DPK_MAC_REG_NUM_8822C 2 34 #define DPK_BB_REG_NUM_8822C 18 35 #define DPK_RF_REG_NUM_8822C 7 36 #define DPK_PAS_CHK_DBG_8822C 0 37 #define DPK_COEF_DBG_8822C 0 38 #define DPK_PAS_DBG_8822C 0 39 #define DPK_SRAM_IQ_DBG_8822C 0 40 #define DPK_SRAM_read_DBG_8822C 0 41 #define DPK_SRAM_write_DBG_8822C 0 42 #define DPK_PATH_A_8822C 1 43 #define DPK_PATH_B_8822C 1 44 #define DPK_THRESHOLD_8822C 6 45 #define DPK_INFO_RSVD_LEN_8822C 179 46 #define DPK_C2H_REPORT_LEN_8822C 19 47 48 /*---------------------------End Define Parameters----------------------------*/ 49 50 void btc_set_gnt_wl_bt_8822c( 51 void *dm_void, 52 boolean is_before_k); 53 54 void dpk_coef_read_8822c( 55 void *dm_void); 56 57 void dpk_enable_disable_8822c( 58 void *dm_void); 59 60 u8 dpk_reload_8822c( 61 void *dm_void); 62 63 void do_dpk_8822c( 64 void *dm_void); 65 66 void dpk_track_8822c( 67 void *dm_void); 68 69 void dpk_info_by_8822c( 70 void *dm_void, 71 u32 *_used, 72 char *output, 73 u32 *_out_len); 74 75 void dpk_info_rsvd_page_8822c( 76 void *dm_void, 77 u8 *buf, 78 u32 *buf_size); 79 80 void dpk_c2h_report_transfer_8822c( 81 void *dm_void, 82 boolean is_ok, 83 u8 *buf, 84 u8 buf_size); 85 86 #endif /* RTL8822C_SUPPORT */ 87 88 #endif /*#ifndef __HALRF_DPK_8822C_H__*/ 89