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
canghaiwuhen
OpenXG-RAN
Commits
c0752bec
Commit
c0752bec
authored
Sep 30, 2019
by
zhenghuangkun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix x2ho warning
parent
959acc85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+6
-6
No files found.
openair2/RRC/LTE/rrc_eNB.c
View file @
c0752bec
...
@@ -5266,7 +5266,7 @@ rrc_eNB_generate_HO_RRCConnectionReconfiguration(const protocol_ctxt_t *const ct
...
@@ -5266,7 +5266,7 @@ rrc_eNB_generate_HO_RRCConnectionReconfiguration(const protocol_ctxt_t *const ct
)
)
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
{
{
uint16_t
size
;
uint16_t
size
=
0
;
int
i
;
int
i
;
uint8_t
rv
[
2
];
uint8_t
rv
[
2
];
// configure SRB1/SRB2, PhysicalConfigDedicated, MAC_MainConfig for UE
// configure SRB1/SRB2, PhysicalConfigDedicated, MAC_MainConfig for UE
...
@@ -8989,18 +8989,18 @@ void *rrc_enb_process_itti_msg(void *notUsed) {
...
@@ -8989,18 +8989,18 @@ void *rrc_enb_process_itti_msg(void *notUsed) {
LOG_E
(
RRC
,
"could not find UE (rnti %x) while processing X2AP_HANDOVER_REQ_ACK
\n
"
,
LOG_E
(
RRC
,
"could not find UE (rnti %x) while processing X2AP_HANDOVER_REQ_ACK
\n
"
,
X2AP_HANDOVER_REQ_ACK
(
msg_p
).
rnti
);
X2AP_HANDOVER_REQ_ACK
(
msg_p
).
rnti
);
//exit(1);
//exit(1);
return
;
break
;
}
}
LOG_I
(
RRC
,
"[eNB %d] source eNB receives the X2 HO ACK %s
\n
"
,
instance
,
msg_name_p
);
LOG_I
(
RRC
,
"[eNB %d] source eNB receives the X2 HO ACK %s
\n
"
,
instance
,
msg_name_p
);
if
(
ue_context_p
==
NULL
)
{
if
(
ue_context_p
==
NULL
)
{
LOG_E
(
RRC
,
"%s %d: ue_context_p is a NULL pointer
\n
"
,
__FILE__
,
__LINE__
);
LOG_E
(
RRC
,
"%s %d: ue_context_p is a NULL pointer
\n
"
,
__FILE__
,
__LINE__
);
return
;
break
;
}
}
if
(
ue_context_p
->
ue_context
.
handover_info
->
state
!=
HO_REQUEST
)
{
if
(
ue_context_p
->
ue_context
.
handover_info
->
state
!=
HO_REQUEST
)
{
//abort();
//abort();
LOG_E
(
RRC
,
"%s:%d: the handover state is not HO_REQUEST: %d
\n
"
,
__FILE__
,
__LINE__
,
ue_context_p
->
ue_context
.
handover_info
->
state
);
LOG_E
(
RRC
,
"%s:%d: the handover state is not HO_REQUEST: %d
\n
"
,
__FILE__
,
__LINE__
,
ue_context_p
->
ue_context
.
handover_info
->
state
);
return
;
break
;
}
}
hash_rc
=
hashtable_get
(
RC
.
gtpv1u_data_g
->
ue_mapping
,
ue_context_p
->
ue_context
.
rnti
,
(
void
**
)
&
gtpv1u_ue_data_p
);
hash_rc
=
hashtable_get
(
RC
.
gtpv1u_data_g
->
ue_mapping
,
ue_context_p
->
ue_context
.
rnti
,
(
void
**
)
&
gtpv1u_ue_data_p
);
...
@@ -9051,13 +9051,13 @@ void *rrc_enb_process_itti_msg(void *notUsed) {
...
@@ -9051,13 +9051,13 @@ void *rrc_enb_process_itti_msg(void *notUsed) {
LOG_I
(
RRC
,
"[eNB %d] source eNB receives the X2 UE CONTEXT RELEASE %s
\n
"
,
instance
,
msg_name_p
);
LOG_I
(
RRC
,
"[eNB %d] source eNB receives the X2 UE CONTEXT RELEASE %s
\n
"
,
instance
,
msg_name_p
);
if
(
ue_context_p
==
NULL
)
{
if
(
ue_context_p
==
NULL
)
{
LOG_E
(
RRC
,
"%s %d: ue_context_p is a NULL pointer
\n
"
,
__FILE__
,
__LINE__
);
LOG_E
(
RRC
,
"%s %d: ue_context_p is a NULL pointer
\n
"
,
__FILE__
,
__LINE__
);
return
;
break
;
}
}
if
(
ue_context_p
->
ue_context
.
handover_info
->
state
!=
HO_COMPLETE
)
{
if
(
ue_context_p
->
ue_context
.
handover_info
->
state
!=
HO_COMPLETE
)
{
//abort();
//abort();
LOG_E
(
RRC
,
"%s:%d: the handover state is not HO_COMPLETE: %d
\n
"
,
__FILE__
,
__LINE__
,
ue_context_p
->
ue_context
.
handover_info
->
state
);
LOG_E
(
RRC
,
"%s:%d: the handover state is not HO_COMPLETE: %d
\n
"
,
__FILE__
,
__LINE__
,
ue_context_p
->
ue_context
.
handover_info
->
state
);
return
;
break
;
}
}
ue_context_p
->
ue_context
.
handover_info
->
state
=
HO_RELEASE
;
ue_context_p
->
ue_context
.
handover_info
->
state
=
HO_RELEASE
;
...
...
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