aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_ms.cpp
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-05-12 17:54:33 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-05-20 11:36:12 +0200
commit536708617505a017b6b263a32f592471913ec464 (patch)
treef28edb7214a6bfac7d9386b50ea456c6eb9898f5 /src/gprs_ms.cpp
parentdfef28de887eba43747bca52584f8310450e243a (diff)
ms: Add MS storage class
Currently the MS objects are contained in the TBF objects only. To allow for an extended life time after the TBF objects have been freed and to find them based on TLLI, a container for the MS objects is needed. This commit adds the container class and also adds the corresponding m_list member to GprsMs. Further integration into the PCU code is not yet done. Ticket: #1674 Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gprs_ms.cpp')
-rw-r--r--src/gprs_ms.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gprs_ms.cpp b/src/gprs_ms.cpp
index d9d74f4d..af9e834b 100644
--- a/src/gprs_ms.cpp
+++ b/src/gprs_ms.cpp
@@ -59,7 +59,8 @@ GprsMs::GprsMs(uint32_t tlli) :
m_dl_tbf(NULL),
m_tlli(tlli),
m_is_idle(true),
- m_ref(0)
+ m_ref(0),
+ m_list(this)
{
LOGP(DRLCMAC, LOGL_INFO, "Creating MS object, TLLI = 0x%08x\n", tlli);
}