[PATCH 3/4] gprs: Don't discard SUSPEND/RESUME in bssgp_rcvmsg (TODO)

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Jacob Erlbeck jerlbeck at sysmocom.de
Tue Sep 23 11:45:43 UTC 2014


Oops, I didn't intend to send this one, but comments are welcome anyway.

Jacob

On 23.09.2014 13:28, Jacob Erlbeck wrote:
> Currently sending SUSPEND/RESUME messages to this function (like it
> is done in the osmo-sgsn) results in STATUS messages complaining
> about an unknown BVCI. The reason is, that these messages rely on a
> TLLI/RAI pair to identify the context and do not contain an explicit
> BVCI.
> 
> This patch modifies bssgp_rcvmsg() to only complain about and unknown
> BVCI if one is given but a matching context is not found (except for
> RESET messages). The ctx argument is removed from the functions
> handling SUSPEND and RESUME since it will always be NULL then.
> 
> TODO:
>   - test cases
>   - end-to-end test
> 
> Sponsored-by: On-Waves ehf


-- 
- Jacob Erlbeck <jerlbeck at sysmocom.de>       http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Schivelbeiner Str. 5
* 10439 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Directors: Holger Freyther, Harald Welte




More information about the OpenBSC mailing list