From d1f15bd8964b97f7938ac370774db5b621c8c12b Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sun, 7 Jul 2019 19:14:44 +0700 Subject: libosmogsm/l1sap.h: extend ph_rach_ind_param with lqual_cb The link quality, defined by C/I (Carrier-to-Interference) ratio, can be computed from the training sequence of each burst, where we can compare the "ideal" training sequence with the actual training sequence and then express that in cB (centiBels, dB * 10). By analogy with both RSSI and ToA, it can be used to filter out false-positive detections and ghost Access Bursts. Change-Id: Ie2a66ebd040b61d6daf49e04bf8a84d3d64764ee --- include/osmocom/gsm/l1sap.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/osmocom/gsm/l1sap.h b/include/osmocom/gsm/l1sap.h index 9a9c008d..19cc87a3 100644 --- a/include/osmocom/gsm/l1sap.h +++ b/include/osmocom/gsm/l1sap.h @@ -68,6 +68,7 @@ struct ph_rach_ind_param { 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 */ + int16_t lqual_cb; /* !< Link quality in centiBel */ }; /*! for PH-[UNIT]DATA.{req,ind} | PH-RTS.ind */ -- cgit v1.2.3