Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
8df63bdf
Commit
8df63bdf
authored
May 10, 2016
by
gauthier
Browse files
Increased search matching packet range, may need to be increased again
parent
b133c791
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair3/TEST/EPC_TEST/play_scenario_s1ap.c
View file @
8df63bdf
...
...
@@ -666,7 +666,7 @@ int et_s1ap_process_rx_packet(et_event_s1ap_data_ind_t * const s1ap_data_ind)
packet
=
g_scenario
->
last_rx_packet
->
next
;
}
// not_found threshold may sure depend on number of mme, may be not sure on number of UE
while
((
NULL
!=
packet
)
&&
(
not_found
<
7
))
{
while
((
NULL
!=
packet
)
&&
(
not_found
<
9
))
{
S1AP_DEBUG
(
"%s() Considering packet num %d original frame number %u
\n
"
,
__FUNCTION__
,
packet
->
packet_number
,
packet
->
original_frame_number
);
if
(
packet
->
action
==
ET_PACKET_ACTION_S1C_RECEIVE
)
{
comp_results
=
et_sctp_is_matching
(
&
packet
->
sctp_hdr
,
&
rx_packet
->
sctp_hdr
,
g_constraints
);
...
...
@@ -692,7 +692,7 @@ int et_s1ap_process_rx_packet(et_event_s1ap_data_ind_t * const s1ap_data_ind)
return
et_scenario_set_packet_received
(
packet
);
}
}
else
if
(
strcmp
(
comp_results
->
name
,
"S1ap-TransportLayerAddress"
)
==
0
)
{
S1AP_WARN
(
"Some work needed there for %s, TODO in generic_scenario.xsl, add
epc
conf file in the process, anyway continuing...
\n
"
,
comp_results
->
name
);
S1AP_WARN
(
"Some work needed there for %s, TODO in generic_scenario.xsl, add
sgw
conf file in the process, anyway continuing...
\n
"
,
comp_results
->
name
);
packet
->
timestamp_packet
.
tv_sec
=
rx_packet
->
timestamp_packet
.
tv_sec
;
packet
->
timestamp_packet
.
tv_usec
=
rx_packet
->
timestamp_packet
.
tv_usec
;
return
et_scenario_set_packet_received
(
packet
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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