1 /** @file */ 2 /****************************************************************************** 3 * 4 * Copyright(c) 2019 Realtek Corporation. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of version 2 of the GNU General Public License as 8 * published by the Free Software Foundation. 9 * 10 * This program is distributed in the hope that it will be useful, but WITHOUT 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 * more details. 14 * 15 ******************************************************************************/ 16 17 #ifndef _MAC_AX_FEATURE_CFG_H_ 18 #define _MAC_AX_FEATURE_CFG_H_ 19 20 #ifndef __cplusplus /* for win/linux driver */ 21 22 /* [Note] Modify MakeFile to reduce code size */ 23 24 /* Debug package for debugging */ 25 #define MAC_AX_FEATURE_DBGPKG 1 26 27 /* Hadrware verification module */ 28 #define MAC_AX_FEATURE_HV 0 29 30 /* FW offload reg read/write */ 31 #define MAC_AX_FW_REG_OFLD 0 32 33 /* Temp code for FPGA verification*/ 34 #define MAC_AX_FPGA_TEST 0 35 36 /* Temp code for lack of BTC driver*/ 37 #define MAC_AX_ASIC_TEMP 1 38 39 /* temp for h2c alloc move to phl layer*/ 40 #define MAC_AX_PHL_H2C 1 41 42 /* Debug command */ 43 #define MAC_AX_FEATURE_DBGCMD 1 44 45 /* Debug Log Decode */ 46 #define MAC_AX_FEATURE_DBGDEC 1 47 48 #ifdef CONFIG_BTCOEX 49 #define MAC_AX_COEX_INIT_EN 0 50 #else 51 #define MAC_AX_COEX_INIT_EN 1 52 #endif 53 54 #else /* for WD1 test program */ 55 56 /* [Note] Modify MakeFile to reduce code size */ 57 58 /* Debug package for debugging */ 59 #define MAC_AX_FEATURE_DBGPKG 1 60 61 /* Debug package for debugging */ 62 #define MAC_AX_FW_REG_OFLD 0 63 64 /* Hadrware verification module */ 65 #define MAC_AX_FEATURE_HV 1 66 67 #define MAC_AX_FPGA_TEST 1 68 69 #define MAC_AX_ASIC_TEMP 1 70 71 /* temp for h2c alloc move to phl layer */ 72 #define MAC_AX_PHL_H2C 0 73 74 /* [HV] for SIC command generagor */ 75 #define MAC_AX_HV_SIC_GEN 0 76 77 #define MAC_AX_COEX_INIT_EN 1 78 79 /* Debug command */ 80 #define MAC_AX_FEATURE_DBGCMD 1 81 82 /* Debug Log Decode */ 83 #define MAC_AX_FEATURE_DBGDEC 1 84 #endif // #else /* for WD1 test program */ 85 86 #endif 87 88