aboutsummaryrefslogtreecommitdiffstats
path: root/include/sec.h
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2013-01-15 19:46:19 +0100
committerSimon Busch <morphis@gravedo.de>2013-01-15 19:47:47 +0100
commited4d891a7880db9ddf02fadd69dbf4241f1550c3 (patch)
tree6b55d8be69802b1807a857e8d8e422e3b3deb475 /include/sec.h
parent44111557977fa88ade827c6b0fbb9e2715ef9f59 (diff)
downloadexternal_libsamsung-ipc-ed4d891a7880db9ddf02fadd69dbf4241f1550c3.zip
external_libsamsung-ipc-ed4d891a7880db9ddf02fadd69dbf4241f1550c3.tar.gz
external_libsamsung-ipc-ed4d891a7880db9ddf02fadd69dbf4241f1550c3.tar.bz2
sec: correct binary represetation of SIM access commands
Signed-off-by: Simon Busch <morphis@gravedo.de>
Diffstat (limited to 'include/sec.h')
-rw-r--r--include/sec.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sec.h b/include/sec.h
index 5a3912b..1d233fd 100644
--- a/include/sec.h
+++ b/include/sec.h
@@ -73,11 +73,15 @@ struct ipc_message_info;
#define IPC_SEC_SIM_CARD_TYPE_SIM 0x01
#define IPC_SEC_SIM_CARD_TYPE_USIM 0x02
-/* Possible RSIM commads */
+/* Possible RSIM commads (see TS 27.00.1 8.18) */
#define IPC_SEC_RSIM_COMMAND_READ_BINARY 0xb0
-#define IPC_SEC_RSIM_COMMAND_READ_RECORD 0xc0
+#define IPC_SEC_RSIM_COMMAND_READ_RECORD 0xb2
+#define IPC_SEC_RSIM_COMMAND_GET_RESPONSE 0xc0
#define IPC_SEC_RSIM_COMMAND_UPDATE_BINARY 0xd6
+#define IPC_SEC_RSIM_COMMAND_UPDATE_RECORD 0xdc
#define IPC_SEC_RSIM_COMMAND_STATUS 0xf2
+#define IPC_SEC_RSIM_COMMAND_RETRIEVE_DATA 0xcb
+#define IPC_SEC_RSIM_COMMAND_SET_DATA 0xdb
struct ipc_sec_sim_status_response {
/* IPC_SEC_SIM_STATUS_... */