aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs/osmo_signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'CommonLibs/osmo_signal.h')
-rw-r--r--CommonLibs/osmo_signal.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/CommonLibs/osmo_signal.h b/CommonLibs/osmo_signal.h
index ceb7d6f..003e7af 100644
--- a/CommonLibs/osmo_signal.h
+++ b/CommonLibs/osmo_signal.h
@@ -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,16 @@ 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;
+ unsigned int tx_unavailable_bursts;
+ unsigned int tx_trxd_fn_repeated;
+ unsigned int tx_trxd_fn_outoforder;
+ unsigned int tx_trxd_fn_skipped;
+ unsigned int rx_empty_burst;
+ unsigned int rx_clipping;
+ unsigned int rx_no_burst_detected;
+};