Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shweta Shrivastava
openairinterface5G
Commits
6998d303
Commit
6998d303
authored
Sep 15, 2020
by
Francesco Mani
Browse files
using different resource (with different symbol) in case 2 pucch in a slot
parent
cb5362ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
6998d303
...
...
@@ -1780,11 +1780,15 @@ void nr_acknack_scheduling(int Mod_idP,
int
get_pucch_resource
(
NR_UE_list_t
*
UE_list
,
int
UE_id
,
int
k
,
int
l
)
{
// to be updated later
// for now we are just using resource 0 for acknack pucch
// to be updated later, for now simple implementation
// use the second allocation just in case there is csi in the first
if
(
l
==
1
&&
UE_list
->
UE_sched_ctrl
[
UE_id
].
sched_pucch
[
k
][
0
].
csi_bits
==
0
)
return
-
1
;
// in that case use second resource (for a different symbol) see 9.2 in 38.213
if
(
l
==
1
)
{
if
(
UE_list
->
UE_sched_ctrl
[
UE_id
].
sched_pucch
[
k
][
0
].
csi_bits
==
0
)
return
-
1
;
else
return
1
;
}
else
return
0
;
...
...
openair2/RRC/NR/rrc_gNB_reconfig.c
View file @
6998d303
...
...
@@ -906,7 +906,7 @@ void fill_default_secondaryCellGroup(NR_ServingCellConfigCommon_t *servingcellco
ASN_SEQUENCE_ADD
(
&
pucch_Config
->
resourceToAddModList
->
list
,
pucchres1
);
pucchres2
->
pucch_ResourceId
=
3
;
pucchres2
->
startingPRB
=
32
;
pucchres2
->
startingPRB
=
40
;
pucchres2
->
intraSlotFrequencyHopping
=
NULL
;
pucchres2
->
secondHopPRB
=
NULL
;
pucchres2
->
format
.
present
=
NR_PUCCH_Resource__format_PR_format2
;
...
...
@@ -917,7 +917,7 @@ void fill_default_secondaryCellGroup(NR_ServingCellConfigCommon_t *servingcellco
ASN_SEQUENCE_ADD
(
&
pucch_Config
->
resourceToAddModList
->
list
,
pucchres2
);
pucchres3
->
pucch_ResourceId
=
4
;
pucchres3
->
startingPRB
=
32
;
pucchres3
->
startingPRB
=
40
;
pucchres3
->
intraSlotFrequencyHopping
=
NULL
;
pucchres3
->
secondHopPRB
=
NULL
;
pucchres3
->
format
.
present
=
NR_PUCCH_Resource__format_PR_format2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment