mirror of https://github.com/PentHertz/srsLTE.git
fixed cfi check in find ul dci
This commit is contained in:
parent
4ae2c19092
commit
4da2fce014
|
@ -376,7 +376,7 @@ static int dci_blind_search(srslte_ue_dl_t *q, dci_blind_search_t *search_space,
|
||||||
|
|
||||||
int srslte_ue_dl_find_ul_dci(srslte_ue_dl_t *q, uint32_t cfi, uint32_t sf_idx, uint16_t rnti, srslte_dci_msg_t *dci_msg)
|
int srslte_ue_dl_find_ul_dci(srslte_ue_dl_t *q, uint32_t cfi, uint32_t sf_idx, uint16_t rnti, srslte_dci_msg_t *dci_msg)
|
||||||
{
|
{
|
||||||
if (rnti && cfi > 1 && cfi < 4) {
|
if (rnti && cfi > 0 && cfi < 4) {
|
||||||
/* Do not search if an UL DCI is already pending */
|
/* Do not search if an UL DCI is already pending */
|
||||||
if (q->pending_ul_dci_rnti == rnti) {
|
if (q->pending_ul_dci_rnti == rnti) {
|
||||||
q->pending_ul_dci_rnti = 0;
|
q->pending_ul_dci_rnti = 0;
|
||||||
|
|
Loading…
Reference in New Issue