| /***************************************************************************** |
| * 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: |
| * --------- |
| * ccci_ch_cfg.h |
| * |
| * Project: |
| * -------- |
| * MOLY |
| * |
| * Description: |
| * ------------ |
| * Defines the CCCI channels |
| * |
| * Author: |
| * ------- |
| * ------- |
| * |
| * ========================================================================== |
| * $Log$ |
| * |
| * 09 23 2019 actory.ou |
| * [MOLY00441639] [VMOLY] support 64kB logging channel |
| * [VMOLY][OA] correct peer_id and support 64kb logging channel |
| * |
| * 07 18 2019 actory.ou |
| * [MOLY00422579] [MDDP] DPFM porting to VMOLY |
| * [VMOLY][OA] support MDDP & rename to DPFM |
| * |
| * 04 19 2019 actory.ou |
| * [MOLY00395176] [Thin Modem 1.0][PCIe platform] PCIe Platform 1st Release on Apollo |
| * [PCIe][OA][CCCI] support pcie thin modem 1.0 |
| * |
| * 08 21 2018 actory.ou |
| * [MOLY00346566] [Gen97][L1S_L1DISABLE_SAP] boot to idle sync |
| * [CCCI] boot to idle patch |
| * |
| * 08 16 2018 actory.ou |
| * [MOLY00345375] [Gen97] Landing NCCCI (Next gen CCCI) |
| * [VMOLY] add nccci ncccisrv nccci_it_ctrl |
| * |
| * 07 24 2018 actory.ou |
| * [MOLY00341790] [MT6295] UDC feature patch back |
| * add UDC feature ID and tty channel / replace ccci spinlock with HWITC |
| * |
| * 08 09 2017 chien-hui.lu |
| * [MOLY00268913] [BIP] BIP over Wifi |
| * [CCCI_TTY][CCCI] add CCCI TTY port for BIP. |
| * |
| * 05 24 2017 chien-hui.lu |
| * [MOLY00251469] [UMOLY] [Add Module] ssds |
| * [CCCI_TTY][CCCI] add TTY port for XUI. |
| * |
| * 04 27 2017 chien-hui.lu |
| * [MOLY00245508] [CCCI] file history log has unexpected charactor |
| * [CCCI] file history log has charactor encoding issue. |
| * |
| * 02 15 2017 chien-hui.lu |
| * [MOLY00220291] [CCCI][CCCI_TTY] add TTY port for 93 MD |
| * [CCCI TTY][CCCI] add tty port for 93 MD IMSM & WOA. |
| * |
| * 01 04 2017 chien-hui.lu |
| * [MOLY00220000] merge CSCD into trunk |
| * [CCCI][CCCI_TTY] add CCCI TTY port and CSCD Core related. |
| * |
| * 11 11 2016 cs.huang |
| * [MOLY00204430] [CCCI] MT6293 change |
| * [CCCI] Add CCMNI interface for multi IMS emerengy PDN |
| * |
| * 10 04 2016 cs.huang |
| * [MOLY00205087] [CCMNI] Add more NETIFs for multi IMS emergency PDN |
| * [CCCI] Add CCMNI interface for multi IMS emerengy PDN |
| * |
| * 07 05 2016 cs.huang |
| * [MOLY00187383] [DPFM] MD direct tethering porting to UMOLY |
| * [CCCI] DPFM support |
| * |
| * |
| * |
| * 01 25 2016 cs.huang |
| * [MOLY00162367] [CCISM] add CCISM |
| * [CCCI] Add CCISM related code |
| * |
| * |
| * 07 29 2015 hsin-jun.tang |
| * [MOLY00132873] [CCCI] DHL 2ed path channel for hugeland autotest tool |
| * [CCCI] DHL 2ed path channel - UMOLY |
| * |
| * 11 13 2014 cs.huang |
| * [MOLY00084393] [UMOLY][CCCI] CCCI common header arrangement |
| * Merging |
| * |
| * //UMOLY/TRUNK/UMOLY/mcu/pcore/interface/service/hif/ccci_ch_cfg.h |
| * |
| * to //UMOLY/TRUNK/UMOLY/mcu/common/interface/service/hif/ccci_ch_cfg.h |
| * |
| * 06 11 2014 ian.cheng |
| * [MOLY00069231] [TK6291] MOLY CCCI merge |
| * TK6291 CCCI migration |
| * |
| * 05 14 2014 ap.wang |
| * [MOLY00063866] [ROME] data/ackqueue IT |
| * CCMNI Fast Ack Patch and linkdown fast reload |
| * |
| * 03 28 2014 ian.cheng |
| * [MOLY00061219] [MT6582][SGLTE][CMCC FT][SZ][TC_3.1.8]DFTP(Fail [FOCUS ISSUE] |
| * [CCMNI ACK Fast Path] |
| * |
| * 12 05 2013 cs.huang |
| * [MOLY00049049] [MT6595] [CCCI] Add ICUSB feature |
| * [CCCI] Add ICUSB feature. |
| * |
| * 11 26 2013 box.wu |
| * [MOLY00047966] [MT6595] patch for CCCI over CLDMA |
| * add exception, tty, ICUSB. |
| * |
| * 05 30 2013 ap.wang |
| * [MOLY00024263] [CCCI IMS] Add CCCI IMS Data Control channel |
| * [CCCI_IMS] Add IMS_DCTRL channel |
| * |
| * 01 28 2013 ap.wang |
| * [MOLY00009488] [CCCI] CCCI_IMS ch rename |
| * [CCCI] CCCI_IMS channel rename |
| * |
| * 01 17 2013 ian.cheng |
| * [MOLY00008993] [CCCI_SRV] CCCI_IMS 1st version |
| * [CCCI] CCCI_IMS 1st verison loopback support |
| * |
| * 01 11 2013 ap.wang |
| * [MOLY00008683] [CCCI] CCCI new feature check in |
| * [CCCI] Modify CCCI channel config |
| ****************************************************************************/ |
| #ifndef _CCCI_CH_CFG_H |
| #define _CCCI_CH_CFG_H |
| |
| #define CCCI_MD_AP_BASE (CCCI_PEER_ID_AP << 12) |
| #define CCCI_MD_SCP_BASE (CCCI_PEER_ID_SCP << 12) |
| #define CCCI_MD_EAP_BASE (CCCI_PEER_ID_EAP << 12) |
| |
| #define CCCI_MAX_TWO(a ,b) ((a>b)?(a):(b)) |
| #define CCCI_MAX_CHANNEL CCCI_MAX_TWO(CCCI_MAX_TWO(CCCI_MD_AP_MAX_CHANNEL, CCCI_MD_EAP_MAX_CHANNEL), CCCI_MD_SCP_MAX_CHANNEL) |
| |
| /*! |
| * @brief CCCI peer id enum for multi HIF |
| */ |
| typedef enum |
| { |
| CCCI_PEER_ID_MIN = 0, |
| #include "ccci_config_peer_id.h" |
| CCCI_PEER_ID_MAX, |
| } CCCI_PEER_ID_BASE_T; |
| |
| /*! |
| * @brief CCCI_CHANNEL_T CCCI logical channel enum |
| * NOTICE: Negotiations With AP Owner Before Modification |
| */ |
| typedef enum |
| { |
| #include "ccci_config_channel_id.h" |
| } CCCI_CHANNEL_T; |
| |
| |
| #endif //#ifndef _CCCI_CH_CFG_H |