Fixed compilation issues
This commit is contained in:
@@ -396,7 +396,7 @@ add_definitions("-DPACKAGE_BUGREPORT=\"openair4g-devel@lists.eurecom.fr\"")
|
|||||||
|
|
||||||
# Debug related options
|
# Debug related options
|
||||||
#########################################
|
#########################################
|
||||||
add_boolean_option(ASN_DEBUG True "ASN1 coder/decoder Debug")
|
add_boolean_option(ASN_DEBUG False "ASN1 coder/decoder Debug")
|
||||||
add_boolean_option(EMIT_ASN_DEBUG False "ASN1 coder/decoder Debug")
|
add_boolean_option(EMIT_ASN_DEBUG False "ASN1 coder/decoder Debug")
|
||||||
add_boolean_option(MSG_PRINT False "print debug messages")
|
add_boolean_option(MSG_PRINT False "print debug messages")
|
||||||
add_boolean_option(DISABLE_XER_PRINT False "print XER Format")
|
add_boolean_option(DISABLE_XER_PRINT False "print XER Format")
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
|
||||||
set ( CMAKE_BUILD_TYPE "RelWithDebInfo" )
|
set ( CMAKE_BUILD_TYPE "RelWithDebInfo" )
|
||||||
set ( ASN_DEBUG True)
|
set ( ASN_DEBUG False)
|
||||||
set ( DEBUG_OMG False )
|
set ( DEBUG_OMG False )
|
||||||
set ( DISABLE_XER_PRINT False )
|
set ( DISABLE_XER_PRINT False )
|
||||||
set ( DRIVER2013 True )
|
set ( DRIVER2013 True )
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ int main(int argc, char **argv)
|
|||||||
NB_UE_INST = 1;
|
NB_UE_INST = 1;
|
||||||
//double pbch_sinr;
|
//double pbch_sinr;
|
||||||
//int pbch_tx_ant;
|
//int pbch_tx_ant;
|
||||||
int N_RB_DL=106,mu=2;
|
int N_RB_DL=106,mu=1;
|
||||||
|
|
||||||
//unsigned char frame_type = 0;
|
//unsigned char frame_type = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -330,9 +330,10 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
|
|||||||
gNB_MAC_INST *gNB = RC.nrmac[module_idP];
|
gNB_MAC_INST *gNB = RC.nrmac[module_idP];
|
||||||
NR_COMMON_channels_t *cc = gNB->common_channels;
|
NR_COMMON_channels_t *cc = gNB->common_channels;
|
||||||
NR_ServingCellConfigCommon_t *scc = cc->ServingCellConfigCommon;
|
NR_ServingCellConfigCommon_t *scc = cc->ServingCellConfigCommon;
|
||||||
|
const int bwp_id = *gNB->secondaryCellGroupCommon->spCellConfig->spCellConfigDedicated->firstActiveDownlinkBWP_Id;
|
||||||
|
|
||||||
|
|
||||||
// NR_TDD_UL_DL_Pattern_t *tdd_pattern = &scc->tdd_UL_DL_ConfigurationCommon->pattern1;
|
// NR_TDD_UL_DL_Pattern_t *tdd_pattern = &scc->tdd_UL_DL_ConfigurationCommon->pattern1;
|
||||||
// const int bwp_id = *gNB->secondaryCellGroupCommon->spCellConfig->spCellConfigDedicated->firstActiveDownlinkBWP_Id;
|
|
||||||
|
|
||||||
// switch(scc->tdd_UL_DL_ConfigurationCommon->pattern1.dl_UL_TransmissionPeriodicity) {
|
// switch(scc->tdd_UL_DL_ConfigurationCommon->pattern1.dl_UL_TransmissionPeriodicity) {
|
||||||
// case 0:
|
// case 0:
|
||||||
@@ -370,7 +371,7 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
|
|||||||
// default:
|
// default:
|
||||||
// AssertFatal(1==0,"Undefined tdd period %ld\n", scc->tdd_UL_DL_ConfigurationCommon->pattern1.dl_UL_TransmissionPeriodicity);
|
// AssertFatal(1==0,"Undefined tdd period %ld\n", scc->tdd_UL_DL_ConfigurationCommon->pattern1.dl_UL_TransmissionPeriodicity);
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (slot==0 && (*scc->downlinkConfigCommon->frequencyInfoDL->frequencyBandList.list.array[0]>=257)) {
|
if (slot==0 && (*scc->downlinkConfigCommon->frequencyInfoDL->frequencyBandList.list.array[0]>=257)) {
|
||||||
const NR_TDD_UL_DL_Pattern_t *tdd = &scc->tdd_UL_DL_ConfigurationCommon->pattern1;
|
const NR_TDD_UL_DL_Pattern_t *tdd = &scc->tdd_UL_DL_ConfigurationCommon->pattern1;
|
||||||
|
|||||||
@@ -106,10 +106,6 @@ void handle_nr_uci(NR_UL_IND_t *UL_info)
|
|||||||
|
|
||||||
UL_info->uci_ind.num_ucis = 0;
|
UL_info->uci_ind.num_ucis = 0;
|
||||||
|
|
||||||
// mark corresponding PUCCH resources as free
|
|
||||||
// NOTE: we just assume it is BWP ID 1, to be revised for multiple BWPs
|
|
||||||
//Abhi : TODO
|
|
||||||
RC.nrmac[mod_id]->pucch_index_used[1][slot] = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user