Common library for all Osmocom projects (libosmocore, libosmogsm, libosmovty, libosmogb, libosmosim, libosmousb, ...) https://osmocom.org/projects/libosmocore
Go to file
Jacob Erlbeck fe2aa68db8 ns: Force a defined state when sending NS RESET
Currently the state is assumed to remain the same while the reset
procedure is active. While this works correctly in general, a single
unexpected BLOCK_ACK or UNBLOCK_ACK can change the state but will not
stop the reset procedure. The leads to repeated RESET messages, where
the corresponding RESET_ACK is ignored. This is a stable state which
can only be left by manual intervention or by reception of a RESET
message from the peer.

This commit changes the RESET timeout handler to set the state to
BLOCKED/RESET when sending the new NS RESET message.

Note that this should ensure a clean restart even if the state has been
screwed up. It does not fix the handling of BLOCK_ACK or UNBLOCK_ACK
in abnormal cases.

Addresses:
 gprs_ns.c:349 NSEI=8895 Tx NS RESET (NSVCI=8895, cause=O&M intervention)
 gprs_ns.c:878 NSVCI=8895 Rx NS RESET ACK (NSEI=8895, NSVCI=8895)
 gprs_ns.c:887 NS RESET ACK Discarding unexpected message for NS-VCI 8895 from SGSN NSEI=8895

Ticket: OW#1551
Sponsored-by: On-Waves ehf
2015-12-17 14:22:04 +01:00
debian debian: Depend on the right version of libosmogsm as well 2014-09-08 07:44:20 +02:00
doc vty: Merge from a generic section in case no specific one exists 2012-07-25 17:35:52 +02:00
include bssgp: Handle BSSGP STATUS messages 2015-03-27 22:33:52 +01:00
m4 Create a dummy m4 directory to make autoreconf --install --force work 2010-03-24 02:55:33 +01:00
src ns: Force a defined state when sending NS RESET 2015-12-17 14:22:04 +01:00
tests ns: Force a defined state when sending NS RESET 2015-12-17 14:22:04 +01:00
utils osmo-auc-gen: Fix compiler warnings about aliasing 2014-06-22 16:53:55 +02:00
.gitignore gsm: Add Kasumi cipher implementation 2014-06-16 14:59:30 +02:00
COPYING add GPL to project source 2010-02-21 09:21:30 +01:00
Doxyfile.codec.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Doxyfile.core.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Doxyfile.gsm.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Doxyfile.vty.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Makefile.am libctrl: autotools build system integration 2014-08-21 15:34:18 +02:00
TODO-RELEASE logging: Document the ABI breakage in the release todo 2014-09-02 18:19:03 +02:00
configure.ac libctrl: autotools build system integration 2014-08-21 15:34:18 +02:00
git-version-gen add git-version-gen magic to automatically generate package version 2010-03-23 00:30:19 +08:00
libosmocodec.pc.in codec: Add the missing bits for include to install and pkgconfig to work 2010-10-24 18:23:10 +02:00
libosmocore.pc.in add missing automake / autoconf files 2010-02-20 21:09:24 +01:00
libosmoctrl.pc.in libctrl: autotools build system integration 2014-08-21 15:34:18 +02:00
libosmogb.pc.in libosmogb: build without strict aliasing rules 2012-09-07 12:01:28 +02:00
libosmogsm.pc.in This patch moves the GSM-specific functions to the new library 2011-03-23 18:08:08 +01:00
libosmovty.pc.in Add pkgconfig for libosmovty 2010-05-25 22:28:40 +02:00