From 9ae367f639b3f4cf77d9ddef3bbbef710b7f29fe Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 26 Oct 2013 16:42:38 +0200 Subject: 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. --- src/bts.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/bts.cpp') 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); +} -- cgit v1.2.3