aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-09-20 17:55:28 +0200
committerMax <msuraev@sysmocom.de>2018-01-26 12:57:05 +0100
commitd000d80968ce6292d6715008ed803ec1f41b6a10 (patch)
tree3231deb5de5b74a10083c167391352ecaeacaf2f /src/bts.h
parent92e9c17aec02006a38922c41f9c5b59df6c45ea0 (diff)
Simplify TS alloc: use defines for constants
* define and use constant for occupied TFI instead copying the same magic number all over the place * use libosmocore's define for bit pretty-printer Change-Id: I2699ceebf0cbec01652a02fa68ccc9e9419d0293 Related: OS#2282
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 8d3a3cc..34326b8 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -44,6 +44,7 @@ extern "C" {
#define LLC_CODEL_DISABLE 0
#define LLC_CODEL_USE_DEFAULT (-1)
#define MAX_GPRS_CS 9
+#define NO_FREE_TFI 0xffffffff
/* see bts->gsmtap_categ_mask */
enum pcu_gsmtap_category {