aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/l1_if.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-06-06 13:24:40 +0200
committerHarald Welte <laforge@gnumonks.org>2015-09-22 16:41:28 +0200
commitfb04746bce94a5cdd3e95500c59ad019e552f9c0 (patch)
tree959e4a520b3e68c64bbee09ce423a574321340b1 /src/osmo-bts-trx/l1_if.h
parent05597a7ddbf9e838caaeb36980cefaa728ab8eec (diff)
TRX: Report measurements
Diffstat (limited to 'src/osmo-bts-trx/l1_if.h')
-rw-r--r--src/osmo-bts-trx/l1_if.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/l1_if.h b/src/osmo-bts-trx/l1_if.h
index deae874c..9e4a3f47 100644
--- a/src/osmo-bts-trx/l1_if.h
+++ b/src/osmo-bts-trx/l1_if.h
@@ -55,9 +55,11 @@ struct trx_chan_state {
uint32_t ul_first_fn; /* fn of first burst */
uint8_t ul_mask; /* mask of received bursts */
- /* RSSI */
+ /* RSSI / TOA */
uint8_t rssi_num; /* number of RSSI values */
float rssi_sum; /* sum of RSSI values */
+ uint8_t toa_num; /* number of TOA values */
+ float toa_sum; /* sum of TOA values */
/* loss detection */
uint8_t lost; /* (SACCH) loss detection */
@@ -164,5 +166,7 @@ int check_transceiver_availability(struct gsm_bts *bts, int avail);
int l1if_provision_transceiver_trx(struct trx_l1h *l1h);
int l1if_provision_transceiver(struct gsm_bts *bts);
int l1if_mph_time_ind(struct gsm_bts *bts, uint32_t fn);
+int l1if_process_meas_res(struct gsm_bts_trx *trx, uint8_t chan_nr, float qta,
+ float ber, float rssi);
#endif /* L1_IF_H_TRX */