aboutsummaryrefslogtreecommitdiff
path: root/libqcdm/src/dm-commands.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-02-22 13:27:25 -0800
committerDan Williams <dcbw@redhat.com>2010-02-22 13:27:25 -0800
commitc0e227a16bb320790e0cd10683abb3262f87d04f (patch)
treed09d9b9b0d2489c34390aeef9d2108653e9a3a76 /libqcdm/src/dm-commands.h
parentcb59d2e64d8bb79cb7147e7ce2128c83ec66ef1c (diff)
qcdm: add status command and rework testcases a bit
Status command not completely working yet.
Diffstat (limited to 'libqcdm/src/dm-commands.h')
-rw-r--r--libqcdm/src/dm-commands.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libqcdm/src/dm-commands.h b/libqcdm/src/dm-commands.h
index 9a2c3fe7..c7380bb2 100644
--- a/libqcdm/src/dm-commands.h
+++ b/libqcdm/src/dm-commands.h
@@ -190,5 +190,21 @@ struct DMCmdEsnRsp {
} __attribute__ ((packed));
typedef struct DMCmdEsnRsp DMCmdEsnRsp;
+/* DIAG_CMD_STATUS */
+struct DMCmdStatusRsp {
+ guint8 code;
+ guint8 _unknown[3];
+ guint8 esn[4];
+ guint16 cdma_rx_state;
+ guint16 entry_reason;
+ guint16 curr_chan;
+ guint8 cdma_code_chan;
+ guint16 pilot_base;
+ guint16 sid;
+ guint16 nid;
+} __attribute__ ((packed));
+typedef struct DMCmdStatusRsp DMCmdStatusRsp;
+
+
#endif /* LIBQCDM_DM_COMMANDS_H */