Skip to content
Snippets Groups Projects
Commit ec1834c5 authored by Roberto Louro Magueta's avatar Roberto Louro Magueta
Browse files

Temporary fix in pathloss computation for do-ra

parent fbce3dc9
No related branches found
No related tags found
4 merge requests!1757Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c,!1493fix DL arq errors in UE,!1288WIP: integration_2021_wk41_bwt-abs,!1266WIP : Changes for initialBWP size different than Coreset0
...@@ -61,7 +61,7 @@ int16_t get_nr_PL(uint8_t Mod_id, uint8_t CC_id, uint8_t gNB_index){ ...@@ -61,7 +61,7 @@ int16_t get_nr_PL(uint8_t Mod_id, uint8_t CC_id, uint8_t gNB_index){
long referenceSignalPower = ue->nrUE_config.ssb_config.ss_pbch_power; long referenceSignalPower = ue->nrUE_config.ssb_config.ss_pbch_power;
pathloss = (int16_t)(referenceSignalPower - ue->measurements.rsrp_dBm[gNB_index]); pathloss = (int16_t)(referenceSignalPower - 30 + ue->rx_total_gain_dB);
LOG_D(MAC, "In %s: pathloss %d dB, UE RX total gain %d dB, referenceSignalPower %ld dBm/RE (%f mW), RSRP %d dBm (%f mW)\n", LOG_D(MAC, "In %s: pathloss %d dB, UE RX total gain %d dB, referenceSignalPower %ld dBm/RE (%f mW), RSRP %d dBm (%f mW)\n",
__FUNCTION__, __FUNCTION__,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment