| #ifndef _DDM_ENUM_H |
| #define _DDM_ENUM_H |
| #include "../l4misc/l4c_common_enum.h" |
| #include "sim_ps_enum.h" |
| #include "module_id_range.h" |
| |
| #ifdef __CMUX_SUPPORT__ |
| #include "cmux_vp_num.h" |
| #define CMUX_CHANNELS_NUM ((CMUX_VP_NUM_FOR_SINGLE_SIM * MAX_SIM_NUM) + CMUX_VPEX_TOTAL_NUM) |
| #else |
| #define CMUX_CHANNELS_NUM (1) |
| #endif |
| |
| #define DDM_MAX_NUM_OF_APN (16) |
| #define APN_TYPE_STRING_LEN (32) |
| #define APN_TYPE_LIST_STRING_LEN (256) |
| |
| #define DDM_SRC_ID_ALL L4B_MAX_CHANNEL_NUMBER // L4B_MAX_CHANNEL_NUMBER is at least larger than 29 |
| #define DDM_RESERVE_SRC_NUM (30) |
| #define DDM_SRC_ID_NUM (DDM_SRC_ID_ALL - DDM_RESERVE_SRC_NUM) |
| |
| #define D2_CHANNELS_NUM (8) |
| #define DDM_CHANNELS_NUM (4) |
| |
| #define D2_ICCID_STR_LEN 21 |
| #define D2_IMSI_STR_LEN 16 |
| #define D2_GID1_LEN NUM_GID1 |
| #define D2_GID2_LEN NUM_GID2 |
| #define D2_FULL_PNN_LEN 50 |
| #define D2_GSM_SPN_LEN LEN_OF_SPN |
| #define D2_C2K_SPN_LEN 35 |
| #define D2_MCF_MTU_CFG_ENTRY_NUM 10 |
| |
| #if 0 |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| /* under construction !*/ |
| #endif |
| |
| typedef enum |
| { |
| DDM_SRC_CMUX_START = 0, |
| DDM_SRC_CMUX_END = DDM_SRC_CMUX_START + (CMUX_CHANNELS_NUM - 1), |
| DDM_SRC_D2_START, |
| DDM_SRC_D2AM_IA_REUSE = DDM_SRC_D2_START, |
| DDM_SRC_D2_IMSM, |
| DDM_SRC_D2_END = DDM_SRC_D2_START + (D2_CHANNELS_NUM - 1), |
| DDM_SRC_START, |
| DDM_SRC_FB_IPv4, |
| DDM_SRC_FB_IPv6, |
| DDM_SRC_END = DDM_SRC_START + (DDM_CHANNELS_NUM - 1), |
| DDM_ALL_NUM, |
| } ddm_source_id_enum; |
| |
| typedef enum |
| { |
| DDM_SRC_DDM_START = 0, |
| DDM_SRC_DDM_END = DDM_SRC_DDM_START + (DDM_SRC_ID_NUM - 1), |
| DDM_SRC_RESERVE_START, |
| DDM_SRC_IA_DEFINE = DDM_SRC_RESERVE_START, |
| DDM_SRC_IA_GET_NET_INFO, |
| DDM_SRC_CGEV_QUERY, |
| DDM_SRC_REDEACT_PDN, |
| DDM_SRC_DEACT_ONE_PDN, |
| DDM_SRC_PCO_UPDATE, |
| DDM_SRC_PCO_UPDATE_NW_MODIFY, |
| DDM_SRC_DEACT_AND_ACT_PDN, |
| DDM_SRC_IA_FALLBACK, |
| DDM_SRC_GRT_REQ, |
| DDM_SRC_QUERY_PS_DATA_OFF, |
| DDM_SRC_SET_CGCMOD, |
| DDM_SRC_FALLBACK_IPv4, |
| DDM_SRC_FALLBACK_IPv6, |
| DDM_SRC_FALLBACK_DEACT_PDN, |
| DDM_SRC_QOS_CHECK, |
| DDM_SRC_QOS_RELIABILITY, |
| DDM_SRC_QOS_CHECK_GET_APN, |
| DDM_SRC_ACT_AND_DEACT_PDN, |
| DDM_SRC_DEACT_INTERNET_AND_ACT_PDN, |
| DDM_SRC_EMM_DEACT_FOR_GARBAGE_PAGING, |
| DDM_SRC_VGMM_DEACT_FOR_GARBAGE_PAGING, |
| DDM_SRC_DEACT_DEFAULT_PDN, |
| DDM_SRC_ACTIVATE_DEFAULT_PDN, |
| DDM_SRC_DEACT_NO_IP_PDN, |
| DDM_SRC_VZWAPN_CMD, |
| DDM_SRC_RESERVE_END = DDM_SRC_RESERVE_START + (DDM_RESERVE_SRC_NUM - 1), |
| DDM_ALL = DDM_SRC_RESERVE_END, |
| } ddm_src_id_enum; |
| |
| typedef enum { |
| D2AM_NW_NO_ACTION = 0, |
| D2AM_NW_EDALLOW_SET_0, |
| D2AM_NW_EDALLOW_SET_1, |
| D2AM_NW_ACTION_MAX = 0xFF, |
| } d2am_nw_action_enum; |
| |
| #define DDM_SRC_ID_TOTAL_NUM DDM_ALL |
| #define DDM_UNSOLICITED DDM_ALL |
| // flag |
| #define DDM_IS_STANDARD (0x00000001) |
| #define DDM_IS_ACTTEST (0x00000010) |
| |
| #define EIF_SUPPORT_HO (1 << 0) |
| #define EIF_SUPPORT_IPCHG (1 << 1) |
| |
| #define IGNORE_SRC_ID (0x7788) |
| |
| #endif |