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
Michael Black
OpenXG-RAN
Commits
2b00d4e4
Commit
2b00d4e4
authored
Aug 07, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5689
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
0a78cdfd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
openair-cn/MME_APP/mme_app_bearer.c
openair-cn/MME_APP/mme_app_bearer.c
+11
-11
No files found.
openair-cn/MME_APP/mme_app_bearer.c
View file @
2b00d4e4
...
...
@@ -331,10 +331,9 @@ mme_app_handle_conn_est_cnf(
establishment_cnf_p
->
bearer_qos_prio_level
=
current_bearer_p
->
prio_level
;
establishment_cnf_p
->
bearer_qos_pre_emp_vulnerability
=
current_bearer_p
->
pre_emp_vulnerability
;
establishment_cnf_p
->
bearer_qos_pre_emp_capability
=
current_bearer_p
->
pre_emp_capability
;
#warning "Hardcoded AMBR"
//establishment_cnf_p->ambr = ue_context_p->used_ambr;
establishment_cnf_p
->
ambr
.
br_ul
=
40000000
;
establishment_cnf_p
->
ambr
.
br_dl
=
100000000
;
#warning "Check ue_context_p ambr"
establishment_cnf_p
->
ambr
.
br_ul
=
ue_context_p
->
subscribed_ambr
.
br_ul
;
establishment_cnf_p
->
ambr
.
br_dl
=
ue_context_p
->
subscribed_ambr
.
br_dl
;
establishment_cnf_p
->
security_capabilities_encryption_algorithms
=
nas_conn_est_cnf_pP
->
selected_encryption_algorithm
;
establishment_cnf_p
->
security_capabilities_integrity_algorithms
=
nas_conn_est_cnf_pP
->
selected_integrity_algorithm
;
...
...
@@ -609,10 +608,10 @@ mme_app_handle_create_sess_resp(
//memcpy(&NAS_PDN_CONNECTIVITY_RSP(message_p).qos,
// &ue_context_p->pending_pdn_connectivity_req_qos,
// sizeof(network_qos_t));
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
qos
.
gbrUL
=
0
;
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
qos
.
gbrDL
=
0
;
/*
Guaranteed Bit Rate for downlink */
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
qos
.
mbrUL
=
50000
;
/*
Maximum Bit Rate for uplink */
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
qos
.
mbrDL
=
1
00000
;
/*
Maximum Bit Rate for downlink */
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
qos
.
gbrUL
=
64
;
/* 64=64kb/s Guaranteed Bit Rate for uplink */
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
qos
.
gbrDL
=
120
;
/* 120=512kb/s
Guaranteed Bit Rate for downlink */
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
qos
.
mbrUL
=
72
;
/* 72=128kb/s
Maximum Bit Rate for uplink */
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
qos
.
mbrDL
=
1
35
;
/*135=1024kb/s
Maximum Bit Rate for downlink */
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
qos
.
qci
=
9
;
/* QoS Class Identifier */
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
request_type
=
ue_context_p
->
pending_pdn_connectivity_req_request_type
;
// NAS internal ref
...
...
@@ -634,8 +633,9 @@ mme_app_handle_create_sess_resp(
memcpy
(
&
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
sgw_s1u_address
,
&
current_bearer_p
->
s_gw_address
,
sizeof
(
ip_address_t
));
memcpy
(
&
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
ambr
,
&
ue_context_p
->
subscribed_ambr
,
sizeof
(
ambr_t
));
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
ambr
.
br_ul
=
ue_context_p
->
subscribed_ambr
.
br_ul
;
NAS_PDN_CONNECTIVITY_RSP
(
message_p
).
ambr
.
br_dl
=
ue_context_p
->
subscribed_ambr
.
br_dl
;
return
itti_send_msg_to_task
(
TASK_NAS_MME
,
INSTANCE_DEFAULT
,
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