libosmogsm 1.13.1.1-afb4 Osmocom GSM library

cbsp.h
Go to the documentation of this file.
1#pragma once
2
3#include <stdint.h>
4#include <osmocom/core/linuxlist.h>
5#include <osmocom/gsm/protocol/gsm_48_049.h>
6#include <osmocom/gsm/gsm0808_utils.h>
7
8/* Definitions for parsed / abstract representation of messages in the
9 * CBSP (Cell Broadcast Service Protocol, 3GPP TS 48.049). Data here is *not* formatted
10 * like the on-the-wire format. Any similarities are coincidential ;) */
11
12/* Copyright (C) 2019 Harald Welte <laforge@gnumonks.org>
13 *
14 * All Rights Reserved
15 *
16 * SPDX-License-Identifier: GPL-2.0+
17 *
18 * This program is free software; you can redistribute it and/or modify
19 * it under the terms of the GNU General Public License as published by
20 * the Free Software Foundation; either version 2 of the License, or
21 * (at your option) any later version.
22 *
23 * This program is distributed in the hope that it will be useful,
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 * GNU General Public License for more details.
27 */
28
29/* Decoded 8.2.3 Message Content */
30 struct osmo_cbsp_content {
31 struct llist_head list;
32 uint8_t user_len;
33 uint8_t data[82];
34};
35
36/* Decoded Entry in a 8.2.6 Cell List */
37 struct osmo_cbsp_cell_ent {
38 struct llist_head list; /* entry in osmo_cbsp_cell_list.list */
39 union gsm0808_cell_id_u cell_id;
40};
41 struct osmo_cbsp_cell_list {
42 enum CELL_IDENT id_discr;
43 struct llist_head list; /* list of osmo_cbsp_cell_ent */
44};
45
46/* Decoded Entry in a 8.2.10 Completed List */
47 struct osmo_cbsp_num_compl_ent {
48 struct llist_head list; /* entry in osmo_cbsp_num_compl_list.list */
49 union gsm0808_cell_id_u cell_id;
50 uint16_t num_compl;
51 uint8_t num_bcast_info;
52};
53 struct osmo_cbsp_num_compl_list {
54 enum CELL_IDENT id_discr;
55 struct llist_head list; /* list of osmo_cbsp_num_compl_ent */
56};
57
58/* Decoded Entry in a 8.2.12 Radio Resource Loading List */
59 struct osmo_cbsp_loading_ent {
60 struct llist_head list; /* entry in osmo_cbsp_loading_list */
61 union gsm0808_cell_id_u cell_id;
62 uint8_t load[2];
63};
64 struct osmo_cbsp_loading_list {
65 enum CELL_IDENT id_discr;
66 struct llist_head list; /* list of osmo_cbsp_loading_ent */
67};
68
69/* Decoded Entry in a 8.2.11 Failure List */
70 struct osmo_cbsp_fail_ent {
71 struct llist_head list; /* entry in a fail_list below */
72 enum CELL_IDENT id_discr;
73 union gsm0808_cell_id_u cell_id;
74 uint8_t cause; /* enum osmo_cbsp_cause */
75};
76
77
78/* 8.1.3.1 */
79 struct osmo_cbsp_write_replace {
80 uint16_t msg_id; /* 8.2.16 M */
81 uint16_t new_serial_nr; /* 8.2.5 M */
82 uint16_t *old_serial_nr; /* 8.2.4 */
83 struct osmo_cbsp_cell_list cell_list;
84
85 bool is_cbs;
86 union {
87 struct {
88 enum cbsp_channel_ind channel_ind;
89 enum cbsp_category category;
90 uint16_t rep_period;
91 uint16_t num_bcast_req;
92 /* num_of_pages implicit as llist_count(msg_content) */
93 uint8_t dcs;
94 struct llist_head msg_content;
95 } cbs;
96 struct {
97 uint8_t indicator;
98 uint16_t warning_type;
99 uint8_t warning_sec_info[50];
100 uint32_t warning_period; /* in seconds; 0xffffffff = unlimited */
101 } emergency;
102 } u;
103};
104
105/* 8.1.3.2 */
106 struct osmo_cbsp_write_replace_complete {
107 uint16_t msg_id;
108 uint16_t new_serial_nr;
109 uint16_t *old_serial_nr;
110 struct osmo_cbsp_num_compl_list num_compl_list;
111 struct osmo_cbsp_cell_list cell_list;
112 enum cbsp_channel_ind *channel_ind;
113};
114
115/* 8.1.3.3 */
116 struct osmo_cbsp_write_replace_failure {
117 uint16_t msg_id;
118 uint16_t new_serial_nr;
119 uint16_t *old_serial_nr;
120 struct llist_head fail_list; /* list of osmo_cbsp_fail_ent */
121 struct osmo_cbsp_num_compl_list num_compl_list;
122 struct osmo_cbsp_cell_list cell_list;
123 enum cbsp_channel_ind *channel_ind;
124};
125
126/* 8.1.3.4 */
127 struct osmo_cbsp_kill {
128 uint16_t msg_id;
129 uint16_t old_serial_nr;
130 struct osmo_cbsp_cell_list cell_list;
131 enum cbsp_channel_ind *channel_ind;
132};
133
134/* 8.1.3.5 */
135 struct osmo_cbsp_kill_complete {
136 uint16_t msg_id;
137 uint16_t old_serial_nr;
138 struct osmo_cbsp_num_compl_list num_compl_list;
139 struct osmo_cbsp_cell_list cell_list;
140 enum cbsp_channel_ind *channel_ind;
141};
142
143/* 8.1.3.6 */
144 struct osmo_cbsp_kill_failure {
145 uint16_t msg_id;
146 uint16_t old_serial_nr;
147 struct llist_head fail_list; /* list of osmo_cbsp_fail_ent */
148 struct osmo_cbsp_num_compl_list num_compl_list;
149 struct osmo_cbsp_cell_list cell_list;
150 enum cbsp_channel_ind *channel_ind;
151};
152
153/* 8.1.3.7 */
154 struct osmo_cbsp_load_query {
155 struct osmo_cbsp_cell_list cell_list;
156 enum cbsp_channel_ind channel_ind;
157};
158
159/* 8.1.3.8 */
160 struct osmo_cbsp_load_query_complete {
161 struct osmo_cbsp_loading_list loading_list;
162 enum cbsp_channel_ind channel_ind;
163};
164
165/* 8.1.3.9 */
166 struct osmo_cbsp_load_query_failure {
167 struct llist_head fail_list; /* list of osmo_cbsp_fail_ent */
168 enum cbsp_channel_ind channel_ind;
169 struct osmo_cbsp_loading_list loading_list;
170};
171
172/* 8.1.3.10 */
173 struct osmo_cbsp_msg_status_query {
174 uint16_t msg_id;
175 uint16_t old_serial_nr;
176 struct osmo_cbsp_cell_list cell_list;
177 enum cbsp_channel_ind channel_ind;
178};
179
180/* 8.1.3.11 */
181 struct osmo_cbsp_msg_status_query_complete {
182 uint16_t msg_id;
183 uint16_t old_serial_nr;
184 struct osmo_cbsp_num_compl_list num_compl_list;
185 enum cbsp_channel_ind channel_ind;
186};
187
188/* 8.1.3.12 */
189 struct osmo_cbsp_msg_status_query_failure {
190 uint16_t msg_id;
191 uint16_t old_serial_nr;
192 struct llist_head fail_list; /* list of osmo_cbsp_fail_ent */
193 enum cbsp_channel_ind channel_ind;
194 struct osmo_cbsp_num_compl_list num_compl_list;
195};
196
197/* 8.1.3.16 */
198 struct osmo_cbsp_reset {
199 struct osmo_cbsp_cell_list cell_list;
200};
201
202/* 8.1.3.17 */
203 struct osmo_cbsp_reset_complete {
204 struct osmo_cbsp_cell_list cell_list;
205};
206
207/* 8.1.3.18 */
208 struct osmo_cbsp_reset_failure {
209 struct llist_head fail_list; /* list of osmo_cbsp_fail_ent */
210 struct osmo_cbsp_cell_list cell_list;
211};
212
213/* 8.1.3.18a */
214 struct osmo_cbsp_keep_alive {
215 uint8_t repetition_period;
216};
217
218/* 8.1.3.18b */
219 struct osmo_cbsp_keep_alive_complete {
220};
221
222/* 8.1.3.19 */
223 struct osmo_cbsp_restart {
224 struct osmo_cbsp_cell_list cell_list;
225 uint8_t bcast_msg_type;
226 uint8_t recovery_ind;
227};
228
229/* 8.1.3.20 */
230 struct osmo_cbsp_failure {
231 struct llist_head fail_list; /* list of osmo_cbsp_fail_ent */
232 uint8_t bcast_msg_type;
233};
234
235/* 8.1.3.21 */
236 struct osmo_cbsp_error_ind {
237 enum cbsp_cell_id_cause cause;
238 uint16_t *msg_id;
239 uint16_t *new_serial_nr;
240 uint16_t *old_serial_nr;
241 enum cbsp_channel_ind *channel_ind;
242};
243
244/* 8.2.13 Cause */
245 enum osmo_cbsp_cause {
246 OSMO_CBSP_CAUSE_PARAM_NOT_RECOGNISED = 0,
247 OSMO_CBSP_CAUSE_PARAM_VALUE_INVALID,
248 OSMO_CBSP_CAUSE_MSG_REF_NOT_IDENTIFIED,
249 OSMO_CBSP_CAUSE_CELL_ID_NOT_VALID,
250 OSMO_CBSP_CAUSE_UNRECOGNISED_MESSAGE,
251 OSMO_CBSP_CAUSE_MISSING_MANDATORY_ELEMENT,
252 OSMO_CBSP_CAUSE_BSC_CAPACITY_EXCEEDED,
253 OSMO_CBSP_CAUSE_CELL_MEMORY_EXCEEDED,
254 OSMO_CBSP_CAUSE_BSC_MEMORY_EXCEEDED,
255 OSMO_CBSP_CAUSE_CELL_BROADCAST_NOT_SUPPORTED,
256 OSMO_CBSP_CAUSE_CELL_BROADCAST_NOT_OPERATIONAL,
257 OSMO_CBSP_CAUSE_INCOMPATIBLE_DRX_PARAM,
258 OSMO_CBSP_CAUSE_EXT_CHAN_NOT_SUPPORTED,
259 OSMO_CBSP_CAUSE_MSG_REF_ALREADY_USED,
260 OSMO_CBSP_CAUSE_UNSPECIFIED_ERROR,
261 OSMO_CBSP_CAUSE_LAI_OR_LAC_NOT_VALID,
262};
263 extern const struct value_string osmo_cbsp_cause_names[];
264 static inline const char *osmo_cbsp_cause_name(enum osmo_cbsp_cause cause)
265{
266 return get_value_string(osmo_cbsp_cause_names, cause);
267}
268
269/* decoded CBSP message */
270 struct osmo_cbsp_decoded {
271 enum cbsp_msg_type msg_type;
272 union {
273 struct osmo_cbsp_write_replace write_replace;
274 struct osmo_cbsp_write_replace_complete write_replace_compl;
275 struct osmo_cbsp_write_replace_failure write_replace_fail;
276
277 struct osmo_cbsp_kill kill;
278 struct osmo_cbsp_kill_complete kill_compl;
279 struct osmo_cbsp_kill_failure kill_fail;
280
281 struct osmo_cbsp_load_query load_query;
282 struct osmo_cbsp_load_query_complete load_query_compl;
283 struct osmo_cbsp_load_query_failure load_query_fail;
284
285 struct osmo_cbsp_msg_status_query msg_status_query;
286 struct osmo_cbsp_msg_status_query_complete msg_status_query_compl;
287 struct osmo_cbsp_msg_status_query_failure msg_status_query_fail;
288
289 /* TODO: set DRX */
290
291 struct osmo_cbsp_reset reset;
292 struct osmo_cbsp_reset_complete reset_compl;
293 struct osmo_cbsp_reset_failure reset_fail;
294
295 struct osmo_cbsp_restart restart;
296
297 struct osmo_cbsp_failure failure;
298
299 struct osmo_cbsp_error_ind error_ind;
300
301 struct osmo_cbsp_keep_alive keep_alive;
302 struct osmo_cbsp_keep_alive_complete keep_alive_compl;
303 } u;
304};
305
306 extern __thread const char *osmo_cbsp_errstr;
307
308 struct msgb *osmo_cbsp_msgb_alloc(void *ctx, const char *name);
309 struct msgb *osmo_cbsp_encode(void *ctx, const struct osmo_cbsp_decoded *in);
310 struct osmo_cbsp_decoded *osmo_cbsp_decode(void *ctx, struct msgb *in);
311 void osmo_cbsp_init_struct(struct osmo_cbsp_decoded *cbsp, enum cbsp_msg_type msg_type);
312 struct osmo_cbsp_decoded *osmo_cbsp_decoded_alloc(void *ctx, enum cbsp_msg_type msg_type);
313
314 int osmo_cbsp_recv_buffered(void *ctx, int fd, struct msgb **rmsg, struct msgb **tmp_msg);
315 int osmo_cbsp_segmentation_cb(struct msgb *msg);
osmo_cbsp_errstr
__thread const char * osmo_cbsp_errstr
Definition: cbsp.c:33
osmo_cbsp_cause
osmo_cbsp_cause
Definition: cbsp.h:245
OSMO_CBSP_CAUSE_UNRECOGNISED_MESSAGE
@ OSMO_CBSP_CAUSE_UNRECOGNISED_MESSAGE
Definition: cbsp.h:250
OSMO_CBSP_CAUSE_PARAM_NOT_RECOGNISED
@ OSMO_CBSP_CAUSE_PARAM_NOT_RECOGNISED
Definition: cbsp.h:246
OSMO_CBSP_CAUSE_LAI_OR_LAC_NOT_VALID
@ OSMO_CBSP_CAUSE_LAI_OR_LAC_NOT_VALID
Definition: cbsp.h:261
OSMO_CBSP_CAUSE_UNSPECIFIED_ERROR
@ OSMO_CBSP_CAUSE_UNSPECIFIED_ERROR
Definition: cbsp.h:260
OSMO_CBSP_CAUSE_MSG_REF_ALREADY_USED
@ OSMO_CBSP_CAUSE_MSG_REF_ALREADY_USED
Definition: cbsp.h:259
OSMO_CBSP_CAUSE_MISSING_MANDATORY_ELEMENT
@ OSMO_CBSP_CAUSE_MISSING_MANDATORY_ELEMENT
Definition: cbsp.h:251
OSMO_CBSP_CAUSE_CELL_BROADCAST_NOT_SUPPORTED
@ OSMO_CBSP_CAUSE_CELL_BROADCAST_NOT_SUPPORTED
Definition: cbsp.h:255
OSMO_CBSP_CAUSE_PARAM_VALUE_INVALID
@ OSMO_CBSP_CAUSE_PARAM_VALUE_INVALID
Definition: cbsp.h:247
OSMO_CBSP_CAUSE_CELL_MEMORY_EXCEEDED
@ OSMO_CBSP_CAUSE_CELL_MEMORY_EXCEEDED
Definition: cbsp.h:253
OSMO_CBSP_CAUSE_EXT_CHAN_NOT_SUPPORTED
@ OSMO_CBSP_CAUSE_EXT_CHAN_NOT_SUPPORTED
Definition: cbsp.h:258
OSMO_CBSP_CAUSE_BSC_CAPACITY_EXCEEDED
@ OSMO_CBSP_CAUSE_BSC_CAPACITY_EXCEEDED
Definition: cbsp.h:252
OSMO_CBSP_CAUSE_CELL_ID_NOT_VALID
@ OSMO_CBSP_CAUSE_CELL_ID_NOT_VALID
Definition: cbsp.h:249
OSMO_CBSP_CAUSE_CELL_BROADCAST_NOT_OPERATIONAL
@ OSMO_CBSP_CAUSE_CELL_BROADCAST_NOT_OPERATIONAL
Definition: cbsp.h:256
OSMO_CBSP_CAUSE_INCOMPATIBLE_DRX_PARAM
@ OSMO_CBSP_CAUSE_INCOMPATIBLE_DRX_PARAM
Definition: cbsp.h:257
OSMO_CBSP_CAUSE_MSG_REF_NOT_IDENTIFIED
@ OSMO_CBSP_CAUSE_MSG_REF_NOT_IDENTIFIED
Definition: cbsp.h:248
OSMO_CBSP_CAUSE_BSC_MEMORY_EXCEEDED
@ OSMO_CBSP_CAUSE_BSC_MEMORY_EXCEEDED
Definition: cbsp.h:254
osmo_cbsp_msgb_alloc
struct msgb * osmo_cbsp_msgb_alloc(void *ctx, const char *name)
Definition: cbsp.c:35
osmo_cbsp_cause_name
static const char * osmo_cbsp_cause_name(enum osmo_cbsp_cause cause)
Definition: cbsp.h:264
osmo_cbsp_cause_names
const struct value_string osmo_cbsp_cause_names[]
osmo_cbsp_segmentation_cb
int osmo_cbsp_segmentation_cb(struct msgb *msg)
osmo_cbsp_decoded_alloc
struct osmo_cbsp_decoded * osmo_cbsp_decoded_alloc(void *ctx, enum cbsp_msg_type msg_type)
Dynamically allocate and initialize decoded CBSP structure.
Definition: cbsp.c:1455
osmo_cbsp_recv_buffered
int osmo_cbsp_recv_buffered(void *ctx, int fd, struct msgb **rmsg, struct msgb **tmp_msg)
osmo_cbsp_decode
struct osmo_cbsp_decoded * osmo_cbsp_decode(void *ctx, struct msgb *in)
Decode a CBSP message from wire formwat to pased structure.
Definition: cbsp.c:1262
osmo_cbsp_encode
struct msgb * osmo_cbsp_encode(void *ctx, const struct osmo_cbsp_decoded *in)
Encode a CBSP message from the decoded/parsed structure representation to binary PDU.
Definition: cbsp.c:402
osmo_cbsp_init_struct
void osmo_cbsp_init_struct(struct osmo_cbsp_decoded *cbsp, enum cbsp_msg_type msg_type)
Definition: cbsp.c:1381
get_value_string
const char * get_value_string(const struct value_string *vs, uint32_t val)
gsm0808_utils.h
cause
uint8_t cause
Definition: gsm_04_08.h:2
msg_type
uint8_t msg_type
Definition: gsm_04_08.h:2
msg
uint8_t msg[0]
Definition: gsm_08_08.h:8
CELL_IDENT
CELL_IDENT
Definition: gsm_08_08.h:17
gsm_48_049.h
cbsp_cell_id_cause
cbsp_cell_id_cause
Definition: gsm_48_049.h:94
cbsp_category
cbsp_category
Definition: gsm_48_049.h:77
cbsp_msg_type
cbsp_msg_type
Definition: gsm_48_049.h:50
cbsp_channel_ind
cbsp_channel_ind
Definition: gsm_48_049.h:114
linuxlist.h
llist_head
msgb
osmo_cbsp_cell_ent
Definition: cbsp.h:37
osmo_cbsp_cell_ent::cell_id
union gsm0808_cell_id_u cell_id
Definition: cbsp.h:39
osmo_cbsp_cell_ent::list
struct llist_head list
Definition: cbsp.h:38
osmo_cbsp_cell_list
Definition: cbsp.h:41
osmo_cbsp_cell_list::list
struct llist_head list
Definition: cbsp.h:43
osmo_cbsp_cell_list::id_discr
enum CELL_IDENT id_discr
Definition: cbsp.h:42
osmo_cbsp_content
Definition: cbsp.h:30
osmo_cbsp_content::list
struct llist_head list
Definition: cbsp.h:31
osmo_cbsp_content::data
uint8_t data[82]
Definition: cbsp.h:33
osmo_cbsp_content::user_len
uint8_t user_len
Definition: cbsp.h:32
osmo_cbsp_decoded
Definition: cbsp.h:270
osmo_cbsp_decoded::msg_status_query_fail
struct osmo_cbsp_msg_status_query_failure msg_status_query_fail
Definition: cbsp.h:287
osmo_cbsp_decoded::reset_compl
struct osmo_cbsp_reset_complete reset_compl
Definition: cbsp.h:292
osmo_cbsp_decoded::reset
struct osmo_cbsp_reset reset
Definition: cbsp.h:291
osmo_cbsp_decoded::keep_alive
struct osmo_cbsp_keep_alive keep_alive
Definition: cbsp.h:301
osmo_cbsp_decoded::restart
struct osmo_cbsp_restart restart
Definition: cbsp.h:295
osmo_cbsp_decoded::reset_fail
struct osmo_cbsp_reset_failure reset_fail
Definition: cbsp.h:293
osmo_cbsp_decoded::kill_compl
struct osmo_cbsp_kill_complete kill_compl
Definition: cbsp.h:278
osmo_cbsp_decoded::load_query_compl
struct osmo_cbsp_load_query_complete load_query_compl
Definition: cbsp.h:282
osmo_cbsp_decoded::keep_alive_compl
struct osmo_cbsp_keep_alive_complete keep_alive_compl
Definition: cbsp.h:302
osmo_cbsp_decoded::kill_fail
struct osmo_cbsp_kill_failure kill_fail
Definition: cbsp.h:279
osmo_cbsp_decoded::msg_type
enum cbsp_msg_type msg_type
Definition: cbsp.h:271
osmo_cbsp_decoded::msg_status_query
struct osmo_cbsp_msg_status_query msg_status_query
Definition: cbsp.h:285
osmo_cbsp_decoded::load_query
struct osmo_cbsp_load_query load_query
Definition: cbsp.h:281
osmo_cbsp_decoded::error_ind
struct osmo_cbsp_error_ind error_ind
Definition: cbsp.h:299
osmo_cbsp_decoded::write_replace
struct osmo_cbsp_write_replace write_replace
Definition: cbsp.h:273
osmo_cbsp_decoded::write_replace_fail
struct osmo_cbsp_write_replace_failure write_replace_fail
Definition: cbsp.h:275
osmo_cbsp_decoded::msg_status_query_compl
struct osmo_cbsp_msg_status_query_complete msg_status_query_compl
Definition: cbsp.h:286
osmo_cbsp_decoded::load_query_fail
struct osmo_cbsp_load_query_failure load_query_fail
Definition: cbsp.h:283
osmo_cbsp_decoded::kill
struct osmo_cbsp_kill kill
Definition: cbsp.h:277
osmo_cbsp_decoded::write_replace_compl
struct osmo_cbsp_write_replace_complete write_replace_compl
Definition: cbsp.h:274
osmo_cbsp_decoded::u
union osmo_cbsp_decoded::@3 u
osmo_cbsp_decoded::failure
struct osmo_cbsp_failure failure
Definition: cbsp.h:297
osmo_cbsp_error_ind
Definition: cbsp.h:236
osmo_cbsp_error_ind::new_serial_nr
uint16_t * new_serial_nr
Definition: cbsp.h:239
osmo_cbsp_error_ind::old_serial_nr
uint16_t * old_serial_nr
Definition: cbsp.h:240
osmo_cbsp_error_ind::msg_id
uint16_t * msg_id
Definition: cbsp.h:238
osmo_cbsp_error_ind::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:241
osmo_cbsp_error_ind::cause
enum cbsp_cell_id_cause cause
Definition: cbsp.h:237
osmo_cbsp_fail_ent
Definition: cbsp.h:70
osmo_cbsp_fail_ent::cause
uint8_t cause
Definition: cbsp.h:74
osmo_cbsp_fail_ent::cell_id
union gsm0808_cell_id_u cell_id
Definition: cbsp.h:73
osmo_cbsp_fail_ent::id_discr
enum CELL_IDENT id_discr
Definition: cbsp.h:72
osmo_cbsp_fail_ent::list
struct llist_head list
Definition: cbsp.h:71
osmo_cbsp_failure
Definition: cbsp.h:230
osmo_cbsp_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:231
osmo_cbsp_failure::bcast_msg_type
uint8_t bcast_msg_type
Definition: cbsp.h:232
osmo_cbsp_keep_alive_complete
Definition: cbsp.h:219
osmo_cbsp_keep_alive
Definition: cbsp.h:214
osmo_cbsp_keep_alive::repetition_period
uint8_t repetition_period
Definition: cbsp.h:215
osmo_cbsp_kill_complete
Definition: cbsp.h:135
osmo_cbsp_kill_complete::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:137
osmo_cbsp_kill_complete::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:139
osmo_cbsp_kill_complete::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:140
osmo_cbsp_kill_complete::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:138
osmo_cbsp_kill_complete::msg_id
uint16_t msg_id
Definition: cbsp.h:136
osmo_cbsp_kill_failure
Definition: cbsp.h:144
osmo_cbsp_kill_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:147
osmo_cbsp_kill_failure::msg_id
uint16_t msg_id
Definition: cbsp.h:145
osmo_cbsp_kill_failure::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:146
osmo_cbsp_kill_failure::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:148
osmo_cbsp_kill_failure::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:150
osmo_cbsp_kill_failure::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:149
osmo_cbsp_kill
Definition: cbsp.h:127
osmo_cbsp_kill::msg_id
uint16_t msg_id
Definition: cbsp.h:128
osmo_cbsp_kill::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:130
osmo_cbsp_kill::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:131
osmo_cbsp_kill::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:129
osmo_cbsp_load_query_complete
Definition: cbsp.h:160
osmo_cbsp_load_query_complete::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:162
osmo_cbsp_load_query_complete::loading_list
struct osmo_cbsp_loading_list loading_list
Definition: cbsp.h:161
osmo_cbsp_load_query_failure
Definition: cbsp.h:166
osmo_cbsp_load_query_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:167
osmo_cbsp_load_query_failure::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:168
osmo_cbsp_load_query_failure::loading_list
struct osmo_cbsp_loading_list loading_list
Definition: cbsp.h:169
osmo_cbsp_load_query
Definition: cbsp.h:154
osmo_cbsp_load_query::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:155
osmo_cbsp_load_query::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:156
osmo_cbsp_loading_ent
Definition: cbsp.h:59
osmo_cbsp_loading_ent::cell_id
union gsm0808_cell_id_u cell_id
Definition: cbsp.h:61
osmo_cbsp_loading_ent::load
uint8_t load[2]
Definition: cbsp.h:62
osmo_cbsp_loading_ent::list
struct llist_head list
Definition: cbsp.h:60
osmo_cbsp_loading_list
Definition: cbsp.h:64
osmo_cbsp_loading_list::list
struct llist_head list
Definition: cbsp.h:66
osmo_cbsp_loading_list::id_discr
enum CELL_IDENT id_discr
Definition: cbsp.h:65
osmo_cbsp_msg_status_query_complete
Definition: cbsp.h:181
osmo_cbsp_msg_status_query_complete::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:185
osmo_cbsp_msg_status_query_complete::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:184
osmo_cbsp_msg_status_query_complete::msg_id
uint16_t msg_id
Definition: cbsp.h:182
osmo_cbsp_msg_status_query_complete::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:183
osmo_cbsp_msg_status_query_failure
Definition: cbsp.h:189
osmo_cbsp_msg_status_query_failure::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:193
osmo_cbsp_msg_status_query_failure::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:191
osmo_cbsp_msg_status_query_failure::msg_id
uint16_t msg_id
Definition: cbsp.h:190
osmo_cbsp_msg_status_query_failure::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:194
osmo_cbsp_msg_status_query_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:192
osmo_cbsp_msg_status_query
Definition: cbsp.h:173
osmo_cbsp_msg_status_query::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:177
osmo_cbsp_msg_status_query::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:176
osmo_cbsp_msg_status_query::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:175
osmo_cbsp_msg_status_query::msg_id
uint16_t msg_id
Definition: cbsp.h:174
osmo_cbsp_num_compl_ent
Definition: cbsp.h:47
osmo_cbsp_num_compl_ent::num_bcast_info
uint8_t num_bcast_info
Definition: cbsp.h:51
osmo_cbsp_num_compl_ent::list
struct llist_head list
Definition: cbsp.h:48
osmo_cbsp_num_compl_ent::num_compl
uint16_t num_compl
Definition: cbsp.h:50
osmo_cbsp_num_compl_ent::cell_id
union gsm0808_cell_id_u cell_id
Definition: cbsp.h:49
osmo_cbsp_num_compl_list
Definition: cbsp.h:53
osmo_cbsp_num_compl_list::id_discr
enum CELL_IDENT id_discr
Definition: cbsp.h:54
osmo_cbsp_num_compl_list::list
struct llist_head list
Definition: cbsp.h:55
osmo_cbsp_reset_complete
Definition: cbsp.h:203
osmo_cbsp_reset_complete::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:204
osmo_cbsp_reset_failure
Definition: cbsp.h:208
osmo_cbsp_reset_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:209
osmo_cbsp_reset_failure::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:210
osmo_cbsp_reset
Definition: cbsp.h:198
osmo_cbsp_reset::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:199
osmo_cbsp_restart
Definition: cbsp.h:223
osmo_cbsp_restart::bcast_msg_type
uint8_t bcast_msg_type
Definition: cbsp.h:225
osmo_cbsp_restart::recovery_ind
uint8_t recovery_ind
Definition: cbsp.h:226
osmo_cbsp_restart::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:224
osmo_cbsp_write_replace_complete
Definition: cbsp.h:106
osmo_cbsp_write_replace_complete::msg_id
uint16_t msg_id
Definition: cbsp.h:107
osmo_cbsp_write_replace_complete::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:110
osmo_cbsp_write_replace_complete::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:112
osmo_cbsp_write_replace_complete::new_serial_nr
uint16_t new_serial_nr
Definition: cbsp.h:108
osmo_cbsp_write_replace_complete::old_serial_nr
uint16_t * old_serial_nr
Definition: cbsp.h:109
osmo_cbsp_write_replace_complete::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:111
osmo_cbsp_write_replace_failure
Definition: cbsp.h:116
osmo_cbsp_write_replace_failure::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:122
osmo_cbsp_write_replace_failure::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:121
osmo_cbsp_write_replace_failure::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:123
osmo_cbsp_write_replace_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:120
osmo_cbsp_write_replace_failure::msg_id
uint16_t msg_id
Definition: cbsp.h:117
osmo_cbsp_write_replace_failure::new_serial_nr
uint16_t new_serial_nr
Definition: cbsp.h:118
osmo_cbsp_write_replace_failure::old_serial_nr
uint16_t * old_serial_nr
Definition: cbsp.h:119
osmo_cbsp_write_replace
Definition: cbsp.h:79
osmo_cbsp_write_replace::warning_type
uint16_t warning_type
Definition: cbsp.h:98
osmo_cbsp_write_replace::category
enum cbsp_category category
Definition: cbsp.h:89
osmo_cbsp_write_replace::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:83
osmo_cbsp_write_replace::cbs
struct osmo_cbsp_write_replace::@0::@1 cbs
osmo_cbsp_write_replace::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:88
osmo_cbsp_write_replace::num_bcast_req
uint16_t num_bcast_req
Definition: cbsp.h:91
osmo_cbsp_write_replace::indicator
uint8_t indicator
Definition: cbsp.h:97
osmo_cbsp_write_replace::warning_sec_info
uint8_t warning_sec_info[50]
Definition: cbsp.h:99
osmo_cbsp_write_replace::dcs
uint8_t dcs
Definition: cbsp.h:93
osmo_cbsp_write_replace::rep_period
uint16_t rep_period
Definition: cbsp.h:90
osmo_cbsp_write_replace::u
union osmo_cbsp_write_replace::@0 u
osmo_cbsp_write_replace::is_cbs
bool is_cbs
Definition: cbsp.h:85
osmo_cbsp_write_replace::warning_period
uint32_t warning_period
Definition: cbsp.h:100
osmo_cbsp_write_replace::new_serial_nr
uint16_t new_serial_nr
Definition: cbsp.h:81
osmo_cbsp_write_replace::old_serial_nr
uint16_t * old_serial_nr
Definition: cbsp.h:82
osmo_cbsp_write_replace::emergency
struct osmo_cbsp_write_replace::@0::@2 emergency
osmo_cbsp_write_replace::msg_id
uint16_t msg_id
Definition: cbsp.h:80
osmo_cbsp_write_replace::msg_content
struct llist_head msg_content
Definition: cbsp.h:94
value_string
gsm0808_cell_id_u
Instead of this, use either struct gsm0808_cell_id or gsm0808_cell_id_list2.
Definition: gsm0808_utils.h:43