aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/mncc.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-08-24 21:27:26 +0200
committerHarald Welte <laforge@gnumonks.org>2012-08-24 21:37:59 +0200
commitc8a0b939398b85ee74f248c73e263b71c09274d1 (patch)
tree5c387f26f7d19de98184e998164b45bfdd5f51be /include/osmocom/gsm/mncc.h
parent7ccd3181c5dc6a8fdb003fc3d9ebe103cb46184c (diff)
GSM 04.08: Add support for parsing CSD related bearer capabilities
Also adds a test case for both encoder and decoder of this IE
Diffstat (limited to 'include/osmocom/gsm/mncc.h')
-rw-r--r--include/osmocom/gsm/mncc.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/osmocom/gsm/mncc.h b/include/osmocom/gsm/mncc.h
index a094bb9b..a51267e0 100644
--- a/include/osmocom/gsm/mncc.h
+++ b/include/osmocom/gsm/mncc.h
@@ -1,6 +1,8 @@
#ifndef _OSMOCORE_MNCC_H
#define _OSMOCORE_MNCC_H
+#include <osmocom/gsm/protocol/gsm_04_08.h>
+
#define GSM_MAX_FACILITY 128
#define GSM_MAX_SSVERSION 128
#define GSM_MAX_USERUSER 128
@@ -13,6 +15,18 @@ struct gsm_mncc_bearer_cap {
int radio; /* Radio Channel Requirement */
int speech_ctm; /* CTM text telephony indication */
int speech_ver[8]; /* Speech version indication */
+ struct {
+ enum gsm48_bcap_ra rate_adaption;
+ enum gsm48_bcap_sig_access sig_access;
+ int async;
+ int nr_stop_bits;
+ int nr_data_bits;
+ enum gsm48_bcap_user_rate user_rate;
+ enum gsm48_bcap_parity parity;
+ enum gsm48_bcap_interm_rate interm_rate;
+ enum gsm48_bcap_transp transp;
+ enum gsm48_bcap_modem_type modem_type;
+ } data;
};
struct gsm_mncc_number {