Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
3307b8e9
Commit
3307b8e9
authored
Feb 05, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix UE uci on PUSCH config
parent
e8e618ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+8
-6
No files found.
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
3307b8e9
...
...
@@ -888,13 +888,15 @@ static void setup_puschconfig(NR_PUSCH_Config_t *source, NR_PUSCH_Config_t *targ
if
(
source
->
uci_OnPUSCH
->
present
==
NR_SetupRelease_UCI_OnPUSCH_PR_release
)
asn1cFreeStruc
(
asn_DEF_NR_UCI_OnPUSCH
,
target
->
uci_OnPUSCH
);
if
(
source
->
uci_OnPUSCH
->
present
==
NR_SetupRelease_UCI_OnPUSCH_PR_setup
)
{
if
(
target
->
uci_OnPUSCH
)
{
target
->
uci_OnPUSCH
->
choice
.
setup
->
scaling
=
source
->
uci_OnPUSCH
->
choice
.
setup
->
scaling
;
if
(
source
->
uci_OnPUSCH
->
choice
.
setup
->
betaOffsets
)
UPDATE_MAC_IE
(
target
->
uci_OnPUSCH
->
choice
.
setup
->
betaOffsets
,
source
->
uci_OnPUSCH
->
choice
.
setup
->
betaOffsets
,
struct
NR_UCI_OnPUSCH__betaOffsets
);
if
(
!
target
->
uci_OnPUSCH
)
{
target
->
uci_OnPUSCH
=
calloc
(
1
,
sizeof
(
*
target
->
uci_OnPUSCH
));
target
->
uci_OnPUSCH
->
choice
.
setup
=
calloc
(
1
,
sizeof
(
*
target
->
uci_OnPUSCH
->
choice
.
setup
));
}
target
->
uci_OnPUSCH
->
choice
.
setup
->
scaling
=
source
->
uci_OnPUSCH
->
choice
.
setup
->
scaling
;
if
(
source
->
uci_OnPUSCH
->
choice
.
setup
->
betaOffsets
)
UPDATE_MAC_IE
(
target
->
uci_OnPUSCH
->
choice
.
setup
->
betaOffsets
,
source
->
uci_OnPUSCH
->
choice
.
setup
->
betaOffsets
,
struct
NR_UCI_OnPUSCH__betaOffsets
);
}
}
}
...
...
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