aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-19 21:10:38 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:10 +0100
commit34bd8bdf30769b5aab50b87045ff2b621429c7be (patch)
tree2f3fcf6daeacb0666a09bacff10cb30275f31720 /src/gprs_rlcmac.h
parent9f0c1d216a0596f733c55d787ef0eb0693362d49 (diff)
bts/tbf: Move the lists into the BTS and do the look-up from the BTS
The list belongs to the BTS. This makes cleaning this up more easy and establishes a hierachy of resources that start from the BTS. The debug_diagram code is now broken.
Diffstat (limited to 'src/gprs_rlcmac.h')
-rw-r--r--src/gprs_rlcmac.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gprs_rlcmac.h b/src/gprs_rlcmac.h
index 3a2569c3..90c1b775 100644
--- a/src/gprs_rlcmac.h
+++ b/src/gprs_rlcmac.h
@@ -44,6 +44,7 @@ extern "C" {
struct gprs_rlcmac_tbf;
struct gprs_rlcmac_bts;
+struct BTS;
#ifdef __cplusplus
/*
@@ -67,9 +68,9 @@ struct gprs_rlcmac_cs {
extern struct gprs_rlcmac_cs gprs_rlcmac_cs[];
#ifdef DEBUG_DIAGRAM
-void debug_diagram(int diag, const char *format, ...);
+void debug_diagram(BTS *bts, int diag, const char *format, ...);
#else
-#define debug_diagram(a, b, args...) ;
+#define debug_diagram(a, b, c, args...) ;
#endif
int gprs_rlcmac_received_lost(struct gprs_rlcmac_tbf *tbf, uint16_t received,
@@ -142,7 +143,7 @@ int gprs_rlcmac_rcv_rts_block(struct gprs_rlcmac_bts *bts,
uint8_t trx, uint8_t ts, uint16_t arfcn,
uint32_t fn, uint8_t block_nr);
-int gprs_rlcmac_imm_ass_cnf(uint8_t *data, uint32_t fn);
+int gprs_rlcmac_imm_ass_cnf(BTS *bts, uint8_t *data, uint32_t fn);
extern "C" {
#endif