From 9a9739c6ab56f0ad202bf24e82a0702072c608f6 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 21 Jul 2016 14:24:37 +0200 Subject: 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 --- TODO-RELEASE | 3 ++- include/osmocom/gsm/l1sap.h | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 */ }; -- cgit v1.2.3