aboutsummaryrefslogtreecommitdiffstats
path: root/src/sba.cpp
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.cpp
parent05f8efc1a26426d4f88d768049cf1d35eca55118 (diff)
sba/pdch: Use thepdch to look up a sba for a frame number
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 73968118..d87a9a3b 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;