Common library for all Osmocom projects (libosmocore, libosmogsm, libosmovty, libosmogb, libosmosim, libosmousb, ...) https://osmocom.org/projects/libosmocore
Go to file
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
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 gprs-ns: Let gprs_nsvc_reset return a value 2014-10-09 07:47:20 +02:00
m4 Create a dummy m4 directory to make autoreconf --install --force work 2010-03-24 02:55:33 +01:00
src gprs-ns: Fix reset state handling 2014-10-09 07:52:43 +02:00
tests gprs-ns: Fix reset state handling 2014-10-09 07:52:43 +02:00
utils build: remove unused all_includes and use AM_CPPFLAGS 2014-10-03 08:48:31 +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 build: remove unused all_includes and use AM_CPPFLAGS 2014-10-03 08:48:31 +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