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
ZhouShuya
OpenXG-RAN
Commits
1da7a4f4
Commit
1da7a4f4
authored
Dec 23, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6318
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
adb9da80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
24 deletions
+7
-24
openair2/RRC/LITE/rrc_eNB_S1AP.c
openair2/RRC/LITE/rrc_eNB_S1AP.c
+7
-24
No files found.
openair2/RRC/LITE/rrc_eNB_S1AP.c
View file @
1da7a4f4
...
...
@@ -819,30 +819,13 @@ void rrc_eNB_send_S1AP_UE_CONTEXT_RELEASE_REQ (uint8_t mod_id, uint8_t ue_index,
int
e_rab
;
int
mod_id
=
0
;
eNB_RRC_UE_INFO
*
UE_info
=
&
eNB_rrc_inst
[
mod_id
].
Info
.
UE
[
ue_index
];
/* MessageDef *msg_delete_tunnels_p = NULL;
msg_delete_tunnels_p = itti_alloc_new_message(TASK_RRC_ENB, GTPV1U_ENB_DELETE_TUNNEL_REQ);
memset(>PV1U_ENB_DELETE_TUNNEL_REQ(msg_delete_tunnels_p),
0,
sizeof(GTPV1U_ENB_DELETE_TUNNEL_REQ(msg_delete_tunnels_p)));
// do not wait response
GTPV1U_ENB_DELETE_TUNNEL_REQ(msg_delete_tunnels_p).ue_index = ue_index;
for (e_rab = 0; e_rab < UE_info->nb_of_e_rabs; e_rab++) {
GTPV1U_ENB_DELETE_TUNNEL_REQ(msg_delete_tunnels_p).eps_bearer_id[e_rab] = UE_info->enb_gtp_ebi[e_rab];
// erase data
UE_info->enb_gtp_teid[e_rab] = 0;
memset(&UE_info->enb_gtp_addrs[e_rab], 0, sizeof(UE_info->enb_gtp_addrs[e_rab]));
UE_info->enb_gtp_ebi[e_rab] = 0;
}
itti_send_msg_to_task(TASK_GTPV1_U, mod_id, msg_delete_tunnels_p);
*/
MessageDef
*
msg_complete_p
=
NULL
;
msg_complete_p
=
itti_alloc_new_message
(
TASK_RRC_ENB
,
S1AP_UE_CONTEXT_RELEASE_REQ
);
S1AP_UE_CONTEXT_RELEASE_REQ
(
msg_complete_p
).
eNB_ue_s1ap_id
=
UE_info
->
eNB_ue_s1ap_id
;
S1AP_UE_CONTEXT_RELEASE_REQ
(
msg_complete_p
).
cause
=
causeP
;
S1AP_UE_CONTEXT_RELEASE_REQ
(
msg_complete_p
).
cause_value
=
cause_valueP
;
itti_send_msg_to_task
(
TASK_S1AP
,
mod_id
,
msg_complete_p
);
MessageDef
*
msg_context_release_req_p
=
NULL
;
msg_context_release_req_p
=
itti_alloc_new_message
(
TASK_RRC_ENB
,
S1AP_UE_CONTEXT_RELEASE_REQ
);
S1AP_UE_CONTEXT_RELEASE_REQ
(
msg_context_release_req_p
).
eNB_ue_s1ap_id
=
UE_info
->
eNB_ue_s1ap_id
;
S1AP_UE_CONTEXT_RELEASE_REQ
(
msg_context_release_req_p
).
cause
=
causeP
;
S1AP_UE_CONTEXT_RELEASE_REQ
(
msg_context_release_req_p
).
cause_value
=
cause_valueP
;
itti_send_msg_to_task
(
TASK_S1AP
,
mod_id
,
msg_context_release_req_p
);
return
(
0
);
}
}
...
...
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