aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-26 20:12:59 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:11 +0100
commitd9262b3b550d61ece3c3328608bf51e643c856eb (patch)
tree5ae954057ad64acdbc208b0bfdbc499aaa8dbf01 /src/tbf.h
parent40cfaa6837827bc1b5812bca17aa043b7ec67cf7 (diff)
tbf: Move gprs_rlcmac_poll_timeout into the tbf
Move the gprs_rlcmac_poll_timeout method into the tbf class and gprs_rlcmac_downlink_assignment into the BTS.
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 0f8e77d1..4afc6498 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -106,6 +106,8 @@ struct gprs_rlcmac_tbf {
void stop_timer();
void stop_t3191();
+ void poll_timeout();
+
struct llist_head list;
uint32_t state_flags;
enum gprs_rlcmac_tbf_direction direction;
@@ -207,6 +209,9 @@ struct gprs_rlcmac_tbf {
/* store the BTS this TBF belongs to */
BTS *bts;
+
+protected:
+ gprs_rlcmac_bts *bts_data() const;
};