aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs/osmo_signal.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-07-29 20:11:25 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-01 13:45:55 +0200
commit68a78099a06ac6ad3d4ebc8fc6c6a7c357e183dd (patch)
tree966de410d06b27000ef788be00b6fa7899bed6d4 /CommonLibs/osmo_signal.h
parent50c78dfe8583d66095e37c278bcb9333dc59ddc5 (diff)
lms: Drop rx_underruns rate ctr, add tx_drop_* rate ctr
After discussion in [1] and further look at the code, it became obvios rx_underrun events are not happening in general for any SDR (don't exist), so let's drop that counter. Instead, add Tx Dropped Packet counters, which were not accounted prior to this commit. [1] https://github.com/osmocom/osmo-trx/commit/bde55afd29fc9aae10eb11f6515821afa39b772d Change-Id: Iff1535c219a4695a511d383d7c4b06ef6eff959d
Diffstat (limited to 'CommonLibs/osmo_signal.h')
-rw-r--r--CommonLibs/osmo_signal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/CommonLibs/osmo_signal.h b/CommonLibs/osmo_signal.h
index ee7e2a4..ceb7d6f 100644
--- a/CommonLibs/osmo_signal.h
+++ b/CommonLibs/osmo_signal.h
@@ -48,9 +48,10 @@ enum SS_DEVICE {
/* signal cb for signal <SS_DEVICE,S_DEVICE_COUNTER_CHANGE> */
struct device_counters {
size_t chan;
- unsigned int rx_underruns;
unsigned int rx_overruns;
unsigned int tx_underruns;
unsigned int rx_dropped_events;
unsigned int rx_dropped_samples;
+ unsigned int tx_dropped_events;
+ unsigned int tx_dropped_samples;
};