simutil: Add EFcsp file and service group IDs
authorAki Niemi <aki.niemi@nokia.com>
Wed, 26 Jan 2011 09:19:26 +0000 (11:19 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 26 Jan 2011 09:38:56 +0000 (10:38 +0100)
src/simutil.h

index 463540b..a5a683b 100644 (file)
@@ -37,6 +37,7 @@ enum sim_fileid {
        SIM_EFIMSI_FILEID =                     0x6F07,
        SIM_EF_CPHS_MWIS_FILEID =               0x6F11,
        SIM_EF_CPHS_CFF_FILEID =                0x6F13,
+       SIM_EF_CPHS_CSP_FILEID =                0x6F15,
        SIM_EF_CPHS_INFORMATION_FILEID =        0x6F16,
        SIM_EF_CPHS_MBDN_FILEID =               0x6F17,
        SIM_EFUST_FILEID =                      0x6F38,
@@ -238,6 +239,21 @@ enum sim_sst_service {
        SIM_SST_SERVICE_PROVIDER_DISPLAY_INFO =         55
 };
 
+/* CPHS 4.2, Section B4.7 CSP Service Group Codes */
+enum sim_csp_entry {
+       SIM_CSP_ENTRY_CALL_OFFERING =           0x01,
+       SIM_CSP_ENTRY_CALL_RESTRICTION =        0x02,
+       SIM_CSP_ENTRY_OTHER_SUPP_SERVICES =     0x03,
+       SIM_CSP_ENTRY_CALL_COMPLETION =         0x04,
+       SIM_CSP_ENTRY_TELESERVICES =            0x05,
+       SIM_CSP_ENTRY_CPHS_TELESERVICES =       0x06,
+       SIM_CSP_ENTRY_CPHS_FEATURES =           0x07,
+       SIM_CSP_ENTRY_NUMBER_IDENTIFICATION =   0x08,
+       SIM_CSP_ENTRY_PHASE_2GPLUS_SERVICES =   0x09,
+       SIM_CSP_ENTRY_VALUE_ADDED_SERVICES =    0xC0,
+       SIM_CSP_ENTRY_INFORMATION_NUMBERS =     0xD5,
+};
+
 enum ber_tlv_data_type {
        BER_TLV_DATA_TYPE_UNIVERSAL =           0,
        BER_TLV_DATA_TYPE_APPLICATION =         1,