mirror of https://github.com/PentHertz/srsLTE.git
Add PDCCH decoder correlation check in blind search
This commit is contained in:
parent
7c78fd2050
commit
e8f2b3a74c
|
@ -440,8 +440,16 @@ static int dci_blind_search(srsran_ue_dl_t* q,
|
||||||
return SRSRAN_ERROR;
|
return SRSRAN_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if RNTI is matched
|
||||||
if ((dci_msg[nof_dci].rnti == rnti) && (dci_msg[nof_dci].nof_bits > 0)) {
|
if ((dci_msg[nof_dci].rnti == rnti) && (dci_msg[nof_dci].nof_bits > 0)) {
|
||||||
dci_msg[nof_dci].rnti = rnti;
|
// Compute decoded message correlation to drastically reduce false alarm probability
|
||||||
|
float corr = srsran_pdcch_msg_corr(&q->pdcch, &dci_msg[nof_dci]);
|
||||||
|
|
||||||
|
// Skip candidate if the threshold is not reached
|
||||||
|
// 0.5 is set from pdcch_test
|
||||||
|
if (!isnormal(corr) || corr < 0.5f) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Look for the messages found and apply the new format if the location is common
|
// Look for the messages found and apply the new format if the location is common
|
||||||
if (search_in_common && (dci_cfg->multiple_csi_request_enabled || dci_cfg->srs_request_enabled)) {
|
if (search_in_common && (dci_cfg->multiple_csi_request_enabled || dci_cfg->srs_request_enabled)) {
|
||||||
|
|
Loading…
Reference in New Issue