diff options
author | Dan Williams <dcbw@redhat.com> | 2012-02-17 13:06:11 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-02-17 13:06:11 -0600 |
commit | 2e99aa25577157275312739bea5dd75c3818cf92 (patch) | |
tree | 7502d7d45de56ae8ae17d9c772024562dd392bb6 /libqcdm | |
parent | 7b8e9203f259b93bc3a5b6f94cb8cf0dbb39742c (diff) |
qcdm: decode some more log items
Diffstat (limited to 'libqcdm')
-rw-r--r-- | libqcdm/src/log-items.h | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/libqcdm/src/log-items.h b/libqcdm/src/log-items.h index 5b44fcd4..2ec2c4d0 100644 --- a/libqcdm/src/log-items.h +++ b/libqcdm/src/log-items.h @@ -43,8 +43,10 @@ enum { DM_LOG_ITEM_CDMA_SERVICE_CONFIG = 0x102e, /* WCDMA items */ + DM_LOG_ITEM_WCDMA_TA_FINGER_INFO = 0x4003, DM_LOG_ITEM_WCDMA_AGC_INFO = 0x4105, DM_LOG_ITEM_WCDMA_RRC_STATE = 0x4125, + DM_LOG_ITEM_WCDMA_CELL_ID = 0x4127, /* GSM items */ DM_LOG_ITEM_GSM_BURST_METRICS = 0x506c, @@ -85,8 +87,25 @@ struct DMLogItemCdmaReversePowerControl { typedef struct DMLogItemCdmaReversePowerControl DMLogItemCdmaReversePowerControl; +/* DM_LOG_ITEM_WCDMA_TA_FINGER_INFO */ +struct DMLogItemWcdmaTaFingerInfo { + int32_t tx_pos; + int16_t coherent_interval_len; + u_int8_t non_coherent_interval_len; + u_int8_t num_paths; + u_int32_t path_enr; + int32_t pn_pos_path + int16_t pri_cpich_psc; + u_int8_t unknown1; + u_int8_t sec_cpich_ssc; + u_int8_t finger_channel_code_index; + u_int8_t finger_index; +} __attribute__ ((packed)); +typedef struct DMLogItemWcdmaTaFingerInfo DMLogItemWcdmaTaFingerInfo; + + /* DM_LOG_ITEM_WCDMA_AGC_INFO */ -struct DMLogItemWcdmRrcState { +struct DMLogItemWcdmaAgcInfo { u_int8_t num_samples; u_int16_t rx_agc; u_int16_t tx_agc; @@ -96,7 +115,7 @@ struct DMLogItemWcdmRrcState { /* Bit 4 means tx_agc is valid */ u_int8_t agc_info; } __attribute__ ((packed)); -typedef struct DMLogItemWcdmRrcState DMLogItemWcdmRrcState; +typedef struct DMLogItemWcdmaAgcInfo DMLogItemWcdmaAgcInfo; /* DM_LOG_ITEM_WCDMA_RRC_STATE */ @@ -109,10 +128,19 @@ enum { DM_LOG_ITEM_WCDMA_RRC_STATE_URA_PCH = 5, }; -struct DMLogItemWcdmRrcState { +struct DMLogItemWcdmaRrcState { u_int8_t rrc_state; } __attribute__ ((packed)); -typedef struct DMLogItemWcdmRrcState DMLogItemWcdmRrcState; +typedef struct DMLogItemWcdmaRrcState DMLogItemWcdmaRrcState; + + +/* DM_LOG_ITEM_WCDMA_CELL_ID */ +struct DMLogItemWcdmaCellId { + u_int8_t unknown1[8]; + u_int32_t cellid; + u_int8_t unknown2[4]; +} __attribute__ ((packed)); +typedef struct DMLogItemWcdmaCellId DMLogItemWcdmaCellId; /* DM_LOG_ITEM_GSM_BURST_METRICS */ |