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
cd16d7ce
Commit
cd16d7ce
authored
Nov 10, 2021
by
matzakos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the call to send DCCH SDU to RLC from RRC instead of F1AP
parent
f1455f15
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
10 deletions
+15
-10
openair2/F1AP/f1ap_du_ue_context_management.c
openair2/F1AP/f1ap_du_ue_context_management.c
+1
-9
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+14
-1
No files found.
openair2/F1AP/f1ap_du_ue_context_management.c
View file @
cd16d7ce
...
...
@@ -230,17 +230,9 @@ int DU_handle_UE_CONTEXT_SETUP_REQUEST(instance_t instance,
f1ap_ue_context_setup_req
->
rrc_container
=
malloc
(
ieRRC
->
value
.
choice
.
RRCContainer
.
size
);
memcpy
(
f1ap_ue_context_setup_req
->
rrc_container
,
ieRRC
->
value
.
choice
.
RRCContainer
.
buf
,
ieRRC
->
value
.
choice
.
RRCContainer
.
size
);
f1ap_ue_context_setup_req
->
rrc_container_length
=
ieRRC
->
value
.
choice
.
RRCContainer
.
size
;
// AssertFatal(0, "check configuration, send to appropriate handler\n");
protocol_ctxt_t
ctxt
;
// decode RRC Container and act on the message type
//FIXME
//rnti_t rnti = f1ap_get_rnti_by_du_id(DUtype, instance, du_ue_f1ap_id);
ctxt
.
instance
=
instance
;
ctxt
.
instance
=
instance
;
ctxt
.
enb_flag
=
1
;
mem_block_t
*
pdcp_pdu_p
=
get_free_mem_block
(
ieRRC
->
value
.
choice
.
RRCContainer
.
size
,
__func__
);
memcpy
(
&
pdcp_pdu_p
->
data
[
0
],
ieRRC
->
value
.
choice
.
RRCContainer
.
buf
,
ieRRC
->
value
.
choice
.
RRCContainer
.
size
);
du_rlc_data_req
(
&
ctxt
,
1
,
0x00
,
1
,
1
,
0
,
ieRRC
->
value
.
choice
.
RRCContainer
.
size
,
pdcp_pdu_p
);
}
else
{
LOG_E
(
F1AP
,
" RRCContainer in UEContextSetupRequestIEs size id 0
\n
"
);
}
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
cd16d7ce
...
...
@@ -3393,8 +3393,20 @@ static void rrc_DU_process_ue_context_setup_request(MessageDef *msg_p, const cha
req
->
srbs_to_be_setup_length
>
0
?
1
:
0
,
req
->
drbs_to_be_setup_length
>
0
?
1
:
0
);
}
apply_macrlc_config
(
rrc
,
ue_context_p
,
&
ctxt
);
if
(
req
->
rrc_container_length
>
0
){
mem_block_t
*
pdcp_pdu_p
=
get_free_mem_block
(
req
->
rrc_container_length
,
__func__
);
memcpy
(
&
pdcp_pdu_p
->
data
[
0
],
req
->
rrc_container
,
req
->
rrc_container_length
);
du_rlc_data_req
(
&
ctxt
,
1
,
0x00
,
1
,
1
,
0
,
req
->
rrc_container_length
,
pdcp_pdu_p
);
LOG_I
(
F1AP
,
"Printing RRC Container of UE context setup request:
\n
"
);
for
(
int
j
=
0
;
j
<
req
->
rrc_container_length
;
j
++
){
printf
(
"%02x "
,
pdcp_pdu_p
->
data
[
j
]);
}
printf
(
"
\n
"
);
}
/* Fill the UE context setup response ITTI message to send to F1AP */
resp
->
gNB_CU_ue_id
=
req
->
gNB_CU_ue_id
;
resp
->
rnti
=
ctxt
.
rnti
;
...
...
@@ -4526,5 +4538,6 @@ void nr_rrc_trigger(protocol_ctxt_t *ctxt, int CC_id, int frame, int subframe)
message_p
=
itti_alloc_new_message
(
TASK_RRC_GNB
,
0
,
RRC_SUBFRAME_PROCESS
);
RRC_SUBFRAME_PROCESS
(
message_p
).
ctxt
=
*
ctxt
;
RRC_SUBFRAME_PROCESS
(
message_p
).
CC_id
=
CC_id
;
LOG_D
(
NR_RRC
,
"Time in RRC: %u/ %u
\n
"
,
frame
,
subframe
);
itti_send_msg_to_task
(
TASK_RRC_GNB
,
ctxt
->
module_id
,
message_p
);
}
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