diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-02-08 17:35:54 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-02-08 17:35:54 +0100 |
commit | 6cb0b59e3f0a7b8f2c9690b7e8d171d88d000270 (patch) | |
tree | f5ce63da93f485516655155a51c3b4ec0f5d7b2c /include | |
parent | ffc71f0da11b322e5c28425200cbb8666cf441f9 (diff) | |
download | external_libsamsung-ipc-6cb0b59e3f0a7b8f2c9690b7e8d171d88d000270.zip external_libsamsung-ipc-6cb0b59e3f0a7b8f2c9690b7e8d171d88d000270.tar.gz external_libsamsung-ipc-6cb0b59e3f0a7b8f2c9690b7e8d171d88d000270.tar.bz2 |
Prefer official Samsung IPC protocol names
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include')
-rw-r--r-- | include/gprs.h | 6 | ||||
-rw-r--r-- | include/net.h | 6 | ||||
-rw-r--r-- | include/pb.h | 2 | ||||
-rw-r--r-- | include/sat.h | 2 | ||||
-rw-r--r-- | include/sec.h | 46 | ||||
-rw-r--r-- | include/sms.h | 2 | ||||
-rw-r--r-- | include/svc.h | 4 |
7 files changed, 34 insertions, 34 deletions
diff --git a/include/gprs.h b/include/gprs.h index 3323a4e..0b5dcc9 100644 --- a/include/gprs.h +++ b/include/gprs.h @@ -34,14 +34,14 @@ #define IPC_GPRS_ENTER_DATA 0x0D05 #define IPC_GPRS_SHOW_PDP_ADDR 0x0D06 #define IPC_GPRS_MS_CLASS 0x0D07 -#define IPC_GPRS_3G_QUAL_SERVICE_PROFILE 0x0D08 +#define IPC_GPRS_3G_QUAL_SRVC_PROFILE 0x0D08 #define IPC_GPRS_IP_CONFIGURATION 0x0D09 #define IPC_GPRS_DEFINE_SEC_PDP_CONTEXT 0x0D0A #define IPC_GPRS_TFT 0x0D0B #define IPC_GPRS_HSDPA_STATUS 0x0D0C -#define IPC_GPRS_CURRENT_SESSION_DATA_COUNT 0x0D0D +#define IPC_GPRS_CURRENT_SESSION_DATA_COUNTER 0x0D0D #define IPC_GPRS_DATA_DORMANT 0x0D0E -#define IPC_GPRS_DUN_PIN_CTRL 0x0D0F +#define IPC_GPRS_PIN_CTRL 0x0D0F #define IPC_GPRS_CALL_STATUS 0x0D10 #define IPC_GPRS_PORT_LIST 0x0D11 diff --git a/include/net.h b/include/net.h index 2a49493..310a12d 100644 --- a/include/net.h +++ b/include/net.h @@ -30,7 +30,7 @@ #define IPC_NET_PREF_PLMN 0x0801 #define IPC_NET_PLMN_SEL 0x0802 -#define IPC_NET_CURRENT_PLMN 0x0803 +#define IPC_NET_SERVING_NETWORK 0x0803 #define IPC_NET_PLMN_LIST 0x0804 #define IPC_NET_REGIST 0x0805 #define IPC_NET_SUBSCRIBER_NUM 0x0806 @@ -40,7 +40,7 @@ #define IPC_NET_MODE_SEL 0x080A #define IPC_NET_ACQ_ORDER 0x080B #define IPC_NET_IDENTITY 0x080C -#define IPC_NET_CURRENT_RRC_STATUS 0x080D +#define IPC_NET_PREFERRED_NETWORK_INFO 0x080D /* * Values @@ -88,7 +88,7 @@ struct ipc_net_plmn_sel_request_data { unsigned char act; // IPC_NET_ACCESS_TECHNOLOGY } __attribute__((__packed__)); -struct ipc_net_current_plmn_data { +struct ipc_net_serving_network_data { unsigned char unknown[3]; char plmn[5]; unsigned char type; diff --git a/include/pb.h b/include/pb.h index d525755..1072684 100644 --- a/include/pb.h +++ b/include/pb.h @@ -30,7 +30,7 @@ #define IPC_PB_STORAGE 0x0602 #define IPC_PB_STORAGE_LIST 0x0603 #define IPC_PB_ENTRY_INFO 0x0604 -#define IPC_PB_CAPABILITY_INFO 0x0605 +#define IPC_PB_3GPB_CAPA 0x0605 #endif diff --git a/include/sat.h b/include/sat.h index e36c5c0..2d8a129 100644 --- a/include/sat.h +++ b/include/sat.h @@ -37,7 +37,7 @@ #define IPC_SAT_SETUP_EVENT_LIST 0x0E09 #define IPC_SAT_CALL_CONTROL_RESULT 0x0E0A #define IPC_SAT_IMAGE_CLUT 0x0E0B -#define IPC_SAT_CALL_PROCESSING 0x0E0C +#define IPC_SAT_SETUP_CALL_PROCESSING 0x0E0C #endif diff --git a/include/sec.h b/include/sec.h index 692e7ad..052737a 100644 --- a/include/sec.h +++ b/include/sec.h @@ -27,33 +27,33 @@ * Commands */ -#define IPC_SEC_SIM_STATUS 0x0501 +#define IPC_SEC_PIN_STATUS 0x0501 #define IPC_SEC_PHONE_LOCK 0x0502 #define IPC_SEC_CHANGE_LOCKING_PW 0x0503 #define IPC_SEC_SIM_LANG 0x0504 #define IPC_SEC_RSIM_ACCESS 0x0505 #define IPC_SEC_GSIM_ACCESS 0x0506 #define IPC_SEC_SIM_ICC_TYPE 0x0507 -#define IPC_SEC_LOCK_INFO 0x0508 -#define IPC_SEC_ISIM_AUTH 0x0509 +#define IPC_SEC_LOCK_INFOMATION 0x0508 +#define IPC_SEC_IMS_AUTH 0x0509 /* * Values */ -#define IPC_SEC_SIM_STATUS_READY 0x00 -#define IPC_SEC_SIM_STATUS_SIM_LOCK_REQUIRED 0x01 -#define IPC_SEC_SIM_STATUS_INSIDE_PF_ERROR 0x02 -#define IPC_SEC_SIM_STATUS_LOCK_SC 0x03 -#define IPC_SEC_SIM_STATUS_LOCK_FD 0x04 -#define IPC_SEC_SIM_STATUS_LOCK_PN 0x05 -#define IPC_SEC_SIM_STATUS_LOCK_PU 0x06 -#define IPC_SEC_SIM_STATUS_LOCK_PP 0x07 -#define IPC_SEC_SIM_STATUS_LOCK_PC 0x08 -#define IPC_SEC_SIM_STATUS_CARD_NOT_PRESENT 0x80 -#define IPC_SEC_SIM_STATUS_CARD_ERROR 0x81 -#define IPC_SEC_SIM_STATUS_INIT_COMPLETE 0x82 -#define IPC_SEC_SIM_STATUS_PB_INIT_COMPLETE 0x83 +#define IPC_SEC_PIN_STATUS_READY 0x00 +#define IPC_SEC_PIN_STATUS_SIM_LOCK_REQUIRED 0x01 +#define IPC_SEC_PIN_STATUS_INSIDE_PF_ERROR 0x02 +#define IPC_SEC_PIN_STATUS_LOCK_SC 0x03 +#define IPC_SEC_PIN_STATUS_LOCK_FD 0x04 +#define IPC_SEC_PIN_STATUS_LOCK_PN 0x05 +#define IPC_SEC_PIN_STATUS_LOCK_PU 0x06 +#define IPC_SEC_PIN_STATUS_LOCK_PP 0x07 +#define IPC_SEC_PIN_STATUS_LOCK_PC 0x08 +#define IPC_SEC_PIN_STATUS_CARD_NOT_PRESENT 0x80 +#define IPC_SEC_PIN_STATUS_CARD_ERROR 0x81 +#define IPC_SEC_PIN_STATUS_INIT_COMPLETE 0x82 +#define IPC_SEC_PIN_STATUS_PB_INIT_COMPLETE 0x83 #define IPC_SEC_FACILITY_LOCK_TYPE_SC_UNLOCKED 0x00 #define IPC_SEC_FACILITY_LOCK_TYPE_SC_PIN1_REQ 0x01 @@ -90,12 +90,12 @@ * Structures */ -struct ipc_sec_sim_status_response_data { - unsigned char status; // IPC_SEC_SIM_STATUS +struct ipc_sec_pin_status_response_data { + unsigned char status; // IPC_SEC_PIN_STATUS unsigned char facility_lock; // IPC_SEC_FACILITY_LOCK_TYPE } __attribute__((__packed__)); -struct ipc_sec_sim_status_request_data { +struct ipc_sec_pin_status_request_data { unsigned char type; // IPC_SEC_PIN_TYPE unsigned char pin1_length; unsigned char pin2_length; @@ -150,12 +150,12 @@ struct ipc_sec_sim_icc_type { unsigned char type; // IPC_SEC_SIM_CARD_TYPE } __attribute__((__packed__)); -struct ipc_sec_lock_info_request_data { +struct ipc_sec_lock_infomation_request_data { unsigned char magic; unsigned char type; // IPC_SEC_PIN_TYPE } __attribute__((__packed__)); -struct ipc_sec_lock_info_response_data { +struct ipc_sec_lock_infomation_response_data { unsigned char unknown; unsigned char type; // IPC_SEC_PIN_TYPE unsigned char key; @@ -166,9 +166,9 @@ struct ipc_sec_lock_info_response_data { * Helpers */ -void ipc_sec_sim_status_setup(struct ipc_sec_sim_status_request_data *message, +void ipc_sec_pin_status_setup(struct ipc_sec_pin_status_request_data *message, unsigned char pin_type, char *pin1, char *pin2); -void ipc_sec_lock_info_setup(struct ipc_sec_lock_info_request_data *message, +void ipc_sec_lock_infomation_setup(struct ipc_sec_lock_infomation_request_data *message, unsigned char pin_type); void ipc_sec_phone_lock_request_set_setup(struct ipc_sec_phone_lock_request_set_data *message, int pin_type, int enable, char *passwd); diff --git a/include/sms.h b/include/sms.h index f92683d..cb49df2 100644 --- a/include/sms.h +++ b/include/sms.h @@ -40,7 +40,7 @@ #define IPC_SMS_SVC_OPTION 0x040B #define IPC_SMS_MEM_STATUS 0x040C #define IPC_SMS_CBS_MSG 0x040D -#define IPC_SMS_CBS_CONFIG 0x040E +#define IPC_SMS_CBS_CFG 0x040E #define IPC_SMS_STORED_MSG_STATUS 0x040F #define IPC_SMS_PARAM_COUNT 0x0410 #define IPC_SMS_PARAM 0x0411 diff --git a/include/svc.h b/include/svc.h index 718886f..e998789 100644 --- a/include/svc.h +++ b/include/svc.h @@ -33,8 +33,8 @@ #define IPC_SVC_DISPLAY_SCREEN 0x0B05 #define IPC_SVC_CHANGE_SVC_MODE 0x0B06 #define IPC_SVC_DEVICE_TEST 0x0B07 -#define IPC_SVC_DEBUG_DUMP_MESSAGE 0x0B08 -#define IPC_SVC_DEBUG_STRING_MESSAGE 0x0B09 +#define IPC_SVC_DEBUG_DUMP 0x0B08 +#define IPC_SVC_DEBUG_STRING 0x0B09 /* * Values |