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
83c6acea
Commit
83c6acea
authored
Jan 15, 2020
by
wujing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix exit to exit_function for debugging abort issue
parent
c80d2ec4
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
22 additions
and
17 deletions
+22
-17
openair1/PHY/LTE_TRANSPORT/prach.c
openair1/PHY/LTE_TRANSPORT/prach.c
+2
-2
openair1/SCHED/ru_procedures.c
openair1/SCHED/ru_procedures.c
+1
-1
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
+3
-2
openair2/RRC/LITE/rrc_common.c
openair2/RRC/LITE/rrc_common.c
+1
-1
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
+3
-3
openair2/RRC/LTE/MESSAGES/asn1_msg_NB_IoT.c
openair2/RRC/LTE/MESSAGES/asn1_msg_NB_IoT.c
+2
-2
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+2
-2
openair2/X2AP/x2ap_eNB.c
openair2/X2AP/x2ap_eNB.c
+3
-1
openair2/X2AP/x2ap_eNB_generate_messages.c
openair2/X2AP/x2ap_eNB_generate_messages.c
+2
-1
openair2/X2AP/x2ap_eNB_handler.c
openair2/X2AP/x2ap_eNB_handler.c
+2
-1
openair3/SCTP/sctp_eNB_task.c
openair3/SCTP/sctp_eNB_task.c
+1
-1
No files found.
openair1/PHY/LTE_TRANSPORT/prach.c
View file @
83c6acea
...
...
@@ -689,14 +689,14 @@ void rx_prach0(PHY_VARS_eNB *eNB,
LOG_M
(
"prach_rxF_comp0.m"
,
"prach_rxF_comp0"
,
prachF
,
1024
,
1
,
1
);
LOG_M
(
"Xu.m"
,
"xu"
,
Xu
,
N_ZC
,
1
,
1
);
LOG_M
(
"prach_ifft0.m"
,
"prach_t0"
,
prach_ifft
,
1024
,
1
,
1
);
exit
(
-
1
);
exit_fun
(
"rx_prach0 prach_ifft0.m"
);
}
else
{
LOG_E
(
PHY
,
"Dumping prach (br_flag %d), k = %d (n_ra_prb %d)
\n
"
,
br_flag
,
k
,
n_ra_prb
);
LOG_M
(
"rxsigF_br.m"
,
"prach_rxF_br"
,
&
rxsigF
[
0
][
0
],
12288
,
1
,
1
);
LOG_M
(
"prach_rxF_comp0_br.m"
,
"prach_rxF_comp0_br"
,
prachF
,
1024
,
1
,
1
);
LOG_M
(
"Xu_br.m"
,
"xu_br"
,
Xu
,
N_ZC
,
1
,
1
);
LOG_M
(
"prach_ifft0_br.m"
,
"prach_t0_br"
,
prach_ifft
,
1024
,
1
,
1
);
exit
(
-
1
);
exit
_fun
(
"rx_prach0 prach_ifft0_br.m"
);
}
}
}
/* LOG_DUMPFLAG(PRACH) */
...
...
openair1/SCHED/ru_procedures.c
View file @
83c6acea
...
...
@@ -743,7 +743,7 @@ void ru_fep_full_2thread(RU_t *ru) {
if
(
check_sync_pos
>=
8
||
check_sync_pos
<=-
8
)
{
LOG_E
(
PHY
,
"~~~~~~~~~~~~~~ check_sync_pos %d, frame %d ---> LOST SYNC-EXIT
\n
"
,
check_sync_pos
,
proc
->
frame_rx
);
LOG_M
(
"rxdata.m"
,
"rxdata"
,
&
ru
->
common
.
rxdata
[
0
][
0
],
fp
->
samples_per_tti
*
2
,
1
,
1
);
exit
(
-
1
);
exit
_fun
(
"ru_fep_full_2thread rxdata error"
);
}
}
...
...
openair2/LAYER2/PDCP_v10.1.0/pdcp.c
View file @
83c6acea
...
...
@@ -613,7 +613,7 @@ pdcp_data_ind(
PROTOCOL_PDCP_CTXT_FMT
"wrong sequence number (%d) for this pdcp entity
\n
"
,
PROTOCOL_PDCP_CTXT_ARGS
(
ctxt_pP
,
pdcp_p
),
pdcp_p
->
seq_num_size
);
exit
(
1
);
exit
_fun
(
"pdcp_data_ind wrong sequence number"
);
}
//uint8_t dc = pdcp_get_dc_filed((unsigned char*)sdu_buffer_pP->data);
...
...
@@ -902,7 +902,8 @@ pdcp_data_ind(
default:
LOG_E
(
PDCP
,
"bad RLC mode, cannot happen.
\n
"
);
exit
(
1
);
exit_fun
(
"pdcp_data_ind bad RLC mode, cannot happen"
);
break
;
}
/* switch (pdcp_p->rlc_mode) */
}
else
{
/* MBMS_flagP == 0 */
payload_offset
=
0
;
...
...
openair2/RRC/LITE/rrc_common.c
View file @
83c6acea
...
...
@@ -362,7 +362,7 @@ rrc_rx_tx(
ue_context_p
->
ue_context
.
ue_release_timer_thres
)
{
LOG_I
(
RRC
,
"Removing UE %x instance (release timer %d)
\n
"
,
ue_context_p
->
ue_context
.
rnti
,
ue_context_p
->
ue_context
.
ue_release_timer
);
ue_to_be_removed
=
ue_context_p
;
exit
(
-
1
);
//
exit(-1);
break
;
}
}
...
...
openair2/RRC/LTE/MESSAGES/asn1_msg.c
View file @
83c6acea
...
...
@@ -1384,17 +1384,17 @@ uint8_t do_SIB23(uint8_t Mod_id,
memset
(
bcch_message
,
0
,
sizeof
(
LTE_BCCH_DL_SCH_Message_t
));
}
else
{
LOG_E
(
RRC
,
"[eNB %d] BCCH_MESSAGE is null, exiting
\n
"
,
Mod_id
);
exit
(
-
1
);
exit
_fun
(
"do_SIB23 BCCH_MESSAGE is null"
);
}
if
(
!
sib2
)
{
LOG_E
(
RRC
,
"[eNB %d] sib2 is null, exiting
\n
"
,
Mod_id
);
exit
(
-
1
);
exit
_fun
(
"do_SIB23 sib2 is null"
);
}
if
(
!
sib3
)
{
LOG_E
(
RRC
,
"[eNB %d] sib3 is null, exiting
\n
"
,
Mod_id
);
exit
(
-
1
);
exit
_fun
(
"do_SIB23 sib3 is null"
);
}
...
...
openair2/RRC/LTE/MESSAGES/asn1_msg_NB_IoT.c
View file @
83c6acea
...
...
@@ -312,7 +312,7 @@ uint8_t do_SIB1_NB_IoT(uint8_t Mod_id, int CC_id,
{
//FIXME in NB-IoT mandatory to be FDD --> so must give an error
LOG_E
(
RRC
,
"[NB-IoT %d] Frame Type is TDD --> not supported by NB-IoT, exiting
\n
"
,
Mod_id
);
//correct?
exit
(
-
1
);
exit
_fun
(
"do_SIB1_NB_IoT Frame Type is TDD --> not supported by NB-IoT"
);
}
//FIXME which value chose for the following parameter
...
...
@@ -382,7 +382,7 @@ uint8_t do_SIB23_NB_IoT(uint8_t Mod_id,
memset
(
bcch_message
,
0
,
sizeof
(
LTE_BCCH_DL_SCH_Message_NB_t
));
}
else
{
LOG_E
(
RRC
,
"[NB-IoT %d] BCCH_MESSAGE_NB is null, exiting
\n
"
,
Mod_id
);
exit
(
-
1
);
exit
_fun
(
"do_SIB23_NB_IoT BCCH_MESSAGE_NB is null"
);
}
//before schould be allocated memory somewhere?
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
83c6acea
...
...
@@ -8619,7 +8619,7 @@ int add_ue_to_remove(struct rrc_eNB_ue_context_s **ue_to_be_removed,
if
(
removed_ue_count
==
NUMBER_OF_UE_MAX
)
{
LOG_E
(
RRC
,
"fatal: ue_to_be_removed is full
\n
"
);
exit
(
1
);
exit
_fun
(
"add_ue_to_remove fatal: ue_to_be_removed is full"
);
}
ue_to_be_removed
[
removed_ue_count
]
=
ue_context_p
;
...
...
@@ -9139,7 +9139,7 @@ void *rrc_enb_process_itti_msg(void *notUsed) {
break
;
default:
/* cannot come here */
exit
(
1
);
exit
_fun
(
"rrc_enb_process_itti_msg X2AP_HANDOVER_CANCEL cause error"
);
}
ue_context_p
=
rrc_eNB_get_ue_context
(
RC
.
rrc
[
instance
],
X2AP_HANDOVER_CANCEL
(
msg_p
).
rnti
);
if
(
ue_context_p
!=
NULL
&&
...
...
openair2/X2AP/x2ap_eNB.c
View file @
83c6acea
...
...
@@ -670,5 +670,7 @@ int is_x2ap_enabled(void)
mutex_error:
LOG_E
(
X2AP
,
"mutex error
\n
"
);
exit
(
1
);
//exit(1);
exit_fun
(
"is_x2ap_enabled mutex error"
);
return
(
-
1
);
}
openair2/X2AP/x2ap_eNB_generate_messages.c
View file @
83c6acea
...
...
@@ -1047,7 +1047,8 @@ int x2ap_eNB_generate_x2_handover_cancel (x2ap_eNB_instance_t *instance_p, x2ap_
default:
/* we can't come here */
X2AP_ERROR
(
"unhandled cancel cause
\n
"
);
exit
(
1
);
exit_fun
(
"x2ap_eNB_generate_x2_handover_cancel unhandled cancel cause"
);
break
;
}
ASN_SEQUENCE_ADD
(
&
out
->
protocolIEs
.
list
,
ie
);
...
...
openair2/X2AP/x2ap_eNB_handler.c
View file @
83c6acea
...
...
@@ -1102,7 +1102,8 @@ int x2ap_eNB_handle_handover_cancel (instance_t instance,
case
X2AP_CauseRadioNetwork_tx2relocoverall_expiry
:
cause
=
X2AP_TX2_RELOC_OVERALL_TIMEOUT
;
break
;
default:
/* can't come here */
//exit(1);
default:
/* can't come here */
exit_fun
(
"x2ap_eNB_handle_handover_cancel unhandled cancel cause"
);
break
;
}
...
...
openair3/SCTP/sctp_eNB_task.c
View file @
83c6acea
...
...
@@ -957,7 +957,7 @@ sctp_eNB_read_from_socket(
if
(
!
(
flags
&
MSG_EOR
))
{
SCTP_ERROR
(
"fatal: partial SCTP messages are not handled
\n
"
);
exit
(
1
);
exit
_fun
(
"fatal: partial SCTP messages are not handled"
);
}
if
(
flags
&
MSG_NOTIFICATION
)
{
...
...
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