From a57f90c80baaf6c668ec8bb0272327bcbdd63b12 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 26 Feb 2018 11:49:59 +0100 Subject: l1sap: Add RSSI, BER and quarter-bit accurate timing to PH-RACH.ind Let's extend PH-RACH.ind with some useful data across the L1SAP boundary. Change-Id: I9439810c3a3ad89ea0302753617b850749af887c Related: OS#3003 --- include/osmocom/gsm/l1sap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/osmocom/gsm/l1sap.h b/include/osmocom/gsm/l1sap.h index 1bc1818f..18ad7d20 100644 --- a/include/osmocom/gsm/l1sap.h +++ b/include/osmocom/gsm/l1sap.h @@ -64,6 +64,10 @@ struct ph_rach_ind_param { uint32_t fn; /*!< GSM Frame Number at time of RA */ uint8_t is_11bit; /*!< no.of bits in RACH*/ enum ph_burst_type burst_type; /*!< type of burst*/ + /* elements added on 2018-02-26 */ + int8_t rssi; /*!< RSSI of RACH indication */ + uint16_t ber10k; /*!< BER in units of 0.01% */ + int16_t acc_delay_256bits;/* !< Burst TA Offset in 1/256th bits */ }; /*! for PH-[UNIT]DATA.{req,ind} | PH-RTS.ind */ -- cgit v1.2.3