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
ZhouShuya
OpenXG-RAN
Commits
581e8095
Commit
581e8095
authored
Mar 15, 2021
by
matzakos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid calling RB preconfiguration with static rnti for the not required cases
parent
783a11de
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+5
-0
openair2/LAYER2/NR_MAC_gNB/main.c
openair2/LAYER2/NR_MAC_gNB/main.c
+0
-3
No files found.
openair2/GNB_APP/gnb_config.c
View file @
581e8095
...
@@ -79,6 +79,7 @@
...
@@ -79,6 +79,7 @@
#include "RRC/NR/MESSAGES/asn1_msg.h"
#include "RRC/NR/MESSAGES/asn1_msg.h"
#include "openair2/LAYER2/nr_pdcp/nr_pdcp.h"
#include "openair2/LAYER2/nr_pdcp/nr_pdcp.h"
#include "executables/softmodem-common.h"
extern
uint16_t
sf_ahead
;
extern
uint16_t
sf_ahead
;
int
macrlc_has_f1
=
0
;
int
macrlc_has_f1
=
0
;
...
@@ -1796,6 +1797,10 @@ void nr_read_config_and_init(void) {
...
@@ -1796,6 +1797,10 @@ void nr_read_config_and_init(void) {
RCconfig_NRRRC
(
msg_p
,
gnb_id
,
RC
.
nrrrc
[
gnb_id
]);
RCconfig_NRRRC
(
msg_p
,
gnb_id
,
RC
.
nrrrc
[
gnb_id
]);
}
}
if
((
IS_SOFTMODEM_NOS1
&&
!
get_softmodem_params
()
->
do_ra
)
||
NODE_IS_DU
(
RC
.
nrrrc
[
0
]
->
node_type
)){
nr_DRB_preconfiguration
(
0x1234
);
}
if
(
NODE_IS_CU
(
RC
.
nrrrc
[
0
]
->
node_type
))
{
if
(
NODE_IS_CU
(
RC
.
nrrrc
[
0
]
->
node_type
))
{
pdcp_layer_init
();
pdcp_layer_init
();
nr_DRB_preconfiguration
(
0x1234
);
nr_DRB_preconfiguration
(
0x1234
);
...
...
openair2/LAYER2/NR_MAC_gNB/main.c
View file @
581e8095
...
@@ -96,9 +96,6 @@ void mac_top_init_gNB(void)
...
@@ -96,9 +96,6 @@ void mac_top_init_gNB(void)
// These should be out of here later
// These should be out of here later
pdcp_layer_init
();
pdcp_layer_init
();
// if(IS_SOFTMODEM_NOS1 && !get_softmodem_params()->do_ra)
nr_DRB_preconfiguration
(
0x1234
);
rrc_init_nr_global_param
();
rrc_init_nr_global_param
();
}
else
{
}
else
{
...
...
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