aboutsummaryrefslogtreecommitdiffstats
path: root/src/sba.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sba.cpp')
-rw-r--r--src/sba.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sba.cpp b/src/sba.cpp
index 7396811..d87a9a3 100644
--- a/src/sba.cpp
+++ b/src/sba.cpp
@@ -98,6 +98,11 @@ gprs_rlcmac_sba *SBAController::find(uint8_t trx, uint8_t ts, uint32_t fn)
return NULL;
}
+gprs_rlcmac_sba *SBAController::find(const gprs_rlcmac_pdch *pdch, uint32_t fn)
+{
+ return find(pdch->trx_no(), pdch->ts_no, fn);
+}
+
uint32_t SBAController::sched(uint8_t trx, uint8_t ts, uint32_t fn, uint8_t block_nr)
{
uint32_t sba_fn;