hotfix for harq_pid
This commit is contained in:
@@ -278,7 +278,7 @@ int nr_dlsch_encoding(unsigned char *a,
|
|||||||
|
|
||||||
unsigned int G;
|
unsigned int G;
|
||||||
unsigned int crc=1;
|
unsigned int crc=1;
|
||||||
uint8_t harq_pid = dlsch->harq_ids[frame&2][slot];
|
uint8_t harq_pid = dlsch->harq_ids[frame%2][slot];
|
||||||
AssertFatal(harq_pid<8 && harq_pid>=0,"illegal harq_pid %d\b",harq_pid);
|
AssertFatal(harq_pid<8 && harq_pid>=0,"illegal harq_pid %d\b",harq_pid);
|
||||||
nfapi_nr_dl_config_dlsch_pdu_rel15_t rel15 = dlsch->harq_processes[harq_pid]->dlsch_pdu.dlsch_pdu_rel15;
|
nfapi_nr_dl_config_dlsch_pdu_rel15_t rel15 = dlsch->harq_processes[harq_pid]->dlsch_pdu.dlsch_pdu_rel15;
|
||||||
uint16_t nb_rb = rel15.n_prb;
|
uint16_t nb_rb = rel15.n_prb;
|
||||||
|
|||||||
Reference in New Issue
Block a user