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
alex037yang
OpenXG-RAN
Commits
2966cdf1
Commit
2966cdf1
authored
Oct 23, 2018
by
Louis Adrien Dufrene
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Format rrc_eNB_send_S1AP_UE_CONTEXT_RELEASE_REQ()
parent
57a383e7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
17 deletions
+21
-17
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+1
-1
openair2/RRC/LTE/rrc_eNB_S1AP.c
openair2/RRC/LTE/rrc_eNB_S1AP.c
+20
-16
No files found.
openair2/RRC/LTE/rrc_eNB.c
View file @
2966cdf1
openair2/RRC/LTE/rrc_eNB_S1AP.c
View file @
2966cdf1
...
...
@@ -1172,30 +1172,34 @@ int rrc_eNB_process_S1AP_UE_CONTEXT_RELEASE_REQ (MessageDef *msg_p, const char *
}
//------------------------------------------------------------------------------
void
rrc_eNB_send_S1AP_UE_CONTEXT_RELEASE_REQ
(
/*
* Send the S1 command UE_CONTEXT_RELEASE_REQUEST to the MME.
*/
void
rrc_eNB_send_S1AP_UE_CONTEXT_RELEASE_REQ
(
const
module_id_t
enb_mod_idP
,
const
rrc_eNB_ue_context_t
*
const
ue_context_pP
,
const
rrc_eNB_ue_context_t
*
const
ue_context_pP
,
const
s1ap_Cause_t
causeP
,
const
long
cause_valueP
)
const
long
cause_valueP
)
//------------------------------------------------------------------------------
{
if
(
ue_context_pP
==
NULL
)
{
LOG_W
(
RRC
,
"[eNB] In S1AP_UE_CONTEXT_RELEASE_COMMAND: invalid UE
\n
"
);
LOG_W
(
RRC
,
"[eNB] In S1AP_UE_CONTEXT_RELEASE_REQ: invalid UE
\n
"
);
}
else
{
MSC_LOG_TX_MESSAGE
(
MSC_RRC_ENB
,
MSC_LOG_TX_MESSAGE
(
MSC_RRC_ENB
,
MSC_S1AP_ENB
,
NULL
,
0
,
NULL
,
0
,
"0 S1AP_UE_CONTEXT_RELEASE_REQ eNB_ue_s1ap_id 0x%06"
PRIX32
" "
,
ue_context_pP
->
ue_context
.
eNB_ue_s1ap_id
);
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_context_pP
->
ue_context
.
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
,
ENB_MODULE_ID_TO_INSTANCE
(
enb_mod_idP
),
msg_context_release_req_p
);
}
}
...
...
@@ -1207,13 +1211,13 @@ void rrc_eNB_send_S1AP_UE_CONTEXT_RELEASE_REQ (
* The eNB should remove all e-rab, S1 context, and other context of the UE.
*/
int
rrc_eNB_process_S1AP_UE_CONTEXT_RELEASE_COMMAND
(
rrc_eNB_process_S1AP_UE_CONTEXT_RELEASE_COMMAND
(
MessageDef
*
msg_p
,
const
char
*
msg_name
,
instance_t
instance
)
{
//-----------------------------------------------------------------------------
uint32_t
eNB_ue_s1ap_id
;
uint32_t
eNB_ue_s1ap_id
=
0
;
protocol_ctxt_t
ctxt
;
struct
rrc_eNB_ue_context_s
*
ue_context_p
=
NULL
;
struct
rrc_ue_s1ap_ids_s
*
rrc_ue_s1ap_ids
=
NULL
;
...
...
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