Commit 8cd87999 authored by Roberto Louro Magueta's avatar Roberto Louro Magueta

Update range for reported RSRP

parent 3ca83257
...@@ -2756,10 +2756,10 @@ uint8_t get_csirs_RSRP_payload(NR_UE_MAC_INST_t *mac, ...@@ -2756,10 +2756,10 @@ uint8_t get_csirs_RSRP_payload(NR_UE_MAC_INST_t *mac,
// TODO: Improvements will be needed to cri_ssbri_bitlen>0 // TODO: Improvements will be needed to cri_ssbri_bitlen>0
// TS 38.133 - Table 10.1.6.1-1 // TS 38.133 - Table 10.1.6.1-1
int rsrp_dBm = mac->csirs_measurements.rsrp_dBm; int rsrp_dBm = mac->csirs_measurements.rsrp_dBm;
if (rsrp_dBm < -139) { if (rsrp_dBm < -140) {
temp_payload = 17; temp_payload = 16;
} else if (rsrp_dBm > -45) { } else if (rsrp_dBm > -44) {
temp_payload = 112; temp_payload = 113;
} else { } else {
temp_payload = mac->csirs_measurements.rsrp_dBm + 157; temp_payload = mac->csirs_measurements.rsrp_dBm + 157;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment