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
canghaiwuhen
OpenXG-RAN
Commits
a45d496c
Commit
a45d496c
authored
Sep 17, 2018
by
Bing-Kai Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update F1 DL RRC message transfer from DU to CU
parent
ebb9bbfa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
17 deletions
+11
-17
.gitignore
.gitignore
+1
-0
openair2/F1AP/f1ap_cu_rrc_message_transfer.c
openair2/F1AP/f1ap_cu_rrc_message_transfer.c
+0
-9
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+10
-8
No files found.
.gitignore
View file @
a45d496c
...
@@ -5,3 +5,4 @@
...
@@ -5,3 +5,4 @@
log/
log/
lte_build_oai/
lte_build_oai/
targets/bin/
targets/bin/
cmake_targets/nas_sim_tools/build/
openair2/F1AP/f1ap_cu_rrc_message_transfer.c
View file @
a45d496c
...
@@ -187,15 +187,6 @@ int CU_send_DL_RRC_MESSAGE_TRANSFER(instance_t instance,
...
@@ -187,15 +187,6 @@ int CU_send_DL_RRC_MESSAGE_TRANSFER(instance_t instance,
uint8_t
*
buffer
;
uint8_t
*
buffer
;
uint32_t
len
;
uint32_t
len
;
if
(
f1ap_stream
==
0
)
{
LOG_E
(
CU_F1AP
,
"[CU %d] Received DL RRC message transfer on stream == %d
\n
"
,
f1ap_assoc_id
,
f1ap_stream
);
return
-
1
;
}
out
=
&
pdu
.
choice
.
initiatingMessage
->
value
.
choice
.
DLRRCMessageTransfer
;
/* Create */
/* Create */
/* 0. Message Type */
/* 0. Message Type */
memset
(
&
pdu
,
0
,
sizeof
(
pdu
));
memset
(
&
pdu
,
0
,
sizeof
(
pdu
));
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
a45d496c
...
@@ -5762,13 +5762,9 @@ rrc_eNB_generate_RRCConnectionSetup(
...
@@ -5762,13 +5762,9 @@ rrc_eNB_generate_RRCConnectionSetup(
case
ngran_eNB_CU
:
case
ngran_eNB_CU
:
case
ngran_ng_eNB_CU
:
case
ngran_ng_eNB_CU
:
case
ngran_gNB_CU
:
case
ngran_gNB_CU
:
// nothing to do for CU
break
;
case
ngran_eNB_DU
:
case
ngran_gNB_DU
:
// create an ITTI message
// create an ITTI message
/* TODO: F1 IDs ar missing in RRC */
/* TODO: F1 IDs ar missing in RRC */
message_p
=
itti_alloc_new_message
(
TASK_
CU_F1
,
F1AP_DL_RRC_MESSAGE
);
message_p
=
itti_alloc_new_message
(
TASK_
RRC_ENB
,
F1AP_DL_RRC_MESSAGE
);
memset
(
F1AP_DL_RRC_MESSAGE
(
message_p
).
rrc_container
,
0
,
F1AP_DL_RRC_MESSAGE
);
memset
(
F1AP_DL_RRC_MESSAGE
(
message_p
).
rrc_container
,
0
,
F1AP_DL_RRC_MESSAGE
);
memcpy
(
F1AP_DL_RRC_MESSAGE
(
message_p
).
rrc_container
,
memcpy
(
F1AP_DL_RRC_MESSAGE
(
message_p
).
rrc_container
,
(
uint8_t
*
)
ue_p
->
Srb0
.
Tx_buffer
.
Payload
,
(
uint8_t
*
)
ue_p
->
Srb0
.
Tx_buffer
.
Payload
,
...
@@ -5780,8 +5776,14 @@ rrc_eNB_generate_RRCConnectionSetup(
...
@@ -5780,8 +5776,14 @@ rrc_eNB_generate_RRCConnectionSetup(
F1AP_DL_RRC_MESSAGE
(
message_p
).
srb_id
=
CCCH
;
F1AP_DL_RRC_MESSAGE
(
message_p
).
srb_id
=
CCCH
;
F1AP_DL_RRC_MESSAGE
(
message_p
).
execute_duplication
=
1
;
F1AP_DL_RRC_MESSAGE
(
message_p
).
execute_duplication
=
1
;
F1AP_DL_RRC_MESSAGE
(
message_p
).
RAT_frequency_priority_information
.
en_dc
=
0
;
F1AP_DL_RRC_MESSAGE
(
message_p
).
RAT_frequency_priority_information
.
en_dc
=
0
;
itti_send_msg_to_task
(
TASK_RRC_ENB
,
UE_MODULE_ID_TO_INSTANCE
(
ctxt_pP
->
module_id
),
message_p
);
itti_send_msg_to_task
(
TASK_CU_F1
,
UE_MODULE_ID_TO_INSTANCE
(
ctxt_pP
->
module_id
),
message_p
);
LOG_E
(
RRC
,
"F1AP_DL_RRC_MESSAGE
\n
"
);
break
;
case
ngran_eNB_DU
:
case
ngran_gNB_DU
:
// nothing to do for DU
LOG_E
(
RRC
,
"nothing to do for DU
\n
"
);
break
;
case
ngran_eNB
:
case
ngran_eNB
:
case
ngran_ng_eNB
:
case
ngran_ng_eNB
:
case
ngran_gNB
:
case
ngran_gNB
:
...
...
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