aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-24 21:26:42 +0200
committerIvan Kluchnikov <kluchnikovi@gmail.com>2013-10-18 15:17:43 +0400
commit869212836534e82c41180003cc939bcfdf79b7f7 (patch)
tree80e3f33c2c711ea3bf225d080985410fa9499018 /src/tbf.h
parentbb20b2c64c5790c774bb179cee92aa01eb494cab (diff)
tbf: Move the alloc_ul_tbf into tbf.c and change signature
Add the bts parameter to the method list. This would be a static method of the class (in case the TBF would be a class)
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 1535e8c..330eac1 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -22,6 +22,11 @@
struct gprs_rlcmac_bts;
+/* dispatch Unitdata.DL messages */
int tbf_handle(struct gprs_rlcmac_bts *bts,
const uint32_t tlli, const char *imsi, const uint8_t ms_class,
const uint16_t delay_csec, const uint8_t *data, const uint16_t len);
+
+struct gprs_rlcmac_tbf *tbf_alloc_ul(struct gprs_rlcmac_bts *bts,
+ int8_t use_trx, uint8_t ms_class,
+ uint32_t tlli, uint8_t ta, struct gprs_rlcmac_tbf *dl_tbf);