libosmocore/tests
Jacob Erlbeck 6ac70a41ee gprs-ns: Fix reset state handling
Currently the NS-VC's state is updated from within gprs_ns_tx_reset,
which can lead to an inconsistent state when the RESET_ACK is lost.
In this state, the NSE_S_RESET bit is set but the Tns-reset timer is
not started.

This patch moves the state update into gprs_nsvc_reset. This way, the
state flags are consistent with the timer.

Addresses:
  SGSN -> BSS       NS_ALIVE
  BSS -> SGSN       NS_ALIVE_ACK
  BSS -> SGSN       BVC_RESET
  SGSN -> BSS       NS_STATUS, Cause: NS-VC blocked, NS VCI: 0x65
  and there is no BSS->SGSN NS_ALIVE

Ticket: OW#1213
Sponsored-by: On-Waves ehf
2014-10-09 07:52:43 +02:00
..
a5 build: simplify test handling and speed up build. 2012-06-30 22:01:42 +02:00
auth tests: Fix warnings 2013-10-08 14:00:24 +02:00
bits tests/bits: Make sure all 'inline' are also static 2014-06-16 15:57:36 +02:00
comp128 Refactor COMP128v23 implementation and add test suit 2013-12-07 18:10:38 +01:00
conv tests: Fix warnings 2013-10-08 14:00:24 +02:00
fr fr_test: Speculative build fix for FreeBSD 2013-01-15 21:18:02 +01:00
gb gprs-ns: Fix reset state handling 2014-10-09 07:52:43 +02:00
gsm0408 gsm0408: Avoid unaligned memory access in gsm48_generate_mid_from_tmsi 2013-07-03 10:00:06 +02:00
gsm0808 build: simplify test handling and speed up build. 2012-06-30 22:01:42 +02:00
kasumi gsm: Add Kasumi cipher implementation 2014-06-16 14:59:30 +02:00
lapd gsm/lapdm: Prevent LAPD tx_queue from filling up in polling mode 2014-03-26 18:11:07 +01:00
logging logging: Copy the filter_fn and fix the IMSI filter in OpenBSC 2013-12-29 19:38:01 +01:00
loggingrb utils: Introduce OSMO_ASSERT in the utils and use it in the unit tests 2013-03-09 23:52:29 +01:00
msgfile build: resolve compiler warning about implicit delcaration 2014-10-04 11:49:23 +02:00
sms sms_test: Do not crash on logging. 2014-03-20 22:02:46 +01:00
smscb tests: Fix warnings 2013-10-08 14:00:24 +02:00
strrb utils: Introduce OSMO_ASSERT in the utils and use it in the unit tests 2013-03-09 23:52:29 +01:00
timer tests: Fix warnings 2013-10-08 14:00:24 +02:00
ussd sms: Added result buffer size parameter to 7bit conv funs 2013-08-12 17:22:27 +02:00
utils utils: Greatly improve performance of osmo_hexdump routines 2014-01-02 14:08:11 +01:00
vty vty: Make vty_event dispatch signals and use it in the testcase 2013-10-10 20:21:33 +02:00
Makefile.am build: fix linker error with kasumi_test 2014-10-03 08:48:31 +02:00
testsuite.at gsm: Add Kasumi cipher implementation 2014-06-16 14:59:30 +02:00