aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-03-16 16:15:01 +0100
committerHarald Welte <laforge@gnumonks.org>2013-03-17 17:16:18 +0100
commit570b44b29bf1186448e2838a537e1c2e250585fe (patch)
tree929e4e5a4b592eba2f6efc771cb19bfea941c5d9 /src/gprs_rlcmac.cpp
parent0b874b64ef36fb2abc87ed2c0ea52b6fa582fa4b (diff)
Add RSSI of data blocks to PCU interface0.2.00.2
This bumps the PCU API version to 5 and requires osmo-bts >= 0.2.0.
Diffstat (limited to 'src/gprs_rlcmac.cpp')
-rw-r--r--src/gprs_rlcmac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gprs_rlcmac.cpp b/src/gprs_rlcmac.cpp
index 8824fd58..ff4cbddb 100644
--- a/src/gprs_rlcmac.cpp
+++ b/src/gprs_rlcmac.cpp
@@ -1145,7 +1145,7 @@ void gprs_rlcmac_enqueue_block(bitvec *block, int len)
/* received RLC/MAC block from L1 */
int gprs_rlcmac_rcv_block(uint8_t trx, uint8_t ts, uint8_t *data, uint8_t len,
- uint32_t fn)
+ uint32_t fn, int8_t rssi)
{
unsigned payload = data[0] >> 6;
bitvec *block;
@@ -1154,7 +1154,7 @@ int gprs_rlcmac_rcv_block(uint8_t trx, uint8_t ts, uint8_t *data, uint8_t len,
switch (payload) {
case GPRS_RLCMAC_DATA_BLOCK:
rc = gprs_rlcmac_rcv_data_block_acknowledged(trx, ts, data,
- len);
+ len, rssi);
break;
case GPRS_RLCMAC_CONTROL_BLOCK:
block = bitvec_alloc(len);