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/osmo-bts-sysmo/l1_if.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/osmo-bts-sysmo/l1_if.c')
-rw-r--r-- | src/osmo-bts-sysmo/l1_if.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c index bdba4c22..d2aecd5e 100644 --- a/src/osmo-bts-sysmo/l1_if.c +++ b/src/osmo-bts-sysmo/l1_if.c @@ -787,7 +787,8 @@ static int handle_ph_data_ind(struct femtol1_hdl *fl1, GsmL1_PhDataInd_t *data_i data_ind->u32Fn, data_ind->u16Arfcn, data_ind->u8BlockNbr, data_ind->msgUnitParam.u8Buffer + 1, - data_ind->msgUnitParam.u8Size - 1); + data_ind->msgUnitParam.u8Size - 1, + (int8_t) (data_ind->measParam.fRssi)); break; case GsmL1_Sapi_Ptcch: /* PTCCH frame handling */ @@ -795,7 +796,8 @@ static int handle_ph_data_ind(struct femtol1_hdl *fl1, GsmL1_PhDataInd_t *data_i data_ind->u32Fn, data_ind->u16Arfcn, data_ind->u8BlockNbr, data_ind->msgUnitParam.u8Buffer, - data_ind->msgUnitParam.u8Size); + data_ind->msgUnitParam.u8Size, + (int8_t) (data_ind->measParam.fRssi)); break; default: LOGP(DL1C, LOGL_NOTICE, "Rx PH-DATA.ind for unknown L1 SAPI %s\n", |