aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-19 10:59:58 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-29 11:43:17 +0200
commitcb1b494c896243a92a1969bb4c0ee4baddad2423 (patch)
treeb47823e288af93eb03e942a38aa65bcae1fe51bb /src/bts.h
parent6d86628e5b6d81afae4ca1f24201ee90bfab1c2a (diff)
tbf: Add BTS::ms_alloc method
Currently the code that creates the MS objects with tbf.cpp is duplicated. This commit moves the corresponding code into a new method. Since there is no TLLI available there, the GprsMsStorage::create_ms method has been refactored into two variants: one with TLLI/direction and one without. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index f2db318..7e34db5 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -229,6 +229,7 @@ public:
GprsMsStorage &ms_store();
GprsMs *ms_by_tlli(uint32_t tlli, uint32_t old_tlli = 0);
+ GprsMs *ms_alloc(uint8_t ms_class);
/*
* Statistics