diff options
author | Dan Williams <dcbw@redhat.com> | 2013-04-05 10:33:16 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-04-05 10:33:16 -0500 |
commit | 372a49bbf661c95110852c86df54008a7bad2774 (patch) | |
tree | a6954d74186163d82134e6e5119feb4dcdb1e5e5 /libqcdm | |
parent | 086557e5d53806c962c44060306e49fcbb446786 (diff) | |
download | ModemManager-372a49bbf661c95110852c86df54008a7bad2774.tar.gz |
qcdm: add unsolicited signal level indication from Samsung Z810
Diffstat (limited to 'libqcdm')
-rw-r--r-- | libqcdm/src/dm-commands.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/libqcdm/src/dm-commands.h b/libqcdm/src/dm-commands.h index d09662583..2cbd41770 100644 --- a/libqcdm/src/dm-commands.h +++ b/libqcdm/src/dm-commands.h @@ -115,7 +115,8 @@ enum { DIAG_CMD_EXT_BUILD_ID = 124, DIAG_CMD_EXT_MESSAGE_CONFIG= 125, DIAG_CMD_EVENT_GET_MASK = 129, - DIAG_CMD_EVENT_SET_MASK = 130 + DIAG_CMD_EVENT_SET_MASK = 130, + DIAG_CMD_SAMSUNG_IND = 217, /* Unsolicited message seen on Samsung Z810 */ }; /* Subsystem IDs used with DIAG_CMD_SUBSYS; these often obsolete many of @@ -590,5 +591,19 @@ struct DMCmdSubsysGsmStateInfoRsp { } __attribute__ ((packed)); typedef struct DMCmdSubsysGsmStateInfoRsp DMCmdSubsysGsmStateInfoRsp; +/* DIAG_CMD_SAMSUNG_IND response */ +struct DMCmdSamsungIndRsp { + DMCmdHeader hdr; + u_int8_t _unknown1; /* always zero */ + u_int8_t _unknown2; /* 0x0c */ + u_int8_t _unknown3[4]; /* always zero */ + u_int8_t _unknown4; /* 0x05 */ + u_int8_t _unknown5; /* always zero */ + u_int8_t _unknown6; /* 0x01 */ + u_int8_t _unknown7; /* always zero */ + u_int8_t signal; /* 0 - 5 */ +} __attribute__ ((packed)); +typedef struct DMCmdSamsungIndRsp DMCmdSamsungIndRsp; + #endif /* LIBQCDM_DM_COMMANDS_H */ |