aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2015-12-27 15:05:41 +0100
committerSylvain Munaut <tnt@246tNt.com>2015-12-27 15:44:25 +0100
commitb21bf53788397012f220311af61db8632efa059b (patch)
treec0363512d4a67cfce7dca135d460f9377b694f94 /openbsc/include
parentcdc548cb0ac79a6eef3903872cc6e73eaf6f59ae (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.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/mncc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mncc.h b/openbsc/include/openbsc/mncc.h
index 10192addd..fd1f2badd 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