From 219ece83a3ffe7fa2bd58943cddb47a3eacc2fab Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 24 Feb 2013 11:09:19 +0100 Subject: TRX: Implementation of MS power and timing advance loops --- src/osmo-bts-trx/l1_if.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/osmo-bts-trx/l1_if.h') diff --git a/src/osmo-bts-trx/l1_if.h b/src/osmo-bts-trx/l1_if.h index 0f4e8113..eea49639 100644 --- a/src/osmo-bts-trx/l1_if.h +++ b/src/osmo-bts-trx/l1_if.h @@ -62,6 +62,15 @@ struct trx_chan_state { int dl_encr_key_len; uint8_t ul_encr_key[8]; uint8_t dl_encr_key[8]; + struct { + uint8_t clock; /* cyclic clock counter */ + int8_t rssi[32]; /* last RSSI values */ + int rssi_count; /* received RSSI values */ + int rssi_valid_count; /* number of stored value */ + int rssi_got_burst; /* any burst received so far */ + float toa_sum; /* sum of TOA values */ + int toa_num; /* number of TOA value */ + } meas; }; struct trx_config { -- cgit v1.2.3