aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_ms.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-04-20 17:18:34 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-04-21 14:36:28 +0200
commit4673eb0b7615f726291d2a21d973d10635c97530 (patch)
tree508951dea0c9990873aee7759877c3404ddb11f7 /src/gprs_ms.h
parentf086fede93535d9019b1c515ece6508f5319f83f (diff)
ms: Log MS active/idle state in 'show ms' VTY commands
Diffstat (limited to 'src/gprs_ms.h')
-rw-r--r--src/gprs_ms.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gprs_ms.h b/src/gprs_ms.h
index b2b3274f..ef1cc4e5 100644
--- a/src/gprs_ms.h
+++ b/src/gprs_ms.h
@@ -80,6 +80,8 @@ struct GprsMs {
struct osmo_use_count use_count;
struct osmo_timer_list release_timer;
+ /* Time at which MS became idle and waiting to be released by release_timer: */
+ struct timeval tv_idle_start;
int64_t last_cs_not_low;