diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-07-07 19:14:44 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2019-07-10 15:48:33 +0000 |
commit | d1f15bd8964b97f7938ac370774db5b621c8c12b (patch) | |
tree | b0f4aa3b13b2862388ff682ce8c983ecf2afeebd | |
parent | e2425485c4b9ab2be9acee0102ea9044576052ba (diff) |
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
-rw-r--r-- | include/osmocom/gsm/l1sap.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |