aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-26 16:42:38 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:10 +0100
commit9ae367f639b3f4cf77d9ddef3bbbef710b7f29fe (patch)
treedd3c34459045843afde63f37c356a191d1d2414c /src/bts.cpp
parentb65e08a7be6cb7e94248dbf7c8d46e9f30511c9d (diff)
pdch: Instead of passing bts, trx, ts use the pdch
All dispatching will go through the PDCH. This will clean a lot of the look-ups inside the gprs_rlcmac_data.c and continue with adding structure to the pcu code.
Diffstat (limited to 'src/bts.cpp')
-rw-r--r--src/bts.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index b2ec50fc..83c50297 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -339,3 +339,9 @@ void gprs_rlcmac_pdch::add_paging(struct gprs_rlcmac_paging *pag)
{
llist_add(&pag->list, &paging_list);
}
+
+int gprs_rlcmac_pdch::rcv_block(uint8_t *data, uint8_t len, uint32_t fn, int8_t rssi)
+{
+ return gprs_rlcmac_rcv_block(trx->bts->bts_data(),
+ trx->trx_no, ts_no, data, len, fn, rssi);
+}