Minor fixes
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
//#define DEBUG_PDCCH_DMRS
|
//#define DEBUG_PDCCH_DMRS
|
||||||
//#define DEBUG_DCI
|
//#define DEBUG_DCI
|
||||||
|
#define DEBUG_POLAR_PARAMS
|
||||||
|
|
||||||
extern short nr_mod_table[NR_MOD_TABLE_SIZE_SHORT];
|
extern short nr_mod_table[NR_MOD_TABLE_SIZE_SHORT];
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define SHRT_MAX 32767
|
//#define SHRT_MAX 32767
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/// Indicator of first transmission
|
/// Indicator of first transmission
|
||||||
|
|||||||
@@ -606,11 +606,11 @@ int RCconfig_NRRRC(MessageDef *msg_p, uint32_t i, gNB_RRC_INST *rrc) {
|
|||||||
paramdef_t GNBParams[] = GNBPARAMS_DESC;
|
paramdef_t GNBParams[] = GNBPARAMS_DESC;
|
||||||
paramlist_def_t GNBParamList = {GNB_CONFIG_STRING_GNB_LIST,NULL,0};
|
paramlist_def_t GNBParamList = {GNB_CONFIG_STRING_GNB_LIST,NULL,0};
|
||||||
////////// Physical parameters
|
////////// Physical parameters
|
||||||
checkedparam_t config_check_CCparams[] = NRCCPARAMS_CHECK;
|
//checkedparam_t config_check_CCparams[] = NRCCPARAMS_CHECK;
|
||||||
paramdef_t CCsParams[] = NRCCPARAMS_DESC;
|
paramdef_t CCsParams[] = NRCCPARAMS_DESC;
|
||||||
paramlist_def_t CCsParamList = {GNB_CONFIG_STRING_COMPONENT_CARRIERS,NULL,0};
|
paramlist_def_t CCsParamList = {GNB_CONFIG_STRING_COMPONENT_CARRIERS,NULL,0};
|
||||||
|
|
||||||
paramdef_t SRB1Params[] = SRB1PARAMS_DESC;
|
//paramdef_t SRB1Params[] = SRB1PARAMS_DESC;
|
||||||
|
|
||||||
/* get global parameters, defined outside any section in the config file */
|
/* get global parameters, defined outside any section in the config file */
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ void nr_schedule_css_dlsch_phytest(module_id_t module_idP,
|
|||||||
uint8_t CC_id;
|
uint8_t CC_id;
|
||||||
|
|
||||||
gNB_MAC_INST *nr_mac = RC.nrmac[module_idP];
|
gNB_MAC_INST *nr_mac = RC.nrmac[module_idP];
|
||||||
NR_COMMON_channels_t *cc = nr_mac->common_channels;
|
//NR_COMMON_channels_t *cc = nr_mac->common_channels;
|
||||||
nfapi_nr_dl_config_request_body_t *dl_req;
|
nfapi_nr_dl_config_request_body_t *dl_req;
|
||||||
nfapi_nr_dl_config_request_pdu_t *dl_config_pdu;
|
nfapi_nr_dl_config_request_pdu_t *dl_config_pdu;
|
||||||
nfapi_tx_request_pdu_t *TX_req;
|
nfapi_tx_request_pdu_t *TX_req;
|
||||||
|
|||||||
@@ -604,7 +604,7 @@ void fh_if4p5_north_asynch_in(RU_t *ru,int *frame,int *subframe) {
|
|||||||
RU_proc_t *proc = &ru->proc;
|
RU_proc_t *proc = &ru->proc;
|
||||||
|
|
||||||
uint16_t packet_type;
|
uint16_t packet_type;
|
||||||
uint32_t symbol_number,symbol_mask,symbol_mask_full;
|
uint32_t symbol_number,symbol_mask,symbol_mask_full=0;
|
||||||
int subframe_tx,frame_tx;
|
int subframe_tx,frame_tx;
|
||||||
|
|
||||||
LOG_D(PHY, "%s(ru:%p frame, subframe)\n", __FUNCTION__, ru);
|
LOG_D(PHY, "%s(ru:%p frame, subframe)\n", __FUNCTION__, ru);
|
||||||
|
|||||||
@@ -396,8 +396,8 @@ static void *scope_thread(void *arg) {
|
|||||||
for(CC_id=0; CC_id<MAX_NUM_CCs; CC_id++) {
|
for(CC_id=0; CC_id<MAX_NUM_CCs; CC_id++) {
|
||||||
if ((ue_cnt<scope_enb_num_ue)) {
|
if ((ue_cnt<scope_enb_num_ue)) {
|
||||||
phy_scope_eNB(form_enb[CC_id][ue_cnt],
|
phy_scope_eNB(form_enb[CC_id][ue_cnt],
|
||||||
RC.gNB[0][CC_id],
|
RC.gNB[0][CC_id],
|
||||||
UE_id);
|
UE_id);
|
||||||
ue_cnt++;
|
ue_cnt++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user