diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-03-17 10:21:17 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-03-18 21:54:37 +0100 |
commit | 36153dc61aa15f9c3084c2824c51356fc4babadb (patch) | |
tree | c6cf226629812e56459bf8c42e5f38498fa05478 /src/gsm/Makefile.am | |
parent | 49ed9beed1a1f6df197defb295cf436b5eeb8933 (diff) |
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
Diffstat (limited to 'src/gsm/Makefile.am')
0 files changed, 0 insertions, 0 deletions