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
Michael Black
OpenXG-RAN
Commits
1e6c36d8
Commit
1e6c36d8
authored
Nov 01, 2021
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix segfault in SA rfsim
parent
3186d45e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+7
-3
No files found.
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
1e6c36d8
...
...
@@ -496,14 +496,18 @@ void config_bwp_ue(NR_UE_MAC_INST_t *mac, uint16_t *bwp_ind, uint8_t *dci_format
NR_ServingCellConfig_t
*
scd
=
mac
->
cg
->
spCellConfig
->
spCellConfigDedicated
;
if
(
bwp_ind
&&
dci_format
){
int
n_ubwp
=
0
;
if
(
scd
&&
scd
->
uplinkConfig
&&
scd
->
uplinkConfig
->
uplinkBWP_ToAddModList
)
n_ubwp
=
scd
->
uplinkConfig
->
uplinkBWP_ToAddModList
->
list
.
count
;
if
(
bwp_ind
&&
dci_format
){
switch
(
*
dci_format
){
case
NR_UL_DCI_FORMAT_0_1
:
mac
->
UL_BWP_Id
=
*
bwp_ind
+
1
;
mac
->
UL_BWP_Id
=
n_ubwp
<
4
?
*
bwp_ind
:
*
bwp_ind
+
1
;
;
break
;
case
NR_DL_DCI_FORMAT_1_1
:
mac
->
DL_BWP_Id
=
*
bwp_ind
+
1
;
mac
->
DL_BWP_Id
=
n_ubwp
<
4
?
*
bwp_ind
:
*
bwp_ind
+
1
;
;
break
;
default:
LOG_E
(
MAC
,
"In %s: failed to configure BWP Id from DCI with format %d
\n
"
,
__FUNCTION__
,
*
dci_format
);
...
...
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