sba/pdch: Use thepdch to look up a sba for a frame number
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 @@
class BTS;
class PollController;
struct gprs_rlcmac_sba;
+struct gprs_rlcmac_pdch;
/*
* single block allocation entry
@@ -53,6 +54,7 @@
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);