diff options
author | Dan Williams <dcbw@redhat.com> | 2010-08-05 22:50:32 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-08-05 22:51:29 -0500 |
commit | dbbac27f1ef518fca0b7aefe9c73cace82c3a5a4 (patch) | |
tree | 27e75498951843feeaafe3608545d845196a810d /libqcdm/src/dm-commands.h | |
parent | 52f9c721d3f7201ca2f8ad6461cbb5fd8e50d822 (diff) |
qcdm: add generic status snapshot command support
Diffstat (limited to 'libqcdm/src/dm-commands.h')
-rw-r--r-- | libqcdm/src/dm-commands.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libqcdm/src/dm-commands.h b/libqcdm/src/dm-commands.h index cfc98f79..01e2ad23 100644 --- a/libqcdm/src/dm-commands.h +++ b/libqcdm/src/dm-commands.h @@ -265,6 +265,29 @@ struct DMCmdSwVersionRsp { } __attribute__ ((packed)); typedef struct DMCmdSwVersionRsp DMCmdSwVersionRsp; +/* DIAG_CMD_STATUS_SNAPSHOT */ +struct DMCmdStatusSnapshotRsp { + guint8 code; + guint8 esn[4]; + guint8 imsi_s1[4]; + guint8 imsi_s2[2]; + guint8 imsi_s[8]; + guint8 imsi_11_12; + guint16 mcc; + guint8 imsi_addr_num; + guint16 sid; + guint16 nid; + guint8 prev; + guint8 prev_in_use; + guint8 mob_prev; + guint8 band_class; + guint16 frequency; + guint8 oper_mode; + guint8 state; + guint8 sub_state; +} __attribute__ ((packed)); +typedef struct DMCmdStatusSnapshotRsp DMCmdStatusSnapshotRsp; + /* DIAG_SUBSYS_CM_STATE_INFO subsys command */ struct DMCmdSubsysCMStateInfoRsp { DMCmdSubsysHeader header; |