libosmocore/tests
Jacob Erlbeck 36153dc61a bssgp: Handle BSSGP STATUS messages
Currently incoming BSSGP STATUS messages are just logged and no other
action is taken. This makes it impossible for higher layers to react
to failures which are indicated by corresponding STATUS messages
unless a timeout is triggered as a result of that failure later on.

This commit adds a bssgp_rx_status() function and calls it on
incoming STATUS messages. That function logs a message, increments the
new BSSGP_CTR_STATUS counter if the bctx context exists and invokes
an NM_STATUS status indication. The latter will allow the application
to handle failures immediately. Since all STATUS messages should be
handled, the function is already called in bssgp_rcvmsg and the
message is no longer handled in (and will not reach) bssgp_rx_sign
and bssgp_rx_ptp.

Ticket: OW#1414
Sponsored-by: On-Waves ehf
2015-03-18 21:54:37 +01: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 bssgp: Handle BSSGP STATUS messages 2015-03-18 21:54:37 +01: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 SMS-CB: introduce and use GSM341_7BIT_PADDING 2014-12-30 13:25:44 +01: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 Supplementary Services (de)activation, interrogation added 2015-01-01 14:19:17 +01: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 add gsm0341_test to generate SMSCB hex strings 2014-12-29 17:09:11 +01:00
testsuite.at gprs/test: Add BSSGP tests 2014-10-23 18:52:56 +02:00