Temporary fix in pathloss computation for do-ra
This commit is contained in:
@@ -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__,
|
||||||
|
|||||||
Reference in New Issue
Block a user