4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Junghwan Song <jump.song@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
25 #define TFEATURE_TYPE_FUNCTION 0x40
26 #define TFEATURE_TYPE_UI 0x80
27 #define TFEATURE_TYPE_DEVICE 0xC0
31 /* function feature : 0x41 ~ 0x7F */
32 TFEATURE_FUNCTION = TFEATURE_TYPE_FUNCTION,
33 TFEATURE_FUNCTION_DISPLAY_CHN_SPN,
34 TFEATURE_FUNCTION_ENABLE_DSAC,
35 TFEATURE_FUNCTION_SMS_BEARER_PS_PREFERRED,
36 TFEATURE_FUNCTION_CNAP_UNPACK_DCS,
37 TFEATURE_FUNCTION_DISPLAY_RATINFO_MANUALSEARCH,
38 TFEATURE_FUNCTION_DISPLAY_PLMN_NAME_ONLY,
39 TFEATURE_FUNCTION_DISPLAY_PLMN_FAKING_4MVNO,
40 TFEATURE_FUNCTION_DISPLAY_LAC_NETNAME,
41 TFEATURE_FUNCTION_DISPLAY_LU_REJECT_CAUSE,
42 TFEATURE_FUNCTION_DISPLAY_DELTA_AND_SHORT_NAME,
43 TFEATURE_FUNCTION_REFER_EONS_ON_MANUAL_SEARCH,
44 TFEATURE_FUNCTION_CHECK_ACTIVATED_SIM,
45 TFEATURE_FUNCTION_ENABLE_ENS,
46 TFEATURE_FUNCTION_RTS_INDICATION,
47 TFEATURE_FUNCTION_HIDE_CNAP = 0x4F,
48 TFEATURE_FUNCTION_REFER_EONS_WITHOUT_LAC,
49 TFEATURE_FUNCTION_REFER_SPN_ON_MANUAL_SEARCH,
50 TFEATURE_FUNCTION_SKIP_EONS_INFO,
51 TFEATURE_FUNCTION_MANAGER_NETWORK_NAME_ENABLE,
52 TFEATURE_FUNCTION_SUPPORT_WB_AMR_2G,
53 TFEATURE_FUNCTION_SUPPORT_OVERRIDE_IPV4_ONLY,
54 TFEATURE_FUNCTION_PPP_AUTHENTIFICATION,
55 TFEATURE_FUNCTION_NOTIFY_LINE_CONTROL,
56 TFEATURE_FUNCTION_NET_STK_HIDE_ALPHA_ID,
57 TFEATURE_FUNCTION_AUTO_RESUME,
58 TFEATURE_FUNCTION_CS_OVERRIDE_EMERGENCY_CALL,
59 TFEATURE_FUNCTION_ENABLE_IPV6_RSRA,
60 TFEATURE_FUNCTION_ENABLE_CDMA,
61 TFEATURE_FUNCTION_NET_CHECK_ECC_RAT,
62 TFEATURE_FUNCTION_EMERGENCY_CALLBACK,
63 TFEATURE_FUNCTION_SEND_APN_INFO = 0x5F,
64 TFEATURE_FUNCTION_IMS_PDN_AUTO_ACTIVATE,
65 TFEATURE_FUNCTION_DUAL_NUMBER_SERVICE,
66 TFEATURE_FUNCTION_TWO_PHONE_SERVICE,
67 TFEATURE_FUNCTION_BIP_OTA_REGISTRATION,
68 TFEATURE_FUNCTION_SUPPORT_STK_BIP,
69 TFEATURE_FUNCTION_SEND_OK_FOR_SAT_DISPLAY_TEXT,
70 TFEATURE_FUNCTION_SUPPORT_SEND_SMS_FOR_SAT_SEND_SMS,
71 TFEATURE_FUNCTION_SEND_SSAC_STATUS,
72 TFEATURE_FUNCTION_PACKET_KEEP_ALIVE,
73 TFEATURE_FUNCTION_ATTACH_APN_INTERNET,
74 TFEATURE_FUNCTION_BACKUP_APN,
75 TFEATURE_FUNCTION_SUPPORT_MF_ONLY_ESIM_CARD,
76 TFEATURE_FUNCTION_ASRVCC,
77 TFEATURE_FUNCTION_SS_CONFIG_CS_ONLY,
78 TFEATURE_FUNCTION_BIP_MANAGER_APP,
79 TFEATURE_FUNCTION_SUPPORT_VOLTE,
80 TFEATURE_FUNCTION_ACTIVATION_PROCESS,
81 TFEATURE_FUNCTION_EMPTY_ATTACH_APN,
82 TFEATURE_FUNCTION_MAX_VALUE = 0x7F,
84 /* UI feature : 0x81 ~ 0xBF */
85 TFEATURE_UI = TFEATURE_TYPE_UI,
86 TFEATURE_UI_NO_SVC_MANUAL_PLMN_CHECK,
87 TFEATURE_UI_CALL_LAUNCH_CS_REGISTER,
88 TFEATURE_UI_NITZ_TIME_UPDATE_POPUP,
89 TFEATURE_UI_SIM_RAISE_INVALID_SIM_POPUP,
90 TFEATURE_UI_DATA_ROAMING_SUB_MENU,
91 TFEATURE_UI_DATA_ROAMING_ALWAYS_ASK,
92 TFEATURE_UI_DATA_ROAMING_POPUP_ONLY_WHEN_PS_ACCEPTED,
93 TFEATURE_UI_LAUNCH_ACTIVATION_POPUP,
94 TFEATURE_UI_DISPLAY_LU_REJECT_CAUSE,
95 TFEATURE_UI_MAX_VALUE = 0xBF,
97 /* Device feature : 0xC1 ~ 0xCF */
98 TFEATURE_DEVICE = TFEATURE_TYPE_DEVICE,
99 TFEATURE_DEVICE_NO_DISPLAY_PANEL = 0xC1,
100 TFEATURE_DEVICE_WEARABLE,
101 TFEATURE_DEVICE_LTE_ONLY,
102 TFEATURE_DEVICE_LTE_SUPPORTED,
104 TFEATURE_DEVICE_CHIPSET_VENDOR_EXYNOS,
107 TFEATURE_MAX_VALUE = 0xFF,
111 TFEATURE_NOT_SUPPORTED = 0,
112 TFEATURE_SUPPORTED = 1,
115 EXPORT_API tfeature_support tfeature_is_supported(tfeature_name feature);