summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-26 11:49:59 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-27 17:13:04 +0100
commita57f90c80baaf6c668ec8bb0272327bcbdd63b12 (patch)
tree2fc5748b3b3d70d18c0c0a6b8ae44d3408e694f6 /include/osmocom/gsm
parent726ba36201226fe1b0e768b27cb67bce45443df5 (diff)
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
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/l1sap.h4
1 files changed, 4 insertions, 0 deletions
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 */