ue->measurements.wideband_cqi_avg is incorrect when dmrs_TypeA_Position=1
I am using gNB and UE in phy-test mode in the current developer branch 122a5ce9.
I wanted to test different DMRS configurations by changing the gNB config
dmrs_TypeA_position
0 = pos2, 1 = pos3
dmrs_TypeA_Position = 1;
It seems the UE doesn't estimate SNR well when DMRS is set to pos3. This is the output of ue->measurements.wideband_cqi_avg for different values of dmrs_TypeA_Position. Everything else is the same in these two runs.
dmrs_TypeA_Position 0
[PHY] Noise Power Computation: k1 1000 k2 24 n0 avg 8493 n0 tot 5073 [PHY] [gNB 0] Slot 1, RSSI 51 dBm/RE, WBandCQI 12 dB, rxPwrAvg 51 dB, n0PwrAvg 39 dB, Instant CQI 11 dBdmrs_TypeA_Position 1
[PHY] Noise Power Computation: k1 1000 k2 24 n0 avg 8365 n0 tot 8484 [PHY] [gNB 0] Slot 1, RSSI 0 dBm/RE, WBandCQI -39 dB, rxPwrAvg 0 dB, n0PwrAvg 39 dB, Instant CQI -39 dBThanks!