libosmocore/include/osmocom/gprs
Max f1ad60e4d8 Add function to properly encode RAI
Add gsm48_encode_ra() which takes appropriate struct as [out] parameter
instead of generic buffer. Using uint8_t buffer instead of proper struct
type prooved to be error-prone - see Coverity CID57877, CID57876.

Old gsm48_construct_ra() is made into tiny wrapper around new
function. The test output is adjusted because of the change in function
return value which was constant and hence ignored anyway.

Related: OS#1640
Change-Id: I31f9605277f4945f207c2c44ff82e62399f8db74
2018-01-08 13:02:07 +00:00
..
protocol Add missing BSSGP cause values 2017-07-01 07:40:09 +00:00
gprs_bssgp.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gprs_bssgp_bss.h Add function to properly encode RAI 2018-01-08 13:02:07 +00:00
gprs_msgb.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gprs_ns.h GPRS: constify NS printing routine parameters 2017-10-24 16:34:41 +00:00
gprs_ns_frgre.h doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gprs_rlc.h Add osmo_gprs_{ul,dl}_block_size_{bits,bytes} functions 2017-08-09 19:02:12 +02:00