2 * (C) 2010 by Andreas Eversberg <jolly@eversberg.eu>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 /* collection of system information of the current cell */
24 /* frequency mask flags of frequency type */
25 #define FREQ_TYPE_SERV (1 << 0)
26 #define FREQ_TYPE_NCELL (1 << 1)
28 /* structure of one frequency */
29 struct gsm_sysinfo_freq {
30 /* if the frequency included in the sysinfo */
32 /* the power measured as real value */
37 /* structure of all received system informations */
39 struct gsm_sysinfo_freq freq[1024];
42 uint8_t max_retrans; /* decoded */
43 uint8_t tx_integer; /* decoded */
44 uint8_t reest_denied; /* 1 = denied */
45 uint8_t cell_barred; /* 1 = barred */
46 uint8_t class_barr[16]; /* 10 is emergency */
51 uint8_t nb_multi_rep; /* see GSM 05.08 8.4.3 */
52 uint8_t nb_ncc_permitted;
53 uint8_t nb_max_retrans; /* decoded */
54 uint8_t nb_tx_integer; /* decoded */
55 uint8_t nb_reest_denied; /* 1 = denied */
56 uint8_t nb_cell_barred; /* 1 = barred */
57 uint8_t nb_class_barr[16]; /* 10 is emergency */