aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimon Busch <morphis@gravedo.de>2012-08-30 17:46:34 +0200
committerSimon Busch <morphis@gravedo.de>2012-08-30 17:46:34 +0200
commitd9eae1106d51f69168b44cf81a46a604ad6fc8ef (patch)
tree9274cd604ba8080da405f10159ca5c0914388c4d /include
parent63d90f703a0a8b886415797584059be9c2cc1023 (diff)
downloadexternal_libsamsung-ipc-d9eae1106d51f69168b44cf81a46a604ad6fc8ef.zip
external_libsamsung-ipc-d9eae1106d51f69168b44cf81a46a604ad6fc8ef.tar.gz
external_libsamsung-ipc-d9eae1106d51f69168b44cf81a46a604ad6fc8ef.tar.bz2
net: renaming some parts to be more reasonable
Diffstat (limited to 'include')
-rw-r--r--include/device/ipc-v4/net.h2
-rw-r--r--include/net.h17
2 files changed, 12 insertions, 7 deletions
diff --git a/include/device/ipc-v4/net.h b/include/device/ipc-v4/net.h
index c72f526..0a7eece 100644
--- a/include/device/ipc-v4/net.h
+++ b/include/device/ipc-v4/net.h
@@ -29,7 +29,7 @@
#define IPC_NET_ACCESS_TECHNOLOGY_EDGE 0x03
#define IPC_NET_ACCESS_TECHNOLOGY_UMTS 0x04
-struct ipc_net_current_plmn {
+struct ipc_net_current_plmn_response {
char unk0;
unsigned char slevel;
char unk1;
diff --git a/include/net.h b/include/net.h
index 2d5cd8b..c201631 100644
--- a/include/net.h
+++ b/include/net.h
@@ -63,14 +63,19 @@
#define IPC_NET_MODE_SEL_UMTS_ONLY 0x03
struct ipc_net_regist_get {
+ /* ignore, ipc_net_regist_get_setup will do for you */
unsigned char net;
+ /* IPC_NET_SERVICE_DOMAIN_.. */
unsigned char domain;
} __attribute__((__packed__));
-struct ipc_net_regist {
- unsigned char act; // IPC_NET_ACCESS_TECHNOLOGY_...
- unsigned char domain; // IPC_NET_SERVICE_DOMAIN_...
- unsigned char reg_state; // IPC_NET_REGISTRATION_STATE_...
+struct ipc_net_regist_response {
+ /* IPC_NET_ACCESS_TECHNOLOGY_... */
+ unsigned char act;
+ /* IPC_NET_SERVICE_DOMAIN_... */
+ unsigned char domain;
+ /* IPC_NET_REGISTRATION_STATE_... */
+ unsigned char reg_state;
unsigned char edge;
unsigned short lac;
unsigned int cid;
@@ -102,8 +107,8 @@ struct ipc_net_plmn_sel_set {
unsigned char act; // IPC_NET_ACCESS_TECHNOLOGY_...
} __attribute__((__packed__));
-void ipc_net_regist_setup(struct ipc_net_regist_get *message, unsigned char domain);
-void ipc_net_plmn_sel_setup(struct ipc_net_plmn_sel_set *message, unsigned char mode, char *plmn, unsigned char act);
+void ipc_net_regist_get_setup(struct ipc_net_regist_get *message, unsigned char domain);
+void ipc_net_plmn_sel_set_setup(struct ipc_net_plmn_sel_set *message, unsigned char mode, char *plmn, unsigned char act);
#endif