diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-26 18:39:36 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 21:24:11 +0100 |
commit | 65be4808af7ca16a72446eb48ab9f33f8fa771db (patch) | |
tree | 3d3cda0f7ebfdc211ce6b49942958bf1d1fc04c6 /src/bts.h | |
parent | 6673005215decb4d54f4770b35e799aac2ef4136 (diff) |
pdch: Remove the the bts parameter from rcv_data_block_acknowledged
Diffstat (limited to 'src/bts.h')
-rw-r--r-- | src/bts.h | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -56,6 +56,9 @@ struct gprs_rlcmac_pdch { /* dispatching of messages */ int rcv_block(uint8_t *data, uint8_t len, uint32_t fn, int8_t rssi); + + gprs_rlcmac_bts *bts_data() const; + BTS *bts() const; #endif uint8_t m_is_enabled; /* TS is enabled */ @@ -73,7 +76,7 @@ struct gprs_rlcmac_pdch { #ifdef __cplusplus private: - int rcv_data_block_acknowledged(struct gprs_rlcmac_bts *bts, + int rcv_data_block_acknowledged( uint8_t trx, uint8_t ts, uint8_t *data, uint8_t len, int8_t rssi); int rcv_control_block(struct gprs_rlcmac_bts *bts, @@ -192,6 +195,16 @@ inline SBAController *BTS::sba() { return &m_sba; } + +inline BTS *gprs_rlcmac_pdch::bts() const +{ + return trx->bts; +} + +inline gprs_rlcmac_bts *gprs_rlcmac_pdch::bts_data() const +{ + return trx->bts->bts_data(); +} #endif #ifdef __cplusplus |