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
diff --git a/TODO-RELEASE b/TODO-RELEASE
index ffdea4b..472b328 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 098e4f0..f0e9f6c 100644
--- a/include/osmocom/gsm/l1sap.h
+++ b/include/osmocom/gsm/l1sap.h
@@ -70,6 +70,9 @@
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 */
};