mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-02 13:13:17 +00:00
Introduce rate counter tx_stale_bursts
This allows checking if there's timing issues on the downlink side between osmo-bts-trx and osmo-trx. This counter is useful to find information about osmo-bts-trx 'fn-advance' setting, since this counter basically counts if burstrs from it arrived too late to osmo-trx. Change-Id: Id6df00da81f6d6884f4dddc5a2c4b354dca3af97
This commit is contained in:
@@ -43,6 +43,7 @@ enum SS_DEVICE {
|
||||
(struct device_counters). Must be sent with PTHREAD_CANCEL_DISABLE
|
||||
to avoid deadlocks in case osmo-trx process is asked to exit. */
|
||||
S_DEVICE_COUNTER_CHANGE,
|
||||
S_TRX_COUNTER_CHANGE, /* same, but for Transceiver class */
|
||||
};
|
||||
|
||||
/* signal cb for signal <SS_DEVICE,S_DEVICE_COUNTER_CHANGE> */
|
||||
@@ -55,3 +56,9 @@ struct device_counters {
|
||||
unsigned int tx_dropped_events;
|
||||
unsigned int tx_dropped_samples;
|
||||
};
|
||||
|
||||
/* signal cb for signal <SS_DEVICE,S_TRX_COUNTER_CHANGE> */
|
||||
struct trx_counters {
|
||||
size_t chan;
|
||||
unsigned int tx_stale_bursts; /* Amount of Tx bursts dropped to to arriving too late from TRXD */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user