aboutsummaryrefslogtreecommitdiffstats
path: root/src/sba.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-26 18:56:43 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:11 +0100
commitdea63b96e0a918f5430b982f86c21c5ed0bc0647 (patch)
treec605d6688ef6d9b75699d2f8379c1f5273c5c61b /src/sba.h
parent05f8efc1a26426d4f88d768049cf1d35eca55118 (diff)
sba/pdch: Use thepdch to look up a sba for a frame number
Diffstat (limited to 'src/sba.h')
-rw-r--r--src/sba.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sba.h b/src/sba.h
index b8d7675..5709ad4 100644
--- a/src/sba.h
+++ b/src/sba.h
@@ -29,6 +29,7 @@ extern "C" {
class BTS;
class PollController;
struct gprs_rlcmac_sba;
+struct gprs_rlcmac_pdch;
/*
* single block allocation entry
@@ -53,6 +54,7 @@ public:
int alloc(uint8_t *_trx, uint8_t *_ts, uint32_t *_fn, uint8_t ta);
gprs_rlcmac_sba *find(uint8_t trx, uint8_t ts, uint32_t fn);
+ gprs_rlcmac_sba *find(const gprs_rlcmac_pdch *pdch, uint32_t fn);
uint32_t sched(uint8_t trx, uint8_t ts, uint32_t fn, uint8_t block_nr);