aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcuif_proto.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-07-28 14:54:13 +0200
committerHarald Welte <laforge@gnumonks.org>2016-08-04 15:06:12 +0000
commitcbf9a721d669ef0c724553f4604aee89f8e723dc (patch)
tree2d11c67e4bc3515e85551c21963bc454cd0950ad /src/pcuif_proto.h
parent505a86d396d4ee6e821e8337056e85362a55848f (diff)
Extend BTS <-> PCU protocol with measurement
Note: this increases the version of BTS <-> PCU protocol and thus requires corresponding change in BTS. Change-Id: Ide0e29b668ee38516605c1763fda85e87e867813 Related: OS#1616
Diffstat (limited to 'src/pcuif_proto.h')
-rw-r--r--src/pcuif_proto.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pcuif_proto.h b/src/pcuif_proto.h
index 9d740ac1..d3203802 100644
--- a/src/pcuif_proto.h
+++ b/src/pcuif_proto.h
@@ -1,7 +1,7 @@
#ifndef _PCUIF_PROTO_H
#define _PCUIF_PROTO_H
-#define PCU_IF_VERSION 0x05
+#define PCU_IF_VERSION 0x06
/* msg_type */
#define PCU_IF_MSG_DATA_REQ 0x00 /* send data to given channel */
@@ -50,6 +50,9 @@ struct gsm_pcu_if_data {
uint8_t ts_nr;
uint8_t block_nr;
int8_t rssi;
+ uint16_t ber10k; /*!< \brief BER in units of 0.01% */
+ int16_t ta_offs_qbits; /* !< \brief Burst TA Offset in quarter bits */
+ int16_t lqual_cb; /* !< \brief Link quality in centiBel */
} __attribute__ ((packed));
struct gsm_pcu_if_rts_req {