libosmogsm  1.11.0
Osmocom GSM library
gsm_44_068.h
Go to the documentation of this file.
1 #pragma once
2 #include <stdint.h>
3 #include <osmocom/core/utils.h>
4 
5 /* Group Call Control (GCC) is an ETSI/3GPP standard protocol used between
6  * MS (Mobile Station) and MSC (Mobile Switchting Center) in 2G/GSM-R network.
7  * It is specified in 3GPP TS 44.068.
8  *
9  * (C) 2023 by Sysmocom s.f.m.c. GmbH
10  * All Rights Reserved
11  *
12  * Author: Andreas Eversberg
13  *
14  * This program is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation; either version 2 of the License, or
17  * (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program. If not, see <http://www.gnu.org/licenses/>.
26  *
27  * SPDX-License-Identifier: GPL-2.0+
28  */
29 
30 /* 9 Information Element Identifiers */
38 };
39 
40 /* 9.3 Message Type */
52 };
53 
54 /* Table 9.2 priority */
63 };
64 
65 /* 9.4.2 Call State */
79 };
80 
81 /* 9.4.3 Cause */
109 };
110 
111 /* 9.4.4 Originator Indication */
112 #define OSMO_GSM44068_OI_MS_IS_ORIGINATOR 0x01
113 
114 /* 9.4.7 State Attributes */
115 #define OSMO_GSM44068_DA_DOWNLINK_ATTACHED 0x08
116 #define OSMO_GSM44068_UA_UPLINK_ATTACHED 0x04
117 #define OSMO_GSM44068_COMM_T 0x02
118 
119 /* 9.4.9 Talker Priority */
124 };
125 
126 /* 9.4.10 SMS Indications */
127 #define OSMO_GSM44068_DC_DATA_CONFIDENTALLY_RQD 0x02
128 #define OSMO_GSM44068_GP_GUARANTEED_PRIVACY_RQD 0x01
129 
130 extern const struct value_string osmo_gsm44068_msg_type_names[];
132 extern const struct value_string osmo_gsm44068_cause_names[];
133 extern const struct value_string osmo_gsm44068_call_state_names[];
135 
136 extern const struct tlv_definition osmo_gsm44068_att_tlvdef;
Definition: gsm_44_068.h:89
Definition: gsm_44_068.h:42
Definition: gsm_44_068.h:32
Definition: gsm_44_068.h:78
Definition: gsm_44_068.h:50
Definition: gsm_44_068.h:67
Definition: gsm_44_068.h:83
const struct value_string osmo_gsm44068_priority_level_names[]
Definition: gsm44068.c:48
Definition: gsm_44_068.h:103
Definition: gsm_44_068.h:49
Definition: gsm_44_068.h:93
const struct value_string osmo_gsm44068_msg_type_names[]
Definition: gsm44068.c:34
Definition: gsm_44_068.h:36
Definition: gsm_44_068.h:68
Definition: gsm_44_068.h:57
Definition: gsm_44_068.h:75
Definition: gsm_44_068.h:51
Definition: gsm_44_068.h:107
Definition: gsm_44_068.h:70
const struct value_string osmo_gsm44068_cause_names[]
Definition: gsm44068.c:59
Definition: gsm_44_068.h:73
Definition: gsm_44_068.h:121
Definition: gsm_44_068.h:108
Definition: gsm_44_068.h:74
Definition: gsm_44_068.h:106
Definition: gsm_44_068.h:43
Definition: gsm_44_068.h:61
Definition: gsm_44_068.h:45
osmo_gsm44068_msg_type
Definition: gsm_44_068.h:41
Definition: gsm_44_068.h:34
Definition: gsm_44_068.h:85
Definition: gsm_44_068.h:123
osmo_gsm44068_iei
Definition: gsm_44_068.h:31
osmo_gsm44068_talker_priority
Definition: gsm_44_068.h:120
Definition: gsm_44_068.h:46
const struct value_string osmo_gsm44068_talker_priority_names[]
Definition: gsm44068.c:105
Definition: gsm_44_068.h:98
Definition: gsm_44_068.h:122
Definition: gsm_44_068.h:35
const struct value_string osmo_gsm44068_call_state_names[]
Definition: gsm44068.c:89
Definition: gsm_44_068.h:56
Definition: gsm_44_068.h:60
Definition: gsm_44_068.h:72
Definition: gsm_44_068.h:101
Definition: gsm_44_068.h:59
const struct tlv_definition osmo_gsm44068_att_tlvdef
Definition: gsm44068.c:112
Definition: gsm_44_068.h:90
Definition: gsm_44_068.h:69
osmo_gsm44068_priority_level
Definition: gsm_44_068.h:55
Definition: gsm_44_068.h:47
Definition: gsm_44_068.h:92
Definition: gsm_44_068.h:37
Definition: gsm_44_068.h:62
Definition: gsm_44_068.h:48
Definition of All 256 IE / TLV.
Definition: tlv.h:527
osmo_gsm44068_call_state
Definition: gsm_44_068.h:66
Definition: gsm_44_068.h:58
Definition: gsm_44_068.h:76
Definition: gsm_44_068.h:77
Definition: gsm_44_068.h:91
Definition: gsm_44_068.h:84
Definition: gsm_44_068.h:44
osmo_gsm44068_cause
Definition: gsm_44_068.h:82
Definition: gsm_44_068.h:33
Definition: gsm_44_068.h:71