Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Worker.N
openairinterface5G
Commits
a45d496c
Commit
a45d496c
authored
6 years ago
by
Bing-Kai Hong
Browse files
Options
Downloads
Patches
Plain Diff
Update F1 DL RRC message transfer from DU to CU
parent
ebb9bbfa
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
openair2/F1AP/f1ap_cu_rrc_message_transfer.c
+0
-9
0 additions, 9 deletions
openair2/F1AP/f1ap_cu_rrc_message_transfer.c
openair2/RRC/LTE/rrc_eNB.c
+10
-8
10 additions, 8 deletions
openair2/RRC/LTE/rrc_eNB.c
with
11 additions
and
17 deletions
.gitignore
+
1
−
0
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/
This diff is collapsed.
Click to expand it.
openair2/F1AP/f1ap_cu_rrc_message_transfer.c
+
0
−
9
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
));
...
...
This diff is collapsed.
Click to expand it.
openair2/RRC/LTE/rrc_eNB.c
+
10
−
8
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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment