| 1 | /*************************************************************************** |
|---|
| 2 | * (c)2005-2012 Broadcom Corporation |
|---|
| 3 | * |
|---|
| 4 | * This program is the proprietary software of Broadcom Corporation and/or its licensors, |
|---|
| 5 | * and may only be used, duplicated, modified or distributed pursuant to the terms and |
|---|
| 6 | * conditions of a separate, written license agreement executed between you and Broadcom |
|---|
| 7 | * (an "Authorized License"). Except as set forth in an Authorized License, Broadcom grants |
|---|
| 8 | * no license (express or implied), right to use, or waiver of any kind with respect to the |
|---|
| 9 | * Software, and Broadcom expressly reserves all rights in and to the Software and all |
|---|
| 10 | * intellectual property rights therein. IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU |
|---|
| 11 | * HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY |
|---|
| 12 | * NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE. |
|---|
| 13 | * |
|---|
| 14 | * Except as expressly set forth in the Authorized License, |
|---|
| 15 | * |
|---|
| 16 | * 1. This program, including its structure, sequence and organization, constitutes the valuable trade |
|---|
| 17 | * secrets of Broadcom, and you shall use all reasonable efforts to protect the confidentiality thereof, |
|---|
| 18 | * and to use this information only in connection with your use of Broadcom integrated circuit products. |
|---|
| 19 | * |
|---|
| 20 | * 2. TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS" |
|---|
| 21 | * AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, REPRESENTATIONS OR |
|---|
| 22 | * WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO |
|---|
| 23 | * THE SOFTWARE. BROADCOM SPECIFICALLY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES |
|---|
| 24 | * OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, |
|---|
| 25 | * LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION |
|---|
| 26 | * OR CORRESPONDENCE TO DESCRIPTION. YOU ASSUME THE ENTIRE RISK ARISING OUT OF |
|---|
| 27 | * USE OR PERFORMANCE OF THE SOFTWARE. |
|---|
| 28 | * |
|---|
| 29 | * 3. TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM OR ITS |
|---|
| 30 | * LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, SPECIAL, INDIRECT, OR |
|---|
| 31 | * EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY RELATING TO YOUR |
|---|
| 32 | * USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF BROADCOM HAS BEEN ADVISED OF |
|---|
| 33 | * THE POSSIBILITY OF SUCH DAMAGES; OR (ii) ANY AMOUNT IN EXCESS OF THE AMOUNT |
|---|
| 34 | * ACTUALLY PAID FOR THE SOFTWARE ITSELF OR U.S. $1, WHICHEVER IS GREATER. THESE |
|---|
| 35 | * LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF |
|---|
| 36 | * ANY LIMITED REMEDY. |
|---|
| 37 | * |
|---|
| 38 | * $brcm_Workfile: bthd_def.h $ |
|---|
| 39 | * $brcm_Revision: 2 $ |
|---|
| 40 | * $brcm_Date: 3/23/12 2:45p $ |
|---|
| 41 | * |
|---|
| 42 | * Module Description: |
|---|
| 43 | * |
|---|
| 44 | * Revision History: |
|---|
| 45 | * |
|---|
| 46 | * $brcm_Log: /AP/ctfe/core/thd/bthd_def.h $ |
|---|
| 47 | * |
|---|
| 48 | * 2 3/23/12 2:45p farshidf |
|---|
| 49 | * SW3128-125: FW version 4.6 |
|---|
| 50 | * |
|---|
| 51 | * Fw_Integration_Devel/2 3/23/12 2:44p farshidf |
|---|
| 52 | * SW3128-125: FW version 4.6 |
|---|
| 53 | * |
|---|
| 54 | * Fw_Integration_Devel/AP_V4_0_THD_DEV/3 3/13/12 4:20p farshidf |
|---|
| 55 | * SW3461-1: make smart tune a compile option |
|---|
| 56 | * |
|---|
| 57 | * Fw_Integration_Devel/AP_V4_0_THD_DEV/1 3/13/12 3:31p farshidf |
|---|
| 58 | * SW3462-6: merge to dev |
|---|
| 59 | * |
|---|
| 60 | * Fw_Integration_Devel/AP_V4_0_THD_DEV/SW3462-6/2 2/29/12 5:26p farshidf |
|---|
| 61 | * SW3461-165 : Chip version clean up & fix tuner for 3462 |
|---|
| 62 | * |
|---|
| 63 | * Fw_Integration_Devel/AP_V4_0_THD_DEV/SW3462-6/1 2/28/12 6:04p mpovich |
|---|
| 64 | * SW3462-6: Rebase with SW3462-3 dev. branch. |
|---|
| 65 | * |
|---|
| 66 | * Fw_Integration_Devel/AP_V3_0_THD_DEV/SW3462-3/1 2/28/12 3:46p jputnam |
|---|
| 67 | * SW3462-5: Update defines for BCM3462 |
|---|
| 68 | * |
|---|
| 69 | * Fw_Integration_Devel/1 10/13/11 6:58p farshidf |
|---|
| 70 | * SW3461-64: merge to integ |
|---|
| 71 | * |
|---|
| 72 | * Fw_Integration_Devel/AP_V3_0_THD_DEV/1 9/26/11 11:29a jputnam |
|---|
| 73 | * SW3461-1: Initial version |
|---|
| 74 | * |
|---|
| 75 | ***************************************************************************/ |
|---|
| 76 | #ifndef BTHD_DEF_H__ |
|---|
| 77 | #define BTHD_DEF_H__ |
|---|
| 78 | |
|---|
| 79 | #ifdef __cplusplus |
|---|
| 80 | extern "C" { |
|---|
| 81 | #endif |
|---|
| 82 | |
|---|
| 83 | #define BTHD_P_BCHP_CORE_V(MAJOR,MINOR) ((MAJOR*10)+MINOR) |
|---|
| 84 | |
|---|
| 85 | #define BTHD_P_BCHP_CORE_V_4_0 (BTHD_P_BCHP_CORE_V(4,0)) |
|---|
| 86 | #define BTHD_P_BCHP_CORE_V_5_0 (BTHD_P_BCHP_CORE_V(5,0)) |
|---|
| 87 | #define BTHD_P_BCHP_CORE_V_5_1 (BTHD_P_BCHP_CORE_V(5,1)) |
|---|
| 88 | |
|---|
| 89 | |
|---|
| 90 | /*************************************************************************** |
|---|
| 91 | * BTHD CORE Defines |
|---|
| 92 | ****************************************************************************/ |
|---|
| 93 | #if (BCHP_VER == BCHP_VER_A0) |
|---|
| 94 | #if ((BCHP_CHIP==7552) || (BCHP_CHIP==35233) || (BCHP_CHIP==3461)) |
|---|
| 95 | #define BTHD_P_BCHP_THD_CORE_VER BTHD_P_BCHP_CORE_V_4_0 |
|---|
| 96 | #elif (BCHP_CHIP==3462) |
|---|
| 97 | #define BTHD_P_BCHP_THD_CORE_VER BTHD_P_BCHP_CORE_V_5_1 |
|---|
| 98 | #endif |
|---|
| 99 | #elif (BCHP_VER == BCHP_VER_B0) |
|---|
| 100 | #if ((BCHP_CHIP==7552) || (BCHP_CHIP==3461)) |
|---|
| 101 | #define BTHD_P_BCHP_THD_CORE_VER BTHD_P_BCHP_CORE_V_5_1 |
|---|
| 102 | #endif |
|---|
| 103 | #endif |
|---|
| 104 | |
|---|
| 105 | #if ((BCHP_CHIP==7552) || (BCHP_CHIP==3461) || (BCHP_CHIP==3462)) |
|---|
| 106 | #define SmartNotchEnabled |
|---|
| 107 | #endif |
|---|
| 108 | |
|---|
| 109 | #ifdef SMART_TUNE_ENABLED |
|---|
| 110 | #define SmartTuneEnabled |
|---|
| 111 | #endif |
|---|
| 112 | |
|---|
| 113 | |
|---|
| 114 | #ifndef BTHD_P_BCHP_THD_CORE_VER |
|---|
| 115 | #error THD core NOT DEFINED in THD PI |
|---|
| 116 | #endif |
|---|
| 117 | |
|---|
| 118 | #ifdef __cplusplus |
|---|
| 119 | } |
|---|
| 120 | #endif |
|---|
| 121 | |
|---|
| 122 | #endif |
|---|