diff options
author | Dan Williams <dcbw@redhat.com> | 2010-03-22 13:03:53 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-03-22 13:03:53 -0700 |
commit | 6ab36bacf3a940beb9c452197726650f53842329 (patch) | |
tree | 412b9be7e1226924ce132c02cb2dacc27f9907dd /libqcdm/src/dm-commands.h | |
parent | 7fbe4d83830ded45d7e2c2d71f22fa78e221226c (diff) |
qcdm: add ZTE signal strength request
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 */ |