aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_ms.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-18 11:55:03 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-08-18 11:55:03 +0200
commit2b349b5d33050f6484c375e545ecb9f05a6be961 (patch)
treeb7969962b60bc2b0dd27f2c56e3dd8501ddb792b /src/gprs_ms.h
parentebebad1c92e8bcbe28780b4d5ee2ac32091089ff (diff)
ms: Move MS information merging to GprsMS
Currently the merging of the meta information (MS class, IMSI) takes place in gprs_rlcmac_tbf::merge_and_clear_ms(). This makes it difficult to merge the internal state and does not directly relate to TBFs anyway. This commit moves this into a new method GprsMs::merge_old_ms. Sponsored-by: On-Waves ehf
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 7f85578c..c490e7ab 100644
--- a/src/gprs_ms.h
+++ b/src/gprs_ms.h
@@ -63,6 +63,8 @@ public:
void set_callback(Callback *cb) {m_cb = cb;}
+ void merge_old_ms(GprsMs *old_ms);
+
gprs_rlcmac_ul_tbf *ul_tbf() const {return m_ul_tbf;}
gprs_rlcmac_dl_tbf *dl_tbf() const {return m_dl_tbf;}
gprs_rlcmac_tbf *tbf(enum gprs_rlcmac_tbf_direction dir) const;