summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-07-21 14:24:37 +0200
committerHarald Welte <laforge@gnumonks.org>2016-08-04 15:05:57 +0000
commit9a9739c6ab56f0ad202bf24e82a0702072c608f6 (patch)
tree23f0b3b01f1dcbc8d678478efbe5e984dfca80bc /include/osmocom/gsm
parent460f9ef7da1db11b104fdfe635ebcbd8a071f205 (diff)
Extend L1SAP with Measurements
We already have RSSI parameter in PH-DATA. Add other measurement information (BER, BTO, Link Quality). Change-Id: I2b127eb1856c4cd1bc46490a89592a595f1ee86b Related: OS#1616
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/l1sap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/gsm/l1sap.h b/include/osmocom/gsm/l1sap.h
index 098e4f07..f0e9f6c9 100644
--- a/include/osmocom/gsm/l1sap.h
+++ b/include/osmocom/gsm/l1sap.h
@@ -70,6 +70,9 @@ struct ph_data_param {
uint8_t chan_nr; /*!< \brief Channel Number (Like RSL) */
uint32_t fn; /*!< \brief GSM Frame Number */
int8_t rssi; /*!< \brief RSSI of receivedindication */
+ 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 */
enum osmo_ph_pres_info_type pdch_presence_info; /*!< \brief Info regarding presence/validity of header and data parts */
};