[Feature]Upload Modem source code

Change-Id: Id4294f30faced84d3e6fd6d5e61e1111bf287a37
diff --git a/mcu/interface/l1/idc/idc_uart_str.h b/mcu/interface/l1/idc/idc_uart_str.h
new file mode 100644
index 0000000..33f0f20
--- /dev/null
+++ b/mcu/interface/l1/idc/idc_uart_str.h
@@ -0,0 +1,1873 @@
+/*****************************************************************************
+*  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) 2012
+*
+*  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).
+*
+*****************************************************************************/
+
+/*******************************************************************************
+ * Filename:
+ * ---------
+ *   _el1_uart_str.h
+ *
+ * Project:
+ * --------
+ *   UMOLYA
+ *
+ * Description:
+ * ------------
+ *   Local header file of EL1_IDC
+ *
+ * Author:
+ * -------
+ * -------
+ *
+ ****************************************************************************/
+
+#ifndef _IDC_UART_STR_
+#define _IDC_UART_STR_
+
+#include "kal_general_types.h"
+#include "kal_public_defs.h"
+#include "kal_public_api.h"
+
+#include "el1_llisth.h"
+#include "idc_def.h"
+#include "idc_lte_def.h"
+#include "idc_nr_def.h"
+
+#ifdef __MTK_TARGET__
+#include "idc_internal.h"
+#include "dcl_idc.h"
+#include "drv_idc.h"
+#endif
+
+
+/****************************************/
+/* Interface between IDC and IDC Driver */
+/****************************************/
+
+typedef enum
+{
+	IDC_MD_LTE_DRX_IND            = 2,
+	IDC_MD_NR_DRX_IND             = 3,
+	IDC_MD_LTE_INT_DETECT_IND     = 4,
+	IDC_MD_NR_INT_DETECT_IND      = 5,
+	IDC_MD_LTE_PHASE_IND          = 6,
+	IDC_MD_NR_PHASE_IND           = 7,
+	IDC_MD_LTE_STATE_IND          = 8,
+	IDC_MD_NR_STATE_IND           = 9,
+	IDC_MD_LTE_SUSPEND_PTA_AP_IND = 10,
+	IDC_MD_NR_SUSPEND_PTA_AP_IND  = 11,
+	IDC_MD_LTE_GNSS_BLANK_IND     = 12,
+	IDC_MD_NR_GNSS_BLANK_IND      = 13,
+	IDC_MD_TX_SUSP_IND            = 14,
+	IDC_MD_EXTEND_LEN_TYPE        = 15,
+    IDC_MD_NORMAL_HW_SIGNAL_IND   = 16
+}idc_md_normal_hw_signal_type_enum;
+
+typedef enum
+{
+	IDC_SUBTYPE_MD_LTE_RX_IND                        = 1,
+	IDC_SUBTYPE_MD_LTE_TX_IND                        = 2,
+	IDC_SUBTYPE_MD_LTE_SLP_DUR_IND                   = 4,
+	IDC_SUBTYPE_MD_LTE_BLOCK_CONSYS_TX_IND           = 5,
+	IDC_SUBTYPE_MD_SEND_HW_SIGNAL_ACK_IND            = 7,
+	IDC_SUBTYPE_MD_LTE_SCELL_ACTIVATE_IND            = 8,
+	IDC_SUBTYPE_MD_TX_BWP_IND                        = 9,
+	IDC_SUBTYPE_MD_RX_BWP_IND                        = 10,
+	IDC_SUBTYPE_MD_PATTERN_SYNC_IND                  = 11,
+	IDC_SUBTYPE_MD_NR_RX_IND                         = 12,
+	IDC_SUBTYPE_MD_NR_TX_IND                         = 13,
+	IDC_SUBTYPE_MD_NR_SLP_DUR_IND                    = 14,
+	IDC_SUBTYPE_MD_NR_BLOCK_CONSYS_TX_IND            = 15,
+	IDC_SUBTYPE_MD_EXPECT_CONSYS_TX_PWR_LIMIT_IND    = 16,
+	IDC_SUBTYPE_MD_LTE_TX_IND_1                      = 17,
+	IDC_SUBTYPE_MD_LTE_TX_IND_2                      = 18,
+	IDC_SUBTYPE_MD_NR_TX_IND_1                       = 19,
+	IDC_SUBTYPE_MD_NR_TX_IND_2                       = 20,
+	IDC_SUBTYPE_MD_NR_SCELL_ACTIVATE_IND             = 21,
+	IDC_SUBTYPE_MD_TX_BWP_FW_IND                     = 22,
+	IDC_SUBTYPE_MD_RX_BWP_FW_IND                     = 23,
+	IDC_SUBTYPE_MD_LTE_TX_FW_IND                     = 24,
+	IDC_SUBTYPE_MD_NR_TX_FW_IND                      = 25,
+	IDC_MD_EXTEND_HW_SIGNAL_IND                      = 26
+}idc_md_extend_hw_signal_subtype_enum;
+
+typedef enum
+{
+	IDC_CONSYS_RESEND_NTF               = 2,
+	IDC_CONSYS_BT_MAX_PWR_BACKOFF_NTF   = 5,
+	IDC_CONSYS_ACTIVE_BSS_NTF           = 6,
+	IDC_CONSYS_WIFI_MAX_PWR_BACKOFF_NTF = 7,
+	IDC_CONSYS_INT_DETECT_IND           = 8,
+	IDC_CONSYS_WIFI_RSSI_IND            = 9,
+	IDC_CONSYS_BT_RSSI_IND              = 10,
+	IDC_CONSYS_WIFI_RX_IND              = 11,
+	IDC_CONSYS_BT_TX_IND                = 12,
+	IDC_CONSYS_BT_RX_IND                = 13,
+	IDC_CONSYS_NORMAL_HW_SIGNAL_IND     = 15
+}idc_consys_normal_hw_signal_type_enum;
+
+typedef enum
+{
+	IDC_SUBTYPE_CONSYS_RX_GRANT_NTF           = 0,
+	IDC_SUBTYPE_CONSYS_TX_GRANT_NTF           = 1,
+	IDC_SUBTYPE_CONSYS_TDM_NTF                = 2,
+	IDC_SUBTYPE_CONSYS_SEND_HW_SIGNAL_ACK_NTF = 3,
+	IDC_SUBTYPE_CONSYS_WIFI_TX_IND            = 4,
+	IDC_SUBTYPE_CONSYS_BT_PRE_TX_IND          = 5,
+    IDC_SUBTYPE_CONSYS_TDM_ON_IND             = 6,
+    IDC_SUBTYPE_CONSYS_TIMEOUT_DROP_NTF       = 7,
+	IDC_CONSYS_EXTEND_HW_SIGNAL_IND           = 8
+}idc_consys_extend_hw_signal_subtype_enum;
+
+/************************/
+/***** LTE to CONSYS ****/
+/************************/
+
+/***** IDC MD Normal HW Signal *****/
+
+typedef struct _idc_md_normal_hw_signal_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+    kal_uint16    data         :7;
+}idc_md_normal_hw_signal_ind;
+
+typedef struct _idc_md_lte_drx_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+	kal_uint16    isLTEDRX     :1;
+	kal_uint16    rsvd         :6;
+}idc_md_lte_drx_ind;
+
+typedef struct _idc_md_nr_drx_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+	kal_uint16    isNRDRX      :1;
+	kal_uint16    rsvd         :6;	
+}idc_md_nr_drx_ind;
+
+typedef struct _idc_md_lte_int_detect_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+	kal_uint16    solType      :2; // FDM: 0, PWR: 1, TDM: 2
+	kal_uint16    rsvd         :5;
+}idc_md_lte_int_detect_ind;
+
+typedef struct _idc_md_nr_int_detect_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+	kal_uint16    solType      :2; // FDM: 0, PWR: 1, TDM: 2
+	kal_uint16    rsvd         :5;	
+}idc_md_nr_int_detect_ind;
+
+typedef struct _idc_md_lte_phase_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit       :1; // Always be 0
+	kal_uint16    type           :4;
+	kal_uint16    ssn            :3;
+	/* Second Byte */
+	kal_uint16    secondBit      :1; // Always be 1
+	kal_uint16    ltePhaseEnd    :1; // Always be 1
+	kal_uint16    rsvd           :6;
+}idc_md_lte_phase_ind;
+
+typedef struct _idc_md_nr_phase_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit      :1; // Always be 0
+	kal_uint16    type          :4;
+	kal_uint16    ssn           :3;
+	/* Second Byte */
+	kal_uint16    secondBit     :1; // Always be 1
+	kal_uint16    nrPhaseEnd    :1; // Always be 1
+	kal_uint16    rsvd          :6;
+}idc_md_nr_phase_ind;
+
+typedef struct _idc_md_lte_state_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit        :1; // Always be 0
+	kal_uint16    type            :4;
+	kal_uint16    ssn             :3;
+	/* Second Byte */
+	kal_uint16    secondBit       :1; // Always be 1
+	kal_uint16    lteEnterConn    :1;
+	kal_uint16    rsvd            :6;	
+}idc_md_lte_state_ind;
+
+typedef struct _idc_md_nr_state_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit       :1; // Always be 0
+	kal_uint16    type           :4;
+	kal_uint16    ssn            :3;
+	/* Second Byte */
+	kal_uint16    secondBit      :1; // Always be 1
+	kal_uint16    nrEnterConn    :1;
+	kal_uint16    rsvd           :6;
+}idc_md_nr_state_ind;
+
+typedef struct _idc_md_lte_suspend_pta_ap_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit       :1; // Always be 0
+	kal_uint16    type           :4;
+	kal_uint16    ssn            :3;
+	/* Second Byte */
+	kal_uint16    secondBit      :1; // Always be 1
+	kal_uint16    rxGroupSusp    :3; // 0: resume proactive protection, 1: suspend proactive protection, bit0: group0, bit1: group2, bit2: group4
+	kal_uint16    rsvd           :4;
+}idc_md_lte_suspend_pta_ap_ind;
+
+typedef struct _idc_md_nr_suspend_pta_ap_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit       :1; // Always be 0
+	kal_uint16    type           :4;
+	kal_uint16    ssn            :3;
+	/* Second Byte */
+	kal_uint16    secondBit      :1; // Always be 1
+	kal_uint16    rxGroupSusp    :3; // 0: resume proactive protection, 1: suspend proactive protection, bit0: group1, bit1: group3, bit2: group5
+	kal_uint16    rsvd           :4;
+}idc_md_nr_suspend_pta_ap_ind;
+
+typedef struct _idc_md_lte_gnss_blank_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+	kal_uint16    l1Blank      :1;
+	kal_uint16    l5Blank      :1;
+	kal_uint16    rsvd         :5;
+}idc_md_lte_gnss_blank_ind;
+
+typedef struct _idc_md_nr_gnss_blank_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+	kal_uint16    l1Blank      :1;
+	kal_uint16    l5Blank      :1;
+	kal_uint16    rsvd         :5;
+}idc_md_nr_gnss_blank_ind;
+
+typedef struct _idc_md_tx_susp_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+	kal_uint16    priority     :2; // default is 3
+	kal_uint16    txSuspFDM    :2; // 0: allow CONSYS TX which adopt FDM, 1: LTE stop CONSYS TX, 2: NR stop CONSYS TX, 3: Both RATs stop CONSYS TX
+	kal_uint16    txSuspTDM    :2; // 0: allow CONSYS TX which adopt TDM, 1: LTE stop CONSYS TX, 2: NR stop CONSYS TX, 3: Both RATs stop CONSYS TX
+	kal_uint16    rsvd         :1;
+}idc_md_tx_susp_ind;
+
+/***** IDC MD Extend HW Signal *****/
+
+typedef struct _idc_md_ext_cmd_struct
+{
+	kal_uint8    byte[9];
+}idc_md_ext_cmd_struct;
+
+typedef struct _idc_md_ext_hw_signal_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    data_0        :3;
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    data_1        :6;
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    data_2        :6;
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    data_3        :6;
+	/* Seventh Byte */
+	kal_uint8    seventhBit    :1; // Always be 1
+	kal_uint8    ext6thBit     :1; // Always be 1
+	kal_uint8    data_4        :6;
+	/* Eighth Byte */
+	kal_uint8    eighthBit     :1; // Always be 1
+	kal_uint8    ext7thBit     :1; // Always be 0
+	kal_uint8    data_5        :6;
+	/* ninth Byte */
+	kal_uint8    ninthBit      :1; // Always be 1
+	kal_uint8    ext8thBit     :1; // Always be 1
+	kal_uint8    data_6        :6;
+}idc_md_ext_hw_signal_ind;
+
+typedef struct _idc_md_lte_rx_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit           :1; // Always be 0
+	kal_uint8    type               :4; // Always be 15
+	kal_uint8    len                :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit          :1; // Always be 1
+	kal_uint8    ext1stBit          :1; // Always be 0
+	kal_uint8    subType            :6;
+	/* Third Byte */
+	kal_uint8    thirdBit           :1; // Always be 1
+	kal_uint8    ext2ndBit          :1; // Always be 1
+	kal_uint8    ssn                :3;
+	kal_uint8    rxGroupStatus_0    :1; // 0: RX of group0 is off, 1: RX of group0 is on
+	kal_uint8    rxGroupPrio_0      :2; // 2'b11 > 2'b10 > 2'b01 > 2'b00
+	/* Fourth Byte */
+	kal_uint8    fourthBit          :1; // Always be 1
+	kal_uint8    ext3rdBit          :1; // Always be 0
+	kal_uint8    timerType_0        :1; // 0: short timer, 1: long timer (carried by SW MSG)
+	kal_uint8    patt_ovwrt_0       :1; // 0: PTA keeps UL/DL config., 1: PTA overwrites UL/DL config.
+	kal_uint8    rxGroupStatus_2    :1;
+	kal_uint8    rxGroupPrio_2      :2;
+	kal_uint8    timerType_2        :1;
+	/* Fifth Byte */
+	kal_uint8    fifthBit           :1; // Always be 1
+	kal_uint8    ext4thBit          :1; // Always be 1
+	kal_uint8    patt_ovwrt_2       :1;
+	kal_uint8    rxGroupStatus_4    :1;
+	kal_uint8    rxGroupPrio_4      :2;
+	kal_uint8    timerType_4        :1;
+	kal_uint8    patt_ovwrt_4       :1;
+	/* Sixth Byte */
+	kal_uint8    rsvd0              :8;
+	/* Seventh Byte */
+	kal_uint8    rsvd1              :8;
+	/* Eighth Byte */
+	kal_uint8    rsvd2              :8;
+	/* ninth Byte */
+	kal_uint8    rsvd3              :8;
+}idc_md_lte_rx_ind;
+
+typedef struct _idc_md_lte_tx_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit           :1; // Always be 0
+	kal_uint8    type               :4; // Always be 15
+	kal_uint8    len                :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit          :1; // Always be 1
+	kal_uint8    ext1stBit          :1; // Always be 0
+	kal_uint8    subType            :6;
+	/* Third Byte */
+	kal_uint8    thirdBit           :1; // Always be 1
+	kal_uint8    ext2ndBit          :1; // Always be 1
+	kal_uint8    ssn                :3;
+	kal_uint8    valid_tx_bmp_l     :3; // 0: the TX group does not belong to LTE, 1: the TX group belongs to LTE
+	/* Fourth Byte */
+	kal_uint8    fourthBit          :1; // Always be 1
+	kal_uint8    ext3rdBit          :1; // Always be 0
+	kal_uint8    valid_tx_bmp_h     :3;
+    kal_uint8    txGroupStatus_0    :1; // 0: TX of group0 is off, 1: TX of group0 is on
+    kal_uint8    txGroupPrio_0      :2; // 2'b11 > 2'b10 > 2'b01 > 2'b00
+	/* Fifth Byte */
+	kal_uint8    fifthBit           :1; // Always be 1
+	kal_uint8    ext4thBit          :1; // Always be 1
+	kal_uint8    narrow_band_0      :1; // 0: wide band TX, 1: narrow band TX
+    kal_uint8    txGroupStatus_1    :1;
+    kal_uint8    txGroupPrio_1      :2;
+	kal_uint8    narrow_band_1      :1;
+	kal_uint8    txGroupStatus_2    :1;
+	/* Sixth Byte */
+	kal_uint8    sixthBit           :1; // Always be 1
+	kal_uint8    ext5thBit          :1; // Always be 0
+    kal_uint8    txGroupPrio_2      :2;
+	kal_uint8    narrow_band_2      :1;
+	kal_uint8    txGroupStatus_3    :1;
+    kal_uint8    txGroupPrio_3      :2;
+	/* Seventh Byte */
+	kal_uint8    seventhBit         :1; // Always be 1
+	kal_uint8    ext6thBit          :1; // Always be 1
+	kal_uint8    narrow_band_3      :1;
+	kal_uint8    txGroupStatus_4    :1;
+    kal_uint8    txGroupPrio_4      :2;
+	kal_uint8    narrow_band_4      :1;
+	kal_uint8    txGroupStatus_5    :1;
+	/* Eighth Byte */
+	kal_uint8    eighthBit          :1; // Always be 1
+	kal_uint8    ext7thBit          :1; // Always be 0
+    kal_uint8    txGroupPrio_5      :2;
+	kal_uint8    narrow_band_5      :1;
+	kal_uint8    rsvd0              :3;
+	/* ninth Byte */
+	kal_uint8    rsvd1              :8;
+}idc_md_lte_tx_ind;
+
+typedef struct _idc_md_lte_slp_dur_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit     :1; // Always be 0
+	kal_uint8    type         :4; // Always be 15
+	kal_uint8    len          :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit    :1; // Always be 1
+	kal_uint8    ext1stBit    :1; // Always be 0
+	kal_uint8    subType      :6;
+	/* Third Byte */
+	kal_uint8    thirdBit     :1; // Always be 1
+	kal_uint8    ext2ndBit    :1; // Always be 1
+	kal_uint8    ssn          :3;
+	kal_uint8    dur_l        :3; // range from 0~2560(ms), 12'b111111111111: infinite duration
+	/* Fourth Byte */
+	kal_uint8    fourthBit    :1; // Always be 1
+	kal_uint8    ext3rdBit    :1; // Always be 0
+	kal_uint8    dur_m        :6;
+	/* Fifth Byte */
+	kal_uint8    fifthBit     :1; // Always be 1
+	kal_uint8    ext4thBit    :1; // Always be 1
+	kal_uint8    dur_h        :3;
+	kal_uint8    rsvd0        :3;
+	/* Sixth Byte */
+    kal_uint8    rsvd1        :8;
+	/* Seventh Byte */
+    kal_uint8    rsvd2        :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd3        :8;
+	/* ninth Byte */
+    kal_uint8    rsvd4        :8;
+}idc_md_lte_slp_dur_ind;
+
+typedef struct _idc_md_lte_block_consys_tx_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit     :1; // Always be 0
+	kal_uint8    type         :4; // Always be 15
+	kal_uint8    len          :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit    :1; // Always be 1
+	kal_uint8    ext1stBit    :1; // Always be 0
+	kal_uint8    subType      :6;
+	/* Third Byte */
+	kal_uint8    thirdBit     :1; // Always be 1
+	kal_uint8    ext2ndBit    :1; // Always be 1
+	kal_uint8    ssn          :3;
+	kal_uint8    wifiTx0      :1; // 0: TX of WF active freq. in band0 is not blocked, 1: TX of WF active freq. in band0 is blocked
+	kal_uint8    wifiTx1      :1; // 0: TX of WF active freq. in band1 is not blocked, 1: TX of WF active freq. in band1 is blocked
+	kal_uint8    btTx         :1; // 0: TX of BT is not blocked, 1: TX of BT is blocked
+	/* Fourth Byte */
+	kal_uint8    fourthBit    :1; // Always be 1
+	kal_uint8    ext3rdBit    :1; // Always be 0
+	kal_uint8    extTx0       :1;
+	kal_uint8    extTx1       :1;
+	kal_uint8    lteRxPrio    :2; // 2'b11 > 2'b10 > 2'b01 > 2'b00
+	kal_uint8    rsvd0        :2;
+	/* Fifth Byte */
+    kal_uint8    rsvd1        :8;
+	/* Sixth Byte */
+    kal_uint8    rsvd2        :8;
+	/* Seventh Byte */
+    kal_uint8    rsvd3        :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd4        :8;
+	/* ninth Byte */
+    kal_uint8    rsvd5        :8;
+}idc_md_lte_block_consys_tx_ind;
+
+typedef struct _idc_md_send_hw_signal_ack_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit        :1; // Always be 0
+	kal_uint8    type            :4; // Always be 15
+	kal_uint8    len             :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit       :1; // Always be 1
+	kal_uint8    ext1stBit       :1; // Always be 0
+	kal_uint8    subType         :6;
+	/* Third Byte */
+	kal_uint8    thirdBit        :1; // Always be 1
+	kal_uint8    ext2ndBit       :1; // Always be 1
+	kal_uint8    ssn             :3;
+	kal_uint8    ack_num         :3; // Carry the SSN of targeted HW signal from CONSYS
+	/* Fourth Byte */
+	kal_uint8    fourthBit       :1; // Always be 1
+	kal_uint8    ext3rdBit       :1; // Always be 0
+	kal_uint8    targetType      :6; // Indicate HW signal Type or SubType depends on the param. 'isExtCmd'
+	/* Fifth Byte */
+	kal_uint8    fifthBit        :1; // Always be 1
+	kal_uint8    ext4thBit       :1; // Always be 1
+	kal_uint8    isExtCmd        :1; // Indicate whether the Ack is for the extend HW signal sent from CONSYS or not
+	kal_uint8    isWiFiB0        :1; // Indicate whether the Ack is for wifi b0 or not
+	kal_uint8    isWiFiB1        :1; // Indicate whether the Ack is for wifi b1 or not
+	kal_uint8    isIgnoreTdm     :1; // Indicate modem is at tdm drx on dur mode, bypass tdm
+	kal_uint8    rsvd0           :2;
+	/* Sixth Byte */
+	kal_uint8    rsvd1           :8;
+	/* Seventh Byte */
+	kal_uint8    rsvd2           :8;
+	/* Eighth Byte */
+	kal_uint8    rsvd3           :8;
+	/* ninth Byte */
+	kal_uint8    rsvd4           :8;
+}idc_md_send_hw_signal_ack_ind;
+
+typedef struct _idc_md_lte_scell_activate_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit     :1; // Always be 0
+	kal_uint8    type         :4; // Always be 15
+	kal_uint8    len          :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit    :1; // Always be 1
+	kal_uint8    ext1stBit    :1; // Always be 0
+	kal_uint8    subType      :6;
+	/* Third Byte */
+	kal_uint8    thirdBit     :1; // Always be 1
+	kal_uint8    ext2ndBit    :1; // Always be 1
+	kal_uint8    ssn          :3;
+	kal_uint8    cellBmp_l    :3; // 0: LTE serving cell i is de-active, 1: LTE serving cell i is active
+	/* Fourth Byte */
+	kal_uint8    fourthBit    :1; // Always be 1
+	kal_uint8    ext3rdBit    :1; // Always be 0
+	kal_uint8    cellBmp_h    :5;
+    kal_uint8    rsvd0        :1;	
+	/* Fifth Byte */
+    kal_uint8    rsvd1        :8;
+	/* Sixth Byte */
+    kal_uint8    rsvd2        :8;
+	/* Seventh Byte */
+    kal_uint8    rsvd3        :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd4        :8;
+	/* ninth Byte */
+    kal_uint8    rsvd5        :8;
+}idc_md_lte_scell_activate_ind;
+
+typedef struct _idc_md_tx_bwp_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    bwpCC0        :2; // Index of MD TX BWP (0-3), NR: CC0-CC8, LTE: CC9-CC15
+	kal_uint8    bwpCC1_l      :1;
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    bwpCC1_h      :1;
+	kal_uint8    bwpCC2        :2;
+	kal_uint8    bwpCC3        :2;
+	kal_uint8    bwpCC4_l      :1;
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    bwpCC4_h      :1;
+	kal_uint8    bwpCC5        :2;
+	kal_uint8    bwpCC6        :2;
+	kal_uint8    bwpCC7_l      :1;
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    bwpCC7_h      :1;
+	kal_uint8    bwpCC8        :2;
+	kal_uint8    bwpCC9        :2;
+	kal_uint8    bwpCC10_l     :1;
+	/* Seventh Byte */
+	kal_uint8    seventhBit    :1; // Always be 1
+	kal_uint8    ext6thBit     :1; // Always be 1
+	kal_uint8    bwpCC10_h     :1;
+	kal_uint8    bwpCC11       :2;
+	kal_uint8    bwpCC12       :2;
+	kal_uint8    bwpCC13_l     :1;
+	/* Eighth Byte */
+	kal_uint8    eighthBit     :1; // Always be 1
+	kal_uint8    ext7thBit     :1; // Always be 0
+	kal_uint8    bwpCC13_h     :1;
+	kal_uint8    bwpCC14       :2;
+	kal_uint8    bwpCC15       :2;
+	kal_uint8    rsvd0         :1;
+	/* ninth Byte */
+	kal_uint8    rsvd1         :8;
+}idc_md_tx_bwp_ind;
+
+typedef struct _idc_md_rx_bwp_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    bwpCC0        :2; // Index of MD RX BWP (0-3), NR: CC0-CC8, LTE: CC9-CC15
+	kal_uint8    bwpCC1_l      :1;
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    bwpCC1_h      :1;
+	kal_uint8    bwpCC2        :2;
+	kal_uint8    bwpCC3        :2;
+	kal_uint8    bwpCC4_l      :1;
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    bwpCC4_h      :1;
+	kal_uint8    bwpCC5        :2;
+	kal_uint8    bwpCC6        :2;
+	kal_uint8    bwpCC7_l      :1;
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    bwpCC7_h      :1;
+	kal_uint8    bwpCC8        :2;
+	kal_uint8    bwpCC9        :2;
+	kal_uint8    bwpCC10_l     :1;
+	/* Seventh Byte */
+	kal_uint8    seventhBit    :1; // Always be 1
+	kal_uint8    ext6thBit     :1; // Always be 1
+	kal_uint8    bwpCC10_h     :1;
+	kal_uint8    bwpCC11       :2;
+	kal_uint8    bwpCC12       :2;
+	kal_uint8    bwpCC13_l     :1;
+	/* Eighth Byte */
+	kal_uint8    eighthBit     :1; // Always be 1
+	kal_uint8    ext7thBit     :1; // Always be 0
+	kal_uint8    bwpCC13_h     :1;
+	kal_uint8    bwpCC14       :2;
+	kal_uint8    bwpCC15       :2;
+	kal_uint8    rsvd0         :1;
+	/* ninth Byte */
+	kal_uint8    rsvd1         :8;
+}idc_md_rx_bwp_ind;
+
+typedef struct _idc_md_pattern_sync_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    offset_l      :3; // range from 0-19999(us)
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    offset_m      :6;
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    offset_h      :6;
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    rxGroupBmp    :6; // 0: the sync is not for group n, 1: the sync is for group n
+	/* Seventh Byte */
+    kal_uint8    rsvd0         :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd1         :8;
+	/* ninth Byte */
+    kal_uint8    rsvd2         :8;
+}idc_md_pattern_sync_ind;
+
+typedef struct _idc_md_nr_rx_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit           :1; // Always be 0
+	kal_uint8    type               :4; // Always be 15
+	kal_uint8    len                :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit          :1; // Always be 1
+	kal_uint8    ext1stBit          :1; // Always be 0
+	kal_uint8    subType            :6;
+	/* Third Byte */
+	kal_uint8    thirdBit           :1; // Always be 1
+	kal_uint8    ext2ndBit          :1; // Always be 1
+	kal_uint8    ssn                :3;
+	kal_uint8    rxGroupStatus_1    :1; // 0: RX of group1 is off, 1: RX of group1 is on
+	kal_uint8    rxGroupPrio_1      :2; // 2'b11 > 2'b10 > 2'b01 > 2'b00
+	/* Fourth Byte */
+	kal_uint8    fourthBit          :1; // Always be 1
+	kal_uint8    ext3rdBit          :1; // Always be 0
+	kal_uint8    timerType_1        :1; // 0: short timer, 1: long timer (carried by SW MSG)
+	kal_uint8    patt_ovwrt_1       :1; // 0: PTA keeps UL/DL config., 1: PTA overwrites UL/DL config.
+	kal_uint8    rxGroupStatus_3    :1;
+	kal_uint8    rxGroupPrio_3      :2;
+	kal_uint8    timerType_3        :1;
+	/* Fifth Byte */
+	kal_uint8    fifthBit           :1; // Always be 1
+	kal_uint8    ext4thBit          :1; // Always be 1
+	kal_uint8    patt_ovwrt_3       :1;
+	kal_uint8    rxGroupStatus_5    :1;
+	kal_uint8    rxGroupPrio_5      :2;
+	kal_uint8    timerType_5        :1;
+	kal_uint8    patt_ovwrt_5       :1;
+	/* Sixth Byte */
+	kal_uint8    rsvd0              :8;
+	/* Seventh Byte */
+	kal_uint8    rsvd1              :8;
+	/* Eighth Byte */
+	kal_uint8    rsvd2              :8;
+	/* ninth Byte */
+	kal_uint8    rsvd3              :8;
+}idc_md_nr_rx_ind;
+
+typedef struct _idc_md_nr_tx_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit           :1; // Always be 0
+	kal_uint8    type               :4; // Always be 15
+	kal_uint8    len                :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit          :1; // Always be 1
+	kal_uint8    ext1stBit          :1; // Always be 0
+	kal_uint8    subType            :6;
+	/* Third Byte */
+	kal_uint8    thirdBit           :1; // Always be 1
+	kal_uint8    ext2ndBit          :1; // Always be 1
+	kal_uint8    ssn                :3;
+	kal_uint8    valid_tx_bmp_l     :3; // 0: the TX group does not belong to NR, 1: the TX group belongs to NR
+	/* Fourth Byte */
+	kal_uint8    fourthBit          :1; // Always be 1
+	kal_uint8    ext3rdBit          :1; // Always be 0
+	kal_uint8    valid_tx_bmp_h     :3;
+    kal_uint8    txGroupStatus_0    :1; // 0: TX of group0 is off, 1: TX of group0 is on
+    kal_uint8    txGroupPrio_0      :2; // 2'b11 > 2'b10 > 2'b01 > 2'b00
+	/* Fifth Byte */
+	kal_uint8    fifthBit           :1; // Always be 1
+	kal_uint8    ext4thBit          :1; // Always be 1
+	kal_uint8    narrow_band_0      :1; // 0: wide band TX, 1: narrow band TX
+    kal_uint8    txGroupStatus_1    :1;
+    kal_uint8    txGroupPrio_1      :2;
+	kal_uint8    narrow_band_1      :1;
+	kal_uint8    txGroupStatus_2    :1;
+	/* Sixth Byte */
+	kal_uint8    sixthBit           :1; // Always be 1
+	kal_uint8    ext5thBit          :1; // Always be 0
+    kal_uint8    txGroupPrio_2      :2;
+	kal_uint8    narrow_band_2      :1;
+	kal_uint8    txGroupStatus_3    :1;
+    kal_uint8    txGroupPrio_3      :2;
+	/* Seventh Byte */
+	kal_uint8    seventhBit         :1; // Always be 1
+	kal_uint8    ext6thBit          :1; // Always be 1
+	kal_uint8    narrow_band_3      :1;
+	kal_uint8    txGroupStatus_4    :1;
+    kal_uint8    txGroupPrio_4      :2;
+	kal_uint8    narrow_band_4      :1;
+	kal_uint8    txGroupStatus_5    :1;
+	/* Eighth Byte */
+	kal_uint8    eighthBit          :1; // Always be 1
+	kal_uint8    ext7thBit          :1; // Always be 0
+    kal_uint8    txGroupPrio_5      :2;
+	kal_uint8    narrow_band_5      :1;
+	kal_uint8    rsvd0              :3;
+	/* ninth Byte */
+	kal_uint8    rsvd1              :8;
+}idc_md_nr_tx_ind;
+
+typedef struct _idc_md_nr_slp_dur_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit     :1; // Always be 0
+	kal_uint8    type         :4; // Always be 15
+	kal_uint8    len          :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit    :1; // Always be 1
+	kal_uint8    ext1stBit    :1; // Always be 0
+	kal_uint8    subType      :6;
+	/* Third Byte */
+	kal_uint8    thirdBit     :1; // Always be 1
+	kal_uint8    ext2ndBit    :1; // Always be 1
+	kal_uint8    ssn          :3;
+	kal_uint8    dur_l        :3; // range from 0~2560(ms), 12'b111111111111: infinite duration
+	/* Fourth Byte */
+	kal_uint8    fourthBit    :1; // Always be 1
+	kal_uint8    ext3rdBit    :1; // Always be 0
+	kal_uint8    dur_m        :6;
+	/* Fifth Byte */
+	kal_uint8    fifthBit     :1; // Always be 1
+	kal_uint8    ext4thBit    :1; // Always be 1
+	kal_uint8    dur_h        :3;
+	kal_uint8    rsvd0        :3;
+	/* Sixth Byte */
+    kal_uint8    rsvd1        :8;
+	/* Seventh Byte */
+    kal_uint8    rsvd2        :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd3        :8;
+	/* ninth Byte */
+    kal_uint8    rsvd4        :8;
+}idc_md_nr_slp_dur_ind;
+
+typedef struct _idc_md_nr_block_consys_tx_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit     :1; // Always be 0
+	kal_uint8    type         :4; // Always be 15
+	kal_uint8    len          :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit    :1; // Always be 1
+	kal_uint8    ext1stBit    :1; // Always be 0
+	kal_uint8    subType      :6;
+	/* Third Byte */
+	kal_uint8    thirdBit     :1; // Always be 1
+	kal_uint8    ext2ndBit    :1; // Always be 1
+	kal_uint8    ssn          :3;
+	kal_uint8    wifiTx0      :1; // 0: TX of WF active freq. in band0 is not blocked, 1: TX of WF active freq. in band0 is blocked
+	kal_uint8    wifiTx1      :1; // 0: TX of WF active freq. in band1 is not blocked, 1: TX of WF active freq. in band1 is blocked
+	kal_uint8    btTx         :1; // 0: TX of BT is not blocked, 1: TX of BT is blocked
+	/* Fourth Byte */
+	kal_uint8    fourthBit    :1; // Always be 1
+	kal_uint8    ext3rdBit    :1; // Always be 0
+	kal_uint8    extTx0       :1;
+	kal_uint8    extTx1       :1;
+	kal_uint8    nrRxPrio     :2; // 2'b11 > 2'b10 > 2'b01 > 2'b00
+	kal_uint8    rsvd0        :2;
+	/* Fifth Byte */
+    kal_uint8    rsvd1        :8;
+	/* Sixth Byte */
+    kal_uint8    rsvd2        :8;
+	/* Seventh Byte */
+    kal_uint8    rsvd3        :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd4        :8;
+	/* ninth Byte */
+    kal_uint8    rsvd5        :8;
+}idc_md_nr_block_consys_tx_ind;
+
+typedef struct _idc_md_expect_consys_tx_pwr_limit_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit         :1; // Always be 0
+	kal_uint8    type             :4; // Always be 15
+	kal_uint8    len              :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit        :1; // Always be 1
+	kal_uint8    ext1stBit        :1; // Always be 0
+	kal_uint8    subType          :6;
+	/* Third Byte */
+	kal_uint8    thirdBit         :1; // Always be 1
+	kal_uint8    ext2ndBit        :1; // Always be 1
+	kal_uint8    ssn              :3;
+	kal_uint8    txPwrGroup0_l    :3; // the expected CONSYS TX power for MD RX group 0
+	/* Fourth Byte */
+	kal_uint8    fourthBit        :1; // Always be 1
+	kal_uint8    ext3rdBit        :1; // Always be 0
+	kal_uint8    txPwrGroup0_h    :1;
+	kal_uint8    txPwrGroup1      :4;
+	kal_uint8    txPwrGroup2_l    :1;
+	/* Fifth Byte */
+	kal_uint8    fifthBit         :1; // Always be 1
+	kal_uint8    ext4thBit        :1; // Always be 1
+	kal_uint8    txPwrGroup2_h    :3;
+	kal_uint8    txPwrGroup3_l    :3;
+	/* Sixth Byte */
+	kal_uint8    sixthBit         :1; // Always be 1
+	kal_uint8    ext5thBit        :1; // Always be 0
+	kal_uint8    txPwrGroup3_h    :1;
+	kal_uint8    txPwrGroup4      :4;
+	kal_uint8    txPwrGroup5_l    :1;
+	/* Seventh Byte */
+	kal_uint8    seventhBit       :1; // Always be 1
+	kal_uint8    ext6thBit        :1; // Always be 1
+    kal_uint8    txPwrGroup5_h    :3;
+	kal_uint8    rsvd0            :3;
+	/* Eighth Byte */
+	kal_uint8    rsvd1            :8;
+	/* ninth Byte */
+	kal_uint8    rsvd2            :8;
+}idc_md_expect_consys_tx_pwr_limit_ind;
+
+typedef struct _idc_md_lte_tx_pwr_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    txGroup       :3; // Indicate the hw signal for which TX group
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    txPwrCC0      :3; // Updating TX power for CC0
+	kal_uint8    txPwrCC1      :3; // Updating TX power for CC1
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    txPwrCC2      :3;
+	kal_uint8    txPwrCC3      :3;
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    txPwrCC4      :3;
+	kal_uint8    txPwrCC5      :3;
+	/* Seventh Byte */
+	kal_uint8    seventhBit    :1; // Always be 1
+	kal_uint8    ext6thBit     :1; // Always be 1
+	kal_uint8    txPwrCC6      :3;
+	kal_uint8    txPwrCC7      :3;
+	/* Eighth Byte */
+	kal_uint8    eighthBit     :1; // Always be 1
+	kal_uint8    ext7thBit     :1; // Always be 0
+	kal_uint8    txPwrCC8      :3;
+	kal_uint8    txPwrCC9      :3;
+	/* ninth Byte */
+	kal_uint8    ninthBit      :1; // Always be 1
+	kal_uint8    ext8thBit     :1; // Always be 1
+	kal_uint8    txPwrCC10     :3;
+	kal_uint8    rsvd0         :3;
+}idc_md_lte_tx_pwr_ind;
+
+typedef struct _idc_md_lte_tx_leadtime_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    txPwrCC11     :3; // Updating TX power for CC11
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    txPwrCC12     :3;
+	kal_uint8    txPwrCC13     :3;
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    txPwrCC14     :3;
+	kal_uint8    txPwrCC15     :3;
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    leadTime_l    :6; // (us)
+	/* Seventh Byte */
+	kal_uint8    seventhBit    :1; // Always be 1
+	kal_uint8    ext6thBit     :1; // Always be 1
+	kal_uint8    leadTime_h    :4;
+	kal_uint8    rsvd0         :2;
+	/* Eighth Byte */
+	kal_uint8    rsvd1         :8;
+	/* ninth Byte */
+	kal_uint8    rsvd2         :8;
+}idc_md_lte_tx_leadtime_ind;
+
+typedef struct _idc_md_nr_tx_pwr_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    txGroup       :3; // Indicate the hw signal for which TX group
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    txPwrCC0      :3; // Updating TX power for CC0
+	kal_uint8    txPwrCC1      :3; // Updating TX power for CC1
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    txPwrCC2      :3;
+	kal_uint8    txPwrCC3      :3;
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    txPwrCC4      :3;
+	kal_uint8    txPwrCC5      :3;
+	/* Seventh Byte */
+	kal_uint8    seventhBit    :1; // Always be 1
+	kal_uint8    ext6thBit     :1; // Always be 1
+	kal_uint8    txPwrCC6      :3;
+	kal_uint8    txPwrCC7      :3;
+	/* Eighth Byte */
+	kal_uint8    eighthBit     :1; // Always be 1
+	kal_uint8    ext7thBit     :1; // Always be 0
+	kal_uint8    txPwrCC8      :3;
+	kal_uint8    txPwrCC9      :3;
+	/* ninth Byte */
+	kal_uint8    ninthBit      :1; // Always be 1
+	kal_uint8    ext8thBit     :1; // Always be 1
+	kal_uint8    txPwrCC10     :3;
+	kal_uint8    rsvd0         :3;
+}idc_md_nr_tx_pwr_ind;
+
+typedef struct _idc_md_nr_tx_leadtime_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    txPwrCC11     :3; // Updating TX power for CC11
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    txPwrCC12     :3;
+	kal_uint8    txPwrCC13     :3;
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    txPwrCC14     :3;
+	kal_uint8    txPwrCC15     :3;
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    leadTime_l    :6; // (us)
+	/* Seventh Byte */
+	kal_uint8    seventhBit    :1; // Always be 1
+	kal_uint8    ext6thBit     :1; // Always be 1
+	kal_uint8    leadTime_h    :4;
+	kal_uint8    rsvd0         :2;
+	/* Eighth Byte */
+	kal_uint8    rsvd1         :8;
+	/* ninth Byte */
+	kal_uint8    rsvd2         :8;
+}idc_md_nr_tx_leadtime_ind;
+
+typedef struct _idc_md_nr_scell_activate_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit     :1; // Always be 0
+	kal_uint8    type         :4; // Always be 15
+	kal_uint8    len          :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit    :1; // Always be 1
+	kal_uint8    ext1stBit    :1; // Always be 0
+	kal_uint8    subType      :6;
+	/* Third Byte */
+	kal_uint8    thirdBit     :1; // Always be 1
+	kal_uint8    ext2ndBit    :1; // Always be 1
+	kal_uint8    ssn          :3;
+	kal_uint8    cellBmp_l    :3; // 0: LTE serving cell i is de-active, 1: LTE serving cell i is active
+	/* Fourth Byte */
+	kal_uint8    fourthBit    :1; // Always be 1
+	kal_uint8    ext3rdBit    :1; // Always be 0
+	kal_uint8    cellBmp_h    :6;	
+	/* Fifth Byte */
+    kal_uint8    rsvd0        :8;
+	/* Sixth Byte */
+    kal_uint8    rsvd1        :8;
+	/* Seventh Byte */
+    kal_uint8    rsvd2        :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd3        :8;
+	/* ninth Byte */
+    kal_uint8    rsvd4        :8;
+}idc_md_nr_scell_activate_ind;
+
+typedef struct _idc_md_tx_bwp_fw_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    bwpCC0        :3; // Index of MD TX BWP (0-4), NR: CC0-CC8
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    bwpCC1        :3;
+	kal_uint8    bwpCC2        :3;
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    bwpCC3        :3;
+	kal_uint8    bwpCC4        :3;
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    bwpCC5        :3;
+	kal_uint8    bwpCC6        :3;
+	/* Seventh Byte */
+	kal_uint8    seventhBit    :1; // Always be 1
+	kal_uint8    ext6thBit     :1; // Always be 1
+	kal_uint8    bwpCC7        :3;
+	kal_uint8    bwpCC8        :3;
+	/* Eighth Byte */
+	kal_uint8    rsvd0         :8;
+	/* ninth Byte */
+	kal_uint8    rsvd1         :8;
+}idc_md_tx_bwp_fw_ind;
+
+typedef struct _idc_md_rx_bwp_fw_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    bwpCC0        :3; // Index of MD RX BWP (0-4), NR: CC0-CC8
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    bwpCC1        :3;
+	kal_uint8    bwpCC2        :3;
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    bwpCC3        :3;
+	kal_uint8    bwpCC4        :3;
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    bwpCC5        :3;
+	kal_uint8    bwpCC6        :3;
+	/* Seventh Byte */
+	kal_uint8    seventhBit    :1; // Always be 1
+	kal_uint8    ext6thBit     :1; // Always be 1
+	kal_uint8    bwpCC7        :3;
+	kal_uint8    bwpCC8        :3;
+	/* Eighth Byte */
+	kal_uint8    rsvd0         :8;
+	/* ninth Byte */
+	kal_uint8    rsvd1         :8;
+}idc_md_rx_bwp_fw_ind;
+
+typedef struct _idc_md_lte_tx_fw_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit           :1; // Always be 0
+	kal_uint8    type               :4; // Always be 15
+	kal_uint8    len                :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit          :1; // Always be 1
+	kal_uint8    ext1stBit          :1; // Always be 0
+	kal_uint8    subType            :6;
+	/* Third Byte */
+	kal_uint8    thirdBit           :1; // Always be 1
+	kal_uint8    ext2ndBit          :1; // Always be 1
+	kal_uint8    ssn                :3;
+	kal_uint8    valid_tx_bmp_l     :3; // 0: the TX group does not belong to LTE, 1: the TX group belongs to LTE
+	/* Fourth Byte */
+	kal_uint8    fourthBit          :1; // Always be 1
+	kal_uint8    ext3rdBit          :1; // Always be 0
+	kal_uint8    valid_tx_bmp_h     :3;
+    kal_uint8    txGroupStatus_0    :1; // 0: TX of group0 is off, 1: TX of group0 is on
+    kal_uint8    txGroupStatus_1    :1; // 0: TX of group1 is off, 1: TX of group1 is on
+    kal_uint8    txGroupStatus_2    :1; // 0: TX of group2 is off, 1: TX of group2 is on
+	/* Fifth Byte */
+	kal_uint8    fifthBit           :1; // Always be 1
+	kal_uint8    ext4thBit          :1; // Always be 1
+    kal_uint8    txGroupStatus_3    :1; // 0: TX of group3 is off, 1: TX of group3 is on
+    kal_uint8    txGroupStatus_4    :1; // 0: TX of group4 is off, 1: TX of group4 is on
+    kal_uint8    txGroupStatus_5    :1; // 0: TX of group5 is off, 1: TX of group5 is on
+	kal_uint8    rsvd0              :3;
+	/* Sixth Byte */
+    kal_uint8    rsvd1              :8;
+	/* Seventh Byte */
+    kal_uint8    rsvd2              :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd3              :8;
+	/* ninth Byte */
+    kal_uint8    rsvd4              :8;
+}idc_md_lte_tx_fw_ind;
+
+typedef struct _idc_md_nr_tx_fw_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit           :1; // Always be 0
+	kal_uint8    type               :4; // Always be 15
+	kal_uint8    len                :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit          :1; // Always be 1
+	kal_uint8    ext1stBit          :1; // Always be 0
+	kal_uint8    subType            :6;
+	/* Third Byte */
+	kal_uint8    thirdBit           :1; // Always be 1
+	kal_uint8    ext2ndBit          :1; // Always be 1
+	kal_uint8    ssn                :3;
+	kal_uint8    valid_tx_bmp_l     :3; // 0: the TX group does not belong to NR, 1: the TX group belongs to NR
+	/* Fourth Byte */
+	kal_uint8    fourthBit          :1; // Always be 1
+	kal_uint8    ext3rdBit          :1; // Always be 0
+	kal_uint8    valid_tx_bmp_h     :3;
+    kal_uint8    txGroupStatus_0    :1; // 0: TX of group0 is off, 1: TX of group0 is on
+    kal_uint8    txGroupStatus_1    :1; // 0: TX of group1 is off, 1: TX of group1 is on
+    kal_uint8    txGroupStatus_2    :1; // 0: TX of group2 is off, 1: TX of group2 is on
+	/* Fifth Byte */
+	kal_uint8    fifthBit           :1; // Always be 1
+	kal_uint8    ext4thBit          :1; // Always be 1
+    kal_uint8    txGroupStatus_3    :1; // 0: TX of group3 is off, 1: TX of group3 is on
+    kal_uint8    txGroupStatus_4    :1; // 0: TX of group4 is off, 1: TX of group4 is on
+    kal_uint8    txGroupStatus_5    :1; // 0: TX of group5 is off, 1: TX of group5 is on
+	kal_uint8    rsvd0              :3;
+	/* Sixth Byte */
+    kal_uint8    rsvd1              :8;
+	/* Seventh Byte */
+    kal_uint8    rsvd2              :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd3              :8;
+	/* ninth Byte */
+    kal_uint8    rsvd4              :8;
+}idc_md_nr_tx_fw_ind;
+
+/***** structure for filling extend command by byte *****/
+
+typedef struct _idc_ext_cmd_byte_str_type_1
+{
+	kal_uint8    field1    :1;
+	kal_uint8    field2    :4;
+	kal_uint8    field3    :3;
+}idc_ext_cmd_byte_str_type_1;
+
+typedef struct _idc_ext_cmd_byte_str_type_2
+{
+	kal_uint8    field1    :1;
+	kal_uint8    field2    :1;
+	kal_uint8    field3    :6;	
+}idc_ext_cmd_byte_str_type_2;
+
+typedef struct _idc_ext_cmd_byte_str_type_3
+{
+	kal_uint8    field1    :1;
+	kal_uint8    field2    :1;
+	kal_uint8    field3    :3;
+	kal_uint8    field4    :3;
+}idc_ext_cmd_byte_str_type_3;
+
+typedef struct _idc_ext_cmd_byte_type
+{
+    kal_uint8                      data;
+	idc_ext_cmd_byte_str_type_1    data_type_1;
+	idc_ext_cmd_byte_str_type_2    data_type_2;
+	idc_ext_cmd_byte_str_type_3    data_type_3;
+}idc_ext_cmd_byte_type;
+
+typedef union _idc_md_normal_hw_signal
+{
+    idc_md_normal_hw_signal_ind      normalHwSignal;
+	idc_md_lte_drx_ind               lteDrxInd;
+	idc_md_nr_drx_ind                nrDrxInd;
+	idc_md_lte_int_detect_ind        lteIntDetectInd;
+	idc_md_nr_int_detect_ind         nrIntDetectInd;
+	idc_md_lte_phase_ind             ltePhaseInd;
+	idc_md_nr_phase_ind              nrPhaseInd;
+	idc_md_lte_state_ind             lteStateInd;
+	idc_md_nr_state_ind              nrStateInd;
+	idc_md_lte_suspend_pta_ap_ind    lteSuspPtaApInd;
+	idc_md_nr_suspend_pta_ap_ind     nrSuspPtaApInd;
+	idc_md_lte_gnss_blank_ind        lteGnssBlankInd;
+	idc_md_nr_gnss_blank_ind         nrGnssBlankInd;
+	idc_md_tx_susp_ind	             txSuspInd;
+}idc_md_normal_hw_signal;
+
+typedef union _idc_md_extend_hw_signal
+{
+	idc_md_ext_cmd_struct                    extCmd;
+	idc_md_ext_hw_signal_ind                 extHwSignal;
+	idc_md_lte_rx_ind                        lteRxInd;
+	idc_md_lte_tx_ind                        lteTxInd;
+	idc_md_lte_slp_dur_ind                   lteSlpDurInd;
+	idc_md_lte_block_consys_tx_ind           lteBlockConsysTxInd;
+	idc_md_send_hw_signal_ack_ind            hwSignalAckInd;
+	idc_md_lte_scell_activate_ind            lteScellActvInd;
+	idc_md_tx_bwp_ind                        txBwpInd;
+	idc_md_rx_bwp_ind                        rxBwpInd;
+	idc_md_pattern_sync_ind                  patternSyncInd;
+	idc_md_nr_rx_ind                         nrRxInd;
+	idc_md_nr_tx_ind                         nrTxInd;
+	idc_md_nr_slp_dur_ind                    nrSlpDurInd;
+	idc_md_nr_block_consys_tx_ind            nrBlockConsysTxInd;
+	idc_md_expect_consys_tx_pwr_limit_ind    consysTxPwrLimitInd;
+	idc_md_lte_tx_pwr_ind                    lteTxPwrInd;
+	idc_md_lte_tx_leadtime_ind               lteTxLeadtimeInd;
+	idc_md_nr_tx_pwr_ind                     nrTxPwrInd;
+	idc_md_nr_tx_leadtime_ind                nrTxLeadtimeInd;
+	idc_md_nr_scell_activate_ind             nrScellActvInd;
+	idc_md_tx_bwp_fw_ind                     txBwpFwInd;
+	idc_md_rx_bwp_fw_ind                     rxBwpFwInd;
+    idc_md_lte_tx_fw_ind                     lteTxFwInd;
+    idc_md_nr_tx_fw_ind                      nrTxFwInd;
+}idc_md_extend_hw_signal;
+
+typedef struct _idc_dummy_consys_hw_sig_ack_ind_ilm_struct
+{
+	LOCAL_PARA_HDR
+    idc_md_send_hw_signal_ack_ind    hwSigAckInd;
+}idc_dummy_consys_hw_sig_ack_ind_ilm_struct;
+
+typedef struct _idc_scheduling_event
+{
+	/* Link list pointer of idc event list */
+	llist_t                                 link;
+	kal_bool                                isSleep;
+	kal_int64                               localOffset;
+	kal_uint8                               num;
+	idc_md_normal_hw_signal_type_enum       EventType;
+	idc_md_normal_hw_signal                 IdcData;
+	idc_md_extend_hw_signal_subtype_enum    EventSubType;
+	idc_md_extend_hw_signal                 IdcExtData;
+}idc_scheduling_event;
+
+/************************/
+/***** CONSYS to LTE ****/
+/************************/
+
+/***** IDC CONSYS Normal HW Signal *****/
+
+typedef struct _idc_consys_resend_ntf
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+    kal_uint16    rsvd         :7;
+}idc_consys_resend_ntf;
+
+typedef struct _idc_consys_bt_max_pwr_backoff_ntf
+{
+	/* First Byte */
+	kal_uint16    firstBit          :1; // Always be 0
+	kal_uint16    type              :4;
+	kal_uint16    ssn               :3;
+	/* Second Byte */
+	kal_uint16    secondBit         :1; // Always be 1
+    kal_uint16    mdPwrBackoffEn    :1; // 0: MD does not apply pwr backoff solution, 1: MD applies pwr backoff solution
+	kal_uint16    btPwrBackoffEn    :1; // 0: BT does not apply pwr backoff solution, 1: BT applies pwr backoff solution
+	kal_uint16    rsvd              :5;
+}idc_consys_bt_max_pwr_backoff_ntf;
+
+typedef struct _idc_consys_active_bss_ntf
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+    kal_uint16    actvBmp      :4; // LSB -> MSB: WiFi BSS1 --> BSS4
+	kal_uint16    isWiFiSTA    :1; // 0: SAP, 1: STA
+	kal_uint16    rsvd         :2;
+}idc_consys_active_bss_ntf;
+
+typedef struct _idc_consys_wifi_max_pwr_backoff_ntf
+{
+	/* First Byte */
+	kal_uint16    firstBit           :1; // Always be 0
+	kal_uint16    type               :4;
+	kal_uint16    ssn                :3;
+	/* Second Byte */
+	kal_uint16    secondBit          :1; // Always be 1
+    kal_uint16    mdPwrBackoffEn     :1; // 0: MD does not apply pwr backoff solution, 1: MD applies pwr backoff solution
+	kal_uint16    wifi_0             :1; // MD do PWR backoff triggered by WF band0
+	kal_uint16    wifi_1             :1; // MD do PWR backoff triggered by WF band1
+	kal_uint16    wf0PwrBackoffEn    :1; // 0: WF band0 does not apply pwr backoff solution, 1: WF band0 applies pwr backoff solution
+	kal_uint16    wf1PwrBackoffEn    :1; // 0: WF band1 does not apply pwr backoff solution, 1: WF band1 applies pwr backoff solution
+	kal_uint16    isWfScan           :1; // 0: WF Scan off, 1: WF scan on
+    kal_uint16    rsvd               :1;
+}idc_consys_wifi_max_pwr_backoff_ntf;
+
+typedef struct _idc_consys_int_detect_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+    kal_uint16    solType      :2; // 0: FDM, 1: PWR, 2: TDM
+	kal_uint16    rsvd         :5;
+}idc_consys_int_detect_ind;
+
+typedef struct _idc_consys_wifi_rssi_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+    kal_uint16    rsvd         :7;
+}idc_consys_wifi_rssi_ind;
+
+typedef struct _idc_consys_bt_rssi_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit     :1; // Always be 0
+	kal_uint16    type         :4;
+	kal_uint16    ssn          :3;
+	/* Second Byte */
+	kal_uint16    secondBit    :1; // Always be 1
+    kal_uint16    rsvd         :7;
+}idc_consys_bt_rssi_ind;
+
+typedef struct _idc_consys_wifi_rx_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit      :1; // Always be 0
+	kal_uint16    type          :4;
+	kal_uint16    ssn           :3;
+	/* Second Byte */
+	kal_uint16    secondBit     :1; // Always be 1
+    kal_uint16    wifi0RxBmp    :1; // 0: RX of WiFi band0 is inactive, 1: RX of WiFi band0 is active
+	kal_uint16    wifi1RxBmp    :1; // 0: RX of WiFi band1 is inactive, 1: RX of WiFi band1 is active
+	kal_uint16    rsvd          :5;
+}idc_consys_wifi_rx_ind;
+
+typedef struct _idc_consys_bt_tx_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit      :1; // Always be 0
+	kal_uint16    type          :4;
+	kal_uint16    ssn           :3;
+	/* Second Byte */
+	kal_uint16    secondBit     :1; // Always be 1
+    kal_uint16    btTx          :1; // 0: TX of BT is inactive, 1: TX of BT is active
+	kal_uint16    rsvd          :6;
+}idc_consys_bt_tx_ind;
+
+typedef struct _idc_consys_bt_rx_ind
+{
+	/* First Byte */
+	kal_uint16    firstBit      :1; // Always be 0
+	kal_uint16    type          :4;
+	kal_uint16    ssn           :3;
+	/* Second Byte */
+	kal_uint16    secondBit     :1; // Always be 1
+    kal_uint16    btRx          :1; // 0: RX of BT is inactive, 1: RX of BT is active
+	kal_uint16    rsvd          :6;
+}idc_consys_bt_rx_ind;
+
+/***** IDC CONSYS Extend HW Signal *****/
+
+typedef struct _idc_consys_rx_grant_ntf
+{
+	/* First Byte */
+	kal_uint8    firstBit         :1; // Always be 0
+	kal_uint8    type             :4; // Always be 15
+	kal_uint8    len              :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit        :1; // Always be 1
+	kal_uint8    ext1stBit        :1; // Always be 0
+	kal_uint8    subType          :6;
+	/* Third Byte */
+	kal_uint8    thirdBit         :1; // Always be 1
+	kal_uint8    ext2ndBit        :1; // Always be 1
+	kal_uint8    ssn              :3;
+	kal_uint8    btTxReq          :1; // 0: TX of BT does not request arbitration, 1: TX of BT request arbitration
+	kal_uint8    btTxPrio_l       :2;
+	/* Fourth Byte */
+	kal_uint8    fourthBit        :1; // Always be 1
+	kal_uint8    ext3rdBit        :1; // Always be 0
+	kal_uint8    btTxPrio_h       :2;
+	kal_uint8    wifi0TxReq       :1; // 0: TX of WiFi band0 does not request arbitration, 1: TX of WiFi band0 request arbitration
+	kal_uint8    wifi0TxPrio_l    :3;
+	/* Fifth Byte */
+	kal_uint8    fifthBit         :1; // Always be 1
+	kal_uint8    ext4thBit        :1; // Always be 1
+	kal_uint8    wifi0TxPrio_h    :1;
+	kal_uint8    wifi1TxReq       :1;
+	kal_uint8    wifi1TxPrio      :4;
+	/* Sixth Byte */
+	kal_uint8    sixthBit         :1; // Always be 1
+	kal_uint8    ext5thBit        :1; // Always be 0
+	kal_uint8    mdRx0Status      :2; // 2'b00: MD RX group0 does not transmit data, 2'b01: MD RX group0 transmits data, but it is revoked, 2'b11: MD RX group0 transmits data, and it is granted
+	kal_uint8    mdRx1Status      :2;
+	kal_uint8    mdRx2Status      :2;
+	/* Seventh Byte */
+	kal_uint8    seventhBit       :1; // Always be 1
+	kal_uint8    ext6thBit        :1; // Always be 1
+	kal_uint8    mdRx3Status      :2;
+	kal_uint8    mdRx4Status      :2;
+	kal_uint8    mdRx5Status      :2;
+	/* Eighth Byte */
+	kal_uint8    eighthBit        :1; // Always be 1
+	kal_uint8    ext7thBit        :1; // Always be 0
+	kal_uint8    mdRx6Status      :2;
+	kal_uint8    mdRx7Status      :2;
+	kal_uint8    rsvd0            :2;
+	/* ninth Byte */
+    kal_uint8    rsvd1            :8;
+}idc_consys_rx_grant_ntf;
+
+typedef struct _idc_consys_tx_grant_ntf
+{
+	/* First Byte */
+	kal_uint8    firstBit         :1; // Always be 0
+	kal_uint8    type             :4; // Always be 15
+	kal_uint8    len              :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit        :1; // Always be 1
+	kal_uint8    ext1stBit        :1; // Always be 0
+	kal_uint8    subType          :6;
+	/* Third Byte */
+	kal_uint8    thirdBit         :1; // Always be 1
+	kal_uint8    ext2ndBit        :1; // Always be 1
+	kal_uint8    ssn              :3;
+	kal_uint8    btRxReq          :1; // 0: RX of BT does not request arbitration, 1: RX of BT request arbitration
+	kal_uint8    btRxPrio_l       :2;
+	/* Fourth Byte */
+	kal_uint8    fourthBit        :1; // Always be 1
+	kal_uint8    ext3rdBit        :1; // Always be 0
+	kal_uint8    btRxPrio_h       :2;
+	kal_uint8    wifi0RxReq       :1; // 0: RX of WiFi band0 does not request arbitration, 1: RX of WiFi band0 request arbitration
+	kal_uint8    wifi0RxPrio_l    :3;
+	/* Fifth Byte */
+	kal_uint8    fifthBit         :1; // Always be 1
+	kal_uint8    ext4thBit        :1; // Always be 1
+	kal_uint8    wifi0RxPrio_h    :1;
+	kal_uint8    wifi1RxReq       :1;
+	kal_uint8    wifi1RxPrio      :4;
+	/* Sixth Byte */
+	kal_uint8    sixthBit         :1; // Always be 1
+	kal_uint8    ext5thBit        :1; // Always be 0
+	kal_uint8    mdTx0Status      :2; // 2'b00: MD TX group0 does not transmit data, 2'b01: MD TX group0 transmits data, but it is revoked, 2'b11: MD TX group0 transmits data, and it is granted
+	kal_uint8    mdTx1Status      :2;
+	kal_uint8    mdTx2Status      :2;
+	/* Seventh Byte */
+	kal_uint8    seventhBit       :1; // Always be 1
+	kal_uint8    ext6thBit        :1; // Always be 1
+	kal_uint8    mdTx3Status      :2;
+	kal_uint8    mdTx4Status      :2;
+	kal_uint8    mdTx5Status      :2;
+	/* Eighth Byte */
+    kal_uint8    rsvd0            :8;
+	/* ninth Byte */
+    kal_uint8    rsvd1            :8;
+}idc_consys_tx_grant_ntf;
+
+typedef struct _idc_consys_tdm_ntf
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    wifi0         :1; // Activated freq. in WiFi band0 request TDM
+	kal_uint8    wifi1         :1; // Activated freq. in WiFi band1 request TDM
+	kal_uint8    bt            :1; // BT request TDM
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    ext0          :1;
+	kal_uint8    ext1          :1;
+	kal_uint8    dur_l         :4; // Range from 0~2560(ms), 12'b111111111111: infinite duration
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    dur_m         :6;
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    dur_h         :2;
+	kal_uint8    rsvd0         :4;
+	/* Seventh Byte */
+    kal_uint8    rsvd1         :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd2         :8;
+	/* ninth Byte */
+    kal_uint8    rsvd3         :8;
+}idc_consys_tdm_ntf;
+
+typedef struct _idc_consys_hw_signal_ack_ntf
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    ack_num       :3; // Carry the SSN of targeted HW signal from MD
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    targetType    :6; // Indicate HW signal Type or SubType depends on the param. 'isExtCmd'
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    isExtCmd      :1; // Indicate whether the Ack is for the extend HW signal sent from MD or not
+	kal_uint8    isFromWiFi    :1; // 0: ACK from BT, 1: ACK from WiFi
+	kal_uint8    rsvd0         :4;
+	/* Sixth Byte */
+	kal_uint8    rsvd1         :8;
+	/* Seventh Byte */
+	kal_uint8    rsvd2         :8;
+	/* Eighth Byte */
+	kal_uint8    rsvd3         :8;
+	/* ninth Byte */
+	kal_uint8    rsvd4         :8;
+}idc_consys_hw_signal_ack_ntf;
+
+typedef struct _idc_consys_wifi_tx_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit        :1; // Always be 0
+	kal_uint8    type            :4; // Always be 15
+	kal_uint8    len             :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit       :1; // Always be 1
+	kal_uint8    ext1stBit       :1; // Always be 0
+	kal_uint8    subType         :6;
+	/* Third Byte */
+	kal_uint8    thirdBit        :1; // Always be 1
+	kal_uint8    ext2ndBit       :1; // Always be 1
+	kal_uint8    ssn             :3;
+	kal_uint8    wifi0Tx         :1; // 0: TX of WiFi band0 is inactive, 1: TX of WiFi band0 is active
+	kal_uint8    wifi1Tx         :1; // 0: TX of WiFi band1 is inactive, 1: TX of WiFi band1 is active
+	kal_uint8    rsvd            :1;
+	/* Fourth Byte */
+	kal_uint8    fourthBit       :1; // Always be 1
+	kal_uint8    ext3rdBit       :1; // Always be 0
+	kal_uint8    wifi0TxPwr      :4; // TX PWR of WiFi band0
+	kal_uint8    wifi1TxPwr_l    :2;
+	/* Fifth Byte */
+	kal_uint8    fifthBit        :1; // Always be 1
+	kal_uint8    ext4thBit       :1; // Always be 1
+	kal_uint8    wifi1TxPwr_h    :2; 
+	kal_uint8    rsvd0           :4;
+	/* Sixth Byte */
+    kal_uint8    rsvd1           :8;
+	/* Seventh Byte */
+    kal_uint8    rsvd2           :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd3           :8;
+	/* ninth Byte */
+    kal_uint8    rsvd4           :8;
+}idc_consys_wifi_tx_ind;
+
+typedef struct _idc_consys_bt_pre_tx_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit      :1; // Always be 0
+	kal_uint8    type          :4; // Always be 15
+	kal_uint8    len           :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit     :1; // Always be 1
+	kal_uint8    ext1stBit     :1; // Always be 0
+	kal_uint8    subType       :6;
+	/* Third Byte */
+	kal_uint8    thirdBit      :1; // Always be 1
+	kal_uint8    ext2ndBit     :1; // Always be 1
+	kal_uint8    ssn           :3;
+	kal_uint8    btRW_l        :3; // BT remaining window, the unit is us
+	/* Fourth Byte */
+	kal_uint8    fourthBit     :1; // Always be 1
+	kal_uint8    ext3rdBit     :1; // Always be 0
+	kal_uint8    btRW_m        :6;
+	/* Fifth Byte */
+	kal_uint8    fifthBit      :1; // Always be 1
+	kal_uint8    ext4thBit     :1; // Always be 1
+	kal_uint8    btRW_h        :1;
+	kal_uint8    btTxPwr       :4; // TX PWR of BT
+	kal_uint8    btCenter_l    :1; // BT channel offset to 2.4G, the uint is Mhz
+	/* Sixth Byte */
+	kal_uint8    sixthBit      :1; // Always be 1
+	kal_uint8    ext5thBit     :1; // Always be 0
+	kal_uint8    btCenter_h    :6;
+	/* Seventh Byte */
+    kal_uint8    rsvd0         :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd1         :8;
+	/* ninth Byte */
+    kal_uint8    rsvd2         :8;
+}idc_consys_bt_pre_tx_ind;
+
+typedef struct _idc_consys_tdm_on_ind
+{
+	/* First Byte */
+	kal_uint8    firstBit        :1; // Always be 0
+	kal_uint8    type            :4; // Always be 15
+	kal_uint8    len             :3; // num. of byte for the data content
+	/* Second Byte */
+	kal_uint8    secondBit       :1; // Always be 1
+	kal_uint8    ext1stBit       :1; // Always be 0
+	kal_uint8    subType         :6;
+	/* Third Byte */
+	kal_uint8    thirdBit        :1; // Always be 1
+	kal_uint8    ext2ndBit       :1; // Always be 1
+	kal_uint8    ssn             :3;
+	kal_uint8    isTdmOn         :1; // 0: TX of WiFi band0 is inactive, 1: TX of WiFi band0 is active
+	kal_uint8    wifi0           :1; // 0: TX of WiFi band1 is inactive, 1: TX of WiFi band1 is active
+	kal_uint8    wifi1           :1;
+	/* Fourth Byte */
+	kal_uint8    fourthBit       :1; // Always be 1
+	kal_uint8    ext3rdBit       :1; // Always be 0
+	kal_uint8    bt              :1; // TX PWR of WiFi band0
+	kal_uint8    ext0            :1; // TX PWR of WiFi band0
+	kal_uint8    ext1            :1; // TX PWR of WiFi band0
+	kal_uint8    rsvd0           :3;
+	/* Fifth Byte */
+	kal_uint8    fifthBit        :1; // Always be 1
+	kal_uint8    ext4thBit       :1; // Always be 1
+	kal_uint8    leadTime        :4; 
+	kal_uint8    rsvd1           :2;
+	/* Sixth Byte */
+    kal_uint8    rsvd2           :8;
+	/* Seventh Byte */
+    kal_uint8    rsvd3           :8;
+	/* Eighth Byte */
+    kal_uint8    rsvd4           :8;
+	/* ninth Byte */
+    kal_uint8    rsvd5           :8;
+
+}idc_consys_tdm_on_ind;
+
+typedef union _idc_consys_normal_hw_signal
+{
+	idc_consys_resend_ntf                  ResendNtf;
+	idc_consys_bt_max_pwr_backoff_ntf      BTMaxPwrBackoffNtf;
+	idc_consys_active_bss_ntf              ActvBssNtf;
+	idc_consys_wifi_max_pwr_backoff_ntf    WiFiMaxPwrBackoffNtf;
+	idc_consys_int_detect_ind              IntDetectInd;
+	idc_consys_wifi_rssi_ind               WiFiRssiInd;
+	idc_consys_bt_rssi_ind                 BTRssiInd;
+	idc_consys_wifi_rx_ind                 WiFiRxInd;
+	idc_consys_bt_tx_ind                   BTTxInd;
+	idc_consys_bt_rx_ind                   BTRxInd;
+}idc_consys_normal_hw_signal;
+
+typedef union _idc_consys_extend_hw_signal
+{
+	idc_consys_rx_grant_ntf         RxGrantNtf;
+	idc_consys_tx_grant_ntf         TxGrantNtf;
+	idc_consys_tdm_ntf              TdmNtf;
+	idc_consys_hw_signal_ack_ntf    HwSignalAckNtf;
+    idc_consys_wifi_tx_ind          WiFiTxInd;
+	idc_consys_bt_pre_tx_ind        BTPreTxInd;
+	idc_consys_tdm_on_ind           TdmOnInd;
+}idc_consys_extend_hw_signal;
+
+#endif