osmo-bsc/tests/gsm0408
Philipp Maier 3b9dcb3fc1 gsm_04_08: improve gsm48_multirate_config()
The function gsm48_multirate_config() generates the multirate
configuration IE, that is sent via RSL to configure the active set of
AMR codecs inside the BTS. The function already works, but it does not
check the input data for consistancy. Lets add some consistancy check to
make sure that inconsistant parameters are rejected. Also allow the
output pointer to be NULL, so that the function can be used to perform
a dry run to be able to verify parameters.

- Check for invalid / inconsistant configuration parameters
- Perform a dry-run when lv pointer is set to NULL

Change-Id: I06beb7dd7236c81c3a91af4d09c31891f4b910a4
Related: OS#3529
2018-10-24 09:22:41 +02:00
..
Makefile.am gsm_04_08: improve gsm48_multirate_config() 2018-10-24 09:22:41 +02:00
gsm0408_test.c gsm_04_08: improve gsm48_multirate_config() 2018-10-24 09:22:41 +02:00
gsm0408_test.ok gsm_04_08: improve gsm48_multirate_config() 2018-10-24 09:22:41 +02:00