diff options
author | Dan Williams <dcbw@redhat.com> | 2010-03-30 00:32:05 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-03-30 00:32:27 -0700 |
commit | 0ae176c63c8686cd3a86b7933be5ae3546782475 (patch) | |
tree | 33486efe86bf3469fbff80283621423c0b37dd6e /libqcdm/src/dm-commands.h | |
parent | cff40ac4724780e73f47af4f17cba952ab1ed680 (diff) |
qcdm: add Pilot Set retrieval for signal strength calculations
Determined from various sources including RTManager and
"Technical Introduction to CDMA" (Course RF100 Chapter 7).
Diffstat (limited to 'libqcdm/src/dm-commands.h')
-rw-r--r-- | libqcdm/src/dm-commands.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libqcdm/src/dm-commands.h b/libqcdm/src/dm-commands.h index 35245281..0777104c 100644 --- a/libqcdm/src/dm-commands.h +++ b/libqcdm/src/dm-commands.h @@ -279,5 +279,21 @@ struct DMCmdSubsysZteStatusRsp { } __attribute__ ((packed)); typedef struct DMCmdSubsysZteStatusRsp DMCmdSubsysZteStatusRsp; +struct DMCmdPilotSetsSet { + guint16 pn_offset; + guint16 ecio; +} __attribute__ ((packed)); +typedef struct DMCmdPilotSetsSet DMCmdPilotSetsSet; + +struct DMCmdPilotSetsRsp { + guint8 code; + guint16 pilot_inc; + guint8 active_count; + guint8 candidate_count; + guint8 neighbor_count; + DMCmdPilotSetsSet sets[52]; +} __attribute__ ((packed)); +typedef struct DMCmdPilotSetsRsp DMCmdPilotSetsRsp; + #endif /* LIBQCDM_DM_COMMANDS_H */ |