Fix: interference power measurement on DRS.

This commit is contained in:
Haruki NAOI
2020-11-26 17:38:56 +09:00
committed by shono.takafumi
parent 2529c20bff
commit ce405789d3
5 changed files with 85 additions and 5 deletions
+1 -1
View File
@@ -1605,7 +1605,7 @@ void fill_rx_indication(PHY_VARS_eNB *eNB,
pdu->rx_indication_rel8.timing_advance = timing_advance_update;
// estimate UL_CQI for MAC (from antenna port 0 only)
int SNRtimes10 = dB_fixed_times10(eNB->pusch_vars[UE_id]->ulsch_power[0]) - 10 * eNB->measurements.n0_subband_power_dB[0][0];
int SNRtimes10 = dB_fixed_times10(eNB->pusch_vars[UE_id]->ulsch_power[0]) - dB_fixed_times10(eNB->pusch_vars[UE_id]->ulsch_interference_power[0]);
if (SNRtimes10 < -640)
pdu->rx_indication_rel8.ul_cqi = 0;