Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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 UE
Commits
484ec1e8
Commit
484ec1e8
authored
Jan 13, 2020
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initializing mod_id and cc_id
parent
6308cb7c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+7
-2
No files found.
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
484ec1e8
...
@@ -143,12 +143,17 @@ int set_tdd_config_nr_ue(fapi_nr_config_request_t *cfg,
...
@@ -143,12 +143,17 @@ int set_tdd_config_nr_ue(fapi_nr_config_request_t *cfg,
}
}
void
config_common_ue
(
NR_UE_MAC_INST_t
*
mac
)
{
void
config_common_ue
(
NR_UE_MAC_INST_t
*
mac
,
module_id_t
module_id
,
int
cc_idP
)
{
fapi_nr_config_request_t
*
cfg
=
&
mac
->
phy_config
.
config_req
;
fapi_nr_config_request_t
*
cfg
=
&
mac
->
phy_config
.
config_req
;
NR_ServingCellConfigCommon_t
*
scc
=
mac
->
scc
;
NR_ServingCellConfigCommon_t
*
scc
=
mac
->
scc
;
int
i
;
int
i
;
mac
->
phy_config
.
Mod_id
=
module_id
;
mac
->
phy_config
.
CC_id
=
cc_idP
;
// carrier config
// carrier config
LOG_I
(
MAC
,
"UE Config Common
\n
"
);
LOG_I
(
MAC
,
"UE Config Common
\n
"
);
...
@@ -290,7 +295,7 @@ int nr_rrc_mac_config_req_ue(
...
@@ -290,7 +295,7 @@ int nr_rrc_mac_config_req_ue(
mac
->
servCellIndex
=
*
spCell_ConfigP
->
servCellIndex
;
mac
->
servCellIndex
=
*
spCell_ConfigP
->
servCellIndex
;
if
(
spCell_ConfigP
->
reconfigurationWithSync
)
{
if
(
spCell_ConfigP
->
reconfigurationWithSync
)
{
mac
->
scc
=
spCell_ConfigP
->
reconfigurationWithSync
->
spCellConfigCommon
;
mac
->
scc
=
spCell_ConfigP
->
reconfigurationWithSync
->
spCellConfigCommon
;
config_common_ue
(
mac
);
config_common_ue
(
mac
,
module_id
,
cc_idP
);
mac
->
crnti
=
spCell_ConfigP
->
reconfigurationWithSync
->
newUE_Identity
;
mac
->
crnti
=
spCell_ConfigP
->
reconfigurationWithSync
->
newUE_Identity
;
LOG_I
(
MAC
,
"Configuring CRNTI %x
\n
"
,
mac
->
crnti
);
LOG_I
(
MAC
,
"Configuring CRNTI %x
\n
"
,
mac
->
crnti
);
}
}
...
...
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