summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--TODO-RELEASE3
-rw-r--r--include/osmocom/gsm/l1sap.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/TODO-RELEASE b/TODO-RELEASE
index ffdea4bd..472b3286 100644
--- a/TODO-RELEASE
+++ b/TODO-RELEASE
@@ -1,4 +1,5 @@
#library what description / commit summary line
libosmogsm internal API update Internal API for GPRS cipher implementors updated to accommodate for arbitrary key lengths
libosmocore change major external talloc dependency / internal talloc removal
-libosmocore change major size of ph_data_param struct changed / Extend L1SAP PH-DATA with presence information \ No newline at end of file
+libosmocore change major size of ph_data_param struct changed / Extend L1SAP PH-DATA with presence information
+libosmocore change major size of ph_data_param struct changed / Extend L1SAP PH-DATA with measurement information \ No newline at end of file
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 */
};