From 699b8dca49df30b7bf6db7090eb416d1ad4fd46d Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Mon, 29 Jun 2015 14:05:55 +0200 Subject: ms: Add first_common_ts method to GprsMs This method gets the index (0 based) of first common time slot used by the TBFs attach to it. It expects that all of them have the same notion of this. If no TBF is attached, -1 will be returned. Sponsored-by: On-Waves ehf --- src/gprs_ms.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gprs_ms.h') diff --git a/src/gprs_ms.h b/src/gprs_ms.h index 3d0195ce..17ee41bd 100644 --- a/src/gprs_ms.h +++ b/src/gprs_ms.h @@ -76,6 +76,8 @@ public: uint8_t current_cs_ul() const; uint8_t current_cs_dl() const; + int first_common_ts() const; + gprs_llc_queue *llc_queue(); const gprs_llc_queue *llc_queue() const; -- cgit v1.2.3