diff options
Diffstat (limited to 'libqcdm/src/dm-commands.h')
-rw-r--r-- | libqcdm/src/dm-commands.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libqcdm/src/dm-commands.h b/libqcdm/src/dm-commands.h index bad9e932..e7ad4d36 100644 --- a/libqcdm/src/dm-commands.h +++ b/libqcdm/src/dm-commands.h @@ -122,6 +122,7 @@ enum { DIAG_SUBSYS_SMS = 14, DIAG_SUBSYS_CM = 15, /* Call manager */ DIAG_SUBSYS_NW_CONTROL_6500 = 50, /* for Novatel Wireless MSM6500-based devices */ + DIAG_SUBSYS_ZTE = 101, /* for ZTE EVDO devices */ DIAG_SUBSYS_NW_CONTROL_6800 = 250 /* for Novatel Wireless MSM6800-based devices */ }; @@ -148,6 +149,10 @@ enum { DIAG_SUBSYS_NW_CONTROL_MODEM_STATUS_WCDMA = 20, }; +enum { + DIAG_SUBSYS_ZTE_STATUS = 0, +}; + /* Generic DM command header */ struct DMCmdHeader { guint8 code; @@ -250,5 +255,15 @@ struct DMCmdSubsysHDRStateInfoRsp { } __attribute__ ((packed)); typedef struct DMCmdSubsysHDRStateInfoRsp DMCmdSubsysHDRStateInfoRsp; + +/* DIAG_SUBSYS_ZTE_STATUS subsys command */ +struct DMCmdSubsysZteStatusRsp { + DMCmdSubsysHeader header; + guint8 _unknown1[8]; + guint8 signal_ind; + guint8 _unknown2; +} __attribute__ ((packed)); +typedef struct DMCmdSubsysZteStatusRsp DMCmdSubsysZteStatusRsp; + #endif /* LIBQCDM_DM_COMMANDS_H */ |