libosmocore/tests/gb
Jacob Erlbeck b43baf20c5 gprs: Don't discard SUSPEND/RESUME in bssgp_rcvmsg
Currently sending SUSPEND/RESUME messages to this function (like it
is done in the osmo-sgsn) results in STATUS messages complaining
about an unknown BVCI. The reason is, that these messages rely on a
TLLI/RAI pair to identify the context and do not contain an explicit
BVCI.

This patch modifies bssgp_rcvmsg() to only complain about and unknown
BVCI if one is given but a matching context is not found (except for
RESET messages). The ctx argument is removed from the functions
handling SUSPEND and RESUME since it will always be NULL then.

Sponsored-by: On-Waves ehf
2014-10-23 18:53:02 +02:00
..
bssgp_fc_test.c bssgp: Free msgb in case of error when calling into gprs_ns_sendmsg 2014-10-10 17:55:13 +02:00
bssgp_fc_tests.err tests: Make the gb test work with srcdir != builddir 2012-09-11 11:49:35 +02:00
bssgp_fc_tests.ok GPRS BSSGP test: integrate into autotest 2012-09-07 12:07:54 +02:00
bssgp_fc_tests.sh GPRS BSSGP test: integrate into autotest 2012-09-07 12:07:54 +02:00
gprs_bssgp_test.c gprs: Don't discard SUSPEND/RESUME in bssgp_rcvmsg 2014-10-23 18:53:02 +02:00
gprs_bssgp_test.ok gprs: Don't discard SUSPEND/RESUME in bssgp_rcvmsg 2014-10-23 18:53:02 +02:00
gprs_ns_test.c gprs-ns/test: Check the nsvc state explicitely 2014-10-09 16:08:44 +02:00
gprs_ns_test.ok gprs-ns: Fix reset state handling 2014-10-09 07:52:43 +02:00