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
spbro
OpenXG-RAN
Commits
7ccf745d
Commit
7ccf745d
authored
Oct 19, 2021
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'eurecom/episys-merge-nsa' into episys/master-nsa
parents
e630bf1c
7665f397
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
13 deletions
+16
-13
executables/nr-softmodem.c
executables/nr-softmodem.c
+7
-2
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+7
-10
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+2
-1
No files found.
executables/nr-softmodem.c
View file @
7ccf745d
...
...
@@ -633,6 +633,9 @@ void init_pdcp(void) {
pdcp_set_rlc_data_req_func
((
send_rlc_data_req_func_t
)
rlc_data_req
);
pdcp_set_pdcp_data_ind_func
((
pdcp_data_ind_func_t
)
pdcp_data_ind
);
}
}
else
{
LOG_I
(
PDCP
,
"node is DU, rlc send pdcp_data_ind by proto_agent
\n
"
);
pdcp_set_pdcp_data_ind_func
((
pdcp_data_ind_func_t
)
proto_agent_send_pdcp_data_ind
);
}
}
else
if
(
get_softmodem_params
()
->
nsa
)
{
pdcp_layer_init
();
...
...
@@ -712,9 +715,11 @@ int main( int argc, char **argv ) {
#ifdef PDCP_USE_NETLINK
if
(
!
IS_SOFTMODEM_NOS1
)
{
if
(
!
IS_SOFTMODEM_NOS1
)
{
netlink_init
();
init_pdcp
();
if
(
get_softmodem_params
()
->
nsa
)
{
init_pdcp
();
}
}
#if defined(PDCP_USE_NETLINK_QUEUES)
pdcp_netlink_init
();
...
...
executables/nr-uesoftmodem.c
View file @
7ccf745d
...
...
@@ -402,8 +402,6 @@ void init_pdcp(int ue_id) {
}
pdcp_layer_init
();
nr_pdcp_module_init
(
pdcp_initmask
,
ue_id
);
pdcp_set_rlc_data_req_func
((
send_rlc_data_req_func_t
)
rlc_data_req
);
pdcp_set_pdcp_data_ind_func
((
pdcp_data_ind_func_t
)
pdcp_data_ind
);
}
...
...
@@ -469,14 +467,13 @@ int main( int argc, char **argv ) {
uint16_t
node_number
=
get_softmodem_params
()
->
node_number
;
ue_id_g
=
(
node_number
==
0
)
?
0
:
node_number
-
2
;
AssertFatal
(
ue_id_g
>=
0
,
"UE id is expected to be nonnegative.
\n
"
);
if
(
node_number
==
0
)
{
init_pdcp
(
0
);
}
else
{
init_pdcp
(
mode_offset
+
ue_id_g
);
if
(
IS_SOFTMODEM_NOS1
||
get_softmodem_params
()
->
sa
||
get_softmodem_params
()
->
nsa
)
{
if
(
node_number
==
0
)
{
init_pdcp
(
0
);
}
else
{
init_pdcp
(
mode_offset
+
ue_id_g
);
}
}
NB_UE_INST
=
1
;
...
...
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
7ccf745d
...
...
@@ -670,7 +670,8 @@ int nr_rrc_mac_config_req_ue(
else
if
(
cell_group_config
!=
NULL
){
LOG_I
(
MAC
,
"Applying CellGroupConfig from gNodeB
\n
"
);
mac
->
cg
=
cell_group_config
;
mac
->
servCellIndex
=
cell_group_config
->
spCellConfig
->
servCellIndex
?
*
cell_group_config
->
spCellConfig
->
servCellIndex
:
0
;
mac
->
servCellIndex
=
cell_group_config
->
spCellConfig
&&
cell_group_config
->
spCellConfig
->
servCellIndex
?
*
cell_group_config
->
spCellConfig
->
servCellIndex
:
0
;
if
(
get_softmodem_params
()
->
phy_test
==
1
||
get_softmodem_params
()
->
do_ra
==
1
||
get_softmodem_params
()
->
nsa
)
{
config_control_ue
(
mac
);
if
(
cell_group_config
->
spCellConfig
->
reconfigurationWithSync
)
{
...
...
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