osmo-msc/openbsc/tests
Philipp Maier db142dc59d sndcp: Allow empty SNDCP-XID indications
In some rare cases the modem might send a xid indication that does
not contain anything except the version number field. The sgsn
ignors such SNDCP-XID indications by stripping the entire field
from the response. We found a modem in the wild that started to
act problematic when the empty SNDCP-XID was missing in the
response. This patch changes the XID negotiation behaviour in
a way that if a modem should send empty SNDCP-XID indications,
the reply will also contain an empty SNDCP-XID indication. Apart
from that the SNDCP-XID version number is now parsed and echoed
in the response. This ensures that we always reply with the version
number that the modem expects. (The version was 0 in all cases we
observed so far)

Change-Id: I097a770cb4907418f53e620a051ebb8cd110c5f2
Related: OS#1794
2016-12-23 11:19:15 +01:00
..
abis Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
bsc Move timezone settings up to network level 2016-12-02 12:09:17 +00:00
bsc-nat move to libcommon-cs: net init 3: actual move 2016-11-24 16:58:31 +01:00
bsc-nat-trie move libctrl from openbsc to libosmoctrl (libosmocore.git) 2014-08-21 15:34:28 +02:00
channel reinvent connection_for_subscr() and move to libmsc 2016-12-02 12:09:17 +00:00
db move to libcommon-cs: net init 3: actual move 2016-11-24 16:58:31 +01:00
gbproxy test/gbproxy: Test for possible memory corruption when link_info is freed 2016-11-15 22:32:03 +00:00
gprs Move osmo_gsup_messages.[ch] to libosmocore 2016-04-29 13:10:37 +02:00
gsm0408 gsm0408_test.c: Don't pass negative value to strerror() 2016-12-09 15:36:58 +00:00
gtphub gtphub_test.c: remove unused include of msgb.h 2016-10-13 13:14:41 +00:00
mgcp msgb talloc ctx: initialize in all main() scopes 2016-10-13 13:14:41 +00:00
mm_auth Build fixes 2016-09-15 16:02:18 +02:00
nanobts_omlattr OML: Improve OML attribute handling 2016-11-01 21:56:22 +00:00
oap oap_client: make use of OAP optional: disable for NULL config 2016-12-13 14:54:02 +00:00
sgsn move grps_gsup_client.c to libcommon/gsup_client.c 2016-12-13 14:54:02 +00:00
slhc sndcp: Fixups for sndcp layer based on coverity-scan suggestions 2016-10-28 13:43:10 +00:00
smpp Consistenly format variables in */Makefile.am files 2016-09-15 15:55:02 +02:00
sndcp_xid sndcp: Allow empty SNDCP-XID indications 2016-12-23 11:19:15 +01:00
subscr tests: drop unused libmsc, unneeded duplicate libbsc linking 2016-12-02 12:09:15 +00:00
trau tests: drop unused libmsc, unneeded duplicate libbsc linking 2016-12-02 12:09:15 +00:00
v42bis sndcp: Fixups for sndcp layer based on coverity-scan suggestions 2016-10-28 13:43:10 +00:00
xid Build fixes 2016-09-15 16:02:18 +02:00
Makefile.am OML: Improve OML attribute handling 2016-11-01 21:56:22 +00:00
atlocal.in tests: fix condition to run sgsn, oap, gtphub tests 2015-12-03 11:47:34 +01:00
ctrl_test_runner.py Move timezone settings up to network level 2016-12-02 12:09:17 +00:00
smpp_test_runner.py nitb/smpp: Add simple test runner for the issues found by daniel 2014-03-06 23:48:17 +01:00
testsuite.at oap_client_test: print test descr to stderr, check stderr 2016-12-13 14:54:02 +00:00
vty_test_runner.py Use IPA module for vty tests 2016-12-13 14:47:32 +01:00