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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
f0fced85
Commit
f0fced85
authored
Mar 26, 2019
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Execute pdcp_run from rrc_data_req only when in CU mode
parent
dc9a68ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
openair2/RRC/LTE/L2_interface_common.c
openair2/RRC/LTE/L2_interface_common.c
+7
-2
No files found.
openair2/RRC/LTE/L2_interface_common.c
View file @
f0fced85
...
@@ -44,6 +44,8 @@
...
@@ -44,6 +44,8 @@
//#define RRC_DATA_REQ_DEBUG
//#define RRC_DATA_REQ_DEBUG
//#define DEBUG_RRC 1
//#define DEBUG_RRC 1
extern
RAN_CONTEXT_t
RC
;
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
uint8_t
uint8_t
rrc_data_req
(
rrc_data_req
(
...
@@ -106,8 +108,11 @@ rrc_data_req(
...
@@ -106,8 +108,11 @@ rrc_data_req(
ctxt_pP
->
instance
,
ctxt_pP
->
instance
,
message_p
);
message_p
);
LOG_I
(
RRC
,
"sent RRC_DCCH_DATA_REQ to TASK_PDCP_ENB
\n
"
);
LOG_I
(
RRC
,
"sent RRC_DCCH_DATA_REQ to TASK_PDCP_ENB
\n
"
);
// RS/BK: Fix ME
/* Hack: only trigger PDCP if in CU, otherwise it is triggered by RU threads
pdcp_run
(
ctxt_pP
);
* Ideally, PDCP would not neet to be triggered like this but react to ITTI
* messages automatically */
if
(
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
node_type
==
ngran_eNB_CU
||
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
node_type
==
ngran_ng_eNB_CU
||
RC
.
rrc
[
ctxt_pP
->
module_id
]
->
node_type
==
ngran_gNB_CU
)
pdcp_run
(
ctxt_pP
);
return
TRUE
;
// TODO should be changed to a CNF message later, currently RRC lite does not used the returned value anyway.
return
TRUE
;
// TODO should be changed to a CNF message later, currently RRC lite does not used the returned value anyway.
...
...
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