GNU Radio's GSM Package
gsm_04_08.h
Go to the documentation of this file.
1 /*! \file gsm_04_08.h
2  * GSM TS 04.08 definitions. */
3 
4 #pragma once
5 
6 #include <stdint.h>
7 #include <stdbool.h>
8 
11 
12 struct gsm_lchan;
13 
14 /* Chapter 10.5.1.5 */
16  uint8_t pwr_lev:3,
17  a5_1:1,
18  es_ind:1,
20  spare:1;
21 } __attribute__ ((packed));
22 
23 /* Chapter 10.5.1.6 */
25  uint8_t pwr_lev:3,
26  a5_1:1,
27  es_ind:1,
29  spare:1;
30  uint8_t fc:1,
31  vgcs:1,
32  vbs:1,
33  sm_cap:1,
34  ss_scr:2,
35  ps_cap:1,
36  spare2:1;
37  uint8_t a5_2:1,
38  a5_3:1,
39  cmsp:1,
40  solsa:1,
41  spare3:1,
43  spare4:1,
44  cm3:1;
45 } __attribute__ ((packed));
46 
47 /* Chapter 10.5.2.1b.3 */
48 #if OSMO_IS_LITTLE_ENDIAN == 1
49 struct gsm48_range_1024 {
50  uint8_t w1_hi:2,
51  f0:1,
52  form_id:5;
53  uint8_t w1_lo;
54  uint8_t w2_hi;
55  uint8_t w3_hi:7,
56  w2_lo:1;
57  uint8_t w4_hi:6,
58  w3_lo:2;
59  uint8_t w5_hi:6,
60  w4_lo:2;
61  uint8_t w6_hi:6,
62  w5_lo:2;
63  uint8_t w7_hi:6,
64  w6_lo:2;
65  uint8_t w8_hi:6,
66  w7_lo:2;
67  uint8_t w9:7,
68  w8_lo:1;
69  uint8_t w11_hi:1,
70  w10:7;
71  uint8_t w12_hi:2,
72  w11_lo:6;
73  uint8_t w13_hi:3,
74  w12_lo:5;
75  uint8_t w14_hi:4,
76  w13_lo:4;
77  uint8_t w15_hi:5,
78  w14_lo:3;
79  uint8_t w16:6,
80  w15_lo:2;
81 } __attribute__ ((packed));
82 #else
84  uint8_t form_id:5,
85  f0:1,
86  w1_hi:2;
87  uint8_t w1_lo;
88  uint8_t w2_hi;
89  uint8_t w2_lo:1,
90  w3_hi:7;
91  uint8_t w3_lo:2,
92  w4_hi:6;
93  uint8_t w4_lo:2,
94  w5_hi:6;
95  uint8_t w5_lo:2,
96  w6_hi:6;
97  uint8_t w6_lo:2,
98  w7_hi:6;
99  uint8_t w7_lo:2,
100  w8_hi:6;
101  uint8_t w8_lo:1,
102  w9:7;
103  uint8_t w10:7,
105  uint8_t w11_lo:6,
107  uint8_t w12_lo:5,
109  uint8_t w13_lo:4,
111  uint8_t w14_lo:3,
113  uint8_t w15_lo:2,
114  w16:6;
115 } __attribute__ ((packed));
116 #endif
117 
118 /* Chapter 10.5.2.1b.4 */
119 #if OSMO_IS_LITTLE_ENDIAN == 1
120 struct gsm48_range_512 {
121  uint8_t orig_arfcn_hi:1,
122  form_id:7;
123  uint8_t orig_arfcn_mid;
124  uint8_t w1_hi:7,
125  orig_arfcn_lo:1;
126  uint8_t w2_hi:6,
127  w1_lo:2;
128  uint8_t w3_hi:6,
129  w2_lo:2;
130  uint8_t w4_hi:6,
131  w3_lo:2;
132  uint8_t w5:7,
133  w4_lo:1;
134  uint8_t w7_hi:1,
135  w6:7;
136  uint8_t w8_hi:2,
137  w7_lo:6;
138  uint8_t w9_hi:4,
139  w8_lo:4;
140  uint8_t w10:6,
141  w9_lo:2;
142  uint8_t w12_hi:2,
143  w11:6;
144  uint8_t w13_hi:4,
145  w12_lo:4;
146  uint8_t w14:6,
147  w13_lo:2;
148  uint8_t w16_hi:2,
149  w15:6;
150  uint8_t w17:5,
151  w16_lo:3;
152 } __attribute__ ((packed));
153 #else
155  uint8_t form_id:7,
157  uint8_t orig_arfcn_mid;
158  uint8_t orig_arfcn_lo:1,
159  w1_hi:7;
160  uint8_t w1_lo:2,
161  w2_hi:6;
162  uint8_t w2_lo:2,
163  w3_hi:6;
164  uint8_t w3_lo:2,
165  w4_hi:6;
166  uint8_t w4_lo:1,
167  w5:7;
168  uint8_t w6:7,
169  w7_hi:1;
170  uint8_t w7_lo:6,
171  w8_hi:2;
172  uint8_t w8_lo:4,
173  w9_hi:4;
174  uint8_t w9_lo:2,
175  w10:6;
176  uint8_t w11:6,
178  uint8_t w12_lo:4,
180  uint8_t w13_lo:2,
181  w14:6;
182  uint8_t w15:6,
184  uint8_t w16_lo:3,
185  w17:5;
186 } __attribute__ ((packed));
187 #endif
188 
189 /* Chapter 10.5.2.1b.5 */
190 #if OSMO_IS_LITTLE_ENDIAN == 1
191 struct gsm48_range_256 {
192  uint8_t orig_arfcn_hi:1,
193  form_id:7;
194  uint8_t orig_arfcn_mid;
195  uint8_t w1_hi:7,
196  orig_arfcn_lo:1;
197  uint8_t w2:7,
198  w1_lo:1;
199  uint8_t w4_hi:1,
200  w3:7;
201  uint8_t w5_hi:3,
202  w4_lo:5;
203  uint8_t w6_hi:5,
204  w5_lo:3;
205  uint8_t w8_hi:1,
206  w7:6,
207  w6_lo:1;
208  uint8_t w9_hi:4,
209  w8_lo:4;
210  uint8_t w11_hi:2,
211  w10:5,
212  w9_lo:1;
213  uint8_t w12:5,
214  w11_lo:3;
215  uint8_t w14_hi:3,
216  w13:5;
217  uint8_t w16_hi:1,
218  w15:5,
219  w14_lo:2;
220  uint8_t w18_hi:1,
221  w17:4,
222  w16_lo:3;
223  uint8_t w20_hi:1,
224  w19:4,
225  w18_lo:3;
226  uint8_t spare:1,
227  w21:4,
228  w20_lo:3;
229 } __attribute__ ((packed));
230 #else
232  uint8_t form_id:7,
234  uint8_t orig_arfcn_mid;
235  uint8_t orig_arfcn_lo:1,
236  w1_hi:7;
237  uint8_t w1_lo:1,
238  w2:7;
239  uint8_t w3:7,
240  w4_hi:1;
241  uint8_t w4_lo:5,
242  w5_hi:3;
243  uint8_t w5_lo:3,
244  w6_hi:5;
245  uint8_t w6_lo:1,
246  w7:6,
247  w8_hi:1;
248  uint8_t w8_lo:4,
249  w9_hi:4;
250  uint8_t w9_lo:1,
251  w10:5,
253  uint8_t w11_lo:3,
254  w12:5;
255  uint8_t w13:5,
257  uint8_t w14_lo:2,
258  w15:5,
260  uint8_t w16_lo:3,
261  w17:4,
263  uint8_t w18_lo:3,
264  w19:4,
266  uint8_t w20_lo:3,
267  w21:4,
268  spare:1;
269 } __attribute__ ((packed));
270 #endif
271 
272 /* Chapter 10.5.2.1b.6 */
273 #if OSMO_IS_LITTLE_ENDIAN == 1
274 struct gsm48_range_128 {
275  uint8_t orig_arfcn_hi:1,
276  form_id:7;
277  uint8_t orig_arfcn_mid;
278  uint8_t w1:7,
279  orig_arfcn_lo:1;
280  uint8_t w3_hi:2,
281  w2:6;
282  uint8_t w4_hi:4,
283  w3_lo:4;
284  uint8_t w6_hi:2,
285  w5:5,
286  w4_lo:1;
287  uint8_t w7:5,
288  w6_lo:3;
289  uint8_t w9:4,
290  w8:4;
291  uint8_t w11:4,
292  w10:4;
293  uint8_t w13:4,
294  w12:4;
295  uint8_t w15:4,
296  w14:4;
297  uint8_t w18_hi:2,
298  w17:3,
299  w16:3;
300  uint8_t w21_hi:1,
301  w20:3,
302  w19:3,
303  w18_lo:1;
304  uint8_t w23:3,
305  w22:3,
306  w21_lo:2;
307  uint8_t w26_hi:2,
308  w25:3,
309  w24:3;
310  uint8_t spare:1,
311  w28:3,
312  w27:3,
313  w26_lo:1;
314 } __attribute__ ((packed));
315 #else
317  uint8_t form_id:7,
319  uint8_t orig_arfcn_mid;
320  uint8_t orig_arfcn_lo:1,
321  w1:7;
322  uint8_t w2:6,
323  w3_hi:2;
324  uint8_t w3_lo:4,
325  w4_hi:4;
326  uint8_t w4_lo:1,
327  w5:5,
328  w6_hi:2;
329  uint8_t w6_lo:3,
330  w7:5;
331  uint8_t w8:4,
332  w9:4;
333  uint8_t w10:4,
334  w11:4;
335  uint8_t w12:4,
336  w13:4;
337  uint8_t w14:4,
338  w15:4;
339  uint8_t w16:3,
340  w17:3,
342  uint8_t w18_lo:1,
343  w19:3,
344  w20:3,
346  uint8_t w21_lo:2,
347  w22:3,
348  w23:3;
349  uint8_t w24:3,
350  w25:3,
352  uint8_t w26_lo:1,
353  w27:3,
354  w28:3,
355  spare:1;
356 } __attribute__ ((packed));
357 #endif
358 
359 /* Chapter 10.5.2.1b.7 */
361  uint8_t orig_arfcn_hi:1,
363  uint8_t orig_arfcn_mid;
364  uint8_t rrfcn1_7:7,
366  uint8_t rrfcn8_111[13];
367 } __attribute__ ((packed));
368 
369 /* Chapter 10.5.2.5 */
371  uint8_t chan_nr;
372  union {
373  struct {
374  uint8_t maio_high:4,
375  h:1,
376  tsc:3;
377  uint8_t hsn:6,
379  } __attribute__ ((packed)) h1;
380  struct {
381  uint8_t arfcn_high:2,
382  spare:2,
383  h:1,
384  tsc:3;
385  uint8_t arfcn_low;
386  } __attribute__ ((packed)) h0;
387  } __attribute__ ((packed));
388 } __attribute__ ((packed));
389 
390 /* Chapter 10.5.2.20 */
392  uint8_t rxlev_full:6,
395  uint8_t rxlev_sub:6,
397  spare:1;
398  uint8_t no_nc_n_hi:1,
402  uint8_t rxlev_nc1:6,
404  uint8_t bsic_nc1_hi:3,
406  uint8_t rxlev_nc2_hi:5,
408  uint8_t bsic_nc2_hi:2,
411  uint8_t rxlev_nc3_hi:4,
413  uint8_t bsic_nc3_hi:1,
416  uint8_t rxlev_nc4_hi:3,
418  uint8_t bcch_f_nc4:5,
420  uint8_t rxlev_nc5_hi:2,
422  uint8_t bcch_f_nc5_hi:4,
424  uint8_t rxlev_nc6_hi:1,
427  uint8_t bcch_f_nc6_hi:3,
429  uint8_t bsic_nc6:6,
431 } __attribute__ ((packed));
432 
433 /* Chapter 10.5.2.21aa */
435  uint8_t smod : 2,
436  spare: 1,
437  icmi : 1,
438  nscb : 1,
439  ver : 3;
440  uint8_t m4_75 : 1,
441  m5_15 : 1,
442  m5_90 : 1,
443  m6_70 : 1,
444  m7_40 : 1,
445  m7_95 : 1,
446  m10_2 : 1,
447  m12_2 : 1;
448 } __attribute__((packed));
449 
450 /* Chapter 10.5.2.28(a) */
452  uint8_t power_level:5,
453  spare:2,
454  atc:1;
455 } __attribute__((packed));
456 
457 /* Chapter 10.5.2.29 */
459  uint8_t re :1,
463  uint8_t t2; /* ACC 8-15 barred flags */
464  uint8_t t3; /* ACC 0-7 barred flags */
465 } __attribute__ ((packed));
466 
467 
468 /* Chapter 10.5.2.30 */
470  uint8_t ra;
471  uint8_t t3_high:3,
472  t1:5;
473  uint8_t t2:5,
475 } __attribute__ ((packed));
476 
477 /* Chapter 10.5.2.38 */
479  uint8_t t3_high:3,
480  t1:5;
481  uint8_t t2:5,
483 } __attribute__ ((packed));
484 
485 /* Chapter 10.5.2.39 */
487  uint8_t si:2,
488  rot:1,
489  nci:1,
491 } __attribute__((packed));
492 
493 /*
494  * Chapter 9.1.5/9.1.6
495  *
496  * For 9.1.6 the chan_desc has the meaning of 10.5.2.5a
497  */
500  uint8_t mode;
501 } __attribute__ ((packed));
502 
512 };
513 
514 extern const struct value_string gsm48_chan_mode_names[];
515 
516 /* Chapter 9.1.2 */
518  /* Semantic is from 10.5.2.5a */
520  uint8_t power_command;
521  uint8_t data[0];
522 } __attribute__((packed));
523 
524 /* Chapter 9.1.13 */
526  /* Semantic is from 10.5.2.5a */
528  uint8_t mob_alloc_len;
529  uint8_t mob_alloc[0];
530 } __attribute__((packed));
531 
532 /* Chapter 9.1.13b GPRS suspension request */
534  uint32_t tlli;
535  uint8_t ra_id[6];
536  uint8_t cause;
537  uint8_t options[0];
538 } __attribute__ ((packed));
539 
540 /* Chapter 10.5.2.2 */
542  uint8_t bcc:3,
543  ncc:3,
545  uint8_t arfcn_lo;
546 } __attribute__((packed));
547 
548 /* Chapter 9.1.15 */
549 struct gsm48_ho_cmd {
552  uint8_t ho_ref;
553  uint8_t power_command;
554  uint8_t data[0];
555 } __attribute__((packed));
556 
557 /* Chapter 9.1.18 */
559  uint8_t l2_plen;
560  uint8_t proto_discr;
561  uint8_t msg_type;
562  uint8_t page_mode;
565  uint8_t timing_advance;
566  uint8_t mob_alloc_len;
567  uint8_t mob_alloc[0];
568 } __attribute__ ((packed));
569 
570 /* Chapter 9.1.25 */
572  uint8_t spare:4,
574  uint32_t classmark2;
575  uint8_t mi_len;
576  uint8_t mi[0];
577 } __attribute__ ((packed));
578 
579 /* Chapter 10.5.1.3 */
581  uint8_t digits[3]; /* BCD! */
582  uint16_t lac;
583 } __attribute__ ((packed));
584 
585 /* Section 9.2.2 */
587  uint8_t key_seq:4,
588  spare:4;
589  uint8_t rand[16];
590 } __attribute__ ((packed));
591 
592 /* Section 9.2.3 */
594  uint8_t sres[4];
595 } __attribute__ ((packed));
596 
597 /* Section 9.2.15 */
599  uint8_t type:4,
603  uint8_t mi_len;
604  uint8_t mi[0];
605 } __attribute__ ((packed));
606 
607 /* Section 10.1 */
608 struct gsm48_hdr {
609  uint8_t proto_discr;
610  uint8_t msg_type;
611  uint8_t data[0];
612 } __attribute__ ((packed));
613 
614 /* Section 9.1.3x System information Type header */
616  uint8_t l2_plen;
620 } __attribute__ ((packed));
621 
622 /* Section 10.5.2.4 Cell Selection Parameters */
624  uint8_t ms_txpwr_max_ccch:5, /* GSM 05.08 MS-TXPWR-MAX-CCCH */
625  cell_resel_hyst:3; /* GSM 05.08 CELL-RESELECT-HYSTERESIS */
626  uint8_t rxlev_acc_min:6, /* GSM 05.08 RXLEV-ACCESS-MIN */
627  neci:1,
628  acs:1;
629 } __attribute__ ((packed));
630 
631 /* 3GPP TS 44.018 Section 10.5.2.11 Control Channel Description */
633  uint8_t ccch_conf :3,
635  att :1,
636  mscr :1;
637  uint8_t bs_pa_mfrms : 3,
639  cbq3 :2,
641  uint8_t t3212;
642 } __attribute__ ((packed));
643 
648 };
649 
650 /* Cell Options for SI6, SACCH (10.5.2.3a.2) or SI3, BCCH (Table 10.5.2.3.1),
651  3GPP TS 44.018 */
654  dtx:2,
655  pwrc:1,
656  /* either DN-IND or top bit of DTX IND */
657  d:1;
658 } __attribute__ ((packed));
659 
660 /* Section 9.2.9 CM service request */
662  uint8_t cm_service_type : 4,
664  /* length + 3 bytes */
665  uint32_t classmark;
666  uint8_t mi_len;
667  uint8_t mi[0];
668  /* optional priority level */
669 } __attribute__ ((packed));
670 
671 /* Section 9.1.31 System information Type 1 */
676  uint8_t rest_octets[0]; /* NCH position on the CCCH */
677 } __attribute__ ((packed));
678 
679 /* Section 9.1.32 System information Type 2 */
682  uint8_t bcch_frequency_list[16];
683  uint8_t ncc_permitted;
685 } __attribute__ ((packed));
686 
687 /* Section 9.1.33 System information Type 2bis */
690  uint8_t bcch_frequency_list[16];
692  uint8_t rest_octets[0];
693 } __attribute__ ((packed));
694 
695 /* Section 9.1.34 System information Type 2ter */
699  uint8_t rest_octets[0];
700 } __attribute__ ((packed));
701 
702 /* Section 9.1.34a System information Type 2quater */
705  uint8_t rest_octets[0];
706 } __attribute__ ((packed));
707 
708 /* Section 9.1.35 System information Type 3 */
711  uint16_t cell_identity;
717  uint8_t rest_octets[0];
718 } __attribute__ ((packed));
719 
720 /* Section 9.1.36 System information Type 4 */
726  /* optional CBCH conditional CBCH... followed by
727  mandantory SI 4 Reset Octets
728  */
729  uint8_t data[0];
730 } __attribute__ ((packed));
731 
732 /* Section 9.1.37 System information Type 5 */
737  uint8_t bcch_frequency_list[16];
738 } __attribute__ ((packed));
739 
740 /* Section 9.1.38 System information Type 5bis */
745  uint8_t bcch_frequency_list[16];
746 } __attribute__ ((packed));
747 
748 /* Section 9.1.39 System information Type 5ter */
753  uint8_t bcch_frequency_list[16];
754 } __attribute__ ((packed));
755 
756 /* Section 9.1.40 System information Type 6 */
761  uint16_t cell_identity;
764  uint8_t ncc_permitted;
765  uint8_t rest_octets[0];
766 } __attribute__ ((packed));
767 
768 /* Section 9.1.43a System Information type 13 */
771  uint8_t rest_octets[0];
772 } __attribute__ ((packed));
773 
774 /* Section 9.2.12 IMSI Detach Indication */
777  uint8_t mi_len;
778  uint8_t mi[0];
779 } __attribute__ ((packed));
780 
781 /* Section 9.1.1 */
783  /* Semantic is from 10.5.2.5 */
785  uint8_t data[0];
786 } __attribute__((packed));
787 
788 /* Section 9.1.3 */
790  uint8_t rr_cause;
791 } __attribute__((packed));
792 
793 /* Section 9.1.4 */
795  uint8_t rr_cause;
796 } __attribute__((packed));
797 
798 /* Section 9.1.3 */
799 struct gsm48_ho_cpl {
800  uint8_t rr_cause;
801  uint8_t data[0];
802 } __attribute__((packed));
803 
804 /* Section 9.1.4 */
806  uint8_t rr_cause;
807 } __attribute__((packed));
808 
809 /* Section 9.1.7 */
811  uint8_t rr_cause;
812  uint8_t data[0];
813 } __attribute__((packed));
814 
815 /* Section 9.1.9 */
817  uint8_t sc:1,
819  cr:1,
820  spare:3;
821 } __attribute__((packed));
822 
823 /* Section 9.1.11 */
825  uint8_t cm2_len;
827  uint8_t data[0];
828 } __attribute__((packed));
829 
830 /* Section 9.1.19 */
832  uint8_t l2_plen;
833  uint8_t proto_discr;
834  uint8_t msg_type;
835  uint8_t page_mode;
842  uint8_t mob_alloc_len;
843  uint8_t mob_alloc[0];
844 } __attribute__ ((packed));
845 
846 /* Section 9.1.20 */
848  uint8_t l2_plen;
849  uint8_t proto_discr;
850  uint8_t msg_type;
851  uint8_t page_mode;
853  uint8_t wait_ind1;
855  uint8_t wait_ind2;
857  uint8_t wait_ind3;
859  uint8_t wait_ind4;
860  uint8_t rest[0];
861 } __attribute__ ((packed));
862 
863 /* Section 9.1.22 */
865  uint8_t l2_plen;
866  uint8_t proto_discr;
867  uint8_t msg_type;
868  uint8_t pag_mode:2,
869  spare:2,
872  uint8_t data[0];
873 } __attribute__((packed));
874 
875 /* Section 9.1.23 */
877  uint8_t l2_plen;
878  uint8_t proto_discr;
879  uint8_t msg_type;
880  uint8_t pag_mode:2,
881  spare:2,
884  uint32_t tmsi1;
885  uint32_t tmsi2;
886  uint8_t data[0];
887 } __attribute__((packed));
888 
889 /* Section 9.1.24 */
891  uint8_t l2_plen;
892  uint8_t proto_discr;
893  uint8_t msg_type;
894  uint8_t pag_mode:2,
895  spare:2,
898  uint32_t tmsi1;
899  uint32_t tmsi2;
900  uint32_t tmsi3;
901  uint32_t tmsi4;
902  uint8_t cneed3:2,
905  uint8_t rest[0];
906 } __attribute__((packed));
907 
908 /* Section 9.1.25 */
910  uint8_t key_seq:3,
911  spare:5;
912  uint8_t cm2_len;
914  uint8_t data[0];
915 } __attribute__((packed));
916 
917 /* Section 9.1.29 */
919  uint8_t rr_cause;
920 } __attribute__((packed));
921 
922 /* Section 10.2 + GSM 04.07 12.2.3.1.1 + 3GPP TS 24.007 11.2.3.1.1 */
923 #define GSM48_PDISC_GROUP_CC 0x00
924 #define GSM48_PDISC_BCAST_CC 0x01
925 #define GSM48_PDISC_PDSS1 0x02 /* 04.07 only */
926 #define GSM48_PDISC_CC 0x03
927 #define GSM48_PDISC_PDSS2 0x04 /* 04.07 only */
928 #define GSM48_PDISC_GTTP 0x04 /* 24.007 only */
929 #define GSM48_PDISC_MM 0x05
930 #define GSM48_PDISC_RR 0x06
931 #define GSM48_PDISC_MM_GPRS 0x08
932 #define GSM48_PDISC_SMS 0x09
933 #define GSM48_PDISC_SM_GPRS 0x0a
934 #define GSM48_PDISC_NC_SS 0x0b
935 #define GSM48_PDISC_LOC 0x0c
936 #define GSM48_PDISC_EXTEND 0x0e
937 #define GSM48_PDISC_TEST 0x0f /* as per 11.10, 04.14 */
938 #define GSM48_PDISC_MASK 0x0f
939 #define GSM48_PDISC_USSD 0x11
940 
941 extern const struct value_string gsm48_pdisc_names[];
942 /*static inline const char *gsm48_pdisc_name(uint8_t val)
943 { return get_value_string(gsm48_pdisc_names, val); }*/
944 
945 bool gsm48_hdr_gmm_cipherable(const struct gsm48_hdr *hdr);
946 
947 static inline uint8_t gsm48_hdr_pdisc(const struct gsm48_hdr *hdr)
948 {
949  /*
950  * 3GPP TS 24.007 version 12.0.0 Release 12,
951  * 11.2.3.1.1 Protocol discriminator
952  */
953  uint8_t pdisc = hdr->proto_discr & GSM48_PDISC_MASK;
954  if (pdisc == GSM48_PDISC_EXTEND)
955  return hdr->proto_discr;
956  return pdisc;
957 }
958 
959 static inline uint8_t gsm48_hdr_trans_id(const struct gsm48_hdr *hdr)
960 {
961  /*
962  * 3GPP TS 24.007 version 12.0.0 Release 12,
963  * 11.2.3.1.3 Transaction identifier
964  */
965  return (hdr->proto_discr & 0xf0) >> 4;
966 }
967 
968 #define GSM48_TA_INVALID 220
969 
970 /*! Check if TA is valid according to 3GPP TS 44.018 § 10.5.2.40
971  * \param[in] ta Timing Advance value
972  * \returns true if ta is valid, false otherwise
973  * Note: Rules for GSM400 band are ignored as it's not implemented in practice.
974  */
975 static inline bool gsm48_ta_is_valid(uint8_t ta)
976 {
977  return (ta < 64);
978 }
979 
980 static inline uint8_t gsm48_hdr_trans_id_flip_ti(const struct gsm48_hdr *hdr)
981 {
982  return gsm48_hdr_trans_id(hdr) ^ 0x08;
983 }
984 
985 static inline uint8_t gsm48_hdr_trans_id_no_ti(const struct gsm48_hdr *hdr)
986 {
987  return gsm48_hdr_trans_id(hdr) & 0x07;
988 }
989 
990 static inline uint8_t gsm48_hdr_msg_type_r98(const struct gsm48_hdr *hdr)
991 {
992  /*
993  * 3GPP TS 24.007 version 12.0.0 Release 12,
994  * 11.2.3.2.1 Message type octet (when accessing Release 98 and older
995  * networks only)
996  */
997  switch (gsm48_hdr_pdisc(hdr)) {
998  case GSM48_PDISC_MM:
999  case GSM48_PDISC_CC:
1000  case GSM48_PDISC_NC_SS:
1001  case GSM48_PDISC_GROUP_CC:
1002  case GSM48_PDISC_BCAST_CC:
1003  case GSM48_PDISC_LOC:
1004  return hdr->msg_type & 0x3f;
1005  default:
1006  return hdr->msg_type;
1007  }
1008 }
1009 
1010 static inline uint8_t gsm48_hdr_msg_type_r99(const struct gsm48_hdr *hdr)
1011 {
1012  /*
1013  * 3GPP TS 24.007 version 12.0.0 Release 12,
1014  * 11.2.3.2.2 Message type octet (when accessing Release 99 and newer
1015  * networks)
1016  */
1017  switch (gsm48_hdr_pdisc(hdr)) {
1018  case GSM48_PDISC_MM:
1019  case GSM48_PDISC_CC:
1020  case GSM48_PDISC_NC_SS:
1021  return hdr->msg_type & 0x3f;
1022  case GSM48_PDISC_GROUP_CC:
1023  case GSM48_PDISC_BCAST_CC:
1024  case GSM48_PDISC_LOC:
1025  return hdr->msg_type & 0x3f;
1026  default:
1027  return hdr->msg_type;
1028  }
1029 }
1030 
1031 void gsm48_set_dtx(struct gsm48_cell_options *op, enum gsm48_dtx_mode full,
1032  enum gsm48_dtx_mode half, bool is_bcch);
1033 
1034 #define gsm48_hdr_msg_type gsm48_hdr_msg_type_r99
1035 
1036 /* Section 10.4 */
1037 #define GSM48_MT_RR_INIT_REQ 0x3c
1038 #define GSM48_MT_RR_ADD_ASS 0x3b
1039 #define GSM48_MT_RR_IMM_ASS 0x3f
1040 #define GSM48_MT_RR_IMM_ASS_EXT 0x39
1041 #define GSM48_MT_RR_IMM_ASS_REJ 0x3a
1042 #define GSM48_MT_RR_DTM_ASS_FAIL 0x48
1043 #define GSM48_MT_RR_DTM_REJECT 0x49
1044 #define GSM48_MT_RR_DTM_REQUEST 0x4A
1045 #define GSM48_MT_RR_PACKET_ASS 0x4B
1046 
1047 #define GSM48_MT_RR_CIPH_M_CMD 0x35
1048 #define GSM48_MT_RR_CIPH_M_COMPL 0x32
1049 
1050 #define GSM48_MT_RR_CFG_CHG_CMD 0x30
1051 #define GSM48_MT_RR_CFG_CHG_ACK 0x31
1052 #define GSM48_MT_RR_CFG_CHG_REJ 0x33
1053 
1054 #define GSM48_MT_RR_ASS_CMD 0x2e
1055 #define GSM48_MT_RR_ASS_COMPL 0x29
1056 #define GSM48_MT_RR_ASS_FAIL 0x2f
1057 #define GSM48_MT_RR_HANDO_CMD 0x2b
1058 #define GSM48_MT_RR_HANDO_COMPL 0x2c
1059 #define GSM48_MT_RR_HANDO_FAIL 0x28
1060 #define GSM48_MT_RR_HANDO_INFO 0x2d
1061 #define GSM48_MT_RR_HANDO_INFO 0x2d
1062 #define GSM48_MT_RR_DTM_ASS_CMD 0x4c
1063 
1064 #define GSM48_MT_RR_CELL_CHG_ORDER 0x08
1065 #define GSM48_MT_RR_PDCH_ASS_CMD 0x23
1066 
1067 #define GSM48_MT_RR_CHAN_REL 0x0d
1068 #define GSM48_MT_RR_PART_REL 0x0a
1069 #define GSM48_MT_RR_PART_REL_COMP 0x0f
1070 
1071 #define GSM48_MT_RR_PAG_REQ_1 0x21
1072 #define GSM48_MT_RR_PAG_REQ_2 0x22
1073 #define GSM48_MT_RR_PAG_REQ_3 0x24
1074 #define GSM48_MT_RR_PAG_RESP 0x27
1075 #define GSM48_MT_RR_NOTIF_NCH 0x20
1076 #define GSM48_MT_RR_NOTIF_FACCH 0x25 /* (Reserved) */
1077 #define GSM48_MT_RR_NOTIF_RESP 0x26
1078 #define GSM48_MT_RR_PACKET_NOTIF 0x4e
1079 #define GSM48_MT_RR_UTRAN_CLSM_CHG 0x60
1080 #define GSM48_MT_RR_CDMA2K_CLSM_CHG 0x62
1081 #define GSM48_MT_RR_IS_TO_UTRAN_HANDO 0x63
1082 #define GSM48_MT_RR_IS_TO_CDMA2K_HANDO 0x64
1083 
1084 #define GSM48_MT_RR_SYSINFO_8 0x18
1085 #define GSM48_MT_RR_SYSINFO_1 0x19
1086 #define GSM48_MT_RR_SYSINFO_2 0x1a
1087 #define GSM48_MT_RR_SYSINFO_3 0x1b
1088 #define GSM48_MT_RR_SYSINFO_4 0x1c
1089 #define GSM48_MT_RR_SYSINFO_5 0x1d
1090 #define GSM48_MT_RR_SYSINFO_6 0x1e
1091 #define GSM48_MT_RR_SYSINFO_7 0x1f
1092 
1093 #define GSM48_MT_RR_SYSINFO_2bis 0x02
1094 #define GSM48_MT_RR_SYSINFO_2ter 0x03
1095 #define GSM48_MT_RR_SYSINFO_2quater 0x07
1096 #define GSM48_MT_RR_SYSINFO_5bis 0x05
1097 #define GSM48_MT_RR_SYSINFO_5ter 0x06
1098 #define GSM48_MT_RR_SYSINFO_9 0x04
1099 #define GSM48_MT_RR_SYSINFO_13 0x00
1100 
1101 #define GSM48_MT_RR_SYSINFO_16 0x3d
1102 #define GSM48_MT_RR_SYSINFO_17 0x3e
1103 
1104 #define GSM48_MT_RR_SYSINFO_18 0x40
1105 #define GSM48_MT_RR_SYSINFO_19 0x41
1106 #define GSM48_MT_RR_SYSINFO_20 0x42
1107 
1108 #define GSM48_MT_RR_CHAN_MODE_MODIF 0x10
1109 #define GSM48_MT_RR_STATUS 0x12
1110 #define GSM48_MT_RR_CHAN_MODE_MODIF_ACK 0x17
1111 #define GSM48_MT_RR_FREQ_REDEF 0x14
1112 #define GSM48_MT_RR_MEAS_REP 0x15
1113 #define GSM48_MT_RR_CLSM_CHG 0x16
1114 #define GSM48_MT_RR_CLSM_ENQ 0x13
1115 #define GSM48_MT_RR_EXT_MEAS_REP 0x36
1116 #define GSM48_MT_RR_EXT_MEAS_REP_ORD 0x37
1117 #define GSM48_MT_RR_GPRS_SUSP_REQ 0x34
1118 #define GSM48_MT_RR_DTM_INFO 0x4d
1119 
1120 #define GSM48_MT_RR_VGCS_UPL_GRANT 0x09
1121 #define GSM48_MT_RR_UPLINK_RELEASE 0x0e
1122 #define GSM48_MT_RR_UPLINK_FREE 0x0c
1123 #define GSM48_MT_RR_UPLINK_BUSY 0x2a
1124 #define GSM48_MT_RR_TALKER_IND 0x11
1125 
1126 #define GSM48_MT_RR_APP_INFO 0x38
1127 
1128 /* Table 10.2/3GPP TS 04.08 */
1129 #define GSM48_MT_MM_IMSI_DETACH_IND 0x01
1130 #define GSM48_MT_MM_LOC_UPD_ACCEPT 0x02
1131 #define GSM48_MT_MM_LOC_UPD_REJECT 0x04
1132 #define GSM48_MT_MM_LOC_UPD_REQUEST 0x08
1133 
1134 #define GSM48_MT_MM_AUTH_REJ 0x11
1135 #define GSM48_MT_MM_AUTH_REQ 0x12
1136 #define GSM48_MT_MM_AUTH_RESP 0x14
1137 #define GSM48_MT_MM_AUTH_FAIL 0x1c
1138 #define GSM48_MT_MM_ID_REQ 0x18
1139 #define GSM48_MT_MM_ID_RESP 0x19
1140 #define GSM48_MT_MM_TMSI_REALL_CMD 0x1a
1141 #define GSM48_MT_MM_TMSI_REALL_COMPL 0x1b
1142 
1143 #define GSM48_MT_MM_CM_SERV_ACC 0x21
1144 #define GSM48_MT_MM_CM_SERV_REJ 0x22
1145 #define GSM48_MT_MM_CM_SERV_ABORT 0x23
1146 #define GSM48_MT_MM_CM_SERV_REQ 0x24
1147 #define GSM48_MT_MM_CM_SERV_PROMPT 0x25
1148 #define GSM48_MT_MM_CM_REEST_REQ 0x28
1149 #define GSM48_MT_MM_ABORT 0x29
1150 
1151 #define GSM48_MT_MM_NULL 0x30
1152 #define GSM48_MT_MM_STATUS 0x31
1153 #define GSM48_MT_MM_INFO 0x32
1154 
1155 /* Table 10.3/3GPP TS 04.08 */
1156 #define GSM48_MT_CC_ALERTING 0x01
1157 #define GSM48_MT_CC_CALL_CONF 0x08
1158 #define GSM48_MT_CC_CALL_PROC 0x02
1159 #define GSM48_MT_CC_CONNECT 0x07
1160 #define GSM48_MT_CC_CONNECT_ACK 0x0f
1161 #define GSM48_MT_CC_EMERG_SETUP 0x0e
1162 #define GSM48_MT_CC_PROGRESS 0x03
1163 #define GSM48_MT_CC_ESTAB 0x04
1164 #define GSM48_MT_CC_ESTAB_CONF 0x06
1165 #define GSM48_MT_CC_RECALL 0x0b
1166 #define GSM48_MT_CC_START_CC 0x09
1167 #define GSM48_MT_CC_SETUP 0x05
1168 
1169 #define GSM48_MT_CC_MODIFY 0x17
1170 #define GSM48_MT_CC_MODIFY_COMPL 0x1f
1171 #define GSM48_MT_CC_MODIFY_REJECT 0x13
1172 #define GSM48_MT_CC_USER_INFO 0x10
1173 #define GSM48_MT_CC_HOLD 0x18
1174 #define GSM48_MT_CC_HOLD_ACK 0x19
1175 #define GSM48_MT_CC_HOLD_REJ 0x1a
1176 #define GSM48_MT_CC_RETR 0x1c
1177 #define GSM48_MT_CC_RETR_ACK 0x1d
1178 #define GSM48_MT_CC_RETR_REJ 0x1e
1179 
1180 #define GSM48_MT_CC_DISCONNECT 0x25
1181 #define GSM48_MT_CC_RELEASE 0x2d
1182 #define GSM48_MT_CC_RELEASE_COMPL 0x2a
1183 
1184 #define GSM48_MT_CC_CONG_CTRL 0x39
1185 #define GSM48_MT_CC_NOTIFY 0x3e
1186 #define GSM48_MT_CC_STATUS 0x3d
1187 #define GSM48_MT_CC_STATUS_ENQ 0x34
1188 #define GSM48_MT_CC_START_DTMF 0x35
1189 #define GSM48_MT_CC_STOP_DTMF 0x31
1190 #define GSM48_MT_CC_STOP_DTMF_ACK 0x32
1191 #define GSM48_MT_CC_START_DTMF_ACK 0x36
1192 #define GSM48_MT_CC_START_DTMF_REJ 0x37
1193 #define GSM48_MT_CC_FACILITY 0x3a
1194 
1195 extern const struct value_string gsm48_rr_msgtype_names[];
1196 extern const struct value_string gsm48_mm_msgtype_names[];
1197 extern const struct value_string gsm48_cc_msgtype_names[];
1198 const char *gsm48_pdisc_msgtype_name(uint8_t pdisc, uint8_t msg_type);
1199 
1200 /* FIXME: Table 10.4 / 10.4a (GPRS) */
1202 /* Section 10.5.3.3 CM service type */
1203 #define GSM48_CMSERV_MO_CALL_PACKET 1
1204 #define GSM48_CMSERV_EMERGENCY 2
1205 #define GSM48_CMSERV_SMS 4
1206 #define GSM48_CMSERV_SUP_SERV 8
1207 #define GSM48_CMSERV_VGCS 9
1208 #define GSM48_CMSERV_VBS 10
1209 #define GSM48_CMSERV_LOC_SERV 11
1210 
1211 /* Section 10.5.2.26, Table 10.5.64 */
1212 #define GSM48_PM_MASK 0x03
1213 #define GSM48_PM_NORMAL 0x00
1214 #define GSM48_PM_EXTENDED 0x01
1215 #define GSM48_PM_REORG 0x02
1216 #define GSM48_PM_SAME 0x03
1217 
1218 /* Chapter 10.5.3.5 / Table 10.5.93 */
1219 #define GSM48_LUPD_NORMAL 0x0
1220 #define GSM48_LUPD_PERIODIC 0x1
1221 #define GSM48_LUPD_IMSI_ATT 0x2
1222 #define GSM48_LUPD_RESERVED 0x3
1223 
1224 /* Table 10.5.4 */
1225 #define GSM_MI_TYPE_MASK 0x07
1226 #define GSM_MI_TYPE_NONE 0x00
1227 #define GSM_MI_TYPE_IMSI 0x01
1228 #define GSM_MI_TYPE_IMEI 0x02
1229 #define GSM_MI_TYPE_IMEISV 0x03
1230 #define GSM_MI_TYPE_TMSI 0x04
1231 #define GSM_MI_ODD 0x08
1232 
1233 #define GSM48_IE_MOBILE_ID 0x17 /* 10.5.1.4 */
1234 #define GSM48_IE_NAME_LONG 0x43 /* 10.5.3.5a */
1235 #define GSM48_IE_NAME_SHORT 0x45 /* 10.5.3.5a */
1236 #define GSM48_IE_UTC 0x46 /* 10.5.3.8 */
1237 #define GSM48_IE_NET_TIME_TZ 0x47 /* 10.5.3.9 */
1238 #define GSM48_IE_LSA_IDENT 0x48 /* 10.5.3.11 */
1239 #define GSM48_IE_NET_DST 0x49 /* 10.5.3.12 [24.008] */
1240 
1241 #define GSM48_IE_BEARER_CAP 0x04 /* 10.5.4.5 */
1242 #define GSM48_IE_CAUSE 0x08 /* 10.5.4.11 */
1243 #define GSM48_IE_CC_CAP 0x15 /* 10.5.4.5a */
1244 #define GSM48_IE_ALERT 0x19 /* 10.5.4.26 */
1245 #define GSM48_IE_FACILITY 0x1c /* 10.5.4.15 */
1246 #define GSM48_IE_PROGR_IND 0x1e /* 10.5.4.21 */
1247 #define GSM48_IE_AUX_STATUS 0x24 /* 10.5.4.4 */
1248 #define GSM48_IE_NOTIFY 0x27 /* 10.5.4.20 */
1249 #define GSM48_IE_KPD_FACILITY 0x2c /* 10.5.4.17 */
1250 #define GSM48_IE_SIGNAL 0x34 /* 10.5.4.23 */
1251 #define GSM48_IE_CONN_BCD 0x4c /* 10.5.4.13 */
1252 #define GSM48_IE_CONN_SUB 0x4d /* 10.5.4.14 */
1253 #define GSM48_IE_CALLING_BCD 0x5c /* 10.5.4.9 */
1254 #define GSM48_IE_CALLING_SUB 0x5d /* 10.5.4.10 */
1255 #define GSM48_IE_CALLED_BCD 0x5e /* 10.5.4.7 */
1256 #define GSM48_IE_CALLED_SUB 0x6d /* 10.5.4.8 */
1257 #define GSM48_IE_REDIR_BCD 0x74 /* 10.5.4.21a */
1258 #define GSM48_IE_REDIR_SUB 0x75 /* 10.5.4.21b */
1259 #define GSM48_IE_LOWL_COMPAT 0x7c /* 10.5.4.18 */
1260 #define GSM48_IE_HIGHL_COMPAT 0x7d /* 10.5.4.16 */
1261 #define GSM48_IE_USER_USER 0x7e /* 10.5.4.25 */
1262 #define GSM48_IE_SS_VERS 0x7f /* 10.5.4.24 */
1263 #define GSM48_IE_MORE_DATA 0xa0 /* 10.5.4.19 */
1264 #define GSM48_IE_CLIR_SUPP 0xa1 /* 10.5.4.11a */
1265 #define GSM48_IE_CLIR_INVOC 0xa2 /* 10.5.4.11b */
1266 #define GSM48_IE_REV_C_SETUP 0xa3 /* 10.5.4.22a */
1267 #define GSM48_IE_REPEAT_CIR 0xd1 /* 10.5.4.22 */
1268 #define GSM48_IE_REPEAT_SEQ 0xd3 /* 10.5.4.22 */
1269 
1270 /* Section 10.5.4.11 / Table 10.5.122 */
1271 #define GSM48_CAUSE_CS_GSM 0x60
1272 
1273 /* Section 9.1.2 / Table 9.3 */
1274 /* RR elements */
1275 #define GSM48_IE_VGCS_TARGET 0x01
1276 //#define GSM48_IE_VGCS_T_MODE_I 0x01
1277 #define GSM48_IE_FRQSHORT_AFTER 0x02
1278 #define GSM48_IE_MUL_RATE_CFG 0x03 /* 10.5.2.21aa */
1279 #define GSM48_IE_FREQ_L_AFTER 0x05
1280 #define GSM48_IE_MSLOT_DESC 0x10
1281 #define GSM48_IE_CHANMODE_2 0x11
1282 #define GSM48_IE_FRQSHORT_BEFORE 0x12
1283 //#define GSM48_IE_FRQSHORT_BEFOR 0x12
1284 #define GSM48_IE_CHANMODE_3 0x13
1285 #define GSM48_IE_CHANMODE_4 0x14
1286 #define GSM48_IE_CHANMODE_5 0x15
1287 #define GSM48_IE_CHANMODE_6 0x16
1288 #define GSM48_IE_CHANMODE_7 0x17
1289 #define GSM48_IE_CHANMODE_8 0x18
1290 #define GSM48_IE_CHANDESC_2 0x64
1291 #define GSM48_IE_MA_AFTER 0x72
1292 #define GSM48_IE_START_TIME 0x7c
1293 #define GSM48_IE_FREQ_L_BEFORE 0x19
1294 //#define GSM48_IE_FRQLIST_BEFORE 0x19
1295 #define GSM48_IE_CH_DESC_1_BEFORE 0x1c
1296 //#define GSM48_IE_CHDES_1_BEFORE 0x1c
1297 #define GSM48_IE_CH_DESC_2_BEFORE 0x1d
1298 //#define GSM48_IE_CHDES_2_BEFORE 0x1d
1299 #define GSM48_IE_F_CH_SEQ_BEFORE 0x1e
1300 //#define GSM48_IE_FRQSEQ_BEFORE 0x1e
1301 #define GSM48_IE_CLASSMARK3 0x20
1302 #define GSM48_IE_MA_BEFORE 0x21
1303 #define GSM48_IE_RR_PACKET_UL 0x22
1304 #define GSM48_IE_RR_PACKET_DL 0x23
1305 #define GSM48_IE_CELL_CH_DESC 0x62
1306 #define GSM48_IE_CHANMODE_1 0x63
1307 #define GSM48_IE_CHDES_2_AFTER 0x64
1308 #define GSM48_IE_MODE_SEC_CH 0x66
1309 #define GSM48_IE_F_CH_SEQ_AFTER 0x69
1310 #define GSM48_IE_MA_AFTER 0x72
1311 #define GSM48_IE_BA_RANGE 0x73
1312 #define GSM48_IE_GROUP_CHDES 0x74
1313 #define GSM48_IE_BA_LIST_PREF 0x75
1314 #define GSM48_IE_MOB_OVSERV_DIF 0x77
1315 #define GSM48_IE_REALTIME_DIFF 0x7b
1316 #define GSM48_IE_START_TIME 0x7c
1317 #define GSM48_IE_TIMING_ADVANCE 0x7d
1318 #define GSM48_IE_GROUP_CIP_SEQ 0x80
1319 #define GSM48_IE_CIP_MODE_SET 0x90
1320 #define GSM48_IE_GPRS_RESUMPT 0xc0
1321 #define GSM48_IE_SYNC_IND 0xd0
1322 /* System Information 4 (types are equal IEs above) */
1323 #define GSM48_IE_CBCH_CHAN_DESC 0x64
1324 #define GSM48_IE_CBCH_MOB_AL 0x72
1325 
1326 /* Additional MM elements */
1327 #define GSM48_IE_LOCATION_AREA 0x13
1328 #define GSM48_IE_AUTN 0x20
1329 #define GSM48_IE_AUTH_RES_EXT 0x21
1330 #define GSM48_IE_AUTS 0x22
1331 #define GSM48_IE_PRIORITY_LEV 0x80
1332 #define GSM48_IE_FOLLOW_ON_PROC 0xa1
1333 #define GSM48_IE_CTS_PERMISSION 0xa2
1334 
1335 /* Section 10.5.4.23 / Table 10.5.130 */
1348 };
1349 
1357  /* not defined */
1360 };
1361 
1362 /* Section 10.5.2.31 RR Cause / Table 10.5.70 */
1381 };
1382 
1383 /* Section 10.5.4.11 CC Cause / Table 10.5.123 */
1434 };
1435 
1436 /* Annex G, GSM specific cause values for mobility management */
1461 
1462  /* according to G.6 Additional cause codes for GMM */
1469 };
1470 
1491 };
1492 
1493 /* Chapter 11.3 */
1494 #define GSM48_T301 180, 0
1495 #define GSM48_T303 30, 0
1496 #define GSM48_T305 30, 0
1497 #define GSM48_T306 30, 0
1498 #define GSM48_T308 10, 0 /* no spec default */
1499 #define GSM48_T310 30, 0 /* no spec default */
1500 #define GSM48_T313 30, 0 /* no spec default */
1501 #define GSM48_T323 30, 0
1502 #define GSM48_T331 30, 0 /* no spec default */
1503 #define GSM48_T333 30, 0 /* no spec default */
1504 #define GSM48_T334 25, 0 /* min 15s */
1505 #define GSM48_T338 30, 0 /* no spec default */
1506 #define GSM48_T303_MS 30, 0
1507 #define GSM48_T305_MS 30, 0
1508 #define GSM48_T308_MS 30, 0
1509 #define GSM48_T310_MS 30, 0
1510 #define GSM48_T313_MS 30, 0
1511 #define GSM48_T323_MS 30, 0
1512 #define GSM48_T332_MS 30, 0
1513 #define GSM48_T335_MS 30, 0
1514 
1515 /* Chapter 5.1.2.2 */
1516 #define GSM_CSTATE_NULL 0
1517 #define GSM_CSTATE_INITIATED 1
1518 #define GSM_CSTATE_MM_CONNECTION_PEND 2 /* see 10.5.4.6 */
1519 #define GSM_CSTATE_MO_CALL_PROC 3
1520 #define GSM_CSTATE_CALL_DELIVERED 4
1521 #define GSM_CSTATE_CALL_PRESENT 6
1522 #define GSM_CSTATE_CALL_RECEIVED 7
1523 #define GSM_CSTATE_CONNECT_REQUEST 8
1524 #define GSM_CSTATE_MO_TERM_CALL_CONF 9
1525 #define GSM_CSTATE_ACTIVE 10
1526 #define GSM_CSTATE_DISCONNECT_REQ 12
1527 #define GSM_CSTATE_DISCONNECT_IND 12
1528 #define GSM_CSTATE_RELEASE_REQ 19
1529 #define GSM_CSTATE_MO_ORIG_MODIFY 26
1530 #define GSM_CSTATE_MO_TERM_MODIFY 27
1531 #define GSM_CSTATE_CONNECT_IND 28
1532 
1533 #define SBIT(a) (1 << a)
1534 #define ALL_STATES 0xffffffff
1535 
1536 /* Table 10.5.3/3GPP TS 04.08: Location Area Identification information element */
1537 #define GSM_LAC_RESERVED_DETACHED 0x0
1538 #define GSM_LAC_RESERVED_ALL_BTS 0xfffe
1539 
1540 /* GSM 04.08 Bearer Capability: Information Transfer Capability */
1548 };
1549 
1550 /* GSM 04.08 Bearer Capability: Transfer Mode */
1554 };
1555 
1556 /* GSM 04.08 Bearer Capability: Coding Standard */
1559 };
1560 
1561 /* GSM 04.08 Bearer Capability: Radio Channel Requirements */
1566 };
1567 
1568 /* GSM 04.08 Bearer Capability: Rate Adaption */
1574 };
1575 
1576 /* GSM 04.08 Bearer Capability: Signalling access protocol */
1584 };
1585 
1586 /* GSM 04.08 Bearer Capability: User Rate */
1595 };
1596 
1597 /* GSM 04.08 Bearer Capability: Parity */
1604 };
1605 
1606 /* GSM 04.08 Bearer Capability: Intermediate Rate */
1610 };
1611 
1612 /* GSM 04.08 Bearer Capability: Transparency */
1618 };
1619 
1620 /* GSM 04.08 Bearer Capability: Modem Type */
1631 };
1632 
1633 /*! GSM 04.08 Bearer Capability: Speech Version Indication
1634  * (See also 3GPP TS 24.008, Table 10.5.103) */
1636  GSM48_BCAP_SV_FR = 0, /*!< GSM FR V1 (GSM FR) */
1637  GSM48_BCAP_SV_HR = 1, /*!< GSM HR V1 (GSM HR) */
1638  GSM48_BCAP_SV_EFR = 2, /*!< GSM FR V2 (GSM EFR) */
1639  GSM48_BCAP_SV_AMR_F = 4, /*!< GSM FR V3 (FR AMR) */
1640  GSM48_BCAP_SV_AMR_H = 5, /*!< GSM HR V3 (HR_AMR) */
1641  GSM48_BCAP_SV_AMR_OFW = 6, /*!< GSM FR V4 (OFR AMR-WB) */
1642  GSM48_BCAP_SV_AMR_OHW = 7, /*!< GSM HR V4 (OHR AMR-WB) */
1643  GSM48_BCAP_SV_AMR_FW = 8, /*!< GSM FR V5 (FR AMR-WB) */
1644  GSM48_BCAP_SV_AMR_OH = 11, /*!< GSM HR V6 (OHR AMR) */
1645 };
1646 
1647 #define GSM48_TMSI_LEN 5
1648 #define GSM48_MID_TMSI_LEN (GSM48_TMSI_LEN + 2)
1649 #define GSM48_MI_SIZE 32
1650 
1651 /* 3GPP TS 24.008 § 10.5.5.15 Routing area identification */
1652 struct gsm48_ra_id {
1653  uint8_t digits[3]; /* MCC + MNC BCD digits */
1654  uint16_t lac; /* Location Area Code */
1655  uint8_t rac; /* Routing Area Code */
1656 } __attribute__ ((packed));
1657 
1658 #define GSM48_CELL_CHAN_DESC_SIZE 16
1659 
1660 #define GSM_MACBLOCK_LEN 23
1661 #define GSM_MACBLOCK_PADDING 0x2b
1662 
1663 /* Table 10.5.118 / 3GPP TS 24.008 Section 10.5.4.7 */
1670  /* reserved */
1671 };
1672 
1673 /* Table 10.5.118 / 3GPP TS 24.008 Section 10.5.4.7 */
1682  /* reserved */
1683 };
GSM48_REJECT_INVALID_MANDANTORY_INF
@ GSM48_REJECT_INVALID_MANDANTORY_INF
Definition: gsm_04_08.h:1454
gsm48_mm_msgtype_names
const struct value_string gsm48_mm_msgtype_names[]
gsm48_range_256::w3
uint8_t w3
Definition: gsm_04_08.h:239
gsm48_chan_mode_modify::mode
uint8_t mode
Definition: gsm_04_08.h:500
gsm48_start_time::t2
uint8_t t2
Definition: gsm_04_08.h:481
GSM48_SIGNAL_DIALTONE
@ GSM48_SIGNAL_DIALTONE
Definition: gsm_04_08.h:1337
gsm48_range_1024::w1_hi
uint8_t w1_hi
Definition: gsm_04_08.h:86
gsm48_range_256::w1_hi
uint8_t w1_hi
Definition: gsm_04_08.h:236
gsm48_meas_res::rxlev_nc6_hi
uint8_t rxlev_nc6_hi
Definition: gsm_04_08.h:424
GSM48_BCAP_SA_X21
@ GSM48_BCAP_SA_X21
Definition: gsm_04_08.h:1579
gsm48_system_information_type_header::skip_indicator
uint8_t skip_indicator
Definition: gsm_04_08.h:618
gsm48_classmark2::vgcs
uint8_t vgcs
Definition: gsm_04_08.h:31
gsm48_range_128::orig_arfcn_hi
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:318
GSM48_CC_CAUSE_INC_BARRED_CUG
@ GSM48_CC_CAUSE_INC_BARRED_CUG
Definition: gsm_04_08.h:1411
gsm48_meas_res::bcch_f_nc5_hi
uint8_t bcch_f_nc5_hi
Definition: gsm_04_08.h:422
gsm48_range_128::w21_lo
uint8_t w21_lo
Definition: gsm_04_08.h:346
GSM48_REJECT_IMSI_UNKNOWN_IN_HLR
@ GSM48_REJECT_IMSI_UNKNOWN_IN_HLR
Definition: gsm_04_08.h:1438
gsm48_loc_upd_req::key_seq
uint8_t key_seq
Definition: gsm_04_08.h:600
GSM48_CC_CAUSE_NORM_CALL_CLEAR
@ GSM48_CC_CAUSE_NORM_CALL_CLEAR
Definition: gsm_04_08.h:1389
GSM48_CC_CAUSE_SERV_OPT_UNIMPL
@ GSM48_CC_CAUSE_SERV_OPT_UNIMPL
Definition: gsm_04_08.h:1419
gsm48_rach_control::cell_bar
uint8_t cell_bar
Definition: gsm_04_08.h:460
gsm48_sync_ind::si
uint8_t si
Definition: gsm_04_08.h:487
gsm48_range_128::w7
uint8_t w7
Definition: gsm_04_08.h:330
GSM48_CC_CAUSE_IE_NOTEXIST
@ GSM48_CC_CAUSE_IE_NOTEXIST
Definition: gsm_04_08.h:1428
GSM48_BCAP_SV_HR
@ GSM48_BCAP_SV_HR
Definition: gsm_04_08.h:1637
GSM48_BCAP_PAR_EVEN
@ GSM48_BCAP_PAR_EVEN
Definition: gsm_04_08.h:1600
gsm48_cm_change::cm2
struct gsm48_classmark2 cm2
Definition: gsm_04_08.h:826
gsm48_paging3::proto_discr
uint8_t proto_discr
Definition: gsm_04_08.h:892
gsm48_req_ref
Definition: gsm_04_08.h:469
GSM48_CC_CAUSE_ACC_INF_DISCARD
@ GSM48_CC_CAUSE_ACC_INF_DISCARD
Definition: gsm_04_08.h:1406
CHREQ_T_SDCCH
@ CHREQ_T_SDCCH
Definition: gsm_04_08.h:1476
gsm48_system_information_type_6::cell_options
struct gsm48_cell_options cell_options
Definition: gsm_04_08.h:763
gsm48_range_512::w16_lo
uint8_t w16_lo
Definition: gsm_04_08.h:184
GSM48_REJECT_IMPLICITLY_DETACHED
@ GSM48_REJECT_IMPLICITLY_DETACHED
Definition: gsm_04_08.h:1466
gsm48_range_1024::w15_lo
uint8_t w15_lo
Definition: gsm_04_08.h:113
gsm48_paging1::l2_plen
uint8_t l2_plen
Definition: gsm_04_08.h:865
gsm48_pag_rsp::cm2_len
uint8_t cm2_len
Definition: gsm_04_08.h:912
gsm48_meas_res::bsic_nc1_hi
uint8_t bsic_nc1_hi
Definition: gsm_04_08.h:404
gsm48_range_1024::w6_lo
uint8_t w6_lo
Definition: gsm_04_08.h:97
gsm48_range_128::w1
uint8_t w1
Definition: gsm_04_08.h:321
GSM48_CC_CAUSE_INTERWORKING
@ GSM48_CC_CAUSE_INTERWORKING
Definition: gsm_04_08.h:1433
GSM48_BCAP_RRQ_DUAL_HR
@ GSM48_BCAP_RRQ_DUAL_HR
Definition: gsm_04_08.h:1564
GSM48_BCAP_TMOD_CIRCUIT
@ GSM48_BCAP_TMOD_CIRCUIT
Definition: gsm_04_08.h:1552
gsm48_range_512
Definition: gsm_04_08.h:154
GSM48_PDISC_NC_SS
#define GSM48_PDISC_NC_SS
Definition: gsm_04_08.h:934
GSM48_RR_CAUSE_CHAN_MODE_UNACCT
@ GSM48_RR_CAUSE_CHAN_MODE_UNACCT
Definition: gsm_04_08.h:1371
GSM48_CC_CAUSE_USER_NOT_IN_CUG
@ GSM48_CC_CAUSE_USER_NOT_IN_CUG
Definition: gsm_04_08.h:1421
GSM48_CAUSE_LOC_NET_BEYOND
@ GSM48_CAUSE_LOC_NET_BEYOND
Definition: gsm_04_08.h:1359
gsm48_gprs_susp_req
Definition: gsm_04_08.h:533
gsm48_range_256::w18_hi
uint8_t w18_hi
Definition: gsm_04_08.h:262
gsm48_system_information_type_4
Definition: gsm_04_08.h:721
gsm48_range_1024::w2_hi
uint8_t w2_hi
Definition: gsm_04_08.h:88
GSM48_CC_CAUSE_MSG_INCOMP_STATE
@ GSM48_CC_CAUSE_MSG_INCOMP_STATE
Definition: gsm_04_08.h:1430
gsm48_service_request::mi_len
uint8_t mi_len
Definition: gsm_04_08.h:666
gsm48_signal_val
gsm48_signal_val
Definition: gsm_04_08.h:1336
gsm48_frq_redef::mob_alloc_len
uint8_t mob_alloc_len
Definition: gsm_04_08.h:528
gsm48_meas_res::bcch_f_nc4
uint8_t bcch_f_nc4
Definition: gsm_04_08.h:418
gsm48_ra_id::lac
uint16_t lac
Definition: gsm_04_08.h:1654
gsm48_paging3::tmsi4
uint32_t tmsi4
Definition: gsm_04_08.h:901
gsm48_imm_ass::mob_alloc
uint8_t mob_alloc[0]
Definition: gsm_04_08.h:567
gsm48_imm_ass_ext
Definition: gsm_04_08.h:831
gsm48_range_256::w11_lo
uint8_t w11_lo
Definition: gsm_04_08.h:253
gsm48_hdr::proto_discr
uint8_t proto_discr
Definition: gsm_04_08.h:609
gsm48_range_1024::w7_hi
uint8_t w7_hi
Definition: gsm_04_08.h:98
GSM48_CC_CAUSE_NONSE_USER_CLR
@ GSM48_CC_CAUSE_NONSE_USER_CLR
Definition: gsm_04_08.h:1396
gsm48_hdr::data
uint8_t data[0]
Definition: gsm_04_08.h:611
GSM48_NPI_ISDN_E164
@ GSM48_NPI_ISDN_E164
Definition: gsm_04_08.h:1676
gsm48_control_channel_descr::spare_2
uint8_t spare_2
Definition: gsm_04_08.h:640
gsm48_var_bit::rrfcn8_111
uint8_t rrfcn8_111[13]
Definition: gsm_04_08.h:366
gsm48_pag_rsp::key_seq
uint8_t key_seq
Definition: gsm_04_08.h:910
gsm48_multi_rate_conf::m10_2
uint8_t m10_2
Definition: gsm_04_08.h:446
gsm48_classmark2::es_ind
uint8_t es_ind
Definition: gsm_04_08.h:27
gsm48_classmark2
Definition: gsm_04_08.h:24
gsm48_range_1024::form_id
uint8_t form_id
Definition: gsm_04_08.h:84
gsm48_meas_res::rxlev_nc3_lo
uint8_t rxlev_nc3_lo
Definition: gsm_04_08.h:415
gsm48_power_cmd
Definition: gsm_04_08.h:451
gsm48_range_256::w11_hi
uint8_t w11_hi
Definition: gsm_04_08.h:252
GSM48_CC_CAUSE_NO_CIRCUIT_CHAN
@ GSM48_CC_CAUSE_NO_CIRCUIT_CHAN
Definition: gsm_04_08.h:1402
gsm48_system_information_type_header::system_information
uint8_t system_information
Definition: gsm_04_08.h:619
gsm48_auth_req
Definition: gsm_04_08.h:586
gsm48_system_information_type_4::lai
struct gsm48_loc_area_id lai
Definition: gsm_04_08.h:723
gsm48_type_of_number
gsm48_type_of_number
Definition: gsm_04_08.h:1664
gsm48_paging1::msg_type
uint8_t msg_type
Definition: gsm_04_08.h:867
GSM48_BCAP_RA_V110_X30
@ GSM48_BCAP_RA_V110_X30
Definition: gsm_04_08.h:1571
gsm48_chan_desc::hsn
uint8_t hsn
Definition: gsm_04_08.h:377
GSM48_BCAP_RA_NONE
@ GSM48_BCAP_RA_NONE
Definition: gsm_04_08.h:1570
GSM48_CC_CAUSE_SERV_OPT_UNAVAIL
@ GSM48_CC_CAUSE_SERV_OPT_UNAVAIL
Definition: gsm_04_08.h:1414
GSM48_BCAP_MT_V26ter
@ GSM48_BCAP_MT_V26ter
Definition: gsm_04_08.h:1627
gsm48_var_bit::orig_arfcn_hi
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:361
GSM48_REJECT_ILLEGAL_MS
@ GSM48_REJECT_ILLEGAL_MS
Definition: gsm_04_08.h:1439
GSM48_BCAP_SV_AMR_OHW
@ GSM48_BCAP_SV_AMR_OHW
Definition: gsm_04_08.h:1642
gsm48_cip_mode_cmd::cr
uint8_t cr
Definition: gsm_04_08.h:819
gsm48_range_128::form_id
uint8_t form_id
Definition: gsm_04_08.h:317
gsm48_ass_cmd::power_command
uint8_t power_command
Definition: gsm_04_08.h:520
CHREQ_T_LMU
@ CHREQ_T_LMU
Definition: gsm_04_08.h:1485
gsm48_range_128::w8
uint8_t w8
Definition: gsm_04_08.h:331
GSM48_BCAP_UR_9600
@ GSM48_BCAP_UR_9600
Definition: gsm_04_08.h:1592
gsm48_cm_change::data
uint8_t data[0]
Definition: gsm_04_08.h:827
GSM48_DTX_MAY_BE_USED
@ GSM48_DTX_MAY_BE_USED
Definition: gsm_04_08.h:645
GSM48_CC_CAUSE_INV_NR_FORMAT
@ GSM48_CC_CAUSE_INV_NR_FORMAT
Definition: gsm_04_08.h:1398
gsm48_rach_control::re
uint8_t re
Definition: gsm_04_08.h:459
gsm48_loc_area_id::digits
uint8_t digits[3]
Definition: gsm_04_08.h:581
GSM48_CC_CAUSE_PRE_EMPTION
@ GSM48_CC_CAUSE_PRE_EMPTION
Definition: gsm_04_08.h:1395
GSM48_CMODE_DATA_12k0
@ GSM48_CMODE_DATA_12k0
Definition: gsm_04_08.h:509
GSM48_BCAP_SA_X28_DP_IN
@ GSM48_BCAP_SA_X28_DP_IN
Definition: gsm_04_08.h:1580
gsm48_system_information_type_5::bcch_frequency_list
uint8_t bcch_frequency_list[16]
Definition: gsm_04_08.h:737
GSM48_REJECT_GPRS_NOT_ALLOWED_IN_PLMN
@ GSM48_REJECT_GPRS_NOT_ALLOWED_IN_PLMN
Definition: gsm_04_08.h:1467
GSM48_REJECT_NETWORK_FAILURE
@ GSM48_REJECT_NETWORK_FAILURE
Definition: gsm_04_08.h:1446
gsm48_system_information_type_6::rest_octets
uint8_t rest_octets[0]
Definition: gsm_04_08.h:765
GSM48_BCAP_MT_NONE
@ GSM48_BCAP_MT_NONE
Definition: gsm_04_08.h:1622
GSM48_CC_CAUSE_USER_NOTRESPOND
@ GSM48_CC_CAUSE_USER_NOTRESPOND
Definition: gsm_04_08.h:1391
gsm48_range_128::w21_hi
uint8_t w21_hi
Definition: gsm_04_08.h:345
gsm48_pag_rsp::cm2
struct gsm48_classmark2 cm2
Definition: gsm_04_08.h:913
gsm48_imm_ass_rej::wait_ind4
uint8_t wait_ind4
Definition: gsm_04_08.h:859
gsm48_range_128::orig_arfcn_mid
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:319
GSM48_BCAP_MT_V21
@ GSM48_BCAP_MT_V21
Definition: gsm_04_08.h:1623
gsm48_control_channel_descr::spare_1
uint8_t spare_1
Definition: gsm_04_08.h:638
gsm48_range_256::w6_hi
uint8_t w6_hi
Definition: gsm_04_08.h:244
gsm48_control_channel_descr::cbq3
uint8_t cbq3
Definition: gsm_04_08.h:639
gsm48_req_ref::t2
uint8_t t2
Definition: gsm_04_08.h:473
gsm48_meas_res::no_nc_n_lo
uint8_t no_nc_n_lo
Definition: gsm_04_08.h:403
GSM48_BCAP_IR_8k
@ GSM48_BCAP_IR_8k
Definition: gsm_04_08.h:1608
gsm48_imm_ass_ext::req_ref2
struct gsm48_req_ref req_ref2
Definition: gsm_04_08.h:840
GSM48_BCAP_ITCAP_OTHER
@ GSM48_BCAP_ITCAP_OTHER
Definition: gsm_04_08.h:1546
GSM48_REJECT_ROAMING_NOT_ALLOWED
@ GSM48_REJECT_ROAMING_NOT_ALLOWED
Definition: gsm_04_08.h:1445
GSM48_BCAP_RA_X31
@ GSM48_BCAP_RA_X31
Definition: gsm_04_08.h:1572
GSM48_CC_CAUSE_UNASSIGNED_NR
@ GSM48_CC_CAUSE_UNASSIGNED_NR
Definition: gsm_04_08.h:1385
GSM48_DTX_SHALL_NOT_BE_USED
@ GSM48_DTX_SHALL_NOT_BE_USED
Definition: gsm_04_08.h:647
GSM48_BCAP_TR_TRANSP
@ GSM48_BCAP_TR_TRANSP
Definition: gsm_04_08.h:1614
GSM48_RR_CAUSE_PREMPTIVE_REL
@ GSM48_RR_CAUSE_PREMPTIVE_REL
Definition: gsm_04_08.h:1369
gsm48_chan_desc::chan_nr
uint8_t chan_nr
Definition: gsm_04_08.h:371
gsm48_ho_cmd::data
uint8_t data[0]
Definition: gsm_04_08.h:554
gsm48_paging1::proto_discr
uint8_t proto_discr
Definition: gsm_04_08.h:866
gsm48_imm_ass::req_ref
struct gsm48_req_ref req_ref
Definition: gsm_04_08.h:564
gsm48_range_256::w9_hi
uint8_t w9_hi
Definition: gsm_04_08.h:249
gsm48_gprs_susp_req::ra_id
uint8_t ra_id[6]
Definition: gsm_04_08.h:535
gsm48_classmark2::ss_scr
uint8_t ss_scr
Definition: gsm_04_08.h:34
gsm48_meas_res::bsic_nc3_lo
uint8_t bsic_nc3_lo
Definition: gsm_04_08.h:417
GSM48_REJECT_INF_ELEME_NOT_IMPLEMENTED
@ GSM48_REJECT_INF_ELEME_NOT_IMPLEMENTED
Definition: gsm_04_08.h:1457
gsm48_pag_resp::key_seq
uint8_t key_seq
Definition: gsm_04_08.h:573
__attribute__
enum gsm48_chan_mode __attribute__
GSM48_CC_CAUSE_DEST_OOO
@ GSM48_CC_CAUSE_DEST_OOO
Definition: gsm_04_08.h:1397
gsm48_meas_res::bsic_nc2_lo
uint8_t bsic_nc2_lo
Definition: gsm_04_08.h:412
GSM48_BCAP_TMOD_PACKET
@ GSM48_BCAP_TMOD_PACKET
Definition: gsm_04_08.h:1553
GSM48_SIGNAL_OFF
@ GSM48_SIGNAL_OFF
Definition: gsm_04_08.h:1346
gsm48_range_256::w14_lo
uint8_t w14_lo
Definition: gsm_04_08.h:257
gsm48_range_128::w4_lo
uint8_t w4_lo
Definition: gsm_04_08.h:326
gsm48_range_1024::w8_hi
uint8_t w8_hi
Definition: gsm_04_08.h:100
GSM48_CC_CAUSE_REQ_FAC_NOTIMPL
@ GSM48_CC_CAUSE_REQ_FAC_NOTIMPL
Definition: gsm_04_08.h:1417
gsm48_req_ref::t3_high
uint8_t t3_high
Definition: gsm_04_08.h:471
gsm48_loc_upd_req::mi
uint8_t mi[0]
Definition: gsm_04_08.h:604
GSM48_CC_CAUSE_BEARER_CAP_UNAUTH
@ GSM48_CC_CAUSE_BEARER_CAP_UNAUTH
Definition: gsm_04_08.h:1412
gsm48_req_ref::ra
uint8_t ra
Definition: gsm_04_08.h:470
GSM48_BCAP_SA_X32
@ GSM48_BCAP_SA_X32
Definition: gsm_04_08.h:1583
gsm48_meas_res::rxlev_nc1
uint8_t rxlev_nc1
Definition: gsm_04_08.h:402
gsm48_classmark1::es_ind
uint8_t es_ind
Definition: gsm_04_08.h:18
gsm48_meas_res::bsic_nc2_hi
uint8_t bsic_nc2_hi
Definition: gsm_04_08.h:408
gsm48_multi_rate_conf
Definition: gsm_04_08.h:434
gsm48_range_128::w20
uint8_t w20
Definition: gsm_04_08.h:344
gsm48_imm_ass_ext::msg_type
uint8_t msg_type
Definition: gsm_04_08.h:834
gsm48_meas_res::rxlev_nc2_hi
uint8_t rxlev_nc2_hi
Definition: gsm_04_08.h:406
gsm48_paging2::tmsi2
uint32_t tmsi2
Definition: gsm_04_08.h:885
gsm48_system_information_type_5ter
Definition: gsm_04_08.h:749
gsm48_classmark2::a5_3
uint8_t a5_3
Definition: gsm_04_08.h:38
GSM48_BCAP_SV_AMR_OFW
@ GSM48_BCAP_SV_AMR_OFW
Definition: gsm_04_08.h:1641
gsm48_classmark2::rev_lev
uint8_t rev_lev
Definition: gsm_04_08.h:28
gsm48_cell_sel_par::acs
uint8_t acs
Definition: gsm_04_08.h:628
GSM48_CC_CAUSE_MSGTYPE_INCOMPAT
@ GSM48_CC_CAUSE_MSGTYPE_INCOMPAT
Definition: gsm_04_08.h:1427
gsm48_range_256::w6_lo
uint8_t w6_lo
Definition: gsm_04_08.h:245
gsm48_cc_msgtype_names
const struct value_string gsm48_cc_msgtype_names[]
gsm48_ho_cmd
Definition: gsm_04_08.h:549
gsm48_meas_res::bsic_nc4
uint8_t bsic_nc4
Definition: gsm_04_08.h:421
gsm48_ho_cpl::rr_cause
uint8_t rr_cause
Definition: gsm_04_08.h:800
CHREQ_T_VOICE_CALL_TCH_H
@ CHREQ_T_VOICE_CALL_TCH_H
Definition: gsm_04_08.h:1478
gsm48_range_128::w18_hi
uint8_t w18_hi
Definition: gsm_04_08.h:341
gsm48_range_1024::w8_lo
uint8_t w8_lo
Definition: gsm_04_08.h:101
GSM48_CC_CAUSE_INCOMPAT_DEST
@ GSM48_CC_CAUSE_INCOMPAT_DEST
Definition: gsm_04_08.h:1422
gsm48_multi_rate_conf::m6_70
uint8_t m6_70
Definition: gsm_04_08.h:443
gsm48_cell_sel_par
Definition: gsm_04_08.h:623
GSM48_RR_CAUSE_MSG_TYPE_N_COMPAT
@ GSM48_RR_CAUSE_MSG_TYPE_N_COMPAT
Definition: gsm_04_08.h:1377
GSM48_PDISC_MASK
#define GSM48_PDISC_MASK
Definition: gsm_04_08.h:938
gsm48_add_ass
Definition: gsm_04_08.h:782
gsm48_imm_ass_rej
Definition: gsm_04_08.h:847
gsm48_system_information_type_3::cell_sel_par
struct gsm48_cell_sel_par cell_sel_par
Definition: gsm_04_08.h:715
GSM48_BCAP_UR_12000
@ GSM48_BCAP_UR_12000
Definition: gsm_04_08.h:1593
gsm48_imm_ass_rej::msg_type
uint8_t msg_type
Definition: gsm_04_08.h:850
gsm48_cip_mode_cmd::sc
uint8_t sc
Definition: gsm_04_08.h:817
gsm48_paging3
Definition: gsm_04_08.h:890
gsm48_chan_desc::tsc
uint8_t tsc
Definition: gsm_04_08.h:376
gsm48_var_bit::rrfcn1_7
uint8_t rrfcn1_7
Definition: gsm_04_08.h:364
gsm48_range_1024::w3_hi
uint8_t w3_hi
Definition: gsm_04_08.h:90
GSM48_SIGNAL_BUSY
@ GSM48_SIGNAL_BUSY
Definition: gsm_04_08.h:1341
gsm48_service_request::classmark
uint32_t classmark
Definition: gsm_04_08.h:665
gsm48_frq_redef
Definition: gsm_04_08.h:525
gsm48_bcap_interm_rate
gsm48_bcap_interm_rate
Definition: gsm_04_08.h:1607
CHREQ_T_EMERG_CALL
@ CHREQ_T_EMERG_CALL
Definition: gsm_04_08.h:1472
gsm48_system_information_type_2ter::rest_octets
uint8_t rest_octets[0]
Definition: gsm_04_08.h:699
gsm48_imm_ass_ext::chan_desc1
struct gsm48_chan_desc chan_desc1
Definition: gsm_04_08.h:836
GSM48_REJECT_MSG_TYPE_NOT_COMPATIBLE
@ GSM48_REJECT_MSG_TYPE_NOT_COMPATIBLE
Definition: gsm_04_08.h:1456
gsm48_cell_desc::ncc
uint8_t ncc
Definition: gsm_04_08.h:543
GSM48_RR_CAUSE_FREQ_NOT_IMPL
@ GSM48_RR_CAUSE_FREQ_NOT_IMPL
Definition: gsm_04_08.h:1372
gsm48_range_128::w17
uint8_t w17
Definition: gsm_04_08.h:340
gsm48_range_256::w4_hi
uint8_t w4_hi
Definition: gsm_04_08.h:240
gsm48_system_information_type_3
Definition: gsm_04_08.h:709
GSM48_CC_CAUSE_SEMANTIC_INCORR
@ GSM48_CC_CAUSE_SEMANTIC_INCORR
Definition: gsm_04_08.h:1424
gsm48_system_information_type_5bis::bcch_frequency_list
uint8_t bcch_frequency_list[16]
Definition: gsm_04_08.h:745
GSM48_CC_CAUSE_NO_ROUTE
@ GSM48_CC_CAUSE_NO_ROUTE
Definition: gsm_04_08.h:1386
gsm48_system_information_type_2::rach_control
struct gsm48_rach_control rach_control
Definition: gsm_04_08.h:684
gsm48_hdr_msg_type_r98
static uint8_t gsm48_hdr_msg_type_r98(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:990
gsm48_range_128::w27
uint8_t w27
Definition: gsm_04_08.h:353
gsm48_system_information_type_6::skip_indicator
uint8_t skip_indicator
Definition: gsm_04_08.h:759
gsm48_paging3::rest
uint8_t rest[0]
Definition: gsm_04_08.h:905
GSM48_TON_UNKNOWN
@ GSM48_TON_UNKNOWN
Definition: gsm_04_08.h:1665
gsm48_multi_rate_conf::m4_75
uint8_t m4_75
Definition: gsm_04_08.h:440
gsm48_range_128::w10
uint8_t w10
Definition: gsm_04_08.h:333
gsm48_meas_res::bsic_nc5
uint8_t bsic_nc5
Definition: gsm_04_08.h:425
gsm48_imm_ass_ext::proto_discr
uint8_t proto_discr
Definition: gsm_04_08.h:833
gsm48_system_information_type_2quater::header
struct gsm48_system_information_type_header header
Definition: gsm_04_08.h:704
GSM48_BCAP_MT_AUTO_1
@ GSM48_BCAP_MT_AUTO_1
Definition: gsm_04_08.h:1630
gsm48_bcap_parity
gsm48_bcap_parity
Definition: gsm_04_08.h:1598
gsm48_meas_res::spare
uint8_t spare
Definition: gsm_04_08.h:397
GSM48_CC_CAUSE_USER_BUSY
@ GSM48_CC_CAUSE_USER_BUSY
Definition: gsm_04_08.h:1390
GSM48_RR_CAUSE_MSG_TYPE_N
@ GSM48_RR_CAUSE_MSG_TYPE_N
Definition: gsm_04_08.h:1376
gsm48_range_256::w4_lo
uint8_t w4_lo
Definition: gsm_04_08.h:241
gsm48_multi_rate_conf::m7_40
uint8_t m7_40
Definition: gsm_04_08.h:444
gsm48_range_128::w6_lo
uint8_t w6_lo
Definition: gsm_04_08.h:329
gsm48_classmark1
Definition: gsm_04_08.h:15
gsm48_rach_control::max_trans
uint8_t max_trans
Definition: gsm_04_08.h:462
gsm48_pdisc_names
const struct value_string gsm48_pdisc_names[]
gsm48_start_time
Definition: gsm_04_08.h:478
gsm48_range_512::w17
uint8_t w17
Definition: gsm_04_08.h:185
gsm48_multi_rate_conf::nscb
uint8_t nscb
Definition: gsm_04_08.h:438
gsm48_hdr_trans_id
static uint8_t gsm48_hdr_trans_id(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:959
gsm48_imm_ass_rej::wait_ind2
uint8_t wait_ind2
Definition: gsm_04_08.h:855
gsm48_chan_desc::maio_high
uint8_t maio_high
Definition: gsm_04_08.h:374
gsm48_system_information_type_header
Definition: gsm_04_08.h:615
GSM48_CMODE_DATA_6k0
@ GSM48_CMODE_DATA_6k0
Definition: gsm_04_08.h:510
gsm48_paging2::l2_plen
uint8_t l2_plen
Definition: gsm_04_08.h:877
gsm48_paging3::msg_type
uint8_t msg_type
Definition: gsm_04_08.h:893
gsm48_auth_resp::sres
uint8_t sres[4]
Definition: gsm_04_08.h:594
GSM48_BCAP_RRQ_FR_ONLY
@ GSM48_BCAP_RRQ_FR_ONLY
Definition: gsm_04_08.h:1563
gsm48_control_channel_descr::bs_pa_mfrms
uint8_t bs_pa_mfrms
Definition: gsm_04_08.h:637
GSM48_REJECT_SRV_OPT_NOT_SUPPORTED
@ GSM48_REJECT_SRV_OPT_NOT_SUPPORTED
Definition: gsm_04_08.h:1449
gsm48_cell_sel_par::ms_txpwr_max_ccch
uint8_t ms_txpwr_max_ccch
Definition: gsm_04_08.h:624
gsm48_paging3::l2_plen
uint8_t l2_plen
Definition: gsm_04_08.h:891
gsm48_system_information_type_2bis::rach_control
struct gsm48_rach_control rach_control
Definition: gsm_04_08.h:691
gsm48_range_1024::w14_hi
uint8_t w14_hi
Definition: gsm_04_08.h:110
gsm48_range_1024::w5_lo
uint8_t w5_lo
Definition: gsm_04_08.h:95
gsm48_numbering_plan
gsm48_numbering_plan
Definition: gsm_04_08.h:1674
gsm48_range_256::w16_lo
uint8_t w16_lo
Definition: gsm_04_08.h:260
GSM48_CAUSE_LOC_TRANS_NET
@ GSM48_CAUSE_LOC_TRANS_NET
Definition: gsm_04_08.h:1354
gsm48_meas_res::rxlev_nc4_lo
uint8_t rxlev_nc4_lo
Definition: gsm_04_08.h:419
gsm48_chan_rel::rr_cause
uint8_t rr_cause
Definition: gsm_04_08.h:811
gsm48_system_information_type_5bis::skip_indicator
uint8_t skip_indicator
Definition: gsm_04_08.h:743
gsm48_imm_ass_rej::rest
uint8_t rest[0]
Definition: gsm_04_08.h:860
gsm48_bcap_sig_access
gsm48_bcap_sig_access
Definition: gsm_04_08.h:1577
gsm48_system_information_type_3::header
struct gsm48_system_information_type_header header
Definition: gsm_04_08.h:710
gsm48_range_256::w8_lo
uint8_t w8_lo
Definition: gsm_04_08.h:248
gsm48_range_256
Definition: gsm_04_08.h:231
GSM48_BCAP_ITCAP_FAX_G3
@ GSM48_BCAP_ITCAP_FAX_G3
Definition: gsm_04_08.h:1545
GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE
@ GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE
Definition: gsm_04_08.h:1465
gsm48_system_information_type_13
Definition: gsm_04_08.h:769
gsm48_start_time::t3_low
uint8_t t3_low
Definition: gsm_04_08.h:482
gsm48_range_256::w10
uint8_t w10
Definition: gsm_04_08.h:251
GSM48_CC_CAUSE_RESOURCE_UNAVAIL
@ GSM48_CC_CAUSE_RESOURCE_UNAVAIL
Definition: gsm_04_08.h:1408
gsm48_ass_cmd::chan_desc
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:519
gsm48_range_128::w3_hi
uint8_t w3_hi
Definition: gsm_04_08.h:323
GSM48_CAUSE_LOC_PRN_S_RU
@ GSM48_CAUSE_LOC_PRN_S_RU
Definition: gsm_04_08.h:1356
gsm48_system_information_type_2ter
Definition: gsm_04_08.h:696
GSM48_RR_CAUSE_SEMANT_INCORR
@ GSM48_RR_CAUSE_SEMANT_INCORR
Definition: gsm_04_08.h:1374
GSM48_BCAP_TR_TR_PREF
@ GSM48_BCAP_TR_TR_PREF
Definition: gsm_04_08.h:1616
gsm48_paging3::tmsi3
uint32_t tmsi3
Definition: gsm_04_08.h:900
gsm48_service_request::cm_service_type
uint8_t cm_service_type
Definition: gsm_04_08.h:662
GSM48_BCAP_TR_RLP
@ GSM48_BCAP_TR_RLP
Definition: gsm_04_08.h:1615
GSM48_CAUSE_LOC_PRN_S_LU
@ GSM48_CAUSE_LOC_PRN_S_LU
Definition: gsm_04_08.h:1352
gsm48_range_128::w26_hi
uint8_t w26_hi
Definition: gsm_04_08.h:351
gsm48_range_512::w7_hi
uint8_t w7_hi
Definition: gsm_04_08.h:169
gsm48_system_information_type_2bis::bcch_frequency_list
uint8_t bcch_frequency_list[16]
Definition: gsm_04_08.h:690
gsm48_system_information_type_3::cell_identity
uint16_t cell_identity
Definition: gsm_04_08.h:711
gsm48_var_bit::orig_arfcn_lo
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:365
gsm48_ra_id::rac
uint8_t rac
Definition: gsm_04_08.h:1655
gsm48_imm_ass_ext::timing_advance1
uint8_t timing_advance1
Definition: gsm_04_08.h:838
gsm48_range_1024
Definition: gsm_04_08.h:83
GSM48_BCAP_UR_1200_75
@ GSM48_BCAP_UR_1200_75
Definition: gsm_04_08.h:1594
GSM48_BCAP_ITCAP_SPEECH
@ GSM48_BCAP_ITCAP_SPEECH
Definition: gsm_04_08.h:1542
gsm48_system_information_type_1::rach_control
struct gsm48_rach_control rach_control
Definition: gsm_04_08.h:675
gsm48_paging1::pag_mode
uint8_t pag_mode
Definition: gsm_04_08.h:868
gsm48_gprs_susp_req::options
uint8_t options[0]
Definition: gsm_04_08.h:537
gsm48_pag_resp::mi_len
uint8_t mi_len
Definition: gsm_04_08.h:575
gsm48_bcap_rrq
gsm48_bcap_rrq
Definition: gsm_04_08.h:1562
gsm48_system_information_type_13::header
struct gsm48_system_information_type_header header
Definition: gsm_04_08.h:770
gsm48_rach_control::t2
uint8_t t2
Definition: gsm_04_08.h:463
gsm48_range_1024::w7_lo
uint8_t w7_lo
Definition: gsm_04_08.h:99
gsm48_range_1024::w11_hi
uint8_t w11_hi
Definition: gsm_04_08.h:104
gsm48_cell_sel_par::cell_resel_hyst
uint8_t cell_resel_hyst
Definition: gsm_04_08.h:625
gsm48_range_256::w1_lo
uint8_t w1_lo
Definition: gsm_04_08.h:237
gsm48_imm_ass_rej::req_ref1
struct gsm48_req_ref req_ref1
Definition: gsm_04_08.h:852
GSM48_CC_CAUSE_REQ_FAC_NOT_SUBSC
@ GSM48_CC_CAUSE_REQ_FAC_NOT_SUBSC
Definition: gsm_04_08.h:1410
gsm48_ho_cmd::cell_desc
struct gsm48_cell_desc cell_desc
Definition: gsm_04_08.h:550
GSM48_SIGNAL_CALL_WAIT
@ GSM48_SIGNAL_CALL_WAIT
Definition: gsm_04_08.h:1344
gsm48_paging1::cneed1
uint8_t cneed1
Definition: gsm_04_08.h:870
gsm48_imm_ass::l2_plen
uint8_t l2_plen
Definition: gsm_04_08.h:559
gsm48_range_256::w14_hi
uint8_t w14_hi
Definition: gsm_04_08.h:256
gsm48_range_1024::w11_lo
uint8_t w11_lo
Definition: gsm_04_08.h:105
GSM48_BCAP_PAR_NONE
@ GSM48_BCAP_PAR_NONE
Definition: gsm_04_08.h:1601
utils.h
gsm48_system_information_type_6::cell_identity
uint16_t cell_identity
Definition: gsm_04_08.h:761
GSM48_CAUSE_LOC_PUN_S_LU
@ GSM48_CAUSE_LOC_PUN_S_LU
Definition: gsm_04_08.h:1353
gsm48_rr_status::rr_cause
uint8_t rr_cause
Definition: gsm_04_08.h:919
GSM48_CC_CAUSE_PROTO_ERR
@ GSM48_CC_CAUSE_PROTO_ERR
Definition: gsm_04_08.h:1432
gsm48_paging1
Definition: gsm_04_08.h:864
GSM48_TON_SHORT_CODE
@ GSM48_TON_SHORT_CODE
Definition: gsm_04_08.h:1669
gsm48_pag_rsp
Definition: gsm_04_08.h:909
gsm48_range_1024::w10
uint8_t w10
Definition: gsm_04_08.h:103
CHREQ_T_RESERVED_SDCCH
@ CHREQ_T_RESERVED_SDCCH
Definition: gsm_04_08.h:1486
gsm48_control_channel_descr::t3212
uint8_t t3212
Definition: gsm_04_08.h:641
gsm48_meas_res::bsic_nc3_hi
uint8_t bsic_nc3_hi
Definition: gsm_04_08.h:413
gsm48_range_512::w13_hi
uint8_t w13_hi
Definition: gsm_04_08.h:179
gsm48_meas_res::bcch_f_nc1
uint8_t bcch_f_nc1
Definition: gsm_04_08.h:405
gsm48_chan_desc::arfcn_low
uint8_t arfcn_low
Definition: gsm_04_08.h:385
GSM48_DTX_SHALL_BE_USED
@ GSM48_DTX_SHALL_BE_USED
Definition: gsm_04_08.h:646
gsm48_loc_upd_req::lai
struct gsm48_loc_area_id lai
Definition: gsm_04_08.h:601
gsm48_classmark2::ps_cap
uint8_t ps_cap
Definition: gsm_04_08.h:35
gsm48_cm_change
Definition: gsm_04_08.h:824
gsm48_rr_status
Definition: gsm_04_08.h:918
gsm48_meas_res::rxqual_sub
uint8_t rxqual_sub
Definition: gsm_04_08.h:399
GSM48_REJECT_MSG_TYPE_NOT_IMPLEMENTED
@ GSM48_REJECT_MSG_TYPE_NOT_IMPLEMENTED
Definition: gsm_04_08.h:1455
GSM48_BCAP_UR_4800
@ GSM48_BCAP_UR_4800
Definition: gsm_04_08.h:1591
GSM48_CMODE_DATA_3k6
@ GSM48_CMODE_DATA_3k6
Definition: gsm_04_08.h:511
gsm48_bcap_transp
gsm48_bcap_transp
Definition: gsm_04_08.h:1613
gsm48_var_bit::form_id
uint8_t form_id
Definition: gsm_04_08.h:362
gsm48_rr_msgtype_names
const struct value_string gsm48_rr_msgtype_names[]
gsm48_range_1024::w4_hi
uint8_t w4_hi
Definition: gsm_04_08.h:92
GSM48_RR_CAUSE_ABNORMAL_TIMER
@ GSM48_RR_CAUSE_ABNORMAL_TIMER
Definition: gsm_04_08.h:1367
gsm48_loc_upd_req::mi_len
uint8_t mi_len
Definition: gsm_04_08.h:603
gsm48_classmark2::cmsp
uint8_t cmsp
Definition: gsm_04_08.h:39
gsm48_classmark1::rev_lev
uint8_t rev_lev
Definition: gsm_04_08.h:19
gsm48_paging2::spare
uint8_t spare
Definition: gsm_04_08.h:881
gsm48_range_512::w10
uint8_t w10
Definition: gsm_04_08.h:175
gsm48_classmark2::pwr_lev
uint8_t pwr_lev
Definition: gsm_04_08.h:25
gsm48_meas_res::meas_valid
uint8_t meas_valid
Definition: gsm_04_08.h:396
GSM48_BCAP_SV_AMR_H
@ GSM48_BCAP_SV_AMR_H
Definition: gsm_04_08.h:1640
GSM48_PDISC_CC
#define GSM48_PDISC_CC
Definition: gsm_04_08.h:926
gsm48_system_information_type_3::rest_octets
uint8_t rest_octets[0]
Definition: gsm_04_08.h:717
gsm48_meas_res
Definition: gsm_04_08.h:391
gsm48_range_256::w15
uint8_t w15
Definition: gsm_04_08.h:258
gsm48_ass_cmd::data
uint8_t data[0]
Definition: gsm_04_08.h:521
GSM48_CC_CAUSE_BEARERSERV_UNIMPL
@ GSM48_CC_CAUSE_BEARERSERV_UNIMPL
Definition: gsm_04_08.h:1415
gsm48_gprs_susp_req::cause
uint8_t cause
Definition: gsm_04_08.h:536
GSM48_CMODE_SPEECH_EFR
@ GSM48_CMODE_SPEECH_EFR
Definition: gsm_04_08.h:506
gsm48_range_256::spare
uint8_t spare
Definition: gsm_04_08.h:268
gsm48_range_1024::w3_lo
uint8_t w3_lo
Definition: gsm_04_08.h:91
gsm48_range_256::w16_hi
uint8_t w16_hi
Definition: gsm_04_08.h:259
GSM48_NPI_CTS
@ GSM48_NPI_CTS
Definition: gsm_04_08.h:1681
gsm48_meas_res::rxlev_nc5_hi
uint8_t rxlev_nc5_hi
Definition: gsm_04_08.h:420
gsm48_system_information_type_4::data
uint8_t data[0]
Definition: gsm_04_08.h:729
gsm48_paging2::cneed2
uint8_t cneed2
Definition: gsm_04_08.h:883
gsm48_system_information_type_2quater
Definition: gsm_04_08.h:703
GSM48_PDISC_MM
#define GSM48_PDISC_MM
Definition: gsm_04_08.h:929
GSM48_RR_CAUSE_HNDOVER_IMP
@ GSM48_RR_CAUSE_HNDOVER_IMP
Definition: gsm_04_08.h:1370
gsm48_system_information_type_2bis::header
struct gsm48_system_information_type_header header
Definition: gsm_04_08.h:689
GSM48_CC_CAUSE_NORMAL_UNSPEC
@ GSM48_CC_CAUSE_NORMAL_UNSPEC
Definition: gsm_04_08.h:1401
gsm48_range_1024::w1_lo
uint8_t w1_lo
Definition: gsm_04_08.h:87
GSM48_REJECT_CONDTIONAL_IE_ERROR
@ GSM48_REJECT_CONDTIONAL_IE_ERROR
Definition: gsm_04_08.h:1458
gsm48_meas_res::bcch_f_nc6_lo
uint8_t bcch_f_nc6_lo
Definition: gsm_04_08.h:430
gsm48_imsi_detach_ind::mi
uint8_t mi[0]
Definition: gsm_04_08.h:778
gsm48_bcap_user_rate
gsm48_bcap_user_rate
Definition: gsm_04_08.h:1587
gsm48_chan_desc::spare
uint8_t spare
Definition: gsm_04_08.h:382
gsm48_multi_rate_conf::m5_15
uint8_t m5_15
Definition: gsm_04_08.h:441
GSM48_REJECT_CONGESTION
@ GSM48_REJECT_CONGESTION
Definition: gsm_04_08.h:1448
GSM48_REJECT_IMEI_NOT_ACCEPTED
@ GSM48_REJECT_IMEI_NOT_ACCEPTED
Definition: gsm_04_08.h:1441
gsm48_multi_rate_conf::icmi
uint8_t icmi
Definition: gsm_04_08.h:437
GSM48_CC_CAUSE_REQ_CHAN_UNAVAIL
@ GSM48_CC_CAUSE_REQ_CHAN_UNAVAIL
Definition: gsm_04_08.h:1407
GSM48_BCAP_MT_UNDEF
@ GSM48_BCAP_MT_UNDEF
Definition: gsm_04_08.h:1629
gsm48_system_information_type_6
Definition: gsm_04_08.h:757
gsm48_service_request::cipher_key_seq
uint8_t cipher_key_seq
Definition: gsm_04_08.h:663
gsm48_ho_cmd::ho_ref
uint8_t ho_ref
Definition: gsm_04_08.h:552
gsm48_multi_rate_conf::m5_90
uint8_t m5_90
Definition: gsm_04_08.h:442
GSM48_NPI_UNKNOWN
@ GSM48_NPI_UNKNOWN
Definition: gsm_04_08.h:1675
gsm48_system_information_type_2ter::header
struct gsm48_system_information_type_header header
Definition: gsm_04_08.h:697
gsm48_system_information_type_4::rach_control
struct gsm48_rach_control rach_control
Definition: gsm_04_08.h:725
CHREQ_T_RESERVED_IGNORE
@ CHREQ_T_RESERVED_IGNORE
Definition: gsm_04_08.h:1487
gsm48_hdr_trans_id_flip_ti
static uint8_t gsm48_hdr_trans_id_flip_ti(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:980
gsm48_range_512::w6
uint8_t w6
Definition: gsm_04_08.h:168
gsm48_system_information_type_2ter::ext_bcch_frequency_list
uint8_t ext_bcch_frequency_list[16]
Definition: gsm_04_08.h:698
gsm48_system_information_type_5ter::bcch_frequency_list
uint8_t bcch_frequency_list[16]
Definition: gsm_04_08.h:753
gsm48_range_512::w4_lo
uint8_t w4_lo
Definition: gsm_04_08.h:166
gsm48_imm_ass_ext::mob_alloc
uint8_t mob_alloc[0]
Definition: gsm_04_08.h:843
gsm48_imsi_detach_ind::mi_len
uint8_t mi_len
Definition: gsm_04_08.h:777
GSM48_CMODE_SPEECH_V1
@ GSM48_CMODE_SPEECH_V1
Definition: gsm_04_08.h:505
GSM48_REJECT_IMSI_UNKNOWN_IN_VLR
@ GSM48_REJECT_IMSI_UNKNOWN_IN_VLR
Definition: gsm_04_08.h:1440
gsm48_range_1024::w13_hi
uint8_t w13_hi
Definition: gsm_04_08.h:108
gsm48_pdisc_msgtype_name
const char * gsm48_pdisc_msgtype_name(uint8_t pdisc, uint8_t msg_type)
GSM48_RR_CAUSE_NO_CELL_ALLOC_A
@ GSM48_RR_CAUSE_NO_CELL_ALLOC_A
Definition: gsm_04_08.h:1379
GSM48_RR_CAUSE_ABNORMAL_UNSPEC
@ GSM48_RR_CAUSE_ABNORMAL_UNSPEC
Definition: gsm_04_08.h:1365
GSM48_TON_NATIONAL
@ GSM48_TON_NATIONAL
Definition: gsm_04_08.h:1667
gsm48_ass_cmd
Definition: gsm_04_08.h:517
gsm48_hdr_trans_id_no_ti
static uint8_t gsm48_hdr_trans_id_no_ti(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:985
GSM48_BCAP_SV_AMR_OH
@ GSM48_BCAP_SV_AMR_OH
Definition: gsm_04_08.h:1644
gsm48_auth_req::rand
uint8_t rand[16]
Definition: gsm_04_08.h:589
GSM48_SIGNAL_ANSWER
@ GSM48_SIGNAL_ANSWER
Definition: gsm_04_08.h:1343
GSM48_BCAP_SV_AMR_FW
@ GSM48_BCAP_SV_AMR_FW
Definition: gsm_04_08.h:1643
gsm48_paging2::tmsi1
uint32_t tmsi1
Definition: gsm_04_08.h:884
gsm48_system_information_type_5::rr_protocol_discriminator
uint8_t rr_protocol_discriminator
Definition: gsm_04_08.h:734
GSM48_BCAP_SA_I440_I450
@ GSM48_BCAP_SA_I440_I450
Definition: gsm_04_08.h:1578
gsm48_power_cmd::spare
uint8_t spare
Definition: gsm_04_08.h:453
gsm48_control_channel_descr::att
uint8_t att
Definition: gsm_04_08.h:635
gsm48_system_information_type_2bis::rest_octets
uint8_t rest_octets[0]
Definition: gsm_04_08.h:692
gsm48_ass_cpl
Definition: gsm_04_08.h:789
gsm48_meas_res::bsic_nc1_lo
uint8_t bsic_nc1_lo
Definition: gsm_04_08.h:407
_NUM_CHREQ_T
@ _NUM_CHREQ_T
Definition: gsm_04_08.h:1490
gsm48_classmark1::pwr_lev
uint8_t pwr_lev
Definition: gsm_04_08.h:16
gsm48_chan_desc::__attribute__
union gsm48_chan_desc::@3 __attribute__((packed))
gsm48_range_256::w2
uint8_t w2
Definition: gsm_04_08.h:238
gsm48_cell_desc::arfcn_hi
uint8_t arfcn_hi
Definition: gsm_04_08.h:544
GSM48_NPI_TELEX_F69
@ GSM48_NPI_TELEX_F69
Definition: gsm_04_08.h:1678
gsm48_range_128::w11
uint8_t w11
Definition: gsm_04_08.h:334
gsm48_cip_mode_cmd::spare
uint8_t spare
Definition: gsm_04_08.h:820
GSM48_SIGNAL_OFF_HOOK
@ GSM48_SIGNAL_OFF_HOOK
Definition: gsm_04_08.h:1345
GSM48_REJECT_ILLEGAL_ME
@ GSM48_REJECT_ILLEGAL_ME
Definition: gsm_04_08.h:1442
gsm48_loc_area_id::lac
uint16_t lac
Definition: gsm_04_08.h:582
gsm48_range_1024::w15_hi
uint8_t w15_hi
Definition: gsm_04_08.h:112
gsm48_paging3::pag_mode
uint8_t pag_mode
Definition: gsm_04_08.h:894
gsm48_range_512::orig_arfcn_mid
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:157
GSM48_CC_CAUSE_USER_ALERTING_NA
@ GSM48_CC_CAUSE_USER_ALERTING_NA
Definition: gsm_04_08.h:1392
gsm48_system_information_type_2::bcch_frequency_list
uint8_t bcch_frequency_list[16]
Definition: gsm_04_08.h:682
gsm48_control_channel_descr::bs_ag_blks_res
uint8_t bs_ag_blks_res
Definition: gsm_04_08.h:634
gsm48_paging3::cneed4
uint8_t cneed4
Definition: gsm_04_08.h:903
GSM48_CMODE_DATA_14k5
@ GSM48_CMODE_DATA_14k5
Definition: gsm_04_08.h:508
gsm48_ho_fail
Definition: gsm_04_08.h:805
gsm48_range_256::w21
uint8_t w21
Definition: gsm_04_08.h:267
gsm48_imm_ass::timing_advance
uint8_t timing_advance
Definition: gsm_04_08.h:565
gsm48_range_1024::w12_hi
uint8_t w12_hi
Definition: gsm_04_08.h:106
gsm48_cell_sel_par::rxlev_acc_min
uint8_t rxlev_acc_min
Definition: gsm_04_08.h:626
GSM48_REJECT_CALL_CAN_NOT_BE_IDENTIFIED
@ GSM48_REJECT_CALL_CAN_NOT_BE_IDENTIFIED
Definition: gsm_04_08.h:1452
gsm48_meas_res::bcch_f_nc6_hi
uint8_t bcch_f_nc6_hi
Definition: gsm_04_08.h:427
GSM48_REJECT_MSG_NOT_COMPATIBLE
@ GSM48_REJECT_MSG_NOT_COMPATIBLE
Definition: gsm_04_08.h:1459
gsm48_ho_fail::rr_cause
uint8_t rr_cause
Definition: gsm_04_08.h:806
gsm48_system_information_type_3::cell_options
struct gsm48_cell_options cell_options
Definition: gsm_04_08.h:714
GSM48_CC_CAUSE_RESP_STATUS_INQ
@ GSM48_CC_CAUSE_RESP_STATUS_INQ
Definition: gsm_04_08.h:1400
gsm48_paging2::cneed1
uint8_t cneed1
Definition: gsm_04_08.h:882
gsm48_system_information_type_6::ncc_permitted
uint8_t ncc_permitted
Definition: gsm_04_08.h:764
gsm48_cc_cause
gsm48_cc_cause
Definition: gsm_04_08.h:1384
gsm48_imm_ass_ext::mob_alloc_len
uint8_t mob_alloc_len
Definition: gsm_04_08.h:842
gsm48_system_information_type_header::rr_protocol_discriminator
uint8_t rr_protocol_discriminator
Definition: gsm_04_08.h:617
gsm48_cell_desc::arfcn_lo
uint8_t arfcn_lo
Definition: gsm_04_08.h:545
gsm48_sync_ind::rot
uint8_t rot
Definition: gsm_04_08.h:488
GSM48_NPI_PRIVATE
@ GSM48_NPI_PRIVATE
Definition: gsm_04_08.h:1680
GSM48_CC_CAUSE_CALL_REJECTED
@ GSM48_CC_CAUSE_CALL_REJECTED
Definition: gsm_04_08.h:1393
gsm48_range_512::w15
uint8_t w15
Definition: gsm_04_08.h:182
gsm48_paging3::cneed2
uint8_t cneed2
Definition: gsm_04_08.h:897
GSM48_CC_CAUSE_RECOVERY_TIMER
@ GSM48_CC_CAUSE_RECOVERY_TIMER
Definition: gsm_04_08.h:1431
gsm48_classmark1::spare
uint8_t spare
Definition: gsm_04_08.h:20
gsm48_range_256::w7
uint8_t w7
Definition: gsm_04_08.h:246
gsm48_imm_ass_ext::l2_plen
uint8_t l2_plen
Definition: gsm_04_08.h:832
gsm48_paging1::spare
uint8_t spare
Definition: gsm_04_08.h:869
gsm48_range_512::orig_arfcn_lo
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:158
gsm48_system_information_type_2::ncc_permitted
uint8_t ncc_permitted
Definition: gsm_04_08.h:683
gsm48_range_128::w13
uint8_t w13
Definition: gsm_04_08.h:336
CHREQ_T_CALL_REEST_TCH_H_DBL
@ CHREQ_T_CALL_REEST_TCH_H_DBL
Definition: gsm_04_08.h:1475
gsm48_imm_ass_rej::wait_ind1
uint8_t wait_ind1
Definition: gsm_04_08.h:853
CHREQ_T_LOCATION_UPD
@ CHREQ_T_LOCATION_UPD
Definition: gsm_04_08.h:1480
GSM48_RR_CAUSE_ABNORMAL_UNACCT
@ GSM48_RR_CAUSE_ABNORMAL_UNACCT
Definition: gsm_04_08.h:1366
gsm48_range_128::w12
uint8_t w12
Definition: gsm_04_08.h:335
gsm48_control_channel_descr
Definition: gsm_04_08.h:632
gsm48_paging1::data
uint8_t data[0]
Definition: gsm_04_08.h:872
GSM48_TON_NET_SPEC
@ GSM48_TON_NET_SPEC
Definition: gsm_04_08.h:1668
gsm48_imm_ass::page_mode
uint8_t page_mode
Definition: gsm_04_08.h:562
gsm48_imm_ass_ext::chan_desc2
struct gsm48_chan_desc chan_desc2
Definition: gsm_04_08.h:839
GSM48_BCAP_UR_2400
@ GSM48_BCAP_UR_2400
Definition: gsm_04_08.h:1590
gsm48_meas_res::rxlev_nc3_hi
uint8_t rxlev_nc3_hi
Definition: gsm_04_08.h:411
GSM48_REJECT_SERVICES_NOT_ALLOWED
@ GSM48_REJECT_SERVICES_NOT_ALLOWED
Definition: gsm_04_08.h:1464
GSM48_NPI_NATIONAL
@ GSM48_NPI_NATIONAL
Definition: gsm_04_08.h:1679
GSM48_REJECT_LOC_NOT_ALLOWED
@ GSM48_REJECT_LOC_NOT_ALLOWED
Definition: gsm_04_08.h:1444
GSM48_CC_CAUSE_BEARER_CA_UNAVAIL
@ GSM48_CC_CAUSE_BEARER_CA_UNAVAIL
Definition: gsm_04_08.h:1413
gsm48_range_512::w16_hi
uint8_t w16_hi
Definition: gsm_04_08.h:183
gsm48_cell_options::dtx
uint8_t dtx
Definition: gsm_04_08.h:654
gsm48_range_512::w13_lo
uint8_t w13_lo
Definition: gsm_04_08.h:180
GSM48_NPI_DATA_X121
@ GSM48_NPI_DATA_X121
Definition: gsm_04_08.h:1677
gsm48_range_512::w8_lo
uint8_t w8_lo
Definition: gsm_04_08.h:172
GSM48_CC_CAUSE_FACILITY_REJ
@ GSM48_CC_CAUSE_FACILITY_REJ
Definition: gsm_04_08.h:1399
endian.h
GSM48_BCAP_RA_OTHER
@ GSM48_BCAP_RA_OTHER
Definition: gsm_04_08.h:1573
gsm48_cip_mode_cmd::alg_id
uint8_t alg_id
Definition: gsm_04_08.h:818
gsm48_auth_req::key_seq
uint8_t key_seq
Definition: gsm_04_08.h:587
gsm48_range_128::w2
uint8_t w2
Definition: gsm_04_08.h:322
gsm48_classmark2::sm_cap
uint8_t sm_cap
Definition: gsm_04_08.h:33
GSM48_PDISC_GROUP_CC
#define GSM48_PDISC_GROUP_CC
Definition: gsm_04_08.h:923
gsm48_range_256::w20_lo
uint8_t w20_lo
Definition: gsm_04_08.h:266
gsm48_range_256::w13
uint8_t w13
Definition: gsm_04_08.h:255
gsm48_paging3::spare
uint8_t spare
Definition: gsm_04_08.h:895
gsm48_system_information_type_header::l2_plen
uint8_t l2_plen
Definition: gsm_04_08.h:616
GSM48_BCAP_TR_RLP_PREF
@ GSM48_BCAP_TR_RLP_PREF
Definition: gsm_04_08.h:1617
CHREQ_T_PAG_R_TCH_F
@ CHREQ_T_PAG_R_TCH_F
Definition: gsm_04_08.h:1483
gsm48_paging2
Definition: gsm_04_08.h:876
gsm48_range_128::w26_lo
uint8_t w26_lo
Definition: gsm_04_08.h:352
GSM48_REJECT_INCORRECT_MESSAGE
@ GSM48_REJECT_INCORRECT_MESSAGE
Definition: gsm_04_08.h:1453
gsm48_system_information_type_2
Definition: gsm_04_08.h:680
gsm48_bcap_coding
gsm48_bcap_coding
Definition: gsm_04_08.h:1557
CHREQ_T_PAG_R_TCH_FH
@ CHREQ_T_PAG_R_TCH_FH
Definition: gsm_04_08.h:1484
gsm48_range_512::w3_lo
uint8_t w3_lo
Definition: gsm_04_08.h:164
gsm48_meas_res::bcch_f_nc5_lo
uint8_t bcch_f_nc5_lo
Definition: gsm_04_08.h:426
gsm48_classmark2::fc
uint8_t fc
Definition: gsm_04_08.h:30
GSM48_REJECT_MSC_TMP_NOT_REACHABLE
@ GSM48_REJECT_MSC_TMP_NOT_REACHABLE
Definition: gsm_04_08.h:1468
gsm48_range_1024::w6_hi
uint8_t w6_hi
Definition: gsm_04_08.h:96
GSM48_RR_CAUSE_CALL_CLEARED
@ GSM48_RR_CAUSE_CALL_CLEARED
Definition: gsm_04_08.h:1373
gsm48_system_information_type_4::header
struct gsm48_system_information_type_header header
Definition: gsm_04_08.h:722
gsm48_classmark2::spare4
uint8_t spare4
Definition: gsm_04_08.h:43
gsm48_cell_options::pwrc
uint8_t pwrc
Definition: gsm_04_08.h:655
GSM48_REJECT_PROTOCOL_ERROR
@ GSM48_REJECT_PROTOCOL_ERROR
Definition: gsm_04_08.h:1460
gsm48_system_information_type_2::header
struct gsm48_system_information_type_header header
Definition: gsm_04_08.h:681
GSM48_CC_CAUSE_INVAL_MAND_INF
@ GSM48_CC_CAUSE_INVAL_MAND_INF
Definition: gsm_04_08.h:1425
GSM48_CMODE_SIGN
@ GSM48_CMODE_SIGN
Definition: gsm_04_08.h:504
gsm48_paging3::cneed1
uint8_t cneed1
Definition: gsm_04_08.h:896
gsm48_chan_mode_names
const struct value_string gsm48_chan_mode_names[]
GSM48_SIGNAL_ALERT_OFF
@ GSM48_SIGNAL_ALERT_OFF
Definition: gsm_04_08.h:1347
GSM48_BCAP_PAR_ZERO
@ GSM48_BCAP_PAR_ZERO
Definition: gsm_04_08.h:1602
gsm48_imm_ass_ext::page_mode
uint8_t page_mode
Definition: gsm_04_08.h:835
gsm48_system_information_type_5::system_information
uint8_t system_information
Definition: gsm_04_08.h:736
gsm48_bcap_ra
gsm48_bcap_ra
Definition: gsm_04_08.h:1569
gsm48_range_1024::w13_lo
uint8_t w13_lo
Definition: gsm_04_08.h:109
gsm48_ass_cpl::rr_cause
uint8_t rr_cause
Definition: gsm_04_08.h:790
gsm48_range_256::w5_lo
uint8_t w5_lo
Definition: gsm_04_08.h:243
gsm48_range_1024::w16
uint8_t w16
Definition: gsm_04_08.h:114
gsm48_range_512::w11
uint8_t w11
Definition: gsm_04_08.h:176
gsm48_system_information_type_5bis::rr_protocol_discriminator
uint8_t rr_protocol_discriminator
Definition: gsm_04_08.h:742
gsm48_range_256::orig_arfcn_hi
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:233
GSM48_PDISC_EXTEND
#define GSM48_PDISC_EXTEND
Definition: gsm_04_08.h:936
gsm48_system_information_type_4::cell_sel_par
struct gsm48_cell_sel_par cell_sel_par
Definition: gsm_04_08.h:724
gsm48_system_information_type_1::rest_octets
uint8_t rest_octets[0]
Definition: gsm_04_08.h:676
gsm48_range_512::w1_lo
uint8_t w1_lo
Definition: gsm_04_08.h:160
gsm48_pag_rsp::data
uint8_t data[0]
Definition: gsm_04_08.h:914
gsm48_imsi_detach_ind::classmark1
struct gsm48_classmark1 classmark1
Definition: gsm_04_08.h:776
gsm48_range_512::w5
uint8_t w5
Definition: gsm_04_08.h:167
gsm48_range_128::w6_hi
uint8_t w6_hi
Definition: gsm_04_08.h:328
gsm48_gprs_susp_req::tlli
uint32_t tlli
Definition: gsm_04_08.h:534
gsm48_meas_res::ba_used
uint8_t ba_used
Definition: gsm_04_08.h:394
gsm48_pag_resp::spare
uint8_t spare
Definition: gsm_04_08.h:572
value_string
Definition: utils.h:43
gsm48_range_128::spare
uint8_t spare
Definition: gsm_04_08.h:355
gsm48_ass_fail
Definition: gsm_04_08.h:794
gsm48_imm_ass_rej::l2_plen
uint8_t l2_plen
Definition: gsm_04_08.h:848
gsm48_imm_ass_ext::req_ref1
struct gsm48_req_ref req_ref1
Definition: gsm_04_08.h:837
gsm48_range_128::w9
uint8_t w9
Definition: gsm_04_08.h:332
gsm48_system_information_type_3::control_channel_desc
struct gsm48_control_channel_descr control_channel_desc
Definition: gsm_04_08.h:713
gsm48_paging2::proto_discr
uint8_t proto_discr
Definition: gsm_04_08.h:878
gsm48_imm_ass::msg_type
uint8_t msg_type
Definition: gsm_04_08.h:561
gsm48_bcap_tmod
gsm48_bcap_tmod
Definition: gsm_04_08.h:1551
gsm48_pag_resp::mi
uint8_t mi[0]
Definition: gsm_04_08.h:576
GSM48_REJECT_PLMN_NOT_ALLOWED
@ GSM48_REJECT_PLMN_NOT_ALLOWED
Definition: gsm_04_08.h:1443
gsm48_system_information_type_6::lai
struct gsm48_loc_area_id lai
Definition: gsm_04_08.h:762
GSM48_SIGNAL_CONFIRM
@ GSM48_SIGNAL_CONFIRM
Definition: gsm_04_08.h:1342
GSM48_BCAP_SV_FR
@ GSM48_BCAP_SV_FR
Definition: gsm_04_08.h:1636
CHREQ_T_CALL_REEST_TCH_F
@ CHREQ_T_CALL_REEST_TCH_F
Definition: gsm_04_08.h:1473
gsm48_chan_desc
Definition: gsm_04_08.h:370
GSM48_CMODE_SPEECH_AMR
@ GSM48_CMODE_SPEECH_AMR
Definition: gsm_04_08.h:507
gsm48_system_information_type_5
Definition: gsm_04_08.h:733
gsm48_range_512::w7_lo
uint8_t w7_lo
Definition: gsm_04_08.h:170
gsm48_ho_cmd::chan_desc
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:551
gsm48_imsi_detach_ind
Definition: gsm_04_08.h:775
gsm48_cell_options::radio_link_timeout
uint8_t radio_link_timeout
Definition: gsm_04_08.h:653
GSM48_CAUSE_LOC_INN_NET
@ GSM48_CAUSE_LOC_INN_NET
Definition: gsm_04_08.h:1358
GSM48_BCAP_ITCAP_UNR_DIG_INF
@ GSM48_BCAP_ITCAP_UNR_DIG_INF
Definition: gsm_04_08.h:1543
gsm48_cause_loc
gsm48_cause_loc
Definition: gsm_04_08.h:1350
gsm48_range_512::w4_hi
uint8_t w4_hi
Definition: gsm_04_08.h:165
gsm48_rach_control::tx_integer
uint8_t tx_integer
Definition: gsm_04_08.h:461
GSM48_REJECT_GPRS_NOT_ALLOWED
@ GSM48_REJECT_GPRS_NOT_ALLOWED
Definition: gsm_04_08.h:1463
GSM48_PDISC_BCAST_CC
#define GSM48_PDISC_BCAST_CC
Definition: gsm_04_08.h:924
GSM48_SIGNAL_INTERCEPT
@ GSM48_SIGNAL_INTERCEPT
Definition: gsm_04_08.h:1339
gsm48_classmark2::a5_2
uint8_t a5_2
Definition: gsm_04_08.h:37
gsm48_paging2::data
uint8_t data[0]
Definition: gsm_04_08.h:886
gsm48_classmark2::vbs
uint8_t vbs
Definition: gsm_04_08.h:32
CHREQ_T_DATA_CALL_TCH_H
@ CHREQ_T_DATA_CALL_TCH_H
Definition: gsm_04_08.h:1479
gsm48_bcap_itcap
gsm48_bcap_itcap
Definition: gsm_04_08.h:1541
gsm48_range_1024::w2_lo
uint8_t w2_lo
Definition: gsm_04_08.h:89
gsm48_multi_rate_conf::spare
uint8_t spare
Definition: gsm_04_08.h:436
gsm48_imm_ass_ext::timing_advance2
uint8_t timing_advance2
Definition: gsm_04_08.h:841
CHREQ_T_PDCH_ONE_PHASE
@ CHREQ_T_PDCH_ONE_PHASE
Definition: gsm_04_08.h:1488
gsm48_system_information_type_2quater::rest_octets
uint8_t rest_octets[0]
Definition: gsm_04_08.h:705
gsm48_var_bit
Definition: gsm_04_08.h:360
gsm48_bcap_speech_ver
gsm48_bcap_speech_ver
Definition: gsm_04_08.h:1635
gsm48_loc_upd_req
Definition: gsm_04_08.h:598
gsm48_imm_ass::chan_desc
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:563
gsm48_meas_res::dtx_used
uint8_t dtx_used
Definition: gsm_04_08.h:393
gsm48_range_128::w15
uint8_t w15
Definition: gsm_04_08.h:338
gsm48_cell_options
Definition: gsm_04_08.h:652
GSM48_BCAP_ITCAP_RESERVED
@ GSM48_BCAP_ITCAP_RESERVED
Definition: gsm_04_08.h:1547
gsm48_classmark1::a5_1
uint8_t a5_1
Definition: gsm_04_08.h:17
GSM48_CC_CAUSE_CHAN_UNACCEPT
@ GSM48_CC_CAUSE_CHAN_UNACCEPT
Definition: gsm_04_08.h:1387
gsm48_system_information_type_1::cell_channel_description
uint8_t cell_channel_description[16]
Definition: gsm_04_08.h:674
gsm48_system_information_type_3::lai
struct gsm48_loc_area_id lai
Definition: gsm_04_08.h:712
CHREQ_T_PAG_R_ANY_NECI1
@ CHREQ_T_PAG_R_ANY_NECI1
Definition: gsm_04_08.h:1482
GSM48_SIGNAL_NET_CONG
@ GSM48_SIGNAL_NET_CONG
Definition: gsm_04_08.h:1340
gsm48_pag_resp::classmark2
uint32_t classmark2
Definition: gsm_04_08.h:574
GSM48_BCAP_MT_V22
@ GSM48_BCAP_MT_V22
Definition: gsm_04_08.h:1624
gsm48_pag_rsp::spare
uint8_t spare
Definition: gsm_04_08.h:911
gsm48_imm_ass_rej::wait_ind3
uint8_t wait_ind3
Definition: gsm_04_08.h:857
gsm48_meas_res::rxlev_nc6_lo
uint8_t rxlev_nc6_lo
Definition: gsm_04_08.h:428
gsm48_range_256::w17
uint8_t w17
Definition: gsm_04_08.h:261
gsm48_range_256::w12
uint8_t w12
Definition: gsm_04_08.h:254
GSM48_CC_CAUSE_MSGTYPE_NOTEXIST
@ GSM48_CC_CAUSE_MSGTYPE_NOTEXIST
Definition: gsm_04_08.h:1426
gsm48_range_512::w8_hi
uint8_t w8_hi
Definition: gsm_04_08.h:171
gsm48_add_ass::chan_desc
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:784
gsm48_chan_desc::h
uint8_t h
Definition: gsm_04_08.h:375
gsm48_frq_redef::mob_alloc
uint8_t mob_alloc[0]
Definition: gsm_04_08.h:529
gsm48_classmark2::lcsva_cap
uint8_t lcsva_cap
Definition: gsm_04_08.h:42
gsm48_meas_res::bcch_f_nc3
uint8_t bcch_f_nc3
Definition: gsm_04_08.h:414
gsm48_sync_ind
Definition: gsm_04_08.h:486
gsm48_meas_res::rxlev_nc5_lo
uint8_t rxlev_nc5_lo
Definition: gsm_04_08.h:423
GSM48_BCAP_RRQ_DUAL_FR
@ GSM48_BCAP_RRQ_DUAL_FR
Definition: gsm_04_08.h:1565
gsm48_meas_res::spare2
uint8_t spare2
Definition: gsm_04_08.h:401
GSM48_CC_CAUSE_ACM_GE_ACM_MAX
@ GSM48_CC_CAUSE_ACM_GE_ACM_MAX
Definition: gsm_04_08.h:1416
CHREQ_T_PAG_R_ANY_NECI0
@ CHREQ_T_PAG_R_ANY_NECI0
Definition: gsm_04_08.h:1481
gsm48_range_128::w16
uint8_t w16
Definition: gsm_04_08.h:339
gsm48_range_128::w22
uint8_t w22
Definition: gsm_04_08.h:347
gsm48_range_1024::w5_hi
uint8_t w5_hi
Definition: gsm_04_08.h:94
gsm48_hdr_gmm_cipherable
bool gsm48_hdr_gmm_cipherable(const struct gsm48_hdr *hdr)
gsm48_range_256::w18_lo
uint8_t w18_lo
Definition: gsm_04_08.h:263
gsm48_range_128::w24
uint8_t w24
Definition: gsm_04_08.h:349
gsm48_chan_desc::arfcn_high
uint8_t arfcn_high
Definition: gsm_04_08.h:381
gsm48_paging3::tmsi2
uint32_t tmsi2
Definition: gsm_04_08.h:899
GSM48_BCAP_IR_16k
@ GSM48_BCAP_IR_16k
Definition: gsm_04_08.h:1609
GSM48_CAUSE_LOC_PUN_S_RU
@ GSM48_CAUSE_LOC_PUN_S_RU
Definition: gsm_04_08.h:1355
gsm48_hdr::msg_type
uint8_t msg_type
Definition: gsm_04_08.h:610
GSM48_RR_CAUSE_COND_IE_ERROR
@ GSM48_RR_CAUSE_COND_IE_ERROR
Definition: gsm_04_08.h:1378
gsm48_cell_desc::bcc
uint8_t bcc
Definition: gsm_04_08.h:542
gsm48_system_information_type_6::system_information
uint8_t system_information
Definition: gsm_04_08.h:760
GSM48_CC_CAUSE_SWITCH_CONG
@ GSM48_CC_CAUSE_SWITCH_CONG
Definition: gsm_04_08.h:1405
gsm48_system_information_type_6::rr_protocol_discriminator
uint8_t rr_protocol_discriminator
Definition: gsm_04_08.h:758
gsm48_meas_res::rxlev_nc4_hi
uint8_t rxlev_nc4_hi
Definition: gsm_04_08.h:416
gsm48_dtx_mode
gsm48_dtx_mode
Definition: gsm_04_08.h:644
gsm48_paging3::tmsi1
uint32_t tmsi1
Definition: gsm_04_08.h:898
CHREQ_T_PDCH_TWO_PHASE
@ CHREQ_T_PDCH_TWO_PHASE
Definition: gsm_04_08.h:1489
gsm48_meas_res::rxlev_sub
uint8_t rxlev_sub
Definition: gsm_04_08.h:395
gsm48_range_512::w2_hi
uint8_t w2_hi
Definition: gsm_04_08.h:161
GSM48_RR_CAUSE_NORMAL
@ GSM48_RR_CAUSE_NORMAL
Definition: gsm_04_08.h:1364
gsm48_cm_change::cm2_len
uint8_t cm2_len
Definition: gsm_04_08.h:825
gsm48_cip_mode_cmd
Definition: gsm_04_08.h:816
GSM48_BCAP_UR_1200
@ GSM48_BCAP_UR_1200
Definition: gsm_04_08.h:1589
GSM48_CC_CAUSE_INVAL_TRANS_NET
@ GSM48_CC_CAUSE_INVAL_TRANS_NET
Definition: gsm_04_08.h:1423
gsm48_range_128::w3_lo
uint8_t w3_lo
Definition: gsm_04_08.h:324
gsm48_hdr_msg_type_r99
static uint8_t gsm48_hdr_msg_type_r99(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1010
GSM48_RR_CAUSE_INVALID_MAND_INF
@ GSM48_RR_CAUSE_INVALID_MAND_INF
Definition: gsm_04_08.h:1375
gsm48_meas_res::rxqual_full
uint8_t rxqual_full
Definition: gsm_04_08.h:400
gsm48_add_ass::data
uint8_t data[0]
Definition: gsm_04_08.h:785
gsm48_req_ref::t1
uint8_t t1
Definition: gsm_04_08.h:472
gsm48_hdr_pdisc
static uint8_t gsm48_hdr_pdisc(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:947
gsm48_ho_cpl
Definition: gsm_04_08.h:799
gsm48_chan_rel
Definition: gsm_04_08.h:810
gsm48_imm_ass::proto_discr
uint8_t proto_discr
Definition: gsm_04_08.h:560
gsm48_chan_rel::data
uint8_t data[0]
Definition: gsm_04_08.h:812
gsm48_classmark2::spare
uint8_t spare
Definition: gsm_04_08.h:29
GSM48_BCAP_SA_X28_NDP
@ GSM48_BCAP_SA_X28_NDP
Definition: gsm_04_08.h:1582
gsm48_reject_value
gsm48_reject_value
Definition: gsm_04_08.h:1437
gsm48_range_512::w9_lo
uint8_t w9_lo
Definition: gsm_04_08.h:174
gsm48_ra_id::digits
uint8_t digits[3]
Definition: gsm_04_08.h:1653
gsm48_range_128::w4_hi
uint8_t w4_hi
Definition: gsm_04_08.h:325
gsm48_chan_mode_modify::chan_desc
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:499
GSM48_CC_CAUSE_NUMBER_CHANGED
@ GSM48_CC_CAUSE_NUMBER_CHANGED
Definition: gsm_04_08.h:1394
GSM48_SIGNAL_RINGBACK
@ GSM48_SIGNAL_RINGBACK
Definition: gsm_04_08.h:1338
gsm48_chan_mode_modify
Definition: gsm_04_08.h:498
gsm48_range_512::w3_hi
uint8_t w3_hi
Definition: gsm_04_08.h:163
CHREQ_T_CALL_REEST_TCH_H
@ CHREQ_T_CALL_REEST_TCH_H
Definition: gsm_04_08.h:1474
gsm48_classmark2::spare3
uint8_t spare3
Definition: gsm_04_08.h:41
gsm48_multi_rate_conf::m12_2
uint8_t m12_2
Definition: gsm_04_08.h:447
gsm48_range_1024::w12_lo
uint8_t w12_lo
Definition: gsm_04_08.h:107
gsm48_cell_options::d
uint8_t d
Definition: gsm_04_08.h:657
GSM48_BCAP_CODING_GSM_STD
@ GSM48_BCAP_CODING_GSM_STD
Definition: gsm_04_08.h:1558
gsm48_paging1::cneed2
uint8_t cneed2
Definition: gsm_04_08.h:871
gsm48_rr_cause
gsm48_rr_cause
Definition: gsm_04_08.h:1363
gsm48_cell_desc
Definition: gsm_04_08.h:541
GSM48_BCAP_ITCAP_3k1_AUDIO
@ GSM48_BCAP_ITCAP_3k1_AUDIO
Definition: gsm_04_08.h:1544
gsm48_sync_ind::sync_ie
uint8_t sync_ie
Definition: gsm_04_08.h:490
GSM48_BCAP_MT_V32
@ GSM48_BCAP_MT_V32
Definition: gsm_04_08.h:1628
gsm48_range_128::w19
uint8_t w19
Definition: gsm_04_08.h:343
gsm48_cell_sel_par::neci
uint8_t neci
Definition: gsm_04_08.h:627
gsm48_range_256::w8_hi
uint8_t w8_hi
Definition: gsm_04_08.h:247
GSM48_REJECT_SYNCH_FAILURE
@ GSM48_REJECT_SYNCH_FAILURE
Definition: gsm_04_08.h:1447
gsm48_set_dtx
void gsm48_set_dtx(struct gsm48_cell_options *op, enum gsm48_dtx_mode full, enum gsm48_dtx_mode half, bool is_bcch)
gsm48_loc_upd_req::classmark1
struct gsm48_classmark1 classmark1
Definition: gsm_04_08.h:602
gsm48_range_128::orig_arfcn_lo
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:320
gsm48_ho_cmd::power_command
uint8_t power_command
Definition: gsm_04_08.h:553
GSM48_CC_CAUSE_COND_IE_ERR
@ GSM48_CC_CAUSE_COND_IE_ERR
Definition: gsm_04_08.h:1429
gsm48_range_512::w12_hi
uint8_t w12_hi
Definition: gsm_04_08.h:177
gsm48_system_information_type_1::header
struct gsm48_system_information_type_header header
Definition: gsm_04_08.h:673
gsm48_range_512::w12_lo
uint8_t w12_lo
Definition: gsm_04_08.h:178
GSM48_BCAP_PAR_ODD
@ GSM48_BCAP_PAR_ODD
Definition: gsm_04_08.h:1599
GSM48_RR_CAUSE_PROT_ERROR_UNSPC
@ GSM48_RR_CAUSE_PROT_ERROR_UNSPC
Definition: gsm_04_08.h:1380
gsm48_imm_ass_rej::req_ref4
struct gsm48_req_ref req_ref4
Definition: gsm_04_08.h:858
GSM48_CC_CAUSE_INVAL_TRANS_ID
@ GSM48_CC_CAUSE_INVAL_TRANS_ID
Definition: gsm_04_08.h:1420
gsm48_system_information_type_1
Definition: gsm_04_08.h:672
GSM48_BCAP_SA_X28_DP_UN
@ GSM48_BCAP_SA_X28_DP_UN
Definition: gsm_04_08.h:1581
gsm48_imm_ass::mob_alloc_len
uint8_t mob_alloc_len
Definition: gsm_04_08.h:566
gsm48_range_512::w2_lo
uint8_t w2_lo
Definition: gsm_04_08.h:162
gsm48_multi_rate_conf::m7_95
uint8_t m7_95
Definition: gsm_04_08.h:445
gsm48_multi_rate_conf::ver
uint8_t ver
Definition: gsm_04_08.h:439
gsm48_meas_res::bsic_nc6
uint8_t bsic_nc6
Definition: gsm_04_08.h:429
chreq_type
chreq_type
Definition: gsm_04_08.h:1471
gsm48_range_512::orig_arfcn_hi
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:156
gsm48_loc_area_id
Definition: gsm_04_08.h:580
gsm48_range_256::orig_arfcn_lo
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:235
gsm48_range_256::w19
uint8_t w19
Definition: gsm_04_08.h:264
gsm48_paging2::pag_mode
uint8_t pag_mode
Definition: gsm_04_08.h:880
gsm48_range_512::w14
uint8_t w14
Definition: gsm_04_08.h:181
gsm48_imm_ass_rej::req_ref2
struct gsm48_req_ref req_ref2
Definition: gsm_04_08.h:854
GSM48_CC_CAUSE_NETWORK_OOO
@ GSM48_CC_CAUSE_NETWORK_OOO
Definition: gsm_04_08.h:1403
gsm48_classmark2::solsa
uint8_t solsa
Definition: gsm_04_08.h:40
gsm48_range_512::form_id
uint8_t form_id
Definition: gsm_04_08.h:155
gsm48_range_1024::f0
uint8_t f0
Definition: gsm_04_08.h:85
msg_type
uint8_t msg_type
Definition: gsm_04_08.h:4
gsm48_system_information_type_13::rest_octets
uint8_t rest_octets[0]
Definition: gsm_04_08.h:771
gsm48_paging2::msg_type
uint8_t msg_type
Definition: gsm_04_08.h:879
gsm48_start_time::t3_high
uint8_t t3_high
Definition: gsm_04_08.h:479
gsm48_range_512::w9_hi
uint8_t w9_hi
Definition: gsm_04_08.h:173
gsm48_range_256::form_id
uint8_t form_id
Definition: gsm_04_08.h:232
GSM48_BCAP_MT_V22bis
@ GSM48_BCAP_MT_V22bis
Definition: gsm_04_08.h:1625
GSM48_BCAP_SV_EFR
@ GSM48_BCAP_SV_EFR
Definition: gsm_04_08.h:1638
gsm48_control_channel_descr::ccch_conf
uint8_t ccch_conf
Definition: gsm_04_08.h:633
gsm48_control_channel_descr::mscr
uint8_t mscr
Definition: gsm_04_08.h:636
GSM48_RR_CAUSE_ABNORMAL_NOACT
@ GSM48_RR_CAUSE_ABNORMAL_NOACT
Definition: gsm_04_08.h:1368
gsm48_system_information_type_2bis
Definition: gsm_04_08.h:688
GSM48_REJECT_RQD_SRV_OPT_NOT_SUPPORTED
@ GSM48_REJECT_RQD_SRV_OPT_NOT_SUPPORTED
Definition: gsm_04_08.h:1450
GSM48_CC_CAUSE_OP_DET_BARRING
@ GSM48_CC_CAUSE_OP_DET_BARRING
Definition: gsm_04_08.h:1388
gsm48_range_512::w1_hi
uint8_t w1_hi
Definition: gsm_04_08.h:159
gsm48_range_128::w28
uint8_t w28
Definition: gsm_04_08.h:354
gsm48_power_cmd::power_level
uint8_t power_level
Definition: gsm_04_08.h:452
gsm48_range_128
Definition: gsm_04_08.h:316
gsm48_range_256::w20_hi
uint8_t w20_hi
Definition: gsm_04_08.h:265
GSM48_BCAP_MT_V23
@ GSM48_BCAP_MT_V23
Definition: gsm_04_08.h:1626
gsm48_imm_ass_rej::page_mode
uint8_t page_mode
Definition: gsm_04_08.h:851
gsm48_system_information_type_3::rach_control
struct gsm48_rach_control rach_control
Definition: gsm_04_08.h:716
gsm48_chan_mode
gsm48_chan_mode
Definition: gsm_04_08.h:503
gsm48_range_256::orig_arfcn_mid
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:234
GSM48_CAUSE_LOC_USER
@ GSM48_CAUSE_LOC_USER
Definition: gsm_04_08.h:1351
gsm48_paging3::cneed3
uint8_t cneed3
Definition: gsm_04_08.h:902
gsm48_meas_res::rxlev_nc2_lo
uint8_t rxlev_nc2_lo
Definition: gsm_04_08.h:410
gsm48_system_information_type_5ter::system_information
uint8_t system_information
Definition: gsm_04_08.h:752
GSM48_REJECT_SRV_OPT_TMP_OUT_OF_ORDER
@ GSM48_REJECT_SRV_OPT_TMP_OUT_OF_ORDER
Definition: gsm_04_08.h:1451
gsm48_loc_upd_req::type
uint8_t type
Definition: gsm_04_08.h:599
gsm48_sync_ind::nci
uint8_t nci
Definition: gsm_04_08.h:489
gsm48_rach_control
Definition: gsm_04_08.h:458
gsm48_auth_resp
Definition: gsm_04_08.h:593
gsm48_meas_res::bcch_f_nc2
uint8_t bcch_f_nc2
Definition: gsm_04_08.h:409
gsm48_meas_res::no_nc_n_hi
uint8_t no_nc_n_hi
Definition: gsm_04_08.h:398
GSM48_CC_CAUSE_QOS_UNAVAIL
@ GSM48_CC_CAUSE_QOS_UNAVAIL
Definition: gsm_04_08.h:1409
gsm48_imm_ass_rej::req_ref3
struct gsm48_req_ref req_ref3
Definition: gsm_04_08.h:856
gsm48_system_information_type_5::skip_indicator
uint8_t skip_indicator
Definition: gsm_04_08.h:735
GSM48_BCAP_UR_300
@ GSM48_BCAP_UR_300
Definition: gsm_04_08.h:1588
gsm48_range_256::w5_hi
uint8_t w5_hi
Definition: gsm_04_08.h:242
gsm48_range_1024::w9
uint8_t w9
Definition: gsm_04_08.h:102
gsm48_req_ref::t3_low
uint8_t t3_low
Definition: gsm_04_08.h:474
gsm48_ho_cpl::data
uint8_t data[0]
Definition: gsm_04_08.h:801
GSM48_CC_CAUSE_RESTR_BCAP_AVAIL
@ GSM48_CC_CAUSE_RESTR_BCAP_AVAIL
Definition: gsm_04_08.h:1418
gsm48_imm_ass_rej::proto_discr
uint8_t proto_discr
Definition: gsm_04_08.h:849
gsm48_range_128::w25
uint8_t w25
Definition: gsm_04_08.h:350
gsm48_power_cmd::atc
uint8_t atc
Definition: gsm_04_08.h:454
gsm48_range_1024::w4_lo
uint8_t w4_lo
Definition: gsm_04_08.h:93
GSM48_CC_CAUSE_TEMP_FAILURE
@ GSM48_CC_CAUSE_TEMP_FAILURE
Definition: gsm_04_08.h:1404
gsm48_bcap_modem_type
gsm48_bcap_modem_type
Definition: gsm_04_08.h:1621
gsm48_classmark2::spare2
uint8_t spare2
Definition: gsm_04_08.h:36
gsm48_service_request::mi
uint8_t mi[0]
Definition: gsm_04_08.h:667
gsm48_hdr
Definition: gsm_04_08.h:608
gsm48_frq_redef::chan_desc
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:527
gsm48_classmark2::cm3
uint8_t cm3
Definition: gsm_04_08.h:44
gsm48_start_time::t1
uint8_t t1
Definition: gsm_04_08.h:480
GSM48_PDISC_LOC
#define GSM48_PDISC_LOC
Definition: gsm_04_08.h:935
gsm48_rach_control::t3
uint8_t t3
Definition: gsm_04_08.h:464
gsm48_range_1024::w14_lo
uint8_t w14_lo
Definition: gsm_04_08.h:111
gsm48_paging3::spare2
uint8_t spare2
Definition: gsm_04_08.h:904
gsm48_auth_req::spare
uint8_t spare
Definition: gsm_04_08.h:588
gsm48_multi_rate_conf::smod
uint8_t smod
Definition: gsm_04_08.h:435
gsm48_classmark2::a5_1
uint8_t a5_1
Definition: gsm_04_08.h:26
gsm48_system_information_type_5bis
Definition: gsm_04_08.h:741
GSM48_BCAP_PAR_ONE
@ GSM48_BCAP_PAR_ONE
Definition: gsm_04_08.h:1603
gsm48_range_128::w18_lo
uint8_t w18_lo
Definition: gsm_04_08.h:342
gsm48_range_128::w23
uint8_t w23
Definition: gsm_04_08.h:348
GSM48_BCAP_SV_AMR_F
@ GSM48_BCAP_SV_AMR_F
Definition: gsm_04_08.h:1639
gsm48_meas_res::rxlev_full
uint8_t rxlev_full
Definition: gsm_04_08.h:392
CHREQ_T_TCH_F
@ CHREQ_T_TCH_F
Definition: gsm_04_08.h:1477
gsm48_system_information_type_5ter::skip_indicator
uint8_t skip_indicator
Definition: gsm_04_08.h:751
gsm48_pag_resp
Definition: gsm_04_08.h:571
gsm48_system_information_type_5ter::rr_protocol_discriminator
uint8_t rr_protocol_discriminator
Definition: gsm_04_08.h:750
gsm48_imm_ass
Definition: gsm_04_08.h:558
gsm48_chan_desc::maio_low
uint8_t maio_low
Definition: gsm_04_08.h:378
gsm48_ra_id
Definition: gsm_04_08.h:1652
GSM48_TON_INTERNATIONAL
@ GSM48_TON_INTERNATIONAL
Definition: gsm_04_08.h:1666
gsm48_range_256::w9_lo
uint8_t w9_lo
Definition: gsm_04_08.h:250
gsm48_ass_fail::rr_cause
uint8_t rr_cause
Definition: gsm_04_08.h:795
gsm48_service_request
Definition: gsm_04_08.h:661
gsm48_ta_is_valid
static bool gsm48_ta_is_valid(uint8_t ta)
Definition: gsm_04_08.h:975
gsm48_var_bit::orig_arfcn_mid
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:363
gsm48_system_information_type_5bis::system_information
uint8_t system_information
Definition: gsm_04_08.h:744
gsm48_range_128::w5
uint8_t w5
Definition: gsm_04_08.h:327
gsm48_range_128::w14
uint8_t w14
Definition: gsm_04_08.h:337