Commit 54a2d698 authored by Robert Schmidt's avatar Robert Schmidt

Fix build: test for slot from within preprocessor

parent 66568868
...@@ -372,9 +372,6 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP, ...@@ -372,9 +372,6 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
| BIT(11) | BIT(12) | BIT(13) | BIT(14) | BIT(15) | BIT(16); | BIT(11) | BIT(12) | BIT(13) | BIT(14) | BIT(15) | BIT(16);
const uint64_t ulsch_in_slot_bitmap = BIT( 8) | BIT(18); const uint64_t ulsch_in_slot_bitmap = BIT( 8) | BIT(18);
if (get_softmodem_params()->phy_test) // for testing with OAI-UE
dlsch_in_slot_bitmap = (1 << 1);
memset(RC.nrmac[module_idP]->cce_list[bwp_id][0],0,MAX_NUM_CCE*sizeof(int)); // coreset0 memset(RC.nrmac[module_idP]->cce_list[bwp_id][0],0,MAX_NUM_CCE*sizeof(int)); // coreset0
memset(RC.nrmac[module_idP]->cce_list[bwp_id][1],0,MAX_NUM_CCE*sizeof(int)); // coresetid 1 memset(RC.nrmac[module_idP]->cce_list[bwp_id][1],0,MAX_NUM_CCE*sizeof(int)); // coresetid 1
NR_UE_info_t *UE_info = &RC.nrmac[module_idP]->UE_info; NR_UE_info_t *UE_info = &RC.nrmac[module_idP]->UE_info;
......
...@@ -257,7 +257,7 @@ void nr_preprocessor_phytest(module_id_t module_id, ...@@ -257,7 +257,7 @@ void nr_preprocessor_phytest(module_id_t module_id,
frame_t frame, frame_t frame,
sub_frame_t slot) sub_frame_t slot)
{ {
if (slot != 1 && slot != 3) if (slot != 1)
return; return;
NR_UE_info_t *UE_info = &RC.nrmac[module_id]->UE_info; NR_UE_info_t *UE_info = &RC.nrmac[module_id]->UE_info;
const int UE_id = 0; const int UE_id = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment