aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-25 20:22:35 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-12-25 20:35:58 +0100
commitbf0d0c7c32efae34e572db74ef1f483102c86074 (patch)
tree0ec80fed0c3ef0349a548b00a46ecf8c6f9ad7b1 /src/tbf.cpp
parent4c2b67a1b2f702f6a672d1a1f2ef02dd643cc783 (diff)
tbf: Kill the tsc member as it duplicates data
We can just use first_ts and the trx/pdch to extract this information. Avoid duplication of data.
Diffstat (limited to 'src/tbf.cpp')
-rw-r--r--src/tbf.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tbf.cpp b/src/tbf.cpp
index b8b76ea9..a91193d2 100644
--- a/src/tbf.cpp
+++ b/src/tbf.cpp
@@ -1750,3 +1750,8 @@ void gprs_rlcmac_tbf::rotate_in_list()
else
llist_add(&list, &bts->bts_data()->dl_tbfs);
}
+
+uint8_t gprs_rlcmac_tbf::tsc() const
+{
+ return trx->pdch[first_ts].tsc;
+}