9 #include <osmocom/core/utils.h> 10 #include <osmocom/core/endian.h> 48 #if OSMO_IS_LITTLE_ENDIAN == 1 119 #if OSMO_IS_LITTLE_ENDIAN == 1 190 #if OSMO_IS_LITTLE_ENDIAN == 1 273 #if OSMO_IS_LITTLE_ENDIAN == 1 474 OSMO_ASSERT(acc >= 0 && acc <= 15);
476 rach_control->
t2 |= (1 << (acc - 8));
478 rach_control->
t3 |= (1 << (acc));
488 OSMO_ASSERT(acc >= 0 && acc <= 15);
490 rach_control->
t2 &= ~(1 << (acc - 8));
492 rach_control->
t3 &= ~(1 << (acc));
503 OSMO_ASSERT(acc >= 0 && acc <= 15);
505 return (rach_control->
t2 & (1 << (acc - 8))) != 0;
506 return (rach_control->
t3 & (1 << (acc))) != 0;
966 #define GSM48_PDISC_GROUP_CC 0x00 967 #define GSM48_PDISC_BCAST_CC 0x01 968 #define GSM48_PDISC_PDSS1 0x02 969 #define GSM48_PDISC_CC 0x03 970 #define GSM48_PDISC_PDSS2 0x04 971 #define GSM48_PDISC_GTTP 0x04 972 #define GSM48_PDISC_MM 0x05 973 #define GSM48_PDISC_RR 0x06 974 #define GSM48_PDISC_MM_GPRS 0x08 975 #define GSM48_PDISC_SMS 0x09 976 #define GSM48_PDISC_SM_GPRS 0x0a 977 #define GSM48_PDISC_NC_SS 0x0b 978 #define GSM48_PDISC_LOC 0x0c 979 #define GSM48_PDISC_EXTEND 0x0e 980 #define GSM48_PDISC_TEST 0x0f 981 #define GSM48_PDISC_MASK 0x0f 1010 #define GSM48_TA_INVALID 220 1076 #define gsm48_hdr_msg_type gsm48_hdr_msg_type_r99 1079 #define GSM48_MT_RR_INIT_REQ 0x3c 1080 #define GSM48_MT_RR_ADD_ASS 0x3b 1081 #define GSM48_MT_RR_IMM_ASS 0x3f 1082 #define GSM48_MT_RR_IMM_ASS_EXT 0x39 1083 #define GSM48_MT_RR_IMM_ASS_REJ 0x3a 1084 #define GSM48_MT_RR_DTM_ASS_FAIL 0x48 1085 #define GSM48_MT_RR_DTM_REJECT 0x49 1086 #define GSM48_MT_RR_DTM_REQUEST 0x4A 1087 #define GSM48_MT_RR_PACKET_ASS 0x4B 1089 #define GSM48_MT_RR_CIPH_M_CMD 0x35 1090 #define GSM48_MT_RR_CIPH_M_COMPL 0x32 1092 #define GSM48_MT_RR_CFG_CHG_CMD 0x30 1093 #define GSM48_MT_RR_CFG_CHG_ACK 0x31 1094 #define GSM48_MT_RR_CFG_CHG_REJ 0x33 1096 #define GSM48_MT_RR_ASS_CMD 0x2e 1097 #define GSM48_MT_RR_ASS_COMPL 0x29 1098 #define GSM48_MT_RR_ASS_FAIL 0x2f 1099 #define GSM48_MT_RR_HANDO_CMD 0x2b 1100 #define GSM48_MT_RR_HANDO_COMPL 0x2c 1101 #define GSM48_MT_RR_HANDO_FAIL 0x28 1102 #define GSM48_MT_RR_HANDO_INFO 0x2d 1103 #define GSM48_MT_RR_HANDO_INFO 0x2d 1104 #define GSM48_MT_RR_DTM_ASS_CMD 0x4c 1106 #define GSM48_MT_RR_CELL_CHG_ORDER 0x08 1107 #define GSM48_MT_RR_PDCH_ASS_CMD 0x23 1109 #define GSM48_MT_RR_CHAN_REL 0x0d 1110 #define GSM48_MT_RR_PART_REL 0x0a 1111 #define GSM48_MT_RR_PART_REL_COMP 0x0f 1113 #define GSM48_MT_RR_PAG_REQ_1 0x21 1114 #define GSM48_MT_RR_PAG_REQ_2 0x22 1115 #define GSM48_MT_RR_PAG_REQ_3 0x24 1116 #define GSM48_MT_RR_PAG_RESP 0x27 1117 #define GSM48_MT_RR_NOTIF_NCH 0x20 1118 #define GSM48_MT_RR_NOTIF_FACCH 0x25 1119 #define GSM48_MT_RR_NOTIF_RESP 0x26 1120 #define GSM48_MT_RR_PACKET_NOTIF 0x4e 1121 #define GSM48_MT_RR_UTRAN_CLSM_CHG 0x60 1122 #define GSM48_MT_RR_CDMA2K_CLSM_CHG 0x62 1123 #define GSM48_MT_RR_IS_TO_UTRAN_HANDO 0x63 1124 #define GSM48_MT_RR_IS_TO_CDMA2K_HANDO 0x64 1126 #define GSM48_MT_RR_SYSINFO_8 0x18 1127 #define GSM48_MT_RR_SYSINFO_1 0x19 1128 #define GSM48_MT_RR_SYSINFO_2 0x1a 1129 #define GSM48_MT_RR_SYSINFO_3 0x1b 1130 #define GSM48_MT_RR_SYSINFO_4 0x1c 1131 #define GSM48_MT_RR_SYSINFO_5 0x1d 1132 #define GSM48_MT_RR_SYSINFO_6 0x1e 1133 #define GSM48_MT_RR_SYSINFO_7 0x1f 1135 #define GSM48_MT_RR_SYSINFO_2bis 0x02 1136 #define GSM48_MT_RR_SYSINFO_2ter 0x03 1137 #define GSM48_MT_RR_SYSINFO_2quater 0x07 1138 #define GSM48_MT_RR_SYSINFO_5bis 0x05 1139 #define GSM48_MT_RR_SYSINFO_5ter 0x06 1140 #define GSM48_MT_RR_SYSINFO_9 0x04 1141 #define GSM48_MT_RR_SYSINFO_13 0x00 1143 #define GSM48_MT_RR_SYSINFO_16 0x3d 1144 #define GSM48_MT_RR_SYSINFO_17 0x3e 1146 #define GSM48_MT_RR_SYSINFO_18 0x40 1147 #define GSM48_MT_RR_SYSINFO_19 0x41 1148 #define GSM48_MT_RR_SYSINFO_20 0x42 1150 #define GSM48_MT_RR_CHAN_MODE_MODIF 0x10 1151 #define GSM48_MT_RR_STATUS 0x12 1152 #define GSM48_MT_RR_CHAN_MODE_MODIF_ACK 0x17 1153 #define GSM48_MT_RR_FREQ_REDEF 0x14 1154 #define GSM48_MT_RR_MEAS_REP 0x15 1155 #define GSM48_MT_RR_CLSM_CHG 0x16 1156 #define GSM48_MT_RR_CLSM_ENQ 0x13 1157 #define GSM48_MT_RR_EXT_MEAS_REP 0x36 1158 #define GSM48_MT_RR_EXT_MEAS_REP_ORD 0x37 1159 #define GSM48_MT_RR_GPRS_SUSP_REQ 0x34 1160 #define GSM48_MT_RR_DTM_INFO 0x4d 1162 #define GSM48_MT_RR_VGCS_UPL_GRANT 0x09 1163 #define GSM48_MT_RR_UPLINK_RELEASE 0x0e 1164 #define GSM48_MT_RR_UPLINK_FREE 0x0c 1165 #define GSM48_MT_RR_UPLINK_BUSY 0x2a 1166 #define GSM48_MT_RR_TALKER_IND 0x11 1168 #define GSM48_MT_RR_APP_INFO 0x38 1171 #define GSM48_MT_MM_IMSI_DETACH_IND 0x01 1172 #define GSM48_MT_MM_LOC_UPD_ACCEPT 0x02 1173 #define GSM48_MT_MM_LOC_UPD_REJECT 0x04 1174 #define GSM48_MT_MM_LOC_UPD_REQUEST 0x08 1176 #define GSM48_MT_MM_AUTH_REJ 0x11 1177 #define GSM48_MT_MM_AUTH_REQ 0x12 1178 #define GSM48_MT_MM_AUTH_RESP 0x14 1179 #define GSM48_MT_MM_AUTH_FAIL 0x1c 1180 #define GSM48_MT_MM_ID_REQ 0x18 1181 #define GSM48_MT_MM_ID_RESP 0x19 1182 #define GSM48_MT_MM_TMSI_REALL_CMD 0x1a 1183 #define GSM48_MT_MM_TMSI_REALL_COMPL 0x1b 1185 #define GSM48_MT_MM_CM_SERV_ACC 0x21 1186 #define GSM48_MT_MM_CM_SERV_REJ 0x22 1187 #define GSM48_MT_MM_CM_SERV_ABORT 0x23 1188 #define GSM48_MT_MM_CM_SERV_REQ 0x24 1189 #define GSM48_MT_MM_CM_SERV_PROMPT 0x25 1190 #define GSM48_MT_MM_CM_REEST_REQ 0x28 1191 #define GSM48_MT_MM_ABORT 0x29 1193 #define GSM48_MT_MM_NULL 0x30 1194 #define GSM48_MT_MM_STATUS 0x31 1195 #define GSM48_MT_MM_INFO 0x32 1198 #define GSM48_MT_CC_ALERTING 0x01 1199 #define GSM48_MT_CC_CALL_CONF 0x08 1200 #define GSM48_MT_CC_CALL_PROC 0x02 1201 #define GSM48_MT_CC_CONNECT 0x07 1202 #define GSM48_MT_CC_CONNECT_ACK 0x0f 1203 #define GSM48_MT_CC_EMERG_SETUP 0x0e 1204 #define GSM48_MT_CC_PROGRESS 0x03 1205 #define GSM48_MT_CC_ESTAB 0x04 1206 #define GSM48_MT_CC_ESTAB_CONF 0x06 1207 #define GSM48_MT_CC_RECALL 0x0b 1208 #define GSM48_MT_CC_START_CC 0x09 1209 #define GSM48_MT_CC_SETUP 0x05 1211 #define GSM48_MT_CC_MODIFY 0x17 1212 #define GSM48_MT_CC_MODIFY_COMPL 0x1f 1213 #define GSM48_MT_CC_MODIFY_REJECT 0x13 1214 #define GSM48_MT_CC_USER_INFO 0x10 1215 #define GSM48_MT_CC_HOLD 0x18 1216 #define GSM48_MT_CC_HOLD_ACK 0x19 1217 #define GSM48_MT_CC_HOLD_REJ 0x1a 1218 #define GSM48_MT_CC_RETR 0x1c 1219 #define GSM48_MT_CC_RETR_ACK 0x1d 1220 #define GSM48_MT_CC_RETR_REJ 0x1e 1222 #define GSM48_MT_CC_DISCONNECT 0x25 1223 #define GSM48_MT_CC_RELEASE 0x2d 1224 #define GSM48_MT_CC_RELEASE_COMPL 0x2a 1226 #define GSM48_MT_CC_CONG_CTRL 0x39 1227 #define GSM48_MT_CC_NOTIFY 0x3e 1228 #define GSM48_MT_CC_STATUS 0x3d 1229 #define GSM48_MT_CC_STATUS_ENQ 0x34 1230 #define GSM48_MT_CC_START_DTMF 0x35 1231 #define GSM48_MT_CC_STOP_DTMF 0x31 1232 #define GSM48_MT_CC_STOP_DTMF_ACK 0x32 1233 #define GSM48_MT_CC_START_DTMF_ACK 0x36 1234 #define GSM48_MT_CC_START_DTMF_REJ 0x37 1235 #define GSM48_MT_CC_FACILITY 0x3a 1245 #define GSM48_CMSERV_MO_CALL_PACKET 1 1246 #define GSM48_CMSERV_EMERGENCY 2 1247 #define GSM48_CMSERV_SMS 4 1248 #define GSM48_CMSERV_SUP_SERV 8 1249 #define GSM48_CMSERV_VGCS 9 1250 #define GSM48_CMSERV_VBS 10 1251 #define GSM48_CMSERV_LOC_SERV 11 1254 #define GSM48_PM_MASK 0x03 1255 #define GSM48_PM_NORMAL 0x00 1256 #define GSM48_PM_EXTENDED 0x01 1257 #define GSM48_PM_REORG 0x02 1258 #define GSM48_PM_SAME 0x03 1261 #define GSM48_LUPD_NORMAL 0x0 1262 #define GSM48_LUPD_PERIODIC 0x1 1263 #define GSM48_LUPD_IMSI_ATT 0x2 1264 #define GSM48_LUPD_RESERVED 0x3 1267 #define GSM_MI_TYPE_MASK 0x07 1268 #define GSM_MI_TYPE_NONE 0x00 1269 #define GSM_MI_TYPE_IMSI 0x01 1270 #define GSM_MI_TYPE_IMEI 0x02 1271 #define GSM_MI_TYPE_IMEISV 0x03 1272 #define GSM_MI_TYPE_TMSI 0x04 1273 #define GSM_MI_ODD 0x08 1275 #define GSM48_IE_MOBILE_ID 0x17 1276 #define GSM48_IE_NAME_LONG 0x43 1277 #define GSM48_IE_NAME_SHORT 0x45 1278 #define GSM48_IE_UTC 0x46 1279 #define GSM48_IE_NET_TIME_TZ 0x47 1280 #define GSM48_IE_LSA_IDENT 0x48 1281 #define GSM48_IE_NET_DST 0x49 1283 #define GSM48_IE_BEARER_CAP 0x04 1284 #define GSM48_IE_CAUSE 0x08 1285 #define GSM48_IE_CC_CAP 0x15 1286 #define GSM48_IE_ALERT 0x19 1287 #define GSM48_IE_FACILITY 0x1c 1288 #define GSM48_IE_PROGR_IND 0x1e 1289 #define GSM48_IE_AUX_STATUS 0x24 1290 #define GSM48_IE_NOTIFY 0x27 1291 #define GSM48_IE_KPD_FACILITY 0x2c 1292 #define GSM48_IE_SIGNAL 0x34 1293 #define GSM48_IE_CONN_BCD 0x4c 1294 #define GSM48_IE_CONN_SUB 0x4d 1295 #define GSM48_IE_CALLING_BCD 0x5c 1296 #define GSM48_IE_CALLING_SUB 0x5d 1297 #define GSM48_IE_CALLED_BCD 0x5e 1298 #define GSM48_IE_CALLED_SUB 0x6d 1299 #define GSM48_IE_REDIR_BCD 0x74 1300 #define GSM48_IE_REDIR_SUB 0x75 1301 #define GSM48_IE_LOWL_COMPAT 0x7c 1302 #define GSM48_IE_HIGHL_COMPAT 0x7d 1303 #define GSM48_IE_USER_USER 0x7e 1304 #define GSM48_IE_SS_VERS 0x7f 1305 #define GSM48_IE_MORE_DATA 0xa0 1306 #define GSM48_IE_CLIR_SUPP 0xa1 1307 #define GSM48_IE_CLIR_INVOC 0xa2 1308 #define GSM48_IE_REV_C_SETUP 0xa3 1309 #define GSM48_IE_REPEAT_CIR 0xd1 1310 #define GSM48_IE_REPEAT_SEQ 0xd3 1313 #define GSM48_CAUSE_CS_GSM 0x60 1317 #define GSM48_IE_VGCS_TARGET 0x01 1319 #define GSM48_IE_FRQSHORT_AFTER 0x02 1320 #define GSM48_IE_MUL_RATE_CFG 0x03 1321 #define GSM48_IE_FREQ_L_AFTER 0x05 1322 #define GSM48_IE_MSLOT_DESC 0x10 1323 #define GSM48_IE_CHANMODE_2 0x11 1324 #define GSM48_IE_FRQSHORT_BEFORE 0x12 1326 #define GSM48_IE_CHANMODE_3 0x13 1327 #define GSM48_IE_CHANMODE_4 0x14 1328 #define GSM48_IE_CHANMODE_5 0x15 1329 #define GSM48_IE_CHANMODE_6 0x16 1330 #define GSM48_IE_CHANMODE_7 0x17 1331 #define GSM48_IE_CHANMODE_8 0x18 1332 #define GSM48_IE_CHANDESC_2 0x64 1333 #define GSM48_IE_MA_AFTER 0x72 1334 #define GSM48_IE_START_TIME 0x7c 1335 #define GSM48_IE_FREQ_L_BEFORE 0x19 1337 #define GSM48_IE_CH_DESC_1_BEFORE 0x1c 1339 #define GSM48_IE_CH_DESC_2_BEFORE 0x1d 1341 #define GSM48_IE_F_CH_SEQ_BEFORE 0x1e 1343 #define GSM48_IE_CLASSMARK3 0x20 1344 #define GSM48_IE_MA_BEFORE 0x21 1345 #define GSM48_IE_RR_PACKET_UL 0x22 1346 #define GSM48_IE_RR_PACKET_DL 0x23 1347 #define GSM48_IE_CELL_CH_DESC 0x62 1348 #define GSM48_IE_CHANMODE_1 0x63 1349 #define GSM48_IE_CHDES_2_AFTER 0x64 1350 #define GSM48_IE_MODE_SEC_CH 0x66 1351 #define GSM48_IE_F_CH_SEQ_AFTER 0x69 1352 #define GSM48_IE_MA_AFTER 0x72 1353 #define GSM48_IE_BA_RANGE 0x73 1354 #define GSM48_IE_GROUP_CHDES 0x74 1355 #define GSM48_IE_BA_LIST_PREF 0x75 1356 #define GSM48_IE_MOB_OVSERV_DIF 0x77 1357 #define GSM48_IE_REALTIME_DIFF 0x7b 1358 #define GSM48_IE_START_TIME 0x7c 1359 #define GSM48_IE_TIMING_ADVANCE 0x7d 1360 #define GSM48_IE_GROUP_CIP_SEQ 0x80 1361 #define GSM48_IE_CIP_MODE_SET 0x90 1362 #define GSM48_IE_GPRS_RESUMPT 0xc0 1363 #define GSM48_IE_SYNC_IND 0xd0 1365 #define GSM48_IE_CBCH_CHAN_DESC 0x64 1366 #define GSM48_IE_CBCH_MOB_AL 0x72 1369 #define GSM48_IE_LOCATION_AREA 0x13 1370 #define GSM48_IE_AUTN 0x20 1371 #define GSM48_IE_AUTH_RES_EXT 0x21 1372 #define GSM48_IE_AUTS 0x22 1373 #define GSM48_IE_PRIORITY_LEV 0x80 1374 #define GSM48_IE_FOLLOW_ON_PROC 0xa1 1375 #define GSM48_IE_CTS_PERMISSION 0xa2 1560 #define GSM48_T301 180, 0 1561 #define GSM48_T303 30, 0 1562 #define GSM48_T305 30, 0 1563 #define GSM48_T306 30, 0 1564 #define GSM48_T308 10, 0 1565 #define GSM48_T310 30, 0 1566 #define GSM48_T313 30, 0 1567 #define GSM48_T323 30, 0 1568 #define GSM48_T331 30, 0 1569 #define GSM48_T333 30, 0 1570 #define GSM48_T334 25, 0 1571 #define GSM48_T338 30, 0 1572 #define GSM48_T303_MS 30, 0 1573 #define GSM48_T305_MS 30, 0 1574 #define GSM48_T308_MS 30, 0 1575 #define GSM48_T310_MS 30, 0 1576 #define GSM48_T313_MS 30, 0 1577 #define GSM48_T323_MS 30, 0 1578 #define GSM48_T332_MS 30, 0 1579 #define GSM48_T335_MS 30, 0 1582 #define GSM_CSTATE_NULL 0 1583 #define GSM_CSTATE_INITIATED 1 1584 #define GSM_CSTATE_MM_CONNECTION_PEND 2 1585 #define GSM_CSTATE_MO_CALL_PROC 3 1586 #define GSM_CSTATE_CALL_DELIVERED 4 1587 #define GSM_CSTATE_CALL_PRESENT 6 1588 #define GSM_CSTATE_CALL_RECEIVED 7 1589 #define GSM_CSTATE_CONNECT_REQUEST 8 1590 #define GSM_CSTATE_MO_TERM_CALL_CONF 9 1591 #define GSM_CSTATE_ACTIVE 10 1592 #define GSM_CSTATE_DISCONNECT_REQ 12 1593 #define GSM_CSTATE_DISCONNECT_IND 12 1594 #define GSM_CSTATE_RELEASE_REQ 19 1595 #define GSM_CSTATE_MO_ORIG_MODIFY 26 1596 #define GSM_CSTATE_MO_TERM_MODIFY 27 1597 #define GSM_CSTATE_CONNECT_IND 28 1599 #define SBIT(a) (1 << a) 1600 #define ALL_STATES 0xffffffff 1603 #define GSM_LAC_RESERVED_DETACHED 0x0 1604 #define GSM_LAC_RESERVED_ALL_BTS 0xfffe 1713 #define GSM48_TMSI_LEN 5 1714 #define GSM48_MID_TMSI_LEN (GSM48_TMSI_LEN + 2) 1715 #define GSM48_MI_SIZE 32 1724 #define GSM48_CELL_CHAN_DESC_SIZE 16 1726 #define GSM_MACBLOCK_LEN 23 1727 #define GSM_MACBLOCK_PADDING 0x2b Definition: gsm_04_08.h:560
gsm48_bcap_parity
Definition: gsm_04_08.h:1664
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:232
uint16_t lac
Definition: gsm_04_08.h:625
Definition: gsm_04_08.h:1397
Definition: gsm_04_08.h:1666
Definition: gsm_04_08.h:859
Definition: gsm_04_08.h:546
Definition: gsm_04_08.h:1471
uint8_t msg_type
Definition: gsm_04_08.h:559
Definition: gsm_04_08.h:832
uint8_t rxlev_nc5_lo
Definition: gsm_04_08.h:422
Definition: gsm_04_08.h:1732
uint8_t w8
Definition: gsm_04_08.h:106
Definition: gsm_04_08.h:651
uint8_t w1_hi
Definition: gsm_04_08.h:235
uint8_t a5_2
Definition: gsm_04_08.h:104
gsm48_bcap_rrq
Definition: gsm_04_08.h:1628
uint8_t cmsp
Definition: gsm_04_08.h:104
Definition: gsm_04_08.h:1454
uint8_t bsic_nc6
Definition: gsm_04_08.h:429
Definition: gsm_04_08.h:1528
Definition: gsm_04_08.h:1483
Definition: gsm_04_08.h:1457
Definition: gsm_04_08.h:1519
uint8_t maio_low
Definition: gsm_04_08.h:377
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:94
Definition: gsm_04_08.h:1735
Definition: gsm_04_08.h:1734
gsm48_numbering_plan
Definition: gsm_04_08.h:1740
uint8_t nci
Definition: gsm_04_08.h:502
uint8_t w17
Definition: gsm_04_08.h:184
Definition: gsm_04_08.h:1500
Definition: gsm_04_08.h:1396
uint8_t w8_lo
Definition: gsm_04_08.h:109
Definition: gsm_04_08.h:1473
uint8_t w6
Definition: gsm_04_08.h:105
uint8_t w9
Definition: gsm_04_08.h:109
gsm48_bcap_sig_access
Definition: gsm_04_08.h:1643
uint8_t wait_ind4
Definition: gsm_04_08.h:902
uint8_t bsic_nc3_hi
Definition: gsm_04_08.h:113
uint8_t w8_hi
Definition: gsm_04_08.h:245
uint8_t a5_3
Definition: gsm_04_08.h:104
Definition: gsm_04_08.h:1480
uint8_t form_id
Definition: gsm_04_08.h:92
uint8_t rxlev_nc2_hi
Definition: gsm_04_08.h:406
Definition: gsm_04_08.h:1386
uint8_t w9_hi
Definition: gsm_04_08.h:109
uint8_t w11_lo
Definition: gsm_04_08.h:113
uint8_t l2_plen
Definition: gsm_04_08.h:920
uint8_t w9
Definition: gsm_04_08.h:331
uint8_t m7_95
Definition: gsm_04_08.h:440
uint8_t w2_hi
Definition: gsm_04_08.h:160
Definition: gsm_04_08.h:576
Definition: gsm_04_08.h:1431
Definition: gsm_04_08.h:1409
Definition: gsm_04_08.h:1460
uint8_t w25
Definition: gsm_04_08.h:124
uint8_t fc
Definition: gsm_04_08.h:97
Definition: gsm_04_08.h:1475
uint8_t sync_ie
Definition: gsm_04_08.h:528
uint8_t w2
Definition: gsm_04_08.h:237
gsm48_chan_mode
Definition: gsm_04_08.h:544
Definition: gsm_04_08.h:592
uint8_t rxlev_nc2_lo
Definition: gsm_04_08.h:408
Definition: gsm_04_08.h:961
uint8_t w10
Definition: gsm_04_08.h:111
Definition: gsm_04_08.h:519
Definition: gsm_04_08.h:1504
uint8_t rrfcn1_7
Definition: gsm_04_08.h:364
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:155
Definition: gsm_04_08.h:1539
uint8_t t3_low
Definition: gsm_04_08.h:514
Definition: gsm_04_08.h:1451
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:95
uint8_t w21_lo
Definition: gsm_04_08.h:121
gsm48_rr_cause
Definition: gsm_04_08.h:1425
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
Definition: gsm_04_08.h:1476
Definition: gsm_04_08.h:1490
Definition: gsm_04_08.h:552
Definition: gsm_04_08.h:1674
uint8_t mob_alloc_len
Definition: gsm_04_08.h:885
uint8_t cneed4
Definition: gsm_04_08.h:568
uint8_t w6_hi
Definition: gsm_04_08.h:326
uint8_t w9_hi
Definition: gsm_04_08.h:172
uint8_t w1_hi
Definition: gsm_04_08.h:92
Definition: gsm_04_08.h:1384
Definition: gsm_04_08.h:1469
Definition: gsm_04_08.h:1516
uint8_t w13_hi
Definition: gsm_04_08.h:115
Definition: gsm_04_08.h:545
Definition: gsm_04_08.h:1399
uint8_t w1_hi
Definition: gsm_04_08.h:84
uint8_t w12_hi
Definition: gsm_04_08.h:176
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:363
uint8_t t3_low
Definition: gsm_04_08.h:522
uint8_t max_trans
Definition: gsm_04_08.h:92
gsm48_bcap_user_rate
Definition: gsm_04_08.h:1653
uint8_t maio_high
Definition: gsm_04_08.h:372
uint8_t ccch_conf
Definition: gsm_04_08.h:557
Definition: gsm_04_08.h:1435
Definition: gsm_04_08.h:550
uint8_t w28
Definition: gsm_04_08.h:352
Definition: gsm_04_08.h:1541
uint8_t rr_cause
Definition: gsm_04_08.h:838
uint8_t w7_hi
Definition: gsm_04_08.h:105
uint8_t f0
Definition: gsm_04_08.h:92
uint8_t ho_ref
Definition: gsm_04_08.h:595
Definition: gsm_04_08.h:1428
Definition: gsm_04_08.h:1488
uint8_t cell_bar
Definition: gsm_04_08.h:92
uint8_t dtx_used
Definition: gsm_04_08.h:92
Definition: gsm_04_08.h:1400
uint8_t w26_hi
Definition: gsm_04_08.h:349
uint8_t w22
Definition: gsm_04_08.h:121
uint8_t w16_hi
Definition: gsm_04_08.h:119
uint8_t w3_hi
Definition: gsm_04_08.h:322
uint8_t bcch_f_nc1
Definition: gsm_04_08.h:104
uint8_t w3
Definition: gsm_04_08.h:99
Definition: gsm_04_08.h:1395
uint8_t neci
Definition: gsm_04_08.h:559
uint8_t w20_lo
Definition: gsm_04_08.h:126
uint8_t wait_ind1
Definition: gsm_04_08.h:896
Definition: gsm_04_08.h:1547
Definition: gsm_04_08.h:1746
Definition: gsm_04_08.h:1551
uint8_t si
Definition: gsm_04_08.h:502
uint8_t bcch_f_nc3
Definition: gsm_04_08.h:113
static uint8_t gsm48_hdr_msg_type_r99(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1052
uint8_t w19
Definition: gsm_04_08.h:123
uint8_t m7_40
Definition: gsm_04_08.h:97
Definition: gsm_04_08.h:1426
gsm48_reject_value
Definition: gsm_04_08.h:1499
uint8_t sm_cap
Definition: gsm_04_08.h:97
Definition: gsm_04_08.h:1526
Definition: gsm_04_08.h:1453
uint8_t radio_link_timeout
Definition: gsm_04_08.h:696
uint8_t nscb
Definition: gsm_04_08.h:92
uint8_t w12
Definition: gsm_04_08.h:253
Definition: gsm_04_08.h:704
Definition: gsm_04_08.h:1459
Definition: gsm_04_08.h:1479
Definition: gsm_04_08.h:1668
Definition: gsm_04_08.h:1441
Definition: gsm_04_08.h:1413
Definition: gsm_04_08.h:1549
uint8_t ms_txpwr_max_ccch
Definition: gsm_04_08.h:667
uint8_t t3212
Definition: gsm_04_08.h:684
uint8_t w3_hi
Definition: gsm_04_08.h:162
gsm48_bcap_tmod
Definition: gsm_04_08.h:1617
uint8_t w23
Definition: gsm_04_08.h:346
Definition: gsm_04_08.h:360
uint8_t w1_lo
Definition: gsm_04_08.h:87
Definition: gsm_04_08.h:1455
uint8_t m5_15
Definition: gsm_04_08.h:97
Definition: gsm_04_08.h:1501
uint8_t ext_bcch_frequency_list[16]
Definition: gsm_04_08.h:558
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 w15_hi
Definition: gsm_04_08.h:119
uint8_t w18_lo
Definition: gsm_04_08.h:123
static bool gsm48_acc_is_barred(struct gsm48_rach_control *rach_control, unsigned int acc)
Definition: gsm_04_08.h:501
gsm48_bcap_modem_type
Definition: gsm_04_08.h:1687
uint8_t proto_discr
Definition: gsm_04_08.h:652
Definition: gsm_04_08.h:1468
Definition: gsm_04_08.h:1439
uint8_t spare4
Definition: gsm_04_08.h:37
Definition: gsm_04_08.h:1448
uint8_t re
Definition: gsm_04_08.h:92
Definition: gsm_04_08.h:1509
uint8_t options[0]
Definition: gsm_04_08.h:560
uint8_t w11
Definition: gsm_04_08.h:333
uint8_t spare
Definition: gsm_04_08.h:923
Definition: gsm_04_08.h:1401
uint8_t mi_len
Definition: gsm_04_08.h:618
uint8_t rxlev_nc5_hi
Definition: gsm_04_08.h:420
uint8_t w1
Definition: gsm_04_08.h:320
uint8_t w1_hi
Definition: gsm_04_08.h:158
Definition: gsm_04_08.h:933
Definition: gsm_04_08.h:1482
uint8_t w6_hi
Definition: gsm_04_08.h:103
#define GSM48_PDISC_BCAST_CC
Definition: gsm_04_08.h:967
uint8_t pwr_lev
Definition: gsm_04_08.h:16
Definition: gsm_04_08.h:1639
gsm48_signal_val
Definition: gsm_04_08.h:1390
uint8_t mode
Definition: gsm_04_08.h:541
Definition: gsm_04_08.h:1688
Definition: gsm_04_08.h:1682
Definition: gsm_04_08.h:1648
uint8_t spare
Definition: gsm_04_08.h:25
Definition: gsm_04_08.h:1393
uint8_t w12_lo
Definition: gsm_04_08.h:115
uint8_t bs_ag_blks_res
Definition: gsm_04_08.h:557
uint8_t rxlev_full
Definition: gsm_04_08.h:392
uint8_t dtx
Definition: gsm_04_08.h:557
Definition: gsm_04_08.h:1554
uint8_t spare2
Definition: gsm_04_08.h:97
uint8_t w2_lo
Definition: gsm_04_08.h:97
uint8_t wait_ind3
Definition: gsm_04_08.h:900
uint8_t ver
Definition: gsm_04_08.h:435
uint8_t ra_id[6]
Definition: gsm_04_08.h:558
static void gsm48_allow_acc(struct gsm48_rach_control *rach_control, unsigned int acc)
Definition: gsm_04_08.h:486
Definition: gsm_04_08.h:690
uint8_t rev_lev
Definition: gsm_04_08.h:16
Definition: gsm_04_08.h:1610
uint8_t hsn
Definition: gsm_04_08.h:375
uint8_t page_mode
Definition: gsm_04_08.h:894
Definition: gsm_04_08.h:1659
uint8_t spare3
Definition: gsm_04_08.h:104
Definition: gsm_04_08.h:1418
Definition: gsm_04_08.h:1745
Definition: gsm_04_08.h:1743
gsm48_dtx_mode
Definition: gsm_04_08.h:687
Definition: gsm_04_08.h:1406
uint8_t t1
Definition: gsm_04_08.h:503
Definition: gsm_04_08.h:1645
uint8_t w18_hi
Definition: gsm_04_08.h:260
#define GSM48_PDISC_CC
Definition: gsm_04_08.h:969
uint8_t mob_alloc_len
Definition: gsm_04_08.h:571
const struct value_string gsm48_mm_msgtype_names[]
TS 04.08 MM Message Type names.
Definition: gsm48.c:876
Definition: gsm_04_08.h:458
uint8_t timing_advance1
Definition: gsm_04_08.h:881
Definition: gsm_04_08.h:1493
uint8_t w5_hi
Definition: gsm_04_08.h:241
uint8_t w6_lo
Definition: gsm_04_08.h:105
uint8_t cell_channel_description[16]
Definition: gsm_04_08.h:558
Definition: gsm_04_08.h:568
Definition: gsm_04_08.h:24
uint8_t rr_cause
Definition: gsm_04_08.h:854
gsm48_cc_cause
Definition: gsm_04_08.h:1446
Definition: gsm_04_08.h:1442
uint8_t w20
Definition: gsm_04_08.h:117
Definition: gsm_04_08.h:1487
#define GSM48_PDISC_NC_SS
Definition: gsm_04_08.h:977
Definition: gsm_04_08.h:1466
uint8_t cell_resel_hyst
Definition: gsm_04_08.h:557
uint8_t cipher_key_seq
Definition: gsm_04_08.h:557
Definition: gsm_04_08.h:1438
Definition: gsm_04_08.h:1474
uint8_t key_seq
Definition: gsm_04_08.h:557
uint8_t w5
Definition: gsm_04_08.h:103
uint8_t rxlev_nc3_lo
Definition: gsm_04_08.h:413
Definition: gsm_04_08.h:1631
uint8_t w4_hi
Definition: gsm_04_08.h:324
uint8_t w26_hi
Definition: gsm_04_08.h:124
uint8_t w15
Definition: gsm_04_08.h:119
struct gsm48_req_ref req_ref3
Definition: gsm_04_08.h:565
const struct value_string gsm48_cc_msgtype_names[]
TS 04.08 CC Message Type names.
Definition: gsm48.c:906
static const char * gsm48_pdisc_name(uint8_t val)
Definition: gsm_04_08.h:984
Definition: gsm_04_08.h:231
uint8_t proto_discr
Definition: gsm_04_08.h:892
Definition: gsm_04_08.h:1517
uint8_t w13_hi
Definition: gsm_04_08.h:178
Definition: gsm_04_08.h:1718
uint8_t w21_hi
Definition: gsm_04_08.h:117
uint8_t rxqual_sub
Definition: gsm_04_08.h:98
uint8_t bcch_f_nc5_lo
Definition: gsm_04_08.h:124
Definition: gsm_04_08.h:1669
uint8_t w9_lo
Definition: gsm_04_08.h:250
static uint8_t gsm48_hdr_trans_id_no_ti(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1027
uint8_t proto_discr
Definition: gsm_04_08.h:876
Definition: gsm_04_08.h:1613
Definition: gsm_04_08.h:1657
Definition: gsm_04_08.h:1731
struct gsm48_req_ref req_ref
Definition: gsm_04_08.h:562
uint8_t page_mode
Definition: gsm_04_08.h:605
gsm48_bcap_coding
Definition: gsm_04_08.h:1623
uint8_t rest[0]
Definition: gsm_04_08.h:569
struct gsm48_chan_desc chan_desc2
Definition: gsm_04_08.h:564
uint8_t w15
Definition: gsm_04_08.h:337
uint8_t bcch_f_nc6_lo
Definition: gsm_04_08.h:129
uint8_t d
Definition: gsm_04_08.h:557
Definition: gsm_04_08.h:1695
uint8_t w1_lo
Definition: gsm_04_08.h:95
static uint8_t gsm48_hdr_trans_id(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1001
uint8_t vgcs
Definition: gsm_04_08.h:30
Definition: gsm_04_08.h:666
Definition: gsm_04_08.h:907
uint8_t m6_70
Definition: gsm_04_08.h:97
const struct value_string gsm48_rr_msgtype_names[]
TS 04.08 RR Message Type names.
Definition: gsm48.c:783
uint8_t l2_plen
Definition: gsm_04_08.h:908
Definition: gsm_04_08.h:1392
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:317
Definition: gsm_04_08.h:848
Definition: gsm_04_08.h:551
uint8_t bs_pa_mfrms
Definition: gsm_04_08.h:561
Definition: gsm_04_08.h:1467
gsm48_bcap_ra
Definition: gsm_04_08.h:1635
uint8_t w12_hi
Definition: gsm_04_08.h:113
uint8_t w9_lo
Definition: gsm_04_08.h:174
uint8_t bsic_nc3_lo
Definition: gsm_04_08.h:116
Definition: gsm_04_08.h:853
#define GSM48_PDISC_MM
Definition: gsm_04_08.h:972
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:92
GSM HR V4 (OHR AMR-WB)
Definition: gsm_04_08.h:1708
struct gsm48_cell_desc cell_desc
Definition: gsm_04_08.h:557
uint8_t w13
Definition: gsm_04_08.h:335
uint8_t arfcn_high
Definition: gsm_04_08.h:372
uint8_t spare_2
Definition: gsm_04_08.h:680
Definition: gsm_04_08.h:1690
Definition: gsm_04_08.h:1416
Definition: gsm_04_08.h:1510
struct gsm48_req_ref req_ref4
Definition: gsm_04_08.h:567
Definition: gsm_04_08.h:1505
Definition: gsm_04_08.h:1437
uint8_t cneed2
Definition: gsm_04_08.h:560
Definition: gsm_04_08.h:1436
uint8_t smod
Definition: gsm_04_08.h:92
uint32_t tlli
Definition: gsm_04_08.h:577
uint8_t t3_high
Definition: gsm_04_08.h:520
uint8_t rr_cause
Definition: gsm_04_08.h:849
uint8_t mi_len
Definition: gsm_04_08.h:709
Definition: gsm_04_08.h:1420
static uint8_t gsm48_hdr_trans_id_flip_ti(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1022
uint8_t icmi
Definition: gsm_04_08.h:92
Definition: gsm_04_08.h:1553
uint8_t w13_lo
Definition: gsm_04_08.h:117
Definition: gsm_04_08.h:1667
uint8_t w2_hi
Definition: gsm_04_08.h:96
Definition: gsm_04_08.h:1415
uint32_t tmsi1
Definition: gsm_04_08.h:941
uint8_t w27
Definition: gsm_04_08.h:127
struct gsm48_control_channel_descr control_channel_desc
Definition: gsm_04_08.h:560
GSM HR V6 (OHR AMR)
Definition: gsm_04_08.h:1710
uint8_t spare
Definition: gsm_04_08.h:937
Definition: gsm_04_08.h:601
Definition: gsm_04_08.h:1492
uint8_t spare
Definition: gsm_04_08.h:16
Definition: gsm_04_08.h:1552
Definition: gsm_04_08.h:1694
GSM FR V5 (FR AMR-WB)
Definition: gsm_04_08.h:1709
struct gsm48_cell_options cell_options
Definition: gsm_04_08.h:561
Definition: gsm_04_08.h:1660
Definition: gsm_04_08.h:1407
Definition: gsm_04_08.h:1427
uint8_t rxlev_nc1
Definition: gsm_04_08.h:402
uint8_t rot
Definition: gsm_04_08.h:502
Definition: gsm_04_08.h:510
Definition: gsm_04_08.h:1683
uint8_t t2
Definition: gsm_04_08.h:463
Definition: gsm_04_08.h:391
Definition: gsm_04_08.h:1638
Definition: gsm_04_08.h:1550
uint8_t w5_lo
Definition: gsm_04_08.h:103
Definition: gsm_04_08.h:1530
uint8_t w1
Definition: gsm_04_08.h:95
uint32_t tmsi3
Definition: gsm_04_08.h:943
Definition: gsm_04_08.h:641
Definition: gsm_04_08.h:1542
uint8_t rxlev_nc4_lo
Definition: gsm_04_08.h:418
uint8_t power_command
Definition: gsm_04_08.h:596
uint8_t t3_high
Definition: gsm_04_08.h:512
uint8_t pag_mode
Definition: gsm_04_08.h:560
uint8_t bcc
Definition: gsm_04_08.h:557
uint8_t bcch_f_nc2
Definition: gsm_04_08.h:108
uint8_t w20_hi
Definition: gsm_04_08.h:123
Definition: gsm_04_08.h:1382
Definition: gsm_04_08.h:1381
struct gsm48_rach_control rach_control
Definition: gsm_04_08.h:559
Definition: gsm_04_08.h:1465
Definition: gsm_04_08.h:1624
uint8_t m4_75
Definition: gsm_04_08.h:97
Definition: gsm_04_08.h:1463
Definition: gsm_04_08.h:1520
Definition: gsm_04_08.h:1481
uint8_t spare
Definition: gsm_04_08.h:911
Definition: gsm_04_08.h:154
uint8_t h
Definition: gsm_04_08.h:372
uint8_t w14
Definition: gsm_04_08.h:117
Definition: gsm_04_08.h:1491
uint8_t ss_scr
Definition: gsm_04_08.h:97
Definition: gsm_04_08.h:1507
uint8_t mi_len
Definition: gsm_04_08.h:646
uint8_t rxlev_nc4_hi
Definition: gsm_04_08.h:416
uint8_t bcch_f_nc4
Definition: gsm_04_08.h:118
uint8_t cm_service_type
Definition: gsm_04_08.h:705
Definition: gsm_04_08.h:623
Definition: gsm_04_08.h:1658
uint8_t a5_1
Definition: gsm_04_08.h:16
uint8_t w18_hi
Definition: gsm_04_08.h:339
uint8_t spare
Definition: gsm_04_08.h:381
Definition: gsm_04_08.h:15
Definition: gsm_04_08.h:1421
uint8_t digits[3]
Definition: gsm_04_08.h:557
uint8_t rand[16]
Definition: gsm_04_08.h:559
uint8_t m5_90
Definition: gsm_04_08.h:97
uint8_t sc
Definition: gsm_04_08.h:557
Definition: gsm_04_08.h:1681
Definition: gsm_04_08.h:1522
uint8_t timing_advance2
Definition: gsm_04_08.h:884
uint8_t cbq3
Definition: gsm_04_08.h:561
uint8_t bcch_frequency_list[16]
Definition: gsm_04_08.h:558
uint8_t msg_type
Definition: gsm_04_08.h:653
Definition: gsm_04_08.h:1464
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:234
Definition: gsm_04_08.h:1433
uint8_t w23
Definition: gsm_04_08.h:121
Definition: gsm_04_08.h:1502
uint8_t w21
Definition: gsm_04_08.h:126
Definition: gsm_04_08.h:1733
uint8_t proto_discr
Definition: gsm_04_08.h:935
Definition: gsm_04_08.h:1514
uint8_t w6_hi
Definition: gsm_04_08.h:243
Definition: gsm_04_08.h:1693
uint8_t msg_type
Definition: gsm_04_08.h:910
chreq_type
Definition: gsm_04_08.h:1537
gsm48_bcap_itcap
Definition: gsm_04_08.h:1607
uint8_t w9_lo
Definition: gsm_04_08.h:111
uint8_t w8_hi
Definition: gsm_04_08.h:107
uint8_t arfcn_hi
Definition: gsm_04_08.h:557
const struct value_string gsm48_reject_value_names[]
Definition: gsm48.c:994
uint8_t cm3
Definition: gsm_04_08.h:104
uint8_t spare
Definition: gsm_04_08.h:860
uint8_t spare
Definition: gsm_04_08.h:395
uint8_t w7
Definition: gsm_04_08.h:105
uint32_t tmsi1
Definition: gsm_04_08.h:927
uint32_t classmark2
Definition: gsm_04_08.h:617
uint8_t w3_hi
Definition: gsm_04_08.h:89
Definition: gsm_04_08.h:1529
Definition: gsm_04_08.h:1747
uint8_t w20_hi
Definition: gsm_04_08.h:263
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:502
uint8_t msg_type
Definition: gsm_04_08.h:922
uint8_t pdisc
Definition: gsm_44_318.h:799
Definition: gsm_04_08.h:1506
uint8_t w26_lo
Definition: gsm_04_08.h:127
uint8_t wait_ind2
Definition: gsm_04_08.h:898
uint8_t page_mode
Definition: gsm_04_08.h:878
struct gsm48_classmark2 cm2
Definition: gsm_04_08.h:558
#define GSM48_PDISC_LOC
Definition: gsm_04_08.h:978
uint8_t spare
Definition: gsm_04_08.h:630
Definition: gsm_04_08.h:919
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
#define GSM48_PDISC_MASK
Definition: gsm_04_08.h:981
uint8_t rxlev_nc6_lo
Definition: gsm_04_08.h:427
uint8_t bsic_nc5
Definition: gsm_04_08.h:124
uint8_t cause
Definition: gsm_04_08.h:579
GSM FR V4 (OFR AMR-WB)
Definition: gsm_04_08.h:1707
static const char * gsm48_reject_value_name(enum gsm48_reject_value val)
Definition: gsm_04_08.h:1534
uint8_t w28
Definition: gsm_04_08.h:127
uint8_t bsic_nc1_lo
Definition: gsm_04_08.h:106
Definition: gsm_04_08.h:1391
Definition: gsm_04_08.h:1656
Definition: gsm_04_08.h:688
uint8_t data[0]
Definition: gsm_04_08.h:560
uint8_t w7_lo
Definition: gsm_04_08.h:107
Definition: gsm_04_08.h:1618
uint8_t mob_alloc[0]
Definition: gsm_04_08.h:560
uint8_t rr_protocol_discriminator
Definition: gsm_04_08.h:558
uint8_t spare2
Definition: gsm_04_08.h:398
uint8_t w5_hi
Definition: gsm_04_08.h:101
Definition: gsm_04_08.h:1394
Definition: gsm_04_08.h:1477
uint8_t spare2
Definition: gsm_04_08.h:945
uint8_t w3_hi
Definition: gsm_04_08.h:97
Definition: gsm_04_08.h:1636
gsm48_bcap_interm_rate
Definition: gsm_04_08.h:1673
uint8_t w14
Definition: gsm_04_08.h:180
Definition: gsm_04_08.h:842
uint8_t acs
Definition: gsm_04_08.h:559
Definition: gsm_04_08.h:1452
Definition: gsm_04_08.h:1380
Definition: gsm_04_08.h:1637
uint8_t mi[0]
Definition: gsm_04_08.h:561
uint8_t w3_lo
Definition: gsm_04_08.h:99
Definition: gsm_04_08.h:451
uint8_t l2_plen
Definition: gsm_04_08.h:602
uint8_t timing_advance
Definition: gsm_04_08.h:608
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:361
uint8_t rest_octets[0]
Definition: gsm_04_08.h:560
Definition: gsm_04_08.h:1556
Definition: gsm_04_08.h:837
uint8_t w14_hi
Definition: gsm_04_08.h:255
uint8_t rxlev_acc_min
Definition: gsm_04_08.h:669
Definition: gsm_04_08.h:83
Definition: gsm_04_08.h:1544
Definition: gsm_04_08.h:549
Definition: gsm_04_08.h:1689
Definition: gsm_04_08.h:1508
uint8_t w13
Definition: gsm_04_08.h:115
uint8_t cneed1
Definition: gsm_04_08.h:560
struct gsm48_system_information_type_header header
Definition: gsm_04_08.h:557
Definition: gsm_04_08.h:1525
Definition: gsm_04_08.h:1462
Definition: gsm_04_08.h:548
gsm48_bcap_transp
Definition: gsm_04_08.h:1679
GSM HR V1 (GSM HR)
Definition: gsm_04_08.h:1703
uint8_t rac
Definition: gsm_04_08.h:1721
uint8_t msg_type
Definition: gsm_04_08.h:893
Definition: gsm_04_08.h:1538
uint32_t tmsi2
Definition: gsm_04_08.h:942
const struct value_string gsm48_chan_mode_names[]
Definition: gsm48.c:397
uint8_t bsic_nc4
Definition: gsm_04_08.h:120
Definition: gsm_04_08.h:1434
uint8_t m12_2
Definition: gsm_04_08.h:97
Definition: gsm_04_08.h:825
uint8_t l2_plen
Definition: gsm_04_08.h:875
uint8_t w4_hi
Definition: gsm_04_08.h:99
uint8_t bsic_nc2_hi
Definition: gsm_04_08.h:108
uint8_t rxqual_full
Definition: gsm_04_08.h:98
uint8_t w11
Definition: gsm_04_08.h:113
uint8_t msg_type
Definition: gsm_04_08.h:877
uint32_t classmark
Definition: gsm_04_08.h:708
Definition: gsm_04_08.h:629
enum gsm48_chan_mode __attribute__
uint8_t mi_len
Definition: gsm_04_08.h:820
uint8_t rr_cause
Definition: gsm_04_08.h:833
Definition: gsm_04_08.h:1484
struct gsm48_req_ref req_ref2
Definition: gsm_04_08.h:565
Definition: gsm_04_08.h:1450
Definition: gsm_04_08.h:1449
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:157
uint8_t w21
Definition: gsm_04_08.h:266
Definition: gsm_04_08.h:1398
Definition: gsm_04_08.h:1478
uint8_t att
Definition: gsm_04_08.h:557
uint8_t no_nc_n_lo
Definition: gsm_04_08.h:102
Definition: gsm_04_08.h:1612
Definition: gsm_04_08.h:675
gsm48_progress_desc
Definition: gsm_04_08.h:1379
uint8_t atc
Definition: gsm_04_08.h:92
uint8_t tsc
Definition: gsm_04_08.h:372
#define GSM48_PDISC_EXTEND
Definition: gsm_04_08.h:979
Definition: gsm_04_08.h:636
uint8_t w24
Definition: gsm_04_08.h:124
Definition: gsm_04_08.h:1486
Definition: gsm_04_08.h:1515
Definition: gsm_04_08.h:1417
uint8_t msg_type
Definition: gsm_04_08.h:604
Definition: gsm_04_08.h:1447
uint8_t no_nc_n_hi
Definition: gsm_04_08.h:98
Definition: gsm_04_08.h:1545
Definition: gsm_04_08.h:1742
uint16_t lac
Definition: gsm_04_08.h:1720
Definition: gsm_04_08.h:1646
Definition: gsm_04_08.h:316
Definition: gsm_04_08.h:1548
uint8_t bsic_nc2_lo
Definition: gsm_04_08.h:111
Definition: gsm_04_08.h:1619
uint8_t spare
Definition: gsm_04_08.h:953
Definition: gsm_04_08.h:527
uint8_t rr_cause
Definition: gsm_04_08.h:843
Definition: gsm_04_08.h:614
uint8_t proto_discr
Definition: gsm_04_08.h:909
uint8_t meas_valid
Definition: gsm_04_08.h:95
uint8_t ba_used
Definition: gsm_04_08.h:92
uint8_t rrfcn8_111[13]
Definition: gsm_04_08.h:97
uint8_t mob_alloc_len
Definition: gsm_04_08.h:609
Definition: gsm_04_08.h:1430
Definition: gsm_04_08.h:1655
uint32_t tmsi4
Definition: gsm_04_08.h:944
uint8_t sres[4]
Definition: gsm_04_08.h:557
uint8_t proto_discr
Definition: gsm_04_08.h:921
uint8_t bsic_nc1_hi
Definition: gsm_04_08.h:404
Definition: gsm_04_08.h:1470
gsm48_cause_loc
Definition: gsm_04_08.h:1412
Definition: gsm_04_08.h:1609
Definition: gsm_04_08.h:1440
Definition: gsm_04_08.h:1518
uint8_t cm2_len
Definition: gsm_04_08.h:955
Definition: gsm_04_08.h:539
uint8_t w11_hi
Definition: gsm_04_08.h:111
Definition: gsm_04_08.h:1489
Definition: gsm_04_08.h:1458
Definition: gsm_04_08.h:689
Definition: gsm_04_08.h:1680
uint8_t cneed3
Definition: gsm_04_08.h:568
static const char * gsm48_chan_mode_name(enum gsm48_chan_mode val)
Definition: gsm_04_08.h:556
struct gsm48_classmark1 classmark1
Definition: gsm_04_08.h:560
uint8_t spare
Definition: gsm_04_08.h:615
Definition: gsm_04_08.h:1665
Definition: gsm_04_08.h:1744
uint32_t tmsi2
Definition: gsm_04_08.h:928
uint8_t solsa
Definition: gsm_04_08.h:104
Definition: gsm_04_08.h:952
uint8_t w21_hi
Definition: gsm_04_08.h:342
Definition: gsm_04_08.h:1649
Definition: gsm_04_08.h:434
gsm48_type_of_number
Definition: gsm_04_08.h:1730
uint8_t cm2_len
Definition: gsm_04_08.h:868
uint8_t m10_2
Definition: gsm_04_08.h:97
Definition: gsm_04_08.h:1513
uint8_t type
Definition: gsm_04_08.h:642
const struct value_string gsm48_pdisc_names[]
TS 04.08 Protocol Descriptor names.
Definition: gsm48.c:764
uint8_t rxlev_nc3_hi
Definition: gsm_04_08.h:411
uint8_t w2
Definition: gsm_04_08.h:97
uint8_t tx_integer
Definition: gsm_04_08.h:459
uint8_t w7
Definition: gsm_04_08.h:329
gsm48_cause_coding
Definition: gsm_04_08.h:1405
uint8_t msg_type
Definition: gsm_04_08.h:936
uint8_t bcch_f_nc5_hi
Definition: gsm_04_08.h:122
GSM FR V3 (FR AMR)
Definition: gsm_04_08.h:1705
uint8_t pwrc
Definition: gsm_04_08.h:557
Definition: gsm_04_08.h:818
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:1701
uint8_t chan_nr
Definition: gsm_04_08.h:371
uint8_t w16_lo
Definition: gsm_04_08.h:121
uint8_t rxlev_nc6_hi
Definition: gsm_04_08.h:424
Definition: gsm_04_08.h:1647
Definition: gsm_04_08.h:1696
struct gsm48_loc_area_id lai
Definition: gsm_04_08.h:559
uint8_t w16_hi
Definition: gsm_04_08.h:182
GSM FR V2 (GSM EFR)
Definition: gsm_04_08.h:1704
uint8_t t2
Definition: gsm_04_08.h:96
Definition: gsm_04_08.h:1414
Definition: gsm_04_08.h:1546
Definition: gsm_04_08.h:1527
Definition: gsm_04_08.h:1495
Definition: gsm_04_08.h:1456
uint8_t w12
Definition: gsm_04_08.h:113
#define GSM48_PDISC_GROUP_CC
Definition: gsm_04_08.h:966
uint8_t cr
Definition: gsm_04_08.h:557
uint8_t power_command
Definition: gsm_04_08.h:559
struct gsm48_chan_desc chan_desc1
Definition: gsm_04_08.h:561
GSM HR V3 (HR_AMR)
Definition: gsm_04_08.h:1706
struct gsm48_req_ref req_ref1
Definition: gsm_04_08.h:562
uint8_t w18_hi
Definition: gsm_04_08.h:120
uint8_t spare_1
Definition: gsm_04_08.h:561
uint8_t alg_id
Definition: gsm_04_08.h:557
Definition: gsm_04_08.h:1540
uint8_t t3
Definition: gsm_04_08.h:464
Definition: gsm_04_08.h:1608
struct gsm48_cell_sel_par cell_sel_par
Definition: gsm_04_08.h:562
uint8_t w7_hi
Definition: gsm_04_08.h:168
uint8_t w17
Definition: gsm_04_08.h:121
uint8_t arfcn_lo
Definition: gsm_04_08.h:588
Definition: gsm_04_08.h:874
Definition: gsm_04_08.h:1429
uint8_t es_ind
Definition: gsm_04_08.h:16
Definition: gsm_04_08.h:1654
Definition: gsm_04_08.h:695
Definition: gsm_04_08.h:1543
Definition: gsm_04_08.h:1385
Definition: gsm_04_08.h:1432
uint8_t ncc
Definition: gsm_04_08.h:585
Definition: gsm_04_08.h:1485
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:1017
Definition: gsm_04_08.h:1472
Definition: gsm_04_08.h:1383
Definition: gsm_04_08.h:1503
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:319
Definition: gsm_04_08.h:547
uint8_t l2_plen
Definition: gsm_04_08.h:891
Definition: gsm_04_08.h:584
uint8_t rxlev_sub
Definition: gsm_04_08.h:95
uint8_t lcsva_cap
Definition: gsm_04_08.h:104
Definition: gsm_04_08.h:1630
uint8_t mscr
Definition: gsm_04_08.h:676
uint8_t l2_plen
Definition: gsm_04_08.h:934
uint8_t w16_hi
Definition: gsm_04_08.h:257
Definition: gsm_04_08.h:1675
uint8_t w14_lo
Definition: gsm_04_08.h:119
Definition: gsm_04_08.h:1511
Definition: gsm_04_08.h:370
Definition: gsm_04_08.h:1408
Definition: gsm_04_08.h:1521
uint8_t w14_hi
Definition: gsm_04_08.h:117
uint8_t w2_hi
Definition: gsm_04_08.h:88
static void gsm48_barr_acc(struct gsm48_rach_control *rach_control, unsigned int acc)
Definition: gsm_04_08.h:472
Definition: gsm_04_08.h:1691
uint8_t spare
Definition: gsm_04_08.h:452
Definition: gsm_04_08.h:1555
uint8_t vbs
Definition: gsm_04_08.h:97
uint8_t proto_discr
Definition: gsm_04_08.h:603
uint8_t w4_hi
Definition: gsm_04_08.h:239
uint8_t ra
Definition: gsm_04_08.h:511
uint8_t w16
Definition: gsm_04_08.h:121
uint8_t w4_lo
Definition: gsm_04_08.h:101
uint8_t w9_hi
Definition: gsm_04_08.h:248
Definition: gsm_04_08.h:1512
Definition: gsm_04_08.h:1611
static uint8_t gsm48_hdr_pdisc(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:989
uint8_t w5
Definition: gsm_04_08.h:166
Definition: gsm_04_08.h:1644
uint8_t arfcn_low
Definition: gsm_04_08.h:385
uint8_t w15_lo
Definition: gsm_04_08.h:121
Definition: gsm_04_08.h:1692
uint8_t bcch_f_nc6_hi
Definition: gsm_04_08.h:127
Definition: gsm_04_08.h:867
Definition: gsm_04_08.h:1494
static uint8_t gsm48_hdr_msg_type_r98(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1032
Definition: gsm_04_08.h:1741
Definition: gsm_04_08.h:890
uint8_t rr_cause
Definition: gsm_04_08.h:962
GSM FR V1 (GSM FR)
Definition: gsm_04_08.h:1702
uint8_t power_level
Definition: gsm_04_08.h:92
uint8_t w4_hi
Definition: gsm_04_08.h:164
Definition: gsm_04_08.h:1629
uint8_t w8_hi
Definition: gsm_04_08.h:170
uint8_t ps_cap
Definition: gsm_04_08.h:97
Definition: gsm_04_08.h:1461