diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2013-03-31 12:01:25 +0200 |
---|---|---|
committer | Ivan Kluchnikov <kluchnikovi@gmail.com> | 2015-05-26 15:55:13 +0300 |
commit | 8d0f77c8ffe328cd80b6f01e721220cd6867a98d (patch) | |
tree | e00a6209fd3b77537d35d99fe92cbd49dccd9ead /openbsc/include | |
parent | 4e3a2670550ef0cabd8e682395ea385967824049 (diff) |
osmo-nitb support for codec negotiation
The caller's most preferred codec is selected out of the union of codecs,
which both parties support.
Since codec negotiation is done automatically, there is no need to define
codec for TCH/F and TCH/H via VTY anymore.
Conflicts:
openbsc/src/libmsc/gsm_04_08.c
openbsc/src/libmsc/vty_interface_layer3.c
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/mncc.h | 4 | ||||
-rw-r--r-- | openbsc/include/openbsc/mncc_int.h | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/openbsc/include/openbsc/mncc.h b/openbsc/include/openbsc/mncc.h index 46ba23729..865a89ba5 100644 --- a/openbsc/include/openbsc/mncc.h +++ b/openbsc/include/openbsc/mncc.h @@ -44,6 +44,10 @@ struct gsm_call { uint32_t callref; /* the 'remote' transaction */ uint32_t remote_ref; + + /* the capabilities */ + uint8_t lchan_type; + struct gsm_mncc_bearer_cap bcap; }; #define MNCC_SETUP_REQ 0x0101 diff --git a/openbsc/include/openbsc/mncc_int.h b/openbsc/include/openbsc/mncc_int.h index 4f30f08c0..92012c101 100644 --- a/openbsc/include/openbsc/mncc_int.h +++ b/openbsc/include/openbsc/mncc_int.h @@ -3,10 +3,4 @@ #include <stdint.h> -struct mncc_int { - uint8_t def_codec[2]; -}; - -extern struct mncc_int mncc_int; - #endif |