Commit b0dd17f9 authored by Robert Schmidt's avatar Robert Schmidt

Merge remote-tracking branch 'origin/NR_SR_bugfix' into integration_2022_wk10

parents b63c7b0e 0c5242ea
...@@ -79,7 +79,9 @@ void nr_fill_nfapi_pucch(module_id_t mod_id, ...@@ -79,7 +79,9 @@ void nr_fill_nfapi_pucch(module_id_t mod_id,
NR_BWP_UplinkDedicated_t *ubwpd; NR_BWP_UplinkDedicated_t *ubwpd;
ubwpd = cg ? cg->spCellConfig->spCellConfigDedicated->uplinkConfig->initialUplinkBWP:NULL; ubwpd = cg ? cg->spCellConfig->spCellConfigDedicated->uplinkConfig->initialUplinkBWP:NULL;
LOG_D(NR_MAC,"pucch_acknak: %d.%d Calling nr_configure_pucch (ubwpd %p,r_pucch %d) pucch in %d.%d\n",frame,slot,ubwpd,pucch->r_pucch,pucch->frame,pucch->ul_slot); LOG_D(NR_MAC,"%d.%d Calling nr_configure_pucch (ubwpd %p,r_pucch %d) pucch to be scheduled in %d.%d\n",
frame,slot,ubwpd,pucch->r_pucch,pucch->frame,pucch->ul_slot);
nr_configure_pucch(pucch_pdu, nr_configure_pucch(pucch_pdu,
scc, scc,
UE_info->CellGroup[UE_id], UE_info->CellGroup[UE_id],
...@@ -1880,12 +1882,13 @@ void nr_sr_reporting(int Mod_idP, frame_t SFN, sub_frame_t slot) ...@@ -1880,12 +1882,13 @@ void nr_sr_reporting(int Mod_idP, frame_t SFN, sub_frame_t slot)
} }
curr_pucch->sr_flag = true; curr_pucch->sr_flag = true;
} else { } else {
NR_sched_pucch_t sched_sr; NR_sched_pucch_t sched_sr = {
memset(&sched_sr, 0, sizeof(sched_sr)); .frame = SFN,
sched_sr.frame = SFN; .ul_slot = slot,
sched_sr.ul_slot = slot; .sr_flag = true,
sched_sr.resource_indicator = found; .resource_indicator = found,
sched_sr.sr_flag = true; .r_pucch = -1
};
nr_fill_nfapi_pucch(Mod_idP, SFN, slot, &sched_sr, UE_id); nr_fill_nfapi_pucch(Mod_idP, SFN, slot, &sched_sr, UE_id);
} }
} }
......
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