diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-03-17 16:33:11 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-03-17 17:43:02 +0100 |
commit | 5cbc7e91676a70bce1855ef2613c227baca8ef4f (patch) | |
tree | 41112f2c49b9f8ce6f6114fef047e6ec77af7161 /src/common/pcu_sock.c | |
parent | 4ad8d4d3c0e46fa50fe421c6957db1ea4b048b62 (diff) |
Get RSSI from received uplink data and send to PCU
This bumps the PCU API version and thus requires a new version of the
code on the sysmoBTS side!
Diffstat (limited to 'src/common/pcu_sock.c')
-rw-r--r-- | src/common/pcu_sock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index 27d0f39d..a90caacf 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -315,7 +315,8 @@ int pcu_tx_rts_req(struct gsm_bts_trx_ts *ts, uint8_t is_ptcch, uint32_t fn, } int pcu_tx_data_ind(struct gsm_bts_trx_ts *ts, uint8_t is_ptcch, uint32_t fn, - uint16_t arfcn, uint8_t block_nr, uint8_t *data, uint8_t len) + uint16_t arfcn, uint8_t block_nr, uint8_t *data, uint8_t len, + int8_t rssi) { struct msgb *msg; struct gsm_pcu_if *pcu_prim; @@ -338,6 +339,7 @@ int pcu_tx_data_ind(struct gsm_bts_trx_ts *ts, uint8_t is_ptcch, uint32_t fn, data_ind->trx_nr = ts->trx->nr; data_ind->ts_nr = ts->nr; data_ind->block_nr = block_nr; + data_ind->rssi = rssi; memcpy(data_ind->data, data, len); data_ind->len = len; |