bugfix in dci1_1 size
This commit is contained in:
@@ -27,8 +27,8 @@
|
|||||||
#include "PHY/NR_REFSIG/nr_refsig.h"
|
#include "PHY/NR_REFSIG/nr_refsig.h"
|
||||||
#include "PHY/NR_UE_ESTIMATION/filt16a_32.h"
|
#include "PHY/NR_UE_ESTIMATION/filt16a_32.h"
|
||||||
|
|
||||||
#define DEBUG_CH
|
//#define DEBUG_CH
|
||||||
#define DEBUG_PUSCH
|
//#define DEBUG_PUSCH
|
||||||
|
|
||||||
int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
|
int nr_pusch_channel_estimation(PHY_VARS_gNB *gNB,
|
||||||
unsigned char Ns,
|
unsigned char Ns,
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
//#define NR_PBCH_DMRS_LENGTH_DWORD 5
|
//#define NR_PBCH_DMRS_LENGTH_DWORD 5
|
||||||
//#define NR_PBCH_DMRS_LENGTH 144
|
//#define NR_PBCH_DMRS_LENGTH 144
|
||||||
#define DEBUG_PUSCH
|
//#define DEBUG_PUSCH
|
||||||
|
|
||||||
#include "refsig_defs_ue.h"
|
#include "refsig_defs_ue.h"
|
||||||
#include "PHY/defs_nr_UE.h"
|
#include "PHY/defs_nr_UE.h"
|
||||||
|
|||||||
@@ -1742,7 +1742,7 @@ uint16_t nr_dci_size(NR_CellGroupConfig_t *secondaryCellGroup,
|
|||||||
dci_pdu->time_domain_assignment.nbits = (int)ceil(log2(num_entries));
|
dci_pdu->time_domain_assignment.nbits = (int)ceil(log2(num_entries));
|
||||||
size += dci_pdu->time_domain_assignment.nbits;
|
size += dci_pdu->time_domain_assignment.nbits;
|
||||||
// VRB to PRB mapping
|
// VRB to PRB mapping
|
||||||
if (pdsch_config->resourceAllocation == 1) {
|
if ((pdsch_config->resourceAllocation == 1) && (bwp->bwp_Dedicated->pdsch_Config->choice.setup->vrb_ToPRB_Interleaver != NULL)) {
|
||||||
dci_pdu->vrb_to_prb_mapping.nbits = 1;
|
dci_pdu->vrb_to_prb_mapping.nbits = 1;
|
||||||
size += dci_pdu->vrb_to_prb_mapping.nbits;
|
size += dci_pdu->vrb_to_prb_mapping.nbits;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user