| /***************************************************************************** |
| * Copyright Statement: |
| * -------------------- |
| * This software is protected by Copyright and the information contained |
| * herein is confidential. The software may not be copied and the information |
| * contained herein may not be used or disclosed except with the written |
| * permission of MediaTek Inc. (C) 2016 |
| * |
| * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| * |
| * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| * |
| * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| * |
| *****************************************************************************/ |
| #ifndef _CL1FHHSCEVTID_H_ |
| #define _CL1FHHSCEVTID_H_ |
| |
| /*********************************************************************************** |
| * |
| * FILE NAME : cl1fhhscevtid.h |
| * |
| * DESCRIPTION : |
| * |
| * |
| ************************************************************************************/ |
| |
| #define FH_HSC_EVT_ID_HEADER_1X (0x0080) |
| #define FH_HSC_EVT_ID_HEADER_DO (0x0100) |
| #define FH_HSC_EVT_ID_HEADER_MASK (0x0180) |
| |
| #define FH_HSC_EVT_ID_HEADER_COMMON (FH_HSC_EVT_ID_HEADER_1X | FH_HSC_EVT_ID_HEADER_DO) |
| |
| #if ((FH_HSC_EVT_ID_HEADER_MASK & FR_EVT_ID_HEADER_DEST_MASK) != 0) |
| #error "EVT ID header bits assign conflict!!!" |
| #endif |
| |
| |
| /* This HdrMask is for Sleep RI usage*/ |
| #define FH_HSC_EVT_ID_DEFINE(Id, Val, HdrMask) FR_EVT_ID_DEFINE(Id, (HdrMask | Val), FH_HSC) |
| |
| |
| /*---------------------------------------------------------------------------- |
| Global Defines |
| ----------------------------------------------------------------------------*/ |
| |
| /* Sample */ |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_XX_TO_FH_HSC_SAMPLE, 0x00, 0) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_MPA_REQ, 0x01, FH_HSC_EVT_ID_HEADER_COMMON) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_MPA_RELEASE, 0x02, FH_HSC_EVT_ID_HEADER_COMMON) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_DEQUEUE_EVENT, 0x03, 0) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_SLEEPOVER_INT_COMP, 0x04, 0) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_MMO_GAP_REQ, 0x05, 0) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_DO_SLEEP_CMD, 0x06, FH_HSC_EVT_ID_HEADER_DO) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_RMC_STOP_ACK, 0x07, FH_HSC_EVT_ID_HEADER_DO) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_DO_SLOTTED_SET, 0x08, FH_HSC_EVT_ID_HEADER_DO) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_DO_WAKE_CMD, 0x09, FH_HSC_EVT_ID_HEADER_DO) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_1X_SLEEP_CMD, 0x0A, FH_HSC_EVT_ID_HEADER_1X) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_1X_WAKE_CMD, 0x0B, FH_HSC_EVT_ID_HEADER_1X) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_OOSA_SLEEP, 0x0C, FH_HSC_EVT_ID_HEADER_COMMON) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_1X_PRIORITY_BOOST, 0x0D, FH_HSC_EVT_ID_HEADER_1X) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_EVSTANDBY_SLEEP, 0x0E, FH_HSC_EVT_ID_HEADER_DO) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_EVSTANDBY_WAKE, 0x0F, FH_HSC_EVT_ID_HEADER_DO) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_1X_SLOTTED_SET, 0x10, FH_HSC_EVT_ID_HEADER_1X) |
| |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_DO_PRIORITY_BOOST, 0x20, FH_HSC_EVT_ID_HEADER_DO) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_DENY_PATTERN_IND, 0x21, 0) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_PREEMPT_TRIG_IND, 0x22, 0) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_RBS_SCENARIO_CONTROL_CONFIG_IND, 0x23, 0) |
| |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_RTBA_TO_HSC_DENY_IND, 0x30, 0) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_RTBA_UT_CHAN_STATUS_CHECK, 0x31, 0) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_RTBA_UT_TO_FH_HSC_IND_CHECK, 0x32, 0) |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_RTBSTUB_UT_TO_RTBA_IND_CHECK, 0x33, 0) |
| |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_SM_UT_MON_DEEP_TEST, 0x34, 0) |
| |
| FH_HSC_EVT_ID_DEFINE(EVT_ID_HSC_MPA_OP_MODE_SET, 0x35, 0) |
| |
| |
| |
| |
| /* MUST be less than 127 (0x7F) !!! */ |
| |
| |
| /*---------------------------------------------------------------------------- |
| Global Data |
| ----------------------------------------------------------------------------*/ |
| |
| /*---------------------------------------------------------------------------- |
| Global Variables |
| ----------------------------------------------------------------------------*/ |
| |
| |
| |
| |
| /*---------------------------------------------------------------------------- |
| Global Function Prototypes |
| ----------------------------------------------------------------------------*/ |
| |
| |
| /***************************************************************************** |
| * End of File |
| *****************************************************************************/ |
| #endif |
| |
| |