aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/l1_if.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-03-16 16:46:13 +0100
committerHarald Welte <laforge@gnumonks.org>2015-09-22 16:41:27 +0200
commit5e2341411f25f4faa66ff9b4506e77d897b97daf (patch)
treec6bc4b0e7cf9cf9fd0b2aa6347eec61fa0fbc440 /src/osmo-bts-trx/l1_if.h
parent917cf7018b6a9ec778add719fcec1692f0e35931 (diff)
Get RSSI from received uplink data and send to PCU
Diffstat (limited to 'src/osmo-bts-trx/l1_if.h')
-rw-r--r--src/osmo-bts-trx/l1_if.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/l1_if.h b/src/osmo-bts-trx/l1_if.h
index 459496f6..ff5c3913 100644
--- a/src/osmo-bts-trx/l1_if.h
+++ b/src/osmo-bts-trx/l1_if.h
@@ -55,6 +55,10 @@ struct trx_chan_state {
uint32_t ul_first_fn; /* fn of first burst */
uint8_t ul_mask; /* mask of received bursts */
+ /* RSSI */
+ uint8_t rssi_num; /* number of RSSI values */
+ float rssi_sum; /* sum of RSSI values */
+
/* loss detection */
uint8_t lost; /* (SACCH) loss detection */