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
wangjie
OpenXG-RAN
Commits
8524d77c
Commit
8524d77c
authored
Jul 07, 2020
by
Anes Rose Rigiel Antony
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added UE AMBR to ue context and modified in sgnb addition request
parent
12e5fe33
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+13
-2
openair2/RRC/LTE/rrc_eNB_S1AP.c
openair2/RRC/LTE/rrc_eNB_S1AP.c
+3
-0
No files found.
openair2/RRC/LTE/rrc_eNB.c
View file @
8524d77c
...
...
@@ -4637,12 +4637,23 @@ rrc_eNB_process_MeasurementReport(
for
(
int
e_rab
=
0
;
e_rab
<
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
nb_e_rabs_tobeadded
;
e_rab
++
)
{
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
e_rabs_tobeadded
[
e_rab
].
e_rab_id
=
ue_context_pP
->
ue_context
.
e_rab
[
e_rab
].
param
.
e_rab_id
;
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
e_rabs_tobeadded
[
e_rab
].
gtp_teid
=
ue_context_pP
->
ue_context
.
e_rab
[
e_rab
].
param
.
gtp_teid
;
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
e_rabs_tobeadded
[
e_rab
].
drb_ID
=
1
;
AssertFatal
(
ue_context_pP
->
ue_context
.
DRB_configList
!=
NULL
,
"failed due to drb to add list is NULL"
);
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
e_rabs_tobeadded
[
e_rab
].
drb_ID
=
ue_context_pP
->
ue_context
.
DRB_configList
->
list
.
array
[
e_rab
]
->
drb_Identity
;
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
e_rab_param
[
e_rab
].
qos
.
qci
=
ue_context_pP
->
ue_context
.
e_rab
[
e_rab
].
param
.
qos
.
qci
;
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
e_rab_param
[
e_rab
].
qos
.
allocation_retention_priority
.
priority_level
=
ue_context_pP
->
ue_context
.
e_rab
[
e_rab
].
param
.
qos
.
allocation_retention_priority
.
priority_level
;
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
e_rab_param
[
e_rab
].
qos
.
allocation_retention_priority
.
pre_emp_vulnerability
=
ue_context_pP
->
ue_context
.
e_rab
[
e_rab
].
param
.
qos
.
allocation_retention_priority
.
pre_emp_vulnerability
;
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
e_rab_param
[
e_rab
].
qos
.
allocation_retention_priority
.
pre_emp_capability
=
ue_context_pP
->
ue_context
.
e_rab
[
e_rab
].
param
.
qos
.
allocation_retention_priority
.
pre_emp_capability
;
memcpy
(
&
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
e_rabs_tobeadded
[
e_rab
].
sgw_addr
,
&
ue_context_pP
->
ue_context
.
e_rab
[
e_rab
].
param
.
sgw_addr
,
sizeof
(
transport_layer_addr_t
));
}
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
ue_ambr
.
br_ul
=
ue_context_pP
->
ue_context
.
ue_ambr
.
br_ul
;
X2AP_ENDC_SGNB_ADDITION_REQ
(
msg
).
ue_ambr
.
br_dl
=
ue_context_pP
->
ue_context
.
ue_ambr
.
br_dl
;
LOG_I
(
RRC
,
"[eNB %d] frame %d subframe %d: UE rnti %x switching to NSA mode
\n
"
,
ctxt_pP
->
module_id
,
ctxt_pP
->
frame
,
ctxt_pP
->
subframe
,
ctxt_pP
->
rnti
);
...
...
openair2/RRC/LTE/rrc_eNB_S1AP.c
View file @
8524d77c
...
...
@@ -962,6 +962,9 @@ int rrc_eNB_process_S1AP_INITIAL_CONTEXT_SETUP_REQ(MessageDef *msg_p, const char
PROTOCOL_CTXT_SET_BY_INSTANCE
(
&
ctxt
,
instance
,
ENB_FLAG_YES
,
ue_context_p
->
ue_context
.
rnti
,
0
,
0
);
ue_context_p
->
ue_context
.
eNB_ue_s1ap_id
=
S1AP_INITIAL_CONTEXT_SETUP_REQ
(
msg_p
).
eNB_ue_s1ap_id
;
ue_context_p
->
ue_context
.
mme_ue_s1ap_id
=
S1AP_INITIAL_CONTEXT_SETUP_REQ
(
msg_p
).
mme_ue_s1ap_id
;
/* Storing the AMBR received from the Core network to UE context */
ue_context_p
->
ue_context
.
ue_ambr
.
br_ul
=
S1AP_INITIAL_CONTEXT_SETUP_REQ
(
msg_p
).
ue_ambr
.
br_ul
;
ue_context_p
->
ue_context
.
ue_ambr
.
br_dl
=
S1AP_INITIAL_CONTEXT_SETUP_REQ
(
msg_p
).
ue_ambr
.
br_dl
;
/* Save e RAB information for later */
{
int
i
;
...
...
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