libosmogsm
0.12.0
Osmocom GSM library
|
Go to the documentation of this file.
9 #include <osmocom/core/utils.h>
10 #include <osmocom/core/endian.h>
16 #if OSMO_IS_LITTLE_ENDIAN == 1
33 #if OSMO_IS_LITTLE_ENDIAN == 1
81 #if OSMO_IS_LITTLE_ENDIAN == 1
152 #if OSMO_IS_LITTLE_ENDIAN == 1
223 #if OSMO_IS_LITTLE_ENDIAN == 1
306 #if OSMO_IS_LITTLE_ENDIAN == 1
394 #if OSMO_IS_LITTLE_ENDIAN == 1
417 #if OSMO_IS_LITTLE_ENDIAN == 1
432 #if OSMO_IS_LITTLE_ENDIAN == 1
450 #if OSMO_IS_LITTLE_ENDIAN == 1
536 #if OSMO_IS_LITTLE_ENDIAN == 1
569 #if OSMO_IS_LITTLE_ENDIAN == 1
582 #if OSMO_IS_LITTLE_ENDIAN == 1
604 OSMO_ASSERT(acc >= 0 && acc <= 15);
618 OSMO_ASSERT(acc >= 0 && acc <= 15);
633 OSMO_ASSERT(acc >= 0 && acc <= 15);
642 #if OSMO_IS_LITTLE_ENDIAN == 1
657 #if OSMO_IS_LITTLE_ENDIAN == 1
672 #if OSMO_IS_LITTLE_ENDIAN == 1
736 #if OSMO_IS_LITTLE_ENDIAN == 1
772 #if OSMO_IS_LITTLE_ENDIAN == 1
792 #if OSMO_IS_LITTLE_ENDIAN == 1
809 #if OSMO_IS_LITTLE_ENDIAN == 1
832 #if OSMO_IS_LITTLE_ENDIAN == 1
844 #if OSMO_IS_LITTLE_ENDIAN == 1
861 #if OSMO_IS_LITTLE_ENDIAN == 1
892 #if OSMO_IS_LITTLE_ENDIAN == 1
910 #if OSMO_IS_LITTLE_ENDIAN == 1
987 #if OSMO_IS_LITTLE_ENDIAN == 1
1000 #if OSMO_IS_LITTLE_ENDIAN == 1
1013 #if OSMO_IS_LITTLE_ENDIAN == 1
1026 #if OSMO_IS_LITTLE_ENDIAN == 1
1090 #if OSMO_IS_LITTLE_ENDIAN == 1
1148 #if OSMO_IS_LITTLE_ENDIAN == 1
1167 #if OSMO_IS_LITTLE_ENDIAN == 1
1189 #if OSMO_IS_LITTLE_ENDIAN == 1
1204 #if OSMO_IS_LITTLE_ENDIAN == 1
1218 #if OSMO_IS_LITTLE_ENDIAN == 1
1236 #define GSM48_PDISC_GROUP_CC 0x00
1237 #define GSM48_PDISC_BCAST_CC 0x01
1238 #define GSM48_PDISC_PDSS1 0x02
1239 #define GSM48_PDISC_CC 0x03
1240 #define GSM48_PDISC_PDSS2 0x04
1241 #define GSM48_PDISC_GTTP 0x04
1242 #define GSM48_PDISC_MM 0x05
1243 #define GSM48_PDISC_RR 0x06
1244 #define GSM48_PDISC_MM_GPRS 0x08
1245 #define GSM48_PDISC_SMS 0x09
1246 #define GSM48_PDISC_SM_GPRS 0x0a
1247 #define GSM48_PDISC_NC_SS 0x0b
1248 #define GSM48_PDISC_LOC 0x0c
1249 #define GSM48_PDISC_EXTEND 0x0e
1250 #define GSM48_PDISC_TEST 0x0f
1251 #define GSM48_PDISC_MASK 0x0f
1280 #define GSM48_TA_INVALID 220
1346 #define gsm48_hdr_msg_type gsm48_hdr_msg_type_r99
1349 #define GSM48_MT_RR_INIT_REQ 0x3c
1350 #define GSM48_MT_RR_ADD_ASS 0x3b
1351 #define GSM48_MT_RR_IMM_ASS 0x3f
1352 #define GSM48_MT_RR_IMM_ASS_EXT 0x39
1353 #define GSM48_MT_RR_IMM_ASS_REJ 0x3a
1354 #define GSM48_MT_RR_DTM_ASS_FAIL 0x48
1355 #define GSM48_MT_RR_DTM_REJECT 0x49
1356 #define GSM48_MT_RR_DTM_REQUEST 0x4A
1357 #define GSM48_MT_RR_PACKET_ASS 0x4B
1359 #define GSM48_MT_RR_CIPH_M_CMD 0x35
1360 #define GSM48_MT_RR_CIPH_M_COMPL 0x32
1362 #define GSM48_MT_RR_CFG_CHG_CMD 0x30
1363 #define GSM48_MT_RR_CFG_CHG_ACK 0x31
1364 #define GSM48_MT_RR_CFG_CHG_REJ 0x33
1366 #define GSM48_MT_RR_ASS_CMD 0x2e
1367 #define GSM48_MT_RR_ASS_COMPL 0x29
1368 #define GSM48_MT_RR_ASS_FAIL 0x2f
1369 #define GSM48_MT_RR_HANDO_CMD 0x2b
1370 #define GSM48_MT_RR_HANDO_COMPL 0x2c
1371 #define GSM48_MT_RR_HANDO_FAIL 0x28
1372 #define GSM48_MT_RR_HANDO_INFO 0x2d
1373 #define GSM48_MT_RR_HANDO_INFO 0x2d
1374 #define GSM48_MT_RR_DTM_ASS_CMD 0x4c
1376 #define GSM48_MT_RR_CELL_CHG_ORDER 0x08
1377 #define GSM48_MT_RR_PDCH_ASS_CMD 0x23
1379 #define GSM48_MT_RR_CHAN_REL 0x0d
1380 #define GSM48_MT_RR_PART_REL 0x0a
1381 #define GSM48_MT_RR_PART_REL_COMP 0x0f
1383 #define GSM48_MT_RR_PAG_REQ_1 0x21
1384 #define GSM48_MT_RR_PAG_REQ_2 0x22
1385 #define GSM48_MT_RR_PAG_REQ_3 0x24
1386 #define GSM48_MT_RR_PAG_RESP 0x27
1387 #define GSM48_MT_RR_NOTIF_NCH 0x20
1388 #define GSM48_MT_RR_NOTIF_FACCH 0x25
1389 #define GSM48_MT_RR_NOTIF_RESP 0x26
1390 #define GSM48_MT_RR_PACKET_NOTIF 0x4e
1391 #define GSM48_MT_RR_UTRAN_CLSM_CHG 0x60
1392 #define GSM48_MT_RR_CDMA2K_CLSM_CHG 0x62
1393 #define GSM48_MT_RR_IS_TO_UTRAN_HANDO 0x63
1394 #define GSM48_MT_RR_IS_TO_CDMA2K_HANDO 0x64
1396 #define GSM48_MT_RR_SYSINFO_8 0x18
1397 #define GSM48_MT_RR_SYSINFO_1 0x19
1398 #define GSM48_MT_RR_SYSINFO_2 0x1a
1399 #define GSM48_MT_RR_SYSINFO_3 0x1b
1400 #define GSM48_MT_RR_SYSINFO_4 0x1c
1401 #define GSM48_MT_RR_SYSINFO_5 0x1d
1402 #define GSM48_MT_RR_SYSINFO_6 0x1e
1403 #define GSM48_MT_RR_SYSINFO_7 0x1f
1405 #define GSM48_MT_RR_SYSINFO_2bis 0x02
1406 #define GSM48_MT_RR_SYSINFO_2ter 0x03
1407 #define GSM48_MT_RR_SYSINFO_2quater 0x07
1408 #define GSM48_MT_RR_SYSINFO_5bis 0x05
1409 #define GSM48_MT_RR_SYSINFO_5ter 0x06
1410 #define GSM48_MT_RR_SYSINFO_9 0x04
1411 #define GSM48_MT_RR_SYSINFO_13 0x00
1413 #define GSM48_MT_RR_SYSINFO_16 0x3d
1414 #define GSM48_MT_RR_SYSINFO_17 0x3e
1416 #define GSM48_MT_RR_SYSINFO_18 0x40
1417 #define GSM48_MT_RR_SYSINFO_19 0x41
1418 #define GSM48_MT_RR_SYSINFO_20 0x42
1420 #define GSM48_MT_RR_CHAN_MODE_MODIF 0x10
1421 #define GSM48_MT_RR_STATUS 0x12
1422 #define GSM48_MT_RR_CHAN_MODE_MODIF_ACK 0x17
1423 #define GSM48_MT_RR_FREQ_REDEF 0x14
1424 #define GSM48_MT_RR_MEAS_REP 0x15
1425 #define GSM48_MT_RR_CLSM_CHG 0x16
1426 #define GSM48_MT_RR_CLSM_ENQ 0x13
1427 #define GSM48_MT_RR_EXT_MEAS_REP 0x36
1428 #define GSM48_MT_RR_EXT_MEAS_REP_ORD 0x37
1429 #define GSM48_MT_RR_GPRS_SUSP_REQ 0x34
1430 #define GSM48_MT_RR_DTM_INFO 0x4d
1432 #define GSM48_MT_RR_VGCS_UPL_GRANT 0x09
1433 #define GSM48_MT_RR_UPLINK_RELEASE 0x0e
1434 #define GSM48_MT_RR_UPLINK_FREE 0x0c
1435 #define GSM48_MT_RR_UPLINK_BUSY 0x2a
1436 #define GSM48_MT_RR_TALKER_IND 0x11
1438 #define GSM48_MT_RR_APP_INFO 0x38
1441 #define GSM48_MT_MM_IMSI_DETACH_IND 0x01
1442 #define GSM48_MT_MM_LOC_UPD_ACCEPT 0x02
1443 #define GSM48_MT_MM_LOC_UPD_REJECT 0x04
1444 #define GSM48_MT_MM_LOC_UPD_REQUEST 0x08
1446 #define GSM48_MT_MM_AUTH_REJ 0x11
1447 #define GSM48_MT_MM_AUTH_REQ 0x12
1448 #define GSM48_MT_MM_AUTH_RESP 0x14
1449 #define GSM48_MT_MM_AUTH_FAIL 0x1c
1450 #define GSM48_MT_MM_ID_REQ 0x18
1451 #define GSM48_MT_MM_ID_RESP 0x19
1452 #define GSM48_MT_MM_TMSI_REALL_CMD 0x1a
1453 #define GSM48_MT_MM_TMSI_REALL_COMPL 0x1b
1455 #define GSM48_MT_MM_CM_SERV_ACC 0x21
1456 #define GSM48_MT_MM_CM_SERV_REJ 0x22
1457 #define GSM48_MT_MM_CM_SERV_ABORT 0x23
1458 #define GSM48_MT_MM_CM_SERV_REQ 0x24
1459 #define GSM48_MT_MM_CM_SERV_PROMPT 0x25
1460 #define GSM48_MT_MM_CM_REEST_REQ 0x28
1461 #define GSM48_MT_MM_ABORT 0x29
1463 #define GSM48_MT_MM_NULL 0x30
1464 #define GSM48_MT_MM_STATUS 0x31
1465 #define GSM48_MT_MM_INFO 0x32
1468 #define GSM48_MT_CC_ALERTING 0x01
1469 #define GSM48_MT_CC_CALL_CONF 0x08
1470 #define GSM48_MT_CC_CALL_PROC 0x02
1471 #define GSM48_MT_CC_CONNECT 0x07
1472 #define GSM48_MT_CC_CONNECT_ACK 0x0f
1473 #define GSM48_MT_CC_EMERG_SETUP 0x0e
1474 #define GSM48_MT_CC_PROGRESS 0x03
1475 #define GSM48_MT_CC_ESTAB 0x04
1476 #define GSM48_MT_CC_ESTAB_CONF 0x06
1477 #define GSM48_MT_CC_RECALL 0x0b
1478 #define GSM48_MT_CC_START_CC 0x09
1479 #define GSM48_MT_CC_SETUP 0x05
1481 #define GSM48_MT_CC_MODIFY 0x17
1482 #define GSM48_MT_CC_MODIFY_COMPL 0x1f
1483 #define GSM48_MT_CC_MODIFY_REJECT 0x13
1484 #define GSM48_MT_CC_USER_INFO 0x10
1485 #define GSM48_MT_CC_HOLD 0x18
1486 #define GSM48_MT_CC_HOLD_ACK 0x19
1487 #define GSM48_MT_CC_HOLD_REJ 0x1a
1488 #define GSM48_MT_CC_RETR 0x1c
1489 #define GSM48_MT_CC_RETR_ACK 0x1d
1490 #define GSM48_MT_CC_RETR_REJ 0x1e
1492 #define GSM48_MT_CC_DISCONNECT 0x25
1493 #define GSM48_MT_CC_RELEASE 0x2d
1494 #define GSM48_MT_CC_RELEASE_COMPL 0x2a
1496 #define GSM48_MT_CC_CONG_CTRL 0x39
1497 #define GSM48_MT_CC_NOTIFY 0x3e
1498 #define GSM48_MT_CC_STATUS 0x3d
1499 #define GSM48_MT_CC_STATUS_ENQ 0x34
1500 #define GSM48_MT_CC_START_DTMF 0x35
1501 #define GSM48_MT_CC_STOP_DTMF 0x31
1502 #define GSM48_MT_CC_STOP_DTMF_ACK 0x32
1503 #define GSM48_MT_CC_START_DTMF_ACK 0x36
1504 #define GSM48_MT_CC_START_DTMF_REJ 0x37
1505 #define GSM48_MT_CC_FACILITY 0x3a
1515 #define GSM48_CMSERV_MO_CALL_PACKET 1
1516 #define GSM48_CMSERV_EMERGENCY 2
1517 #define GSM48_CMSERV_SMS 4
1518 #define GSM48_CMSERV_SUP_SERV 8
1519 #define GSM48_CMSERV_VGCS 9
1520 #define GSM48_CMSERV_VBS 10
1521 #define GSM48_CMSERV_LOC_SERV 11
1524 #define GSM48_PM_MASK 0x03
1525 #define GSM48_PM_NORMAL 0x00
1526 #define GSM48_PM_EXTENDED 0x01
1527 #define GSM48_PM_REORG 0x02
1528 #define GSM48_PM_SAME 0x03
1531 #define GSM48_LUPD_NORMAL 0x0
1532 #define GSM48_LUPD_PERIODIC 0x1
1533 #define GSM48_LUPD_IMSI_ATT 0x2
1534 #define GSM48_LUPD_RESERVED 0x3
1537 #define GSM_MI_TYPE_MASK 0x07
1538 #define GSM_MI_TYPE_NONE 0x00
1539 #define GSM_MI_TYPE_IMSI 0x01
1540 #define GSM_MI_TYPE_IMEI 0x02
1541 #define GSM_MI_TYPE_IMEISV 0x03
1542 #define GSM_MI_TYPE_TMSI 0x04
1543 #define GSM_MI_ODD 0x08
1545 #define GSM48_IE_MOBILE_ID 0x17
1546 #define GSM48_IE_NAME_LONG 0x43
1547 #define GSM48_IE_NAME_SHORT 0x45
1548 #define GSM48_IE_UTC 0x46
1549 #define GSM48_IE_NET_TIME_TZ 0x47
1550 #define GSM48_IE_LSA_IDENT 0x48
1551 #define GSM48_IE_NET_DST 0x49
1553 #define GSM48_IE_BEARER_CAP 0x04
1554 #define GSM48_IE_CAUSE 0x08
1555 #define GSM48_IE_CC_CAP 0x15
1556 #define GSM48_IE_ALERT 0x19
1557 #define GSM48_IE_FACILITY 0x1c
1558 #define GSM48_IE_PROGR_IND 0x1e
1559 #define GSM48_IE_AUX_STATUS 0x24
1560 #define GSM48_IE_NOTIFY 0x27
1561 #define GSM48_IE_KPD_FACILITY 0x2c
1562 #define GSM48_IE_SIGNAL 0x34
1563 #define GSM48_IE_CONN_BCD 0x4c
1564 #define GSM48_IE_CONN_SUB 0x4d
1565 #define GSM48_IE_CALLING_BCD 0x5c
1566 #define GSM48_IE_CALLING_SUB 0x5d
1567 #define GSM48_IE_CALLED_BCD 0x5e
1568 #define GSM48_IE_CALLED_SUB 0x6d
1569 #define GSM48_IE_REDIR_BCD 0x74
1570 #define GSM48_IE_REDIR_SUB 0x75
1571 #define GSM48_IE_LOWL_COMPAT 0x7c
1572 #define GSM48_IE_HIGHL_COMPAT 0x7d
1573 #define GSM48_IE_USER_USER 0x7e
1574 #define GSM48_IE_SS_VERS 0x7f
1575 #define GSM48_IE_MORE_DATA 0xa0
1576 #define GSM48_IE_CLIR_SUPP 0xa1
1577 #define GSM48_IE_CLIR_INVOC 0xa2
1578 #define GSM48_IE_REV_C_SETUP 0xa3
1579 #define GSM48_IE_REPEAT_CIR 0xd1
1580 #define GSM48_IE_REPEAT_SEQ 0xd3
1583 #define GSM48_CAUSE_CS_GSM 0x60
1587 #define GSM48_IE_VGCS_TARGET 0x01
1589 #define GSM48_IE_FRQSHORT_AFTER 0x02
1590 #define GSM48_IE_MUL_RATE_CFG 0x03
1591 #define GSM48_IE_FREQ_L_AFTER 0x05
1592 #define GSM48_IE_MSLOT_DESC 0x10
1593 #define GSM48_IE_CHANMODE_2 0x11
1594 #define GSM48_IE_FRQSHORT_BEFORE 0x12
1596 #define GSM48_IE_CHANMODE_3 0x13
1597 #define GSM48_IE_CHANMODE_4 0x14
1598 #define GSM48_IE_CHANMODE_5 0x15
1599 #define GSM48_IE_CHANMODE_6 0x16
1600 #define GSM48_IE_CHANMODE_7 0x17
1601 #define GSM48_IE_CHANMODE_8 0x18
1602 #define GSM48_IE_CHANDESC_2 0x64
1603 #define GSM48_IE_MA_AFTER 0x72
1604 #define GSM48_IE_START_TIME 0x7c
1605 #define GSM48_IE_FREQ_L_BEFORE 0x19
1607 #define GSM48_IE_CH_DESC_1_BEFORE 0x1c
1609 #define GSM48_IE_CH_DESC_2_BEFORE 0x1d
1611 #define GSM48_IE_F_CH_SEQ_BEFORE 0x1e
1613 #define GSM48_IE_CLASSMARK3 0x20
1614 #define GSM48_IE_MA_BEFORE 0x21
1615 #define GSM48_IE_RR_PACKET_UL 0x22
1616 #define GSM48_IE_RR_PACKET_DL 0x23
1617 #define GSM48_IE_CELL_CH_DESC 0x62
1618 #define GSM48_IE_CHANMODE_1 0x63
1619 #define GSM48_IE_CHDES_2_AFTER 0x64
1620 #define GSM48_IE_MODE_SEC_CH 0x66
1621 #define GSM48_IE_F_CH_SEQ_AFTER 0x69
1622 #define GSM48_IE_MA_AFTER 0x72
1623 #define GSM48_IE_BA_RANGE 0x73
1624 #define GSM48_IE_GROUP_CHDES 0x74
1625 #define GSM48_IE_BA_LIST_PREF 0x75
1626 #define GSM48_IE_MOB_OVSERV_DIF 0x77
1627 #define GSM48_IE_REALTIME_DIFF 0x7b
1628 #define GSM48_IE_START_TIME 0x7c
1629 #define GSM48_IE_TIMING_ADVANCE 0x7d
1630 #define GSM48_IE_GROUP_CIP_SEQ 0x80
1631 #define GSM48_IE_CIP_MODE_SET 0x90
1632 #define GSM48_IE_GPRS_RESUMPT 0xc0
1633 #define GSM48_IE_SYNC_IND 0xd0
1635 #define GSM48_IE_CBCH_CHAN_DESC 0x64
1636 #define GSM48_IE_CBCH_MOB_AL 0x72
1639 #define GSM48_IE_LOCATION_AREA 0x13
1640 #define GSM48_IE_AUTN 0x20
1641 #define GSM48_IE_AUTH_RES_EXT 0x21
1642 #define GSM48_IE_AUTS 0x22
1643 #define GSM48_IE_PRIORITY_LEV 0x80
1644 #define GSM48_IE_FOLLOW_ON_PROC 0xa1
1645 #define GSM48_IE_CTS_PERMISSION 0xa2
1830 #define GSM48_T301 180, 0
1831 #define GSM48_T303 30, 0
1832 #define GSM48_T305 30, 0
1833 #define GSM48_T306 30, 0
1834 #define GSM48_T308 10, 0
1835 #define GSM48_T310 30, 0
1836 #define GSM48_T313 30, 0
1837 #define GSM48_T323 30, 0
1838 #define GSM48_T331 30, 0
1839 #define GSM48_T333 30, 0
1840 #define GSM48_T334 25, 0
1841 #define GSM48_T338 30, 0
1842 #define GSM48_T303_MS 30, 0
1843 #define GSM48_T305_MS 30, 0
1844 #define GSM48_T308_MS 30, 0
1845 #define GSM48_T310_MS 30, 0
1846 #define GSM48_T313_MS 30, 0
1847 #define GSM48_T323_MS 30, 0
1848 #define GSM48_T332_MS 30, 0
1849 #define GSM48_T335_MS 30, 0
1852 #define GSM_CSTATE_NULL 0
1853 #define GSM_CSTATE_INITIATED 1
1854 #define GSM_CSTATE_MM_CONNECTION_PEND 2
1855 #define GSM_CSTATE_MO_CALL_PROC 3
1856 #define GSM_CSTATE_CALL_DELIVERED 4
1857 #define GSM_CSTATE_CALL_PRESENT 6
1858 #define GSM_CSTATE_CALL_RECEIVED 7
1859 #define GSM_CSTATE_CONNECT_REQUEST 8
1860 #define GSM_CSTATE_MO_TERM_CALL_CONF 9
1861 #define GSM_CSTATE_ACTIVE 10
1862 #define GSM_CSTATE_DISCONNECT_REQ 12
1863 #define GSM_CSTATE_DISCONNECT_IND 12
1864 #define GSM_CSTATE_RELEASE_REQ 19
1865 #define GSM_CSTATE_MO_ORIG_MODIFY 26
1866 #define GSM_CSTATE_MO_TERM_MODIFY 27
1867 #define GSM_CSTATE_CONNECT_IND 28
1869 #define SBIT(a) (1 << a)
1870 #define ALL_STATES 0xffffffff
1873 #define GSM_LAC_RESERVED_DETACHED 0x0
1874 #define GSM_LAC_RESERVED_ALL_BTS 0xfffe
1983 #define GSM48_TMSI_LEN 5
1984 #define GSM48_MID_TMSI_LEN (GSM48_TMSI_LEN + 2)
1985 #define GSM48_MI_SIZE 32
1994 #define GSM48_CELL_CHAN_DESC_SIZE 16
1996 #define GSM_MACBLOCK_LEN 23
1997 #define GSM_MACBLOCK_PADDING 0x2b
@ GSM48_REJECT_INVALID_MANDANTORY_INF
Definition: gsm_04_08.h:1786
uint8_t w3
Definition: gsm_04_08.h:272
uint8_t mode
Definition: gsm_04_08.h:692
uint8_t t2
Definition: gsm_04_08.h:666
@ GSM48_SIGNAL_DIALTONE
Definition: gsm_04_08.h:1661
uint8_t w1_hi
Definition: gsm_04_08.h:119
uint8_t w1_hi
Definition: gsm_04_08.h:269
uint8_t rxlev_nc6_hi
Definition: gsm_04_08.h:525
@ GSM48_BCAP_SA_X21
Definition: gsm_04_08.h:1915
uint8_t vgcs
Definition: gsm_04_08.h:66
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:351
@ GSM48_CC_CAUSE_INC_BARRED_CUG
Definition: gsm_04_08.h:1743
uint8_t bcch_f_nc5_hi
Definition: gsm_04_08.h:522
uint8_t w21_lo
Definition: gsm_04_08.h:379
@ GSM48_REJECT_IMSI_UNKNOWN_IN_HLR
Definition: gsm_04_08.h:1770
uint8_t key_seq
Definition: gsm_04_08.h:813
@ GSM48_CC_CAUSE_NORM_CALL_CLEAR
Definition: gsm_04_08.h:1721
@ GSM48_CC_CAUSE_SERV_OPT_UNIMPL
Definition: gsm_04_08.h:1751
uint8_t cell_bar
Definition: gsm_04_08.h:590
uint8_t si
Definition: gsm_04_08.h:681
@ GSM48_CAUSE_CODING_RESERVED
Definition: gsm_04_08.h:1677
uint8_t w7
Definition: gsm_04_08.h:363
@ GSM48_CC_CAUSE_IE_NOTEXIST
Definition: gsm_04_08.h:1760
@ GSM48_BCAP_SV_HR
GSM HR V1 (GSM HR)
Definition: gsm_04_08.h:1973
@ GSM48_BCAP_PAR_EVEN
Definition: gsm_04_08.h:1936
struct gsm48_classmark2 cm2
Definition: gsm_04_08.h:1106
uint8_t proto_discr
Definition: gsm_04_08.h:1187
Definition: gsm_04_08.h:640
@ GSM48_CC_CAUSE_ACC_INF_DISCARD
Definition: gsm_04_08.h:1738
@ CHREQ_T_SDCCH
Definition: gsm_04_08.h:1812
uint8_t w16_lo
Definition: gsm_04_08.h:217
@ GSM48_REJECT_IMPLICITLY_DETACHED
Definition: gsm_04_08.h:1798
uint8_t w15_lo
Definition: gsm_04_08.h:146
uint8_t l2_plen
Definition: gsm_04_08.h:1145
uint8_t cm2_len
Definition: gsm_04_08.h:1225
uint8_t bsic_nc1_hi
Definition: gsm_04_08.h:504
uint8_t w6_lo
Definition: gsm_04_08.h:130
uint8_t w1
Definition: gsm_04_08.h:354
@ GSM48_CC_CAUSE_INTERWORKING
Definition: gsm_04_08.h:1765
@ GSM48_BCAP_RRQ_DUAL_HR
Definition: gsm_04_08.h:1900
@ GSM48_BCAP_TMOD_CIRCUIT
Definition: gsm_04_08.h:1888
Definition: gsm_04_08.h:187
#define GSM48_PDISC_NC_SS
Definition: gsm_04_08.h:1247
@ GSM48_RR_CAUSE_CHAN_MODE_UNACCT
Definition: gsm_04_08.h:1703
@ GSM48_CC_CAUSE_USER_NOT_IN_CUG
Definition: gsm_04_08.h:1753
@ GSM48_CAUSE_LOC_NET_BEYOND
Definition: gsm_04_08.h:1691
Definition: gsm_04_08.h:727
uint8_t w18_hi
Definition: gsm_04_08.h:295
uint8_t w2_hi
Definition: gsm_04_08.h:121
@ GSM48_CC_CAUSE_MSG_INCOMP_STATE
Definition: gsm_04_08.h:1762
uint8_t mi_len
Definition: gsm_04_08.h:919
gsm48_signal_val
Definition: gsm_04_08.h:1660
uint8_t mob_alloc_len
Definition: gsm_04_08.h:722
uint8_t bcch_f_nc4
Definition: gsm_04_08.h:518
uint16_t lac
Definition: gsm_04_08.h:1990
uint32_t tmsi4
Definition: gsm_04_08.h:1203
uint8_t mob_alloc[0]
Definition: gsm_04_08.h:767
Definition: gsm_04_08.h:1111
uint8_t w11_lo
Definition: gsm_04_08.h:286
uint8_t proto_discr
Definition: gsm_04_08.h:824
uint8_t w7_hi
Definition: gsm_04_08.h:131
@ GSM48_CC_CAUSE_NONSE_USER_CLR
Definition: gsm_04_08.h:1728
uint8_t data[0]
Definition: gsm_04_08.h:826
@ GSM48_NPI_ISDN_E164
Definition: gsm_04_08.h:2012
uint8_t spare_2
Definition: gsm_04_08.h:875
uint8_t rrfcn8_111[13]
Definition: gsm_04_08.h:408
uint8_t key_seq
Definition: gsm_04_08.h:1223
uint8_t m10_2
Definition: gsm_04_08.h:557
uint8_t es_ind
Definition: gsm_04_08.h:57
Definition: gsm_04_08.h:32
uint8_t form_id
Definition: gsm_04_08.h:117
uint8_t rxlev_nc3_lo
Definition: gsm_04_08.h:512
Definition: gsm_04_08.h:568
uint8_t w11_hi
Definition: gsm_04_08.h:285
@ GSM48_CC_CAUSE_NO_CIRCUIT_CHAN
Definition: gsm_04_08.h:1734
Definition: gsm_04_08.h:791
gsm48_type_of_number
Definition: gsm_04_08.h:2000
uint8_t msg_type
Definition: gsm_04_08.h:1147
@ GSM48_BCAP_RA_V110_X30
Definition: gsm_04_08.h:1907
const struct value_string gsm48_rr_msgtype_names[]
TS 04.08 RR Message Type names.
Definition: gsm48.c:783
uint8_t hsn
Definition: gsm_04_08.h:428
@ GSM48_BCAP_RA_NONE
Definition: gsm_04_08.h:1906
@ GSM48_CC_CAUSE_SERV_OPT_UNAVAIL
Definition: gsm_04_08.h:1746
@ GSM48_BCAP_MT_V26ter
Definition: gsm_04_08.h:1963
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:403
@ GSM48_REJECT_ILLEGAL_MS
Definition: gsm_04_08.h:1771
@ GSM48_BCAP_SV_AMR_OHW
GSM HR V4 (OHR AMR-WB)
Definition: gsm_04_08.h:1978
uint8_t cr
Definition: gsm_04_08.h:1097
uint8_t form_id
Definition: gsm_04_08.h:350
uint8_t power_command
Definition: gsm_04_08.h:714
@ CHREQ_T_LMU
Definition: gsm_04_08.h:1821
uint8_t w8
Definition: gsm_04_08.h:364
@ GSM48_BCAP_UR_9600
Definition: gsm_04_08.h:1928
uint8_t data[0]
Definition: gsm_04_08.h:1107
@ GSM48_DTX_MAY_BE_USED
Definition: gsm_04_08.h:884
@ GSM48_CC_CAUSE_INV_NR_FORMAT
Definition: gsm_04_08.h:1730
uint8_t re
Definition: gsm_04_08.h:591
uint8_t digits[3]
Definition: gsm_04_08.h:786
@ GSM48_CC_CAUSE_PRE_EMPTION
Definition: gsm_04_08.h:1727
@ GSM48_CMODE_DATA_12k0
Definition: gsm_04_08.h:701
@ GSM48_BCAP_SA_X28_DP_IN
Definition: gsm_04_08.h:1916
@ GSM48_REJECT_GPRS_NOT_ALLOWED_IN_PLMN
Definition: gsm_04_08.h:1799
@ GSM48_REJECT_NETWORK_FAILURE
Definition: gsm_04_08.h:1778
@ GSM48_BCAP_MT_NONE
Definition: gsm_04_08.h:1958
@ GSM48_CC_CAUSE_USER_NOTRESPOND
Definition: gsm_04_08.h:1723
uint8_t w21_hi
Definition: gsm_04_08.h:378
struct gsm48_classmark2 cm2
Definition: gsm_04_08.h:1226
uint8_t wait_ind4
Definition: gsm_04_08.h:1139
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:352
@ GSM48_BCAP_MT_V21
Definition: gsm_04_08.h:1959
uint8_t spare_1
Definition: gsm_04_08.h:877
uint8_t w6_hi
Definition: gsm_04_08.h:277
uint8_t cbq3
Definition: gsm_04_08.h:876
uint8_t t2
Definition: gsm_04_08.h:651
uint8_t no_nc_n_lo
Definition: gsm_04_08.h:501
@ GSM48_BCAP_IR_8k
Definition: gsm_04_08.h:1944
struct gsm48_req_ref req_ref2
Definition: gsm_04_08.h:1120
@ GSM48_BCAP_ITCAP_OTHER
Definition: gsm_04_08.h:1882
@ GSM48_REJECT_ROAMING_NOT_ALLOWED
Definition: gsm_04_08.h:1777
@ GSM48_BCAP_RA_X31
Definition: gsm_04_08.h:1908
@ GSM48_CC_CAUSE_UNASSIGNED_NR
Definition: gsm_04_08.h:1717
@ GSM48_DTX_SHALL_NOT_BE_USED
Definition: gsm_04_08.h:886
@ GSM48_BCAP_TR_TRANSP
Definition: gsm_04_08.h:1950
@ GSM48_RR_CAUSE_PREMPTIVE_REL
Definition: gsm_04_08.h:1701
uint8_t chan_nr
Definition: gsm_04_08.h:414
uint8_t data[0]
Definition: gsm_04_08.h:754
uint8_t proto_discr
Definition: gsm_04_08.h:1146
struct gsm48_req_ref req_ref
Definition: gsm_04_08.h:764
uint8_t w9_hi
Definition: gsm_04_08.h:282
uint8_t ra_id[6]
Definition: gsm_04_08.h:729
uint8_t ss_scr
Definition: gsm_04_08.h:63
uint8_t bsic_nc3_lo
Definition: gsm_04_08.h:515
@ GSM48_REJECT_INF_ELEME_NOT_IMPLEMENTED
Definition: gsm_04_08.h:1789
uint8_t key_seq
Definition: gsm_04_08.h:776
@ GSM48_CC_CAUSE_DEST_OOO
Definition: gsm_04_08.h:1729
uint8_t bsic_nc2_lo
Definition: gsm_04_08.h:510
@ GSM48_BCAP_TMOD_PACKET
Definition: gsm_04_08.h:1889
@ GSM48_SIGNAL_OFF
Definition: gsm_04_08.h:1670
uint8_t w14_lo
Definition: gsm_04_08.h:290
uint8_t w4_lo
Definition: gsm_04_08.h:359
uint8_t w8_hi
Definition: gsm_04_08.h:133
@ GSM48_CC_CAUSE_REQ_FAC_NOTIMPL
Definition: gsm_04_08.h:1749
uint8_t t3_high
Definition: gsm_04_08.h:649
uint8_t mi[0]
Definition: gsm_04_08.h:819
@ GSM48_CC_CAUSE_BEARER_CAP_UNAUTH
Definition: gsm_04_08.h:1744
uint8_t ra
Definition: gsm_04_08.h:641
@ GSM48_BCAP_SA_X32
Definition: gsm_04_08.h:1919
uint8_t rxlev_nc1
Definition: gsm_04_08.h:502
uint8_t es_ind
Definition: gsm_04_08.h:25
uint8_t bsic_nc2_hi
Definition: gsm_04_08.h:509
Definition: gsm_04_08.h:535
uint8_t w20
Definition: gsm_04_08.h:377
uint8_t msg_type
Definition: gsm_04_08.h:1114
uint8_t rxlev_nc2_hi
Definition: gsm_04_08.h:506
uint32_t tmsi2
Definition: gsm_04_08.h:1180
uint8_t a5_3
Definition: gsm_04_08.h:75
@ GSM48_BCAP_SV_AMR_OFW
GSM FR V4 (OFR AMR-WB)
Definition: gsm_04_08.h:1977
uint8_t rev_lev
Definition: gsm_04_08.h:56
uint8_t acs
Definition: gsm_04_08.h:853
@ GSM48_CC_CAUSE_MSGTYPE_INCOMPAT
Definition: gsm_04_08.h:1759
uint8_t w6_lo
Definition: gsm_04_08.h:278
Definition: gsm_04_08.h:749
uint8_t bsic_nc4
Definition: gsm_04_08.h:519
uint8_t rr_cause
Definition: gsm_04_08.h:1073
@ CHREQ_T_VOICE_CALL_TCH_H
Definition: gsm_04_08.h:1814
uint8_t w18_hi
Definition: gsm_04_08.h:374
uint8_t w8_lo
Definition: gsm_04_08.h:134
@ GSM48_CC_CAUSE_INCOMPAT_DEST
Definition: gsm_04_08.h:1754
uint8_t m6_70
Definition: gsm_04_08.h:560
Definition: gsm_04_08.h:843
@ GSM48_RR_CAUSE_MSG_TYPE_N_COMPAT
Definition: gsm_04_08.h:1709
#define GSM48_PDISC_MASK
Definition: gsm_04_08.h:1251
gsm48_progress_desc
Definition: gsm_04_08.h:1649
Definition: gsm_04_08.h:1055
Definition: gsm_04_08.h:1127
@ GSM48_BCAP_UR_12000
Definition: gsm_04_08.h:1929
uint8_t msg_type
Definition: gsm_04_08.h:1130
uint8_t sc
Definition: gsm_04_08.h:1099
Definition: gsm_04_08.h:1185
uint8_t tsc
Definition: gsm_04_08.h:424
union gsm48_chan_desc::@22 __attribute__((packed))
uint8_t rrfcn1_7
Definition: gsm_04_08.h:407
uint8_t w3_hi
Definition: gsm_04_08.h:123
@ GSM48_SIGNAL_BUSY
Definition: gsm_04_08.h:1665
uint32_t classmark
Definition: gsm_04_08.h:918
Definition: gsm_04_08.h:719
gsm48_bcap_interm_rate
Definition: gsm_04_08.h:1943
@ CHREQ_T_EMERG_CALL
Definition: gsm_04_08.h:1808
struct gsm48_chan_desc chan_desc1
Definition: gsm_04_08.h:1116
@ GSM48_REJECT_MSG_TYPE_NOT_COMPATIBLE
Definition: gsm_04_08.h:1788
uint8_t ncc
Definition: gsm_04_08.h:742
@ GSM48_RR_CAUSE_FREQ_NOT_IMPL
Definition: gsm_04_08.h:1704
bool gsm48_hdr_gmm_cipherable(const struct gsm48_hdr *hdr)
Checks is particular message is cipherable in A/Gb mode according to 3GPP TS 24.008 ยง 4....
Definition: gsm48.c:441
uint8_t w17
Definition: gsm_04_08.h:373
uint8_t w4_hi
Definition: gsm_04_08.h:273
@ GSM48_CC_CAUSE_SEMANTIC_INCORR
Definition: gsm_04_08.h:1756
@ GSM48_CC_CAUSE_NO_ROUTE
Definition: gsm_04_08.h:1718
static uint8_t gsm48_hdr_msg_type_r98(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1302
uint8_t w27
Definition: gsm_04_08.h:386
uint8_t rest[0]
Definition: gsm_04_08.h:1213
@ GSM48_TON_UNKNOWN
Definition: gsm_04_08.h:2001
uint8_t m4_75
Definition: gsm_04_08.h:563
uint8_t w10
Definition: gsm_04_08.h:366
uint8_t bsic_nc5
Definition: gsm_04_08.h:524
uint8_t proto_discr
Definition: gsm_04_08.h:1113
@ GSM48_BCAP_MT_AUTO_1
Definition: gsm_04_08.h:1966
gsm48_bcap_parity
Definition: gsm_04_08.h:1934
uint8_t spare
Definition: gsm_04_08.h:494
@ GSM48_CC_CAUSE_USER_BUSY
Definition: gsm_04_08.h:1722
@ GSM48_RR_CAUSE_MSG_TYPE_N
Definition: gsm_04_08.h:1708
uint8_t w4_lo
Definition: gsm_04_08.h:274
uint8_t m7_40
Definition: gsm_04_08.h:559
uint8_t w6_lo
Definition: gsm_04_08.h:362
Definition: gsm_04_08.h:15
uint8_t max_trans
Definition: gsm_04_08.h:588
Definition: gsm_04_08.h:656
uint8_t w17
Definition: gsm_04_08.h:218
uint8_t nscb
Definition: gsm_04_08.h:552
static uint8_t gsm48_hdr_trans_id(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1271
uint8_t wait_ind2
Definition: gsm_04_08.h:1135
uint8_t maio_high
Definition: gsm_04_08.h:426
@ GSM48_CMODE_DATA_6k0
Definition: gsm_04_08.h:702
uint8_t l2_plen
Definition: gsm_04_08.h:1164
const struct value_string gsm48_cc_msgtype_names[]
TS 04.08 CC Message Type names.
Definition: gsm48.c:906
uint8_t msg_type
Definition: gsm_04_08.h:1188
uint8_t sres[4]
Definition: gsm_04_08.h:804
@ GSM48_BCAP_RRQ_FR_ONLY
Definition: gsm_04_08.h:1899
uint8_t bs_pa_mfrms
Definition: gsm_04_08.h:878
@ GSM48_REJECT_SRV_OPT_NOT_SUPPORTED
Definition: gsm_04_08.h:1781
uint8_t ms_txpwr_max_ccch
Definition: gsm_04_08.h:852
uint8_t l2_plen
Definition: gsm_04_08.h:1186
uint8_t w14_hi
Definition: gsm_04_08.h:143
uint8_t w5_lo
Definition: gsm_04_08.h:128
gsm48_numbering_plan
Definition: gsm_04_08.h:2010
uint8_t w16_lo
Definition: gsm_04_08.h:293
@ GSM48_CAUSE_LOC_TRANS_NET
Definition: gsm_04_08.h:1686
uint8_t rxlev_nc4_lo
Definition: gsm_04_08.h:517
@ GSM48_PROGR_CALL_E2E
Definition: gsm_04_08.h:1655
uint8_t rr_cause
Definition: gsm_04_08.h:1084
uint8_t rest[0]
Definition: gsm_04_08.h:1140
gsm48_bcap_sig_access
Definition: gsm_04_08.h:1913
uint8_t w8_lo
Definition: gsm_04_08.h:281
Definition: gsm_04_08.h:264
@ GSM48_BCAP_ITCAP_FAX_G3
Definition: gsm_04_08.h:1881
@ GSM48_CAUSE_CODING_CCITT_Q931
Definition: gsm_04_08.h:1676
@ GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE
Definition: gsm_04_08.h:1797
uint8_t t3_low
Definition: gsm_04_08.h:665
uint8_t w10
Definition: gsm_04_08.h:284
@ GSM48_CC_CAUSE_RESOURCE_UNAVAIL
Definition: gsm_04_08.h:1740
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:713
uint8_t w3_hi
Definition: gsm_04_08.h:356
@ GSM48_CAUSE_LOC_PRN_S_RU
Definition: gsm_04_08.h:1688
@ GSM48_RR_CAUSE_SEMANT_INCORR
Definition: gsm_04_08.h:1706
@ GSM48_BCAP_TR_TR_PREF
Definition: gsm_04_08.h:1952
uint32_t tmsi3
Definition: gsm_04_08.h:1202
uint8_t cm_service_type
Definition: gsm_04_08.h:915
@ GSM48_BCAP_TR_RLP
Definition: gsm_04_08.h:1951
@ GSM48_CAUSE_LOC_PRN_S_LU
Definition: gsm_04_08.h:1684
uint8_t w26_hi
Definition: gsm_04_08.h:384
void gsm48_set_dtx(struct gsm48_cell_options *op, enum gsm48_dtx_mode full, enum gsm48_dtx_mode half, bool is_bcch)
Set DTX mode in Cell Options IE (3GPP TS 44.018)
Definition: gsm48.c:555
uint8_t w7_hi
Definition: gsm_04_08.h:202
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:406
uint8_t rac
Definition: gsm_04_08.h:1991
uint8_t timing_advance1
Definition: gsm_04_08.h:1118
Definition: gsm_04_08.h:116
@ GSM48_BCAP_UR_1200_75
Definition: gsm_04_08.h:1930
@ GSM48_BCAP_ITCAP_SPEECH
Definition: gsm_04_08.h:1878
uint8_t pag_mode
Definition: gsm_04_08.h:1157
uint8_t options[0]
Definition: gsm_04_08.h:731
uint8_t mi_len
Definition: gsm_04_08.h:780
gsm48_bcap_rrq
Definition: gsm_04_08.h:1898
uint8_t t2
Definition: gsm_04_08.h:593
const struct value_string gsm48_reject_value_names[]
Definition: gsm48.c:994
uint8_t w7_lo
Definition: gsm_04_08.h:132
uint8_t w11_hi
Definition: gsm_04_08.h:137
uint8_t cell_resel_hyst
Definition: gsm_04_08.h:851
uint8_t w1_lo
Definition: gsm_04_08.h:270
struct gsm48_req_ref req_ref1
Definition: gsm_04_08.h:1132
@ GSM48_CC_CAUSE_REQ_FAC_NOT_SUBSC
Definition: gsm_04_08.h:1742
struct gsm48_cell_desc cell_desc
Definition: gsm_04_08.h:750
@ GSM48_SIGNAL_CALL_WAIT
Definition: gsm_04_08.h:1668
uint8_t cneed1
Definition: gsm_04_08.h:1155
uint8_t l2_plen
Definition: gsm_04_08.h:759
uint8_t w14_hi
Definition: gsm_04_08.h:289
uint8_t w11_lo
Definition: gsm_04_08.h:138
@ GSM48_BCAP_PAR_NONE
Definition: gsm_04_08.h:1937
@ GSM48_PROGR_ORIG_NOT_PLMN
Definition: gsm_04_08.h:1652
@ GSM48_CAUSE_LOC_PUN_S_LU
Definition: gsm_04_08.h:1685
uint8_t rr_cause
Definition: gsm_04_08.h:1232
@ GSM48_CC_CAUSE_PROTO_ERR
Definition: gsm_04_08.h:1764
Definition: gsm_04_08.h:1144
@ GSM48_TON_SHORT_CODE
Definition: gsm_04_08.h:2005
Definition: gsm_04_08.h:1217
uint8_t w10
Definition: gsm_04_08.h:136
@ CHREQ_T_RESERVED_SDCCH
Definition: gsm_04_08.h:1822
uint8_t t3212
Definition: gsm_04_08.h:880
uint8_t bsic_nc3_hi
Definition: gsm_04_08.h:514
uint8_t w13_hi
Definition: gsm_04_08.h:212
uint8_t bcch_f_nc1
Definition: gsm_04_08.h:503
uint8_t arfcn_low
Definition: gsm_04_08.h:443
@ GSM48_DTX_SHALL_BE_USED
Definition: gsm_04_08.h:885
struct gsm48_loc_area_id lai
Definition: gsm_04_08.h:816
uint8_t ps_cap
Definition: gsm_04_08.h:62
Definition: gsm_04_08.h:1104
Definition: gsm_04_08.h:1231
uint8_t rxqual_sub
Definition: gsm_04_08.h:499
@ GSM48_REJECT_MSG_TYPE_NOT_IMPLEMENTED
Definition: gsm_04_08.h:1787
@ GSM48_BCAP_UR_4800
Definition: gsm_04_08.h:1927
@ GSM48_CMODE_DATA_3k6
Definition: gsm_04_08.h:703
gsm48_bcap_transp
Definition: gsm_04_08.h:1949
uint8_t form_id
Definition: gsm_04_08.h:402
uint8_t w4_hi
Definition: gsm_04_08.h:125
@ GSM48_RR_CAUSE_ABNORMAL_TIMER
Definition: gsm_04_08.h:1699
uint8_t mi_len
Definition: gsm_04_08.h:818
uint8_t cmsp
Definition: gsm_04_08.h:74
uint8_t rev_lev
Definition: gsm_04_08.h:24
uint8_t spare
Definition: gsm_04_08.h:1176
uint8_t w10
Definition: gsm_04_08.h:208
uint8_t pwr_lev
Definition: gsm_04_08.h:59
uint8_t meas_valid
Definition: gsm_04_08.h:495
@ GSM48_CAUSE_CODING_GSM
Definition: gsm_04_08.h:1679
@ GSM48_BCAP_SV_AMR_H
GSM HR V3 (HR_AMR)
Definition: gsm_04_08.h:1976
#define GSM48_PDISC_CC
Definition: gsm_04_08.h:1239
Definition: gsm_04_08.h:449
uint8_t w15
Definition: gsm_04_08.h:291
uint8_t data[0]
Definition: gsm_04_08.h:715
@ GSM48_CC_CAUSE_BEARERSERV_UNIMPL
Definition: gsm_04_08.h:1747
uint8_t cause
Definition: gsm_04_08.h:730
@ GSM48_CMODE_SPEECH_EFR
Definition: gsm_04_08.h:698
uint8_t spare
Definition: gsm_04_08.h:301
uint8_t w3_lo
Definition: gsm_04_08.h:124
uint8_t w16_hi
Definition: gsm_04_08.h:292
@ GSM48_NPI_CTS
Definition: gsm_04_08.h:2017
uint8_t rxlev_nc5_hi
Definition: gsm_04_08.h:520
uint8_t cneed2
Definition: gsm_04_08.h:1174
uint8_t pdisc
Definition: gsm_44_318.h:6
#define GSM48_PDISC_MM
Definition: gsm_04_08.h:1242
const struct value_string gsm48_mm_msgtype_names[]
TS 04.08 MM Message Type names.
Definition: gsm48.c:876
@ GSM48_RR_CAUSE_HNDOVER_IMP
Definition: gsm_04_08.h:1702
@ GSM48_CC_CAUSE_NORMAL_UNSPEC
Definition: gsm_04_08.h:1733
uint8_t w1_lo
Definition: gsm_04_08.h:120
@ GSM48_REJECT_CONDTIONAL_IE_ERROR
Definition: gsm_04_08.h:1790
uint8_t bcch_f_nc6_lo
Definition: gsm_04_08.h:529
uint8_t mi[0]
Definition: gsm_04_08.h:1051
gsm48_bcap_user_rate
Definition: gsm_04_08.h:1923
uint8_t spare
Definition: gsm_04_08.h:440
uint8_t m5_15
Definition: gsm_04_08.h:562
@ GSM48_REJECT_CONGESTION
Definition: gsm_04_08.h:1780
@ GSM48_PROGR_RETURNED
Definition: gsm_04_08.h:1653
@ GSM48_REJECT_IMEI_NOT_ACCEPTED
Definition: gsm_04_08.h:1773
@ GSM48_PROGR_QUEUEING
Definition: gsm_04_08.h:1656
uint8_t icmi
Definition: gsm_04_08.h:553
@ GSM48_CC_CAUSE_REQ_CHAN_UNAVAIL
Definition: gsm_04_08.h:1739
@ GSM48_BCAP_MT_UNDEF
Definition: gsm_04_08.h:1965
uint8_t cipher_key_seq
Definition: gsm_04_08.h:914
uint8_t ho_ref
Definition: gsm_04_08.h:752
uint8_t m5_90
Definition: gsm_04_08.h:561
@ GSM48_NPI_UNKNOWN
Definition: gsm_04_08.h:2011
@ CHREQ_T_RESERVED_IGNORE
Definition: gsm_04_08.h:1823
static uint8_t gsm48_hdr_trans_id_flip_ti(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1292
uint8_t w6
Definition: gsm_04_08.h:201
uint8_t w4_lo
Definition: gsm_04_08.h:199
uint8_t mob_alloc[0]
Definition: gsm_04_08.h:1123
uint8_t mi_len
Definition: gsm_04_08.h:1050
@ GSM48_CAUSE_CODING_NATIONAL
Definition: gsm_04_08.h:1678
@ GSM48_CMODE_SPEECH_V1
Definition: gsm_04_08.h:697
@ GSM48_REJECT_IMSI_UNKNOWN_IN_VLR
Definition: gsm_04_08.h:1772
uint8_t w13_hi
Definition: gsm_04_08.h:141
@ GSM48_RR_CAUSE_NO_CELL_ALLOC_A
Definition: gsm_04_08.h:1711
@ GSM48_RR_CAUSE_ABNORMAL_UNSPEC
Definition: gsm_04_08.h:1697
@ GSM48_TON_NATIONAL
Definition: gsm_04_08.h:2003
Definition: gsm_04_08.h:711
static uint8_t gsm48_hdr_trans_id_no_ti(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1297
@ GSM48_BCAP_SV_AMR_OH
GSM HR V6 (OHR AMR)
Definition: gsm_04_08.h:1980
uint8_t rand[16]
Definition: gsm_04_08.h:799
static void gsm48_allow_acc(struct gsm48_rach_control *rach_control, unsigned int acc)
Definition: gsm_04_08.h:616
@ GSM48_SIGNAL_ANSWER
Definition: gsm_04_08.h:1667
@ GSM48_BCAP_SV_AMR_FW
GSM FR V5 (FR AMR-WB)
Definition: gsm_04_08.h:1979
uint32_t tmsi1
Definition: gsm_04_08.h:1179
@ GSM48_BCAP_SA_I440_I450
Definition: gsm_04_08.h:1914
const struct value_string gsm48_chan_mode_names[]
Definition: gsm48.c:397
uint8_t spare
Definition: gsm_04_08.h:575
uint8_t att
Definition: gsm_04_08.h:872
Definition: gsm_04_08.h:1062
uint8_t bsic_nc1_lo
Definition: gsm_04_08.h:505
@ _NUM_CHREQ_T
Definition: gsm_04_08.h:1826
uint8_t pwr_lev
Definition: gsm_04_08.h:27
uint8_t w2
Definition: gsm_04_08.h:271
uint8_t arfcn_hi
Definition: gsm_04_08.h:741
@ GSM48_NPI_TELEX_F69
Definition: gsm_04_08.h:2014
uint8_t w11
Definition: gsm_04_08.h:367
uint8_t spare
Definition: gsm_04_08.h:1096
@ GSM48_SIGNAL_OFF_HOOK
Definition: gsm_04_08.h:1669
@ GSM48_REJECT_ILLEGAL_ME
Definition: gsm_04_08.h:1774
uint16_t lac
Definition: gsm_04_08.h:787
uint8_t w15_hi
Definition: gsm_04_08.h:145
uint8_t pag_mode
Definition: gsm_04_08.h:1198
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:190
@ GSM48_CC_CAUSE_USER_ALERTING_NA
Definition: gsm_04_08.h:1724
uint8_t bs_ag_blks_res
Definition: gsm_04_08.h:873
uint8_t cneed4
Definition: gsm_04_08.h:1210
@ GSM48_CMODE_DATA_14k5
Definition: gsm_04_08.h:700
Definition: gsm_04_08.h:1078
uint8_t w21
Definition: gsm_04_08.h:300
uint8_t timing_advance
Definition: gsm_04_08.h:765
uint8_t w12_hi
Definition: gsm_04_08.h:139
uint8_t rxlev_acc_min
Definition: gsm_04_08.h:855
@ GSM48_REJECT_CALL_CAN_NOT_BE_IDENTIFIED
Definition: gsm_04_08.h:1784
uint8_t bcch_f_nc6_hi
Definition: gsm_04_08.h:527
@ GSM48_REJECT_MSG_NOT_COMPATIBLE
Definition: gsm_04_08.h:1791
uint8_t rr_cause
Definition: gsm_04_08.h:1079
@ GSM48_CC_CAUSE_RESP_STATUS_INQ
Definition: gsm_04_08.h:1732
uint8_t cneed1
Definition: gsm_04_08.h:1175
gsm48_cc_cause
Definition: gsm_04_08.h:1716
uint8_t mob_alloc_len
Definition: gsm_04_08.h:1122
uint8_t arfcn_lo
Definition: gsm_04_08.h:745
uint8_t rot
Definition: gsm_04_08.h:680
@ GSM48_NPI_PRIVATE
Definition: gsm_04_08.h:2016
@ GSM48_CC_CAUSE_CALL_REJECTED
Definition: gsm_04_08.h:1725
uint8_t w15
Definition: gsm_04_08.h:215
uint8_t cneed2
Definition: gsm_04_08.h:1195
@ GSM48_CC_CAUSE_RECOVERY_TIMER
Definition: gsm_04_08.h:1763
uint8_t spare
Definition: gsm_04_08.h:23
uint8_t w7
Definition: gsm_04_08.h:279
uint8_t l2_plen
Definition: gsm_04_08.h:1112
uint8_t spare
Definition: gsm_04_08.h:1156
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:191
uint8_t w13
Definition: gsm_04_08.h:369
@ CHREQ_T_CALL_REEST_TCH_H_DBL
Definition: gsm_04_08.h:1811
uint8_t wait_ind1
Definition: gsm_04_08.h:1133
@ CHREQ_T_LOCATION_UPD
Definition: gsm_04_08.h:1816
@ GSM48_RR_CAUSE_ABNORMAL_UNACCT
Definition: gsm_04_08.h:1698
uint8_t w12
Definition: gsm_04_08.h:368
Definition: gsm_04_08.h:860
const struct value_string gsm48_pdisc_names[]
TS 04.08 Protocol Descriptor names.
Definition: gsm48.c:764
uint8_t data[0]
Definition: gsm_04_08.h:1159
@ GSM48_TON_NET_SPEC
Definition: gsm_04_08.h:2004
uint8_t page_mode
Definition: gsm_04_08.h:762
struct gsm48_chan_desc chan_desc2
Definition: gsm_04_08.h:1119
@ GSM48_BCAP_UR_2400
Definition: gsm_04_08.h:1926
uint8_t rxlev_nc3_hi
Definition: gsm_04_08.h:511
@ GSM48_REJECT_SERVICES_NOT_ALLOWED
Definition: gsm_04_08.h:1796
static const char * gsm48_pdisc_name(uint8_t val)
Definition: gsm_04_08.h:1254
@ GSM48_NPI_NATIONAL
Definition: gsm_04_08.h:2015
@ GSM48_REJECT_LOC_NOT_ALLOWED
Definition: gsm_04_08.h:1776
@ GSM48_CC_CAUSE_BEARER_CA_UNAVAIL
Definition: gsm_04_08.h:1745
uint8_t w16_hi
Definition: gsm_04_08.h:216
uint8_t dtx
Definition: gsm_04_08.h:903
uint8_t w13_lo
Definition: gsm_04_08.h:213
@ GSM48_NPI_DATA_X121
Definition: gsm_04_08.h:2013
uint8_t w8_lo
Definition: gsm_04_08.h:205
@ GSM48_CC_CAUSE_FACILITY_REJ
Definition: gsm_04_08.h:1731
@ GSM48_BCAP_RA_OTHER
Definition: gsm_04_08.h:1909
uint8_t alg_id
Definition: gsm_04_08.h:1098
uint8_t key_seq
Definition: gsm_04_08.h:797
uint8_t w2
Definition: gsm_04_08.h:355
uint8_t sm_cap
Definition: gsm_04_08.h:64
#define GSM48_PDISC_GROUP_CC
Definition: gsm_04_08.h:1236
uint8_t w20_lo
Definition: gsm_04_08.h:299
uint8_t w13
Definition: gsm_04_08.h:288
uint8_t spare
Definition: gsm_04_08.h:1197
struct gsm48_rach_control rach_control
Definition: gsm_04_08.h:2
@ GSM48_BCAP_TR_RLP_PREF
Definition: gsm_04_08.h:1953
@ CHREQ_T_PAG_R_TCH_F
Definition: gsm_04_08.h:1819
@ GSM48_PROGR_IN_BAND_AVAIL
Definition: gsm_04_08.h:1654
Definition: gsm_04_08.h:1163
uint8_t w26_lo
Definition: gsm_04_08.h:385
@ GSM48_REJECT_INCORRECT_MESSAGE
Definition: gsm_04_08.h:1785
gsm48_bcap_coding
Definition: gsm_04_08.h:1893
@ CHREQ_T_PAG_R_TCH_FH
Definition: gsm_04_08.h:1820
uint8_t w3_lo
Definition: gsm_04_08.h:197
uint8_t bcch_f_nc5_lo
Definition: gsm_04_08.h:523
uint8_t fc
Definition: gsm_04_08.h:67
@ GSM48_REJECT_MSC_TMP_NOT_REACHABLE
Definition: gsm_04_08.h:1800
uint8_t w6_hi
Definition: gsm_04_08.h:129
const char * gsm48_pdisc_msgtype_name(uint8_t pdisc, uint8_t msg_type)
Compose a string naming the message type for given protocol.
Definition: gsm48.c:963
@ GSM48_RR_CAUSE_CALL_CLEARED
Definition: gsm_04_08.h:1705
uint8_t spare4
Definition: gsm_04_08.h:70
uint8_t pwrc
Definition: gsm_04_08.h:902
@ GSM48_REJECT_PROTOCOL_ERROR
Definition: gsm_04_08.h:1792
@ GSM48_CC_CAUSE_INVAL_MAND_INF
Definition: gsm_04_08.h:1757
@ GSM48_CMODE_SIGN
Definition: gsm_04_08.h:696
uint8_t cneed1
Definition: gsm_04_08.h:1196
@ GSM48_SIGNAL_ALERT_OFF
Definition: gsm_04_08.h:1671
@ GSM48_BCAP_PAR_ZERO
Definition: gsm_04_08.h:1938
uint8_t page_mode
Definition: gsm_04_08.h:1115
gsm48_bcap_ra
Definition: gsm_04_08.h:1905
uint8_t w13_lo
Definition: gsm_04_08.h:142
uint8_t rr_cause
Definition: gsm_04_08.h:1063
uint8_t w5_lo
Definition: gsm_04_08.h:276
uint8_t w16
Definition: gsm_04_08.h:147
uint8_t w11
Definition: gsm_04_08.h:209
@ GSM48_PROGR_NOT_E2E
Definition: gsm_04_08.h:1650
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:266
#define GSM48_PDISC_EXTEND
Definition: gsm_04_08.h:1249
uint8_t w1_lo
Definition: gsm_04_08.h:193
uint8_t data[0]
Definition: gsm_04_08.h:1227
struct gsm48_classmark1 classmark1
Definition: gsm_04_08.h:1049
uint8_t w5
Definition: gsm_04_08.h:200
uint8_t w6_hi
Definition: gsm_04_08.h:361
uint32_t tlli
Definition: gsm_04_08.h:728
uint8_t ba_used
Definition: gsm_04_08.h:491
uint8_t spare
Definition: gsm_04_08.h:777
uint8_t spare
Definition: gsm_04_08.h:388
Definition: gsm_04_08.h:1067
uint8_t l2_plen
Definition: gsm_04_08.h:1128
struct gsm48_req_ref req_ref1
Definition: gsm_04_08.h:1117
uint8_t w9
Definition: gsm_04_08.h:365
uint8_t proto_discr
Definition: gsm_04_08.h:1165
uint8_t msg_type
Definition: gsm_04_08.h:761
gsm48_bcap_tmod
Definition: gsm_04_08.h:1887
uint8_t mi[0]
Definition: gsm_04_08.h:781
@ GSM48_REJECT_PLMN_NOT_ALLOWED
Definition: gsm_04_08.h:1775
@ GSM48_SIGNAL_CONFIRM
Definition: gsm_04_08.h:1666
static bool gsm48_acc_is_barred(struct gsm48_rach_control *rach_control, unsigned int acc)
Definition: gsm_04_08.h:631
@ GSM48_BCAP_SV_FR
GSM FR V1 (GSM FR)
Definition: gsm_04_08.h:1972
@ CHREQ_T_CALL_REEST_TCH_F
Definition: gsm_04_08.h:1809
Definition: gsm_04_08.h:413
@ GSM48_CMODE_SPEECH_AMR
Definition: gsm_04_08.h:699
uint8_t w7_lo
Definition: gsm_04_08.h:203
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:751
Definition: gsm_04_08.h:1048
uint8_t radio_link_timeout
Definition: gsm_04_08.h:904
@ GSM48_CAUSE_LOC_INN_NET
Definition: gsm_04_08.h:1690
@ GSM48_BCAP_ITCAP_UNR_DIG_INF
Definition: gsm_04_08.h:1879
gsm48_cause_loc
Definition: gsm_04_08.h:1682
uint8_t w4_hi
Definition: gsm_04_08.h:198
uint8_t tx_integer
Definition: gsm_04_08.h:589
@ GSM48_REJECT_GPRS_NOT_ALLOWED
Definition: gsm_04_08.h:1795
#define GSM48_PDISC_BCAST_CC
Definition: gsm_04_08.h:1237
@ GSM48_SIGNAL_INTERCEPT
Definition: gsm_04_08.h:1663
uint8_t a5_2
Definition: gsm_04_08.h:76
uint8_t data[0]
Definition: gsm_04_08.h:1181
uint8_t vbs
Definition: gsm_04_08.h:65
@ CHREQ_T_DATA_CALL_TCH_H
Definition: gsm_04_08.h:1815
gsm48_bcap_itcap
Definition: gsm_04_08.h:1877
uint8_t w2_lo
Definition: gsm_04_08.h:122
uint8_t spare
Definition: gsm_04_08.h:554
uint8_t timing_advance2
Definition: gsm_04_08.h:1121
@ CHREQ_T_PDCH_ONE_PHASE
Definition: gsm_04_08.h:1824
Definition: gsm_04_08.h:393
gsm48_bcap_speech_ver
GSM 04.08 Bearer Capability: Speech Version Indication (See also 3GPP TS 24.008, Table 10....
Definition: gsm_04_08.h:1971
Definition: gsm_04_08.h:808
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:763
uint8_t dtx_used
Definition: gsm_04_08.h:492
uint8_t w15
Definition: gsm_04_08.h:371
Definition: gsm_04_08.h:891
static const char * gsm48_reject_value_name(enum gsm48_reject_value val)
Definition: gsm_04_08.h:1804
@ GSM48_BCAP_ITCAP_RESERVED
Definition: gsm_04_08.h:1883
uint8_t a5_1
Definition: gsm_04_08.h:26
@ GSM48_CC_CAUSE_CHAN_UNACCEPT
Definition: gsm_04_08.h:1719
@ CHREQ_T_PAG_R_ANY_NECI1
Definition: gsm_04_08.h:1818
@ GSM48_SIGNAL_NET_CONG
Definition: gsm_04_08.h:1664
uint32_t classmark2
Definition: gsm_04_08.h:779
@ GSM48_BCAP_MT_V22
Definition: gsm_04_08.h:1960
uint8_t spare
Definition: gsm_04_08.h:1222
uint8_t wait_ind3
Definition: gsm_04_08.h:1137
uint8_t rxlev_nc6_lo
Definition: gsm_04_08.h:526
uint8_t w17
Definition: gsm_04_08.h:294
uint8_t w12
Definition: gsm_04_08.h:287
@ GSM48_CC_CAUSE_MSGTYPE_NOTEXIST
Definition: gsm_04_08.h:1758
uint8_t w8_hi
Definition: gsm_04_08.h:204
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:1057
uint8_t h
Definition: gsm_04_08.h:425
uint8_t mob_alloc[0]
Definition: gsm_04_08.h:723
uint8_t lcsva_cap
Definition: gsm_04_08.h:71
uint8_t bcch_f_nc3
Definition: gsm_04_08.h:513
Definition: gsm_04_08.h:671
uint8_t rxlev_nc5_lo
Definition: gsm_04_08.h:521
@ GSM48_BCAP_RRQ_DUAL_FR
Definition: gsm_04_08.h:1901
uint8_t spare2
Definition: gsm_04_08.h:497
@ GSM48_CC_CAUSE_ACM_GE_ACM_MAX
Definition: gsm_04_08.h:1748
@ CHREQ_T_PAG_R_ANY_NECI0
Definition: gsm_04_08.h:1817
uint8_t w16
Definition: gsm_04_08.h:372
uint8_t w22
Definition: gsm_04_08.h:380
uint8_t w5_hi
Definition: gsm_04_08.h:127
uint8_t w18_lo
Definition: gsm_04_08.h:296
uint8_t w24
Definition: gsm_04_08.h:382
uint8_t arfcn_high
Definition: gsm_04_08.h:441
uint32_t tmsi2
Definition: gsm_04_08.h:1201
@ GSM48_BCAP_IR_16k
Definition: gsm_04_08.h:1945
@ GSM48_CAUSE_LOC_PUN_S_RU
Definition: gsm_04_08.h:1687
uint8_t msg_type
Definition: gsm_04_08.h:825
@ GSM48_RR_CAUSE_COND_IE_ERROR
Definition: gsm_04_08.h:1710
uint8_t bcc
Definition: gsm_04_08.h:743
@ GSM48_PROGR_DEST_NOT_PLMN
Definition: gsm_04_08.h:1651
enum gsm48_chan_mode __attribute__
@ GSM48_CC_CAUSE_SWITCH_CONG
Definition: gsm_04_08.h:1737
uint8_t rxlev_nc4_hi
Definition: gsm_04_08.h:516
gsm48_dtx_mode
Definition: gsm_04_08.h:883
uint32_t tmsi1
Definition: gsm_04_08.h:1200
static void gsm48_barr_acc(struct gsm48_rach_control *rach_control, unsigned int acc)
Definition: gsm_04_08.h:602
@ CHREQ_T_PDCH_TWO_PHASE
Definition: gsm_04_08.h:1825
uint8_t rxlev_sub
Definition: gsm_04_08.h:496
uint8_t w2_hi
Definition: gsm_04_08.h:194
@ GSM48_RR_CAUSE_NORMAL
Definition: gsm_04_08.h:1696
uint8_t cm2_len
Definition: gsm_04_08.h:1105
Definition: gsm_04_08.h:1089
gsm48_cause_coding
Definition: gsm_04_08.h:1675
@ GSM48_BCAP_UR_1200
Definition: gsm_04_08.h:1925
@ GSM48_CC_CAUSE_INVAL_TRANS_NET
Definition: gsm_04_08.h:1755
uint8_t w3_lo
Definition: gsm_04_08.h:357
static uint8_t gsm48_hdr_msg_type_r99(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1322
@ GSM48_RR_CAUSE_INVALID_MAND_INF
Definition: gsm_04_08.h:1707
uint8_t rxqual_full
Definition: gsm_04_08.h:498
uint8_t data[0]
Definition: gsm_04_08.h:1058
uint8_t t1
Definition: gsm_04_08.h:648
static uint8_t gsm48_hdr_pdisc(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1259
Definition: gsm_04_08.h:1072
Definition: gsm_04_08.h:1083
uint8_t proto_discr
Definition: gsm_04_08.h:760
uint8_t data[0]
Definition: gsm_04_08.h:1085
uint8_t spare
Definition: gsm_04_08.h:55
@ GSM48_BCAP_SA_X28_NDP
Definition: gsm_04_08.h:1918
gsm48_reject_value
Definition: gsm_04_08.h:1769
uint8_t w9_lo
Definition: gsm_04_08.h:207
uint8_t digits[3]
Definition: gsm_04_08.h:1989
uint8_t w4_hi
Definition: gsm_04_08.h:358
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:691
@ GSM48_CC_CAUSE_NUMBER_CHANGED
Definition: gsm_04_08.h:1726
@ GSM48_SIGNAL_RINGBACK
Definition: gsm_04_08.h:1662
Definition: gsm_04_08.h:690
uint8_t w3_hi
Definition: gsm_04_08.h:196
@ CHREQ_T_CALL_REEST_TCH_H
Definition: gsm_04_08.h:1810
uint8_t spare3
Definition: gsm_04_08.h:72
uint8_t m12_2
Definition: gsm_04_08.h:556
uint8_t w12_lo
Definition: gsm_04_08.h:140
uint8_t d
Definition: gsm_04_08.h:901
@ GSM48_BCAP_CODING_GSM_STD
Definition: gsm_04_08.h:1894
uint8_t cneed2
Definition: gsm_04_08.h:1154
gsm48_rr_cause
Definition: gsm_04_08.h:1695
Definition: gsm_04_08.h:735
@ GSM48_BCAP_ITCAP_3k1_AUDIO
Definition: gsm_04_08.h:1880
uint8_t sync_ie
Definition: gsm_04_08.h:678
@ GSM48_BCAP_MT_V32
Definition: gsm_04_08.h:1964
uint8_t w19
Definition: gsm_04_08.h:376
uint8_t neci
Definition: gsm_04_08.h:854
uint8_t w8_hi
Definition: gsm_04_08.h:280
@ GSM48_REJECT_SYNCH_FAILURE
Definition: gsm_04_08.h:1779
struct gsm48_classmark1 classmark1
Definition: gsm_04_08.h:817
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:353
uint8_t power_command
Definition: gsm_04_08.h:753
@ GSM48_CC_CAUSE_COND_IE_ERR
Definition: gsm_04_08.h:1761
uint8_t w12_hi
Definition: gsm_04_08.h:210
uint8_t w12_lo
Definition: gsm_04_08.h:211
@ GSM48_BCAP_PAR_ODD
Definition: gsm_04_08.h:1935
@ GSM48_RR_CAUSE_PROT_ERROR_UNSPC
Definition: gsm_04_08.h:1712
struct gsm48_req_ref req_ref4
Definition: gsm_04_08.h:1138
@ GSM48_CC_CAUSE_INVAL_TRANS_ID
Definition: gsm_04_08.h:1752
@ GSM48_BCAP_SA_X28_DP_UN
Definition: gsm_04_08.h:1917
uint8_t mob_alloc_len
Definition: gsm_04_08.h:766
uint8_t w2_lo
Definition: gsm_04_08.h:195
uint8_t m7_95
Definition: gsm_04_08.h:558
uint8_t ver
Definition: gsm_04_08.h:551
uint8_t bsic_nc6
Definition: gsm_04_08.h:530
chreq_type
Definition: gsm_04_08.h:1807
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:189
Definition: gsm_04_08.h:785
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:268
uint8_t w19
Definition: gsm_04_08.h:297
uint8_t pag_mode
Definition: gsm_04_08.h:1177
uint8_t w14
Definition: gsm_04_08.h:214
struct gsm48_req_ref req_ref2
Definition: gsm_04_08.h:1134
@ GSM48_CC_CAUSE_NETWORK_OOO
Definition: gsm_04_08.h:1735
uint8_t solsa
Definition: gsm_04_08.h:73
uint8_t form_id
Definition: gsm_04_08.h:188
uint8_t f0
Definition: gsm_04_08.h:118
uint8_t msg_type
Definition: gsm_04_08.h:2
uint8_t msg_type
Definition: gsm_04_08.h:1166
uint8_t t3_high
Definition: gsm_04_08.h:664
uint8_t w9_hi
Definition: gsm_04_08.h:206
uint8_t form_id
Definition: gsm_04_08.h:265
@ GSM48_BCAP_MT_V22bis
Definition: gsm_04_08.h:1961
@ GSM48_BCAP_SV_EFR
GSM FR V2 (GSM EFR)
Definition: gsm_04_08.h:1974
uint8_t ccch_conf
Definition: gsm_04_08.h:874
uint8_t mscr
Definition: gsm_04_08.h:871
static const char * gsm48_chan_mode_name(enum gsm48_chan_mode val)
Definition: gsm_04_08.h:707
@ GSM48_RR_CAUSE_ABNORMAL_NOACT
Definition: gsm_04_08.h:1700
@ GSM48_REJECT_RQD_SRV_OPT_NOT_SUPPORTED
Definition: gsm_04_08.h:1782
@ GSM48_CC_CAUSE_OP_DET_BARRING
Definition: gsm_04_08.h:1720
uint8_t w1_hi
Definition: gsm_04_08.h:192
uint8_t w28
Definition: gsm_04_08.h:387
uint8_t power_level
Definition: gsm_04_08.h:576
Definition: gsm_04_08.h:349
uint8_t w20_hi
Definition: gsm_04_08.h:298
@ GSM48_BCAP_MT_V23
Definition: gsm_04_08.h:1962
uint8_t page_mode
Definition: gsm_04_08.h:1131
gsm48_chan_mode
Definition: gsm_04_08.h:695
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:267
@ GSM48_CAUSE_LOC_USER
Definition: gsm_04_08.h:1683
uint8_t cneed3
Definition: gsm_04_08.h:1211
uint8_t rxlev_nc2_lo
Definition: gsm_04_08.h:507
@ GSM48_REJECT_SRV_OPT_TMP_OUT_OF_ORDER
Definition: gsm_04_08.h:1783
uint8_t type
Definition: gsm_04_08.h:814
uint8_t nci
Definition: gsm_04_08.h:679
Definition: gsm_04_08.h:581
Definition: gsm_04_08.h:803
uint8_t bcch_f_nc2
Definition: gsm_04_08.h:508
uint8_t no_nc_n_hi
Definition: gsm_04_08.h:500
@ GSM48_CC_CAUSE_QOS_UNAVAIL
Definition: gsm_04_08.h:1741
struct gsm48_req_ref req_ref3
Definition: gsm_04_08.h:1136
@ GSM48_BCAP_UR_300
Definition: gsm_04_08.h:1924
uint8_t w5_hi
Definition: gsm_04_08.h:275
uint8_t w9
Definition: gsm_04_08.h:135
uint8_t t3_low
Definition: gsm_04_08.h:650
uint8_t data[0]
Definition: gsm_04_08.h:1074
@ GSM48_CC_CAUSE_RESTR_BCAP_AVAIL
Definition: gsm_04_08.h:1750
uint8_t proto_discr
Definition: gsm_04_08.h:1129
uint8_t w25
Definition: gsm_04_08.h:383
uint8_t atc
Definition: gsm_04_08.h:574
uint8_t w4_lo
Definition: gsm_04_08.h:126
@ GSM48_CC_CAUSE_TEMP_FAILURE
Definition: gsm_04_08.h:1736
gsm48_bcap_modem_type
Definition: gsm_04_08.h:1957
uint8_t spare2
Definition: gsm_04_08.h:61
uint8_t mi[0]
Definition: gsm_04_08.h:920
Definition: gsm_04_08.h:823
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:721
uint8_t cm3
Definition: gsm_04_08.h:69
uint8_t t1
Definition: gsm_04_08.h:663
#define GSM48_PDISC_LOC
Definition: gsm_04_08.h:1248
uint8_t t3
Definition: gsm_04_08.h:594
uint8_t w14_lo
Definition: gsm_04_08.h:144
uint8_t spare2
Definition: gsm_04_08.h:1209
uint8_t spare
Definition: gsm_04_08.h:796
uint8_t smod
Definition: gsm_04_08.h:555
uint8_t a5_1
Definition: gsm_04_08.h:58
@ GSM48_BCAP_PAR_ONE
Definition: gsm_04_08.h:1939
uint8_t w18_lo
Definition: gsm_04_08.h:375
uint8_t w23
Definition: gsm_04_08.h:381
@ GSM48_BCAP_SV_AMR_F
GSM FR V3 (FR AMR)
Definition: gsm_04_08.h:1975
uint8_t rxlev_full
Definition: gsm_04_08.h:493
@ CHREQ_T_TCH_F
Definition: gsm_04_08.h:1813
Definition: gsm_04_08.h:771
Definition: gsm_04_08.h:758
uint8_t maio_low
Definition: gsm_04_08.h:427
Definition: gsm_04_08.h:1988
@ GSM48_TON_INTERNATIONAL
Definition: gsm_04_08.h:2002
uint8_t w9_lo
Definition: gsm_04_08.h:283
uint8_t rr_cause
Definition: gsm_04_08.h:1068
Definition: gsm_04_08.h:909
static bool gsm48_ta_is_valid(uint8_t ta)
Check if TA is valid according to 3GPP TS 44.018 ยง 10.5.2.40.
Definition: gsm_04_08.h:1287
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:404
uint8_t w5
Definition: gsm_04_08.h:360
uint8_t w14
Definition: gsm_04_08.h:370