aes.h
Go to the documentation of this file.
/*
* Copyright (c) 2003-2006, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Alternatively, this software may be distributed under the terms of BSD
* license.
*
* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
*
* See README and COPYING for more details.
*/
#pragma once
#define AES_BLOCK_SIZE 16
void * aes_encrypt_init(const u8 *key, size_t len);
void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
void aes_encrypt_deinit(void *ctx);
void * aes_decrypt_init(const u8 *key, size_t len);
void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
void aes_decrypt_deinit(void *ctx);
l2downstatelist
static const struct l2downstate l2downstatelist[]
gsm0808_cell_id_u::lac_and_ci
struct osmo_lac_and_ci_id lac_and_ci
Definition: gsm0808_utils.h:41
GSM48_REJECT_INVALID_MANDANTORY_INF
@ GSM48_REJECT_INVALID_MANDANTORY_INF
Definition: gsm_04_08.h:1786
GSM48_IE_CHANMODE_7
#define GSM48_IE_CHANMODE_7
Definition: gsm_04_08.h:1600
GSM_CAUSE_NET_FAIL
@ GSM_CAUSE_NET_FAIL
Definition: gsm_04_08_gprs.h:249
tch_ahs_5_9_state
static const uint8_t tch_ahs_5_9_state[][2]
Definition: gsm0503_conv.c:957
GSM411_RP_CAUSE_MO_SMS_REJECTED
@ GSM411_RP_CAUSE_MO_SMS_REJECTED
Definition: gsm_04_11.h:71
NM_MT_CHG_HW_CONF
@ NM_MT_CHG_HW_CONF
Definition: gsm_12_21.h:178
GSM48_MT_CC_CALL_PROC
#define GSM48_MT_CC_CALL_PROC
Definition: gsm_04_08.h:1470
cc_msg_names
static const struct value_string cc_msg_names[]
Definition: gsm48.c:243
PRIM_DL_REL
@ PRIM_DL_REL
DL-RLEEASE.
Definition: lapd_core.h:22
gsm48_range_256::w3
uint8_t w3
Definition: gsm_04_08.h:272
GSM0808_LCLS_CSC_BICAST_UL_AND_RECV_DL_AT_HANDOVER
@ GSM0808_LCLS_CSC_BICAST_UL_AND_RECV_DL_AT_HANDOVER
Definition: gsm_08_08.h:561
gprs_ra_id::rac
uint8_t rac
Definition: gsm48.h:25
GSM0808_CAUSE_CALL_CONTROL
@ GSM0808_CAUSE_CALL_CONTROL
Definition: gsm_08_08.h:331
NM_ATT_OPER_STATE
@ NM_ATT_OPER_STATE
Definition: gsm_12_21.h:355
NM_NACK_NOTH_REPORT_EXIST
@ NM_NACK_NOTH_REPORT_EXIST
Definition: gsm_12_21.h:632
GSM48_MT_MM_AUTH_REJ
#define GSM48_MT_MM_AUTH_REJ
Definition: gsm_04_08.h:1446
GSM48_IE_MA_AFTER
#define GSM48_IE_MA_AFTER
Definition: gsm_04_08.h:1622
ver
uint8_t ver
Definition: gsm_04_08.h:17
CELL_IDENT_UTRAN_RNC
@ CELL_IDENT_UTRAN_RNC
Definition: gsm_08_08.h:25
gsm0808_create_layer3
struct msgb * gsm0808_create_layer3(struct msgb *msg_l3, uint16_t nc, uint16_t cc, int lac, uint16_t _ci) OSMO_DEPRECATED("Use gsm0808_create_layer3_2() instead
Create "Complete L3 Info" for A, legacy implementation.
Definition: gsm0808.c:120
tch_ahs_6_7_term_state
static const uint8_t tch_ahs_6_7_term_state[]
Definition: gsm0503_conv.c:926
gsm411_cp_state_names
const struct value_string gsm411_cp_state_names[]
Definition: gsm0411_smc.c:581
NM_MT_CHG_ADM_STATE_ACK
@ NM_MT_CHG_ADM_STATE_ACK
Definition: gsm_12_21.h:157
GSM48_MT_CC_CONNECT_ACK
#define GSM48_MT_CC_CONNECT_ACK
Definition: gsm_04_08.h:1472
gsm411_smr_send
int gsm411_smr_send(struct gsm411_smr_inst *inst, int msg_type, struct msgb *msg)
Definition: gsm0411_smr.c:399
gsm48_range_1024::w1_hi
uint8_t w1_hi
Definition: gsm_04_08.h:119
NM_ATT_MAIO
@ NM_ATT_MAIO
Definition: gsm_12_21.h:346
GSM48_MT_RR_DTM_REQUEST
#define GSM48_MT_RR_DTM_REQUEST
Definition: gsm_04_08.h:1356
gsm48_range_256::w1_hi
uint8_t w1_hi
Definition: gsm_04_08.h:269
ussd_request::transaction_id
uint8_t transaction_id
Definition: gsm0480.h:45
GSM411_RPS_IDLE
@ GSM411_RPS_IDLE
Definition: gsm_04_11.h:19
encode_auth_info
static void encode_auth_info(struct msgb *msg, enum osmo_gsup_iei iei, const struct osmo_auth_vector *auth_vector)
Definition: gsup.c:486
GSM411_RP_CAUSE_MT_MEM_EXCEEDED
@ GSM411_RP_CAUSE_MT_MEM_EXCEEDED
Definition: gsm_04_11.h:84
parse_ss
static int parse_ss(const struct gsm48_hdr *hdr, uint16_t len, struct ss_request *req)
Definition: gsm0480.c:396
GSM48_MT_RR_SYSINFO_2bis
#define GSM48_MT_RR_SYSINFO_2bis
Definition: gsm_04_08.h:1405
_a5_12_clock
static uint32_t _a5_12_clock(uint32_t r, uint32_t mask, uint32_t taps)
Compute the next LFSR state.
Definition: a5.c:153
PRIM_DL_EST
@ PRIM_DL_EST
DL-ESTABLISH.
Definition: lapd_core.h:21
ss_request::ussd_data_len
uint8_t ussd_data_len
Definition: gsm0480.h:88
NM_ATT_HW_CONFIG
@ NM_ATT_HW_CONFIG
Definition: gsm_12_21.h:341
GSM48_MT_CC_USER_INFO
#define GSM48_MT_CC_USER_INFO
Definition: gsm_04_08.h:1484
NM_ATT_IPACC_CODING_SCHEMES
@ NM_ATT_IPACC_CODING_SCHEMES
Definition: gsm_12_21.h:453
GSM0808_SCT_FR4
@ GSM0808_SCT_FR4
OFR AMR-WB.
Definition: gsm_08_08.h:442
GSM48_IE_GPRS_RESUMPT
#define GSM48_IE_GPRS_RESUMPT
Definition: gsm_04_08.h:1632
gsm0808_bssap_names
static const struct value_string gsm0808_bssap_names[]
Definition: gsm0808.c:1130
gsm48_range_128::orig_arfcn_hi
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:351
GSM48_MT_CC_RETR
#define GSM48_MT_CC_RETR
Definition: gsm_04_08.h:1488
OSMO_GSUP_ACCESS_POINT_NAME_IE
@ OSMO_GSUP_ACCESS_POINT_NAME_IE
Definition: gsup.h:72
GSM48_MT_GMM_ATTACH_ACK
#define GSM48_MT_GMM_ATTACH_ACK
Definition: gsm_04_08_gprs.h:13
GSM0480_OP_CODE_DEACTIVATE_SS
#define GSM0480_OP_CODE_DEACTIVATE_SS
Definition: gsm_04_80.h:73
GA_RC_SYNC_INFO
@ GA_RC_SYNC_INFO
Definition: gsm_44_318.h:62
LAPD_STATE_TIMER_RECOV
@ LAPD_STATE_TIMER_RECOV
Definition: lapd_core.h:81
lapdm_channel_set_mode
int lapdm_channel_set_mode(struct lapdm_channel *lc, enum lapdm_mode mode)
Set the lapdm_mode of a LAPDm channel.
Definition: lapdm.c:1327
h
uint8_t h
Definition: gsm_04_08.h:423
tch_afs_10_2_puncture
static const int tch_afs_10_2_puncture[]
Definition: gsm0503_conv.c:295
parse_cell_id_lai_and_lac
static int parse_cell_id_lai_and_lac(struct gsm0808_cell_id_list2 *cil, const uint8_t *data, size_t remain, size_t *consumed)
Definition: gsm0808_utils.c:766
gsm341_ms_message::total
uint8_t total
Definition: gsm_03_41.h:50
len
uint8_t len
Definition: gsm_04_11.h:2
avail_names
static const struct value_string avail_names[]
Definition: abis_nm.c:643
NM_MT_CONN_TERR_SIGN_ACK
@ NM_MT_CONN_TERR_SIGN_ACK
Definition: gsm_12_21.h:108
osmo_gsup_pdp_info::qos_enc_len
size_t qos_enc_len
length (in octets) of qos_enc
Definition: gsup.h:177
GSM411_CP_CAUSE_PROTOCOL_ERR
@ GSM411_CP_CAUSE_PROTOCOL_ERR
Definition: gsm_04_11.h:48
gsm48_range_128::w21_lo
uint8_t w21_lo
Definition: gsm_04_08.h:379
A52_R4_CLKBIT2
#define A52_R4_CLKBIT2
Definition: a5.c:277
os_memset
#define os_memset(x, y, z)
Definition: common.h:14
osmo_imsi_str_valid
bool osmo_imsi_str_valid(const char *imsi)
Determine whether the given IMSI is valid according to 3GPP TS 23.003.
Definition: gsm23003.c:59
lapd_rx_s
static int lapd_rx_s(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1248
gsm341_ms_message::group
uint8_t group
Definition: gsm_03_41.h:40
GSM48_MT_RR_HANDO_INFO
#define GSM48_MT_RR_HANDO_INFO
Definition: gsm_04_08.h:1373
GSM48_REJECT_IMSI_UNKNOWN_IN_HLR
@ GSM48_REJECT_IMSI_UNKNOWN_IN_HLR
Definition: gsm_04_08.h:1770
gsm_mncc_facility
Definition: mncc.h:62
BSS_MAP_MSG_VGCS_VBS_QUEUING_INDICATION
@ BSS_MAP_MSG_VGCS_VBS_QUEUING_INDICATION
Definition: gsm_08_08.h:142
GSM48_MT_CC_DISCONNECT
#define GSM48_MT_CC_DISCONNECT
Definition: gsm_04_08.h:1492
GSM48_MT_CC_CONG_CTRL
#define GSM48_MT_CC_CONG_CTRL
Definition: gsm_04_08.h:1496
lapd_cr_ent::resp
uint8_t resp
Definition: lapd_core.h:114
GMM_CAUSE_NO_PDP_ACTIVATED
@ GMM_CAUSE_NO_PDP_ACTIVATED
Definition: gsm_04_08_gprs.h:219
gsm0502.h
LAPDm_FMT_B4
@ LAPDm_FMT_B4
Definition: lapdm.c:114
GSM48_IE_MOBILE_ID
#define GSM48_IE_MOBILE_ID
Definition: gsm_04_08.h:1545
GSM0480_MTYPE_REGISTER
#define GSM0480_MTYPE_REGISTER
Definition: gsm_04_80.h:9
GSM0808_IE_KC_128
@ GSM0808_IE_KC_128
Definition: gsm_08_08.h:277
GSM411_CPS_IDLE
@ GSM411_CPS_IDLE
Definition: gsm_04_11.h:11
GSM48_MT_RR_HANDO_CMD
#define GSM48_MT_RR_HANDO_CMD
Definition: gsm_04_08.h:1369
_a5_2
void _a5_2(const uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul)
Generate a GSM A5/1 cipher stream.
Definition: a5.c:334
NM_ATT_MAX_TA
@ NM_ATT_MAX_TA
Definition: gsm_12_21.h:350
data
uint8_t data[0]
message payload data
Definition: gsm_03_41.h:34
BSS_MAP_MSG_HANDOVER_FAILURE
@ BSS_MAP_MSG_HANDOVER_FAILURE
Definition: gsm_08_08.h:64
OSMO_GSUP_AUTH_TUPLE_IE
@ OSMO_GSUP_AUTH_TUPLE_IE
Definition: gsup.h:63
MDL_CAUSE_UFRM_INC_PARAM
#define MDL_CAUSE_UFRM_INC_PARAM
Definition: lapd_core.h:37
GSM411_CP_CAUSE_CONGESTION
@ GSM411_CP_CAUSE_CONGESTION
Definition: gsm_04_11.h:41
smc_state_names
const char * smc_state_names[]
Definition: gsm0411_smc.c:115
osmo_gsup_message::cancel_type
enum osmo_gsup_cancel_type cancel_type
Definition: gsup.h:190
GSM48_MT_MM_LOC_UPD_ACCEPT
#define GSM48_MT_MM_LOC_UPD_ACCEPT
Definition: gsm_04_08.h:1442
osmo_auth_supported
int osmo_auth_supported(enum osmo_auth_algo algo)
Determine if a given authentication algorithm is supported.
Definition: auth_core.c:90
gsm0808_enc_aoip_trasp_addr
uint8_t gsm0808_enc_aoip_trasp_addr(struct msgb *msg, const struct sockaddr_storage *ss)
OSMO_GSUP_MSGT_PURGE_MS_RESULT
@ OSMO_GSUP_MSGT_PURGE_MS_RESULT
Definition: gsup.h:107
lapdm_entity::last_tx_dequeue
int last_tx_dequeue
last entity that was dequeued
Definition: lapdm.h:52
GSM0808_IE_GERAN_CLASSMARK
@ GSM0808_IE_GERAN_CLASSMARK
Definition: gsm_08_08.h:242
NM_IPACC_TESTNO_BCCCH_MONITOR
@ NM_IPACC_TESTNO_BCCCH_MONITOR
Definition: gsm_12_21.h:722
gsm411_smc_clear
void gsm411_smc_clear(struct gsm411_smc_inst *inst)
Definition: gsm0411_smc.c:99
gsm48_range_128::w7
uint8_t w7
Definition: gsm_04_08.h:363
GSM0808_IE_TRACE_REFERENCE
@ GSM0808_IE_TRACE_REFERENCE
Definition: gsm_08_08.h:199
NM_ATT_CCCH_L_T
@ NM_ATT_CCCH_L_T
Definition: gsm_12_21.h:331
tch_afs_6_7_puncture
static const int tch_afs_6_7_puncture[]
Definition: gsm0503_conv.c:485
comp128
void comp128(const uint8_t *ki, const uint8_t *rand, uint8_t *sres, uint8_t *kc)
Perform COMP128v1 algorithm.
Definition: comp128.c:246
GSM48_IE_BA_LIST_PREF
#define GSM48_IE_BA_LIST_PREF
Definition: gsm_04_08.h:1625
ABIS_OM_MDISC_TRAU
#define ABIS_OM_MDISC_TRAU
Message Discriminator for TRAU management.
Definition: gsm_12_21.h:53
NM_ATT_IPACC_NS_CFG
@ NM_ATT_IPACC_NS_CFG
Definition: gsm_12_21.h:445
abis_nm_fail_evt_vrep
struct msgb * abis_nm_fail_evt_vrep(enum abis_nm_event_type t, enum abis_nm_severity s, enum abis_nm_pcause_type ct, uint16_t cause_value, const char *fmt, va_list ap)
Pack 3GPP TS 12.21 § 8.8.2 Failure Event Report into msgb.
Definition: abis_nm.c:722
GSM_PCHAN_TCH_H
@ GSM_PCHAN_TCH_H
Definition: gsm_utils.h:206
gsm0808_channel_type::ch_indctr
uint8_t ch_indctr
Definition: gsm_08_08.h:516
GSM0808_SCT_FR5
@ GSM0808_SCT_FR5
FR AMR-WB.
Definition: gsm_08_08.h:443
GSM411_RP_CAUSE_MO_REQ_FAC_NOTSUBSCR
@ GSM411_RP_CAUSE_MO_REQ_FAC_NOTSUBSCR
Definition: gsm_04_11.h:80
NM_MT_CHG_ADM_STATE_REQ_ACK
@ NM_MT_CHG_ADM_STATE_REQ_ACK
Definition: gsm_12_21.h:160
GSM48_TMSI_LEN
#define GSM48_TMSI_LEN
Definition: gsm_04_08.h:1983
GSM48_MT_MM_AUTH_FAIL
#define GSM48_MT_MM_AUTH_FAIL
Definition: gsm_04_08.h:1449
GSM340_TP_VPF_ABSOLUTE
#define GSM340_TP_VPF_ABSOLUTE
Definition: gsm_04_11.h:136
gsm_rx_lev_qual::rx_qual
uint8_t rx_qual
Definition: meas_rep.h:11
abis_nm_severity_name
const char * abis_nm_severity_name(uint8_t cause)
Get human-readable string for perceived OML severity.
Definition: abis_nm.c:250
NM_ATT_START_TIME
@ NM_ATT_START_TIME
Definition: gsm_12_21.h:369
GSM0808_IE_DATA_IDENTITY
@ GSM0808_IE_DATA_IDENTITY
Definition: gsm_08_08.h:268
GSM0808_IE_SPEECH_VERSION
@ GSM0808_IE_SPEECH_VERSION
Definition: gsm_08_08.h:211
GSM48_MT_RR_APP_INFO
#define GSM48_MT_RR_APP_INFO
Definition: gsm_04_08.h:1438
GSM0808_CAUSE_RQSTED_TERRESTRIAL_RESOURCE_UNAVAILABLE
@ GSM0808_CAUSE_RQSTED_TERRESTRIAL_RESOURCE_UNAVAILABLE
Definition: gsm_08_08.h:348
gsm_mncc_number::plan
int plan
Definition: mncc.h:35
GSM48_MT_RR_SYSINFO_4
#define GSM48_MT_RR_SYSINFO_4
Definition: gsm_04_08.h:1400
RSL_IE_ACCESS_DELAY
@ RSL_IE_ACCESS_DELAY
Definition: gsm_08_58.h:230
GSM_PCHAN_UNKNOWN
@ GSM_PCHAN_UNKNOWN
Definition: gsm_utils.h:210
gsm0808_lcls_config
gsm0808_lcls_config
Definition: gsm_08_08.h:546
osmo_mnc_name
const char * osmo_mnc_name(uint16_t mnc, bool mnc_3_digits)
Return MNC string as standardized 2- or 3-digit with leading zeros.
Definition: gsm23003.c:90
GSM0808_CAUSE_REDUNDANCY_LEVEL_NOT_ADEQUATE
@ GSM0808_CAUSE_REDUNDANCY_LEVEL_NOT_ADEQUATE
Definition: gsm_08_08.h:345
comp128v23.h
OSMO_GSUP_SESSION_STATE_NONE
@ OSMO_GSUP_SESSION_STATE_NONE
Undefined session state.
Definition: gsup.h:148
ph_rach_ind_param::fn
uint32_t fn
GSM Frame Number at time of RA.
Definition: l1sap.h:64
tch_ahs_6_7_output
static const uint8_t tch_ahs_6_7_output[][2]
Definition: gsm0503_conv.c:919
GSM0808_CAUSE_CIRCUIT_POOL_MISMATCH
@ GSM0808_CAUSE_CIRCUIT_POOL_MISMATCH
Definition: gsm_08_08.h:359
gsm_03_40.h
BSS_MAP_MSG_HANDOVER_CANDIDATE_RESPONSE
@ BSS_MAP_MSG_HANDOVER_CANDIDATE_RESPONSE
Definition: gsm_08_08.h:67
GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL_SEND_DL_BLOCK_LOCAL_DL
@ GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL_SEND_DL_BLOCK_LOCAL_DL
Definition: gsm_08_08.h:552
gsm0503_tch_afs_7_95
const struct osmo_conv_code gsm0503_tch_afs_7_95
TCH/AFS 7.95 kbits convolutional code: G4/G4 = 1 G5/G4 = 1 + D + D4 + D6 / 1 + D2 + D3 + D5 + D6 G6/G...
Definition: gsm0503_conv.c:403
GSM48_IE_MUL_RATE_CFG
#define GSM48_IE_MUL_RATE_CFG
Definition: gsm_04_08.h:1590
NM_OC_SITE_MANAGER
@ NM_OC_SITE_MANAGER
Definition: gsm_12_21.h:289
LAPDm_CTRL_is_U
#define LAPDm_CTRL_is_U(ctrl)
Definition: lapdm.c:72
GSM0480_OP_CODE_INTERROGATE_SS
#define GSM0480_OP_CODE_INTERROGATE_SS
Definition: gsm_04_80.h:74
DCS_NONE
@ DCS_NONE
Definition: gsm_04_11.h:113
gsm_mncc_bearer_cap::modem_type
enum gsm48_bcap_modem_type modem_type
Definition: mncc.h:29
gsm0808_handover_required::current_channel_type_1_present
bool current_channel_type_1_present
Definition: gsm0808.h:114
TE42
#define TE42(i)
Definition: aes_i.h:84
NM_MT_BS11_CREATE_OBJ_NACK
@ NM_MT_BS11_CREATE_OBJ_NACK
Definition: gsm_12_21.h:207
gsm48_req_ref
Definition: gsm_04_08.h:640
new_rp_state
static void new_rp_state(struct gsm411_smr_inst *inst, enum gsm411_rp_state state)
Definition: gsm0411_smr.c:140
gsm0808_lcls_config_names
const struct value_string gsm0808_lcls_config_names[]
Definition: gsm0808.c:1255
lapd_datalink::send_out
int send_out
how much was sent from send_buffer
Definition: lapd_core.h:156
milenage_alg
static struct osmo_auth_impl milenage_alg
Definition: auth_milenage.c:171
tall_lapd_ctx
static void * tall_lapd_ctx
Definition: lapd_core.c:255
GSM48_MT_GMM_DETACH_ACK
#define GSM48_MT_GMM_DETACH_ACK
Definition: gsm_04_08_gprs.h:17
GSM411_RPS_WAIT_FOR_RETRANS_T
@ GSM411_RPS_WAIT_FOR_RETRANS_T
Definition: gsm_04_11.h:22
OSMO_EVT_CRIT_BOOT_FAIL
@ OSMO_EVT_CRIT_BOOT_FAIL
Definition: gsm_12_21.h:265
NM_ATT_TEST_DUR
@ NM_ATT_TEST_DUR
Definition: gsm_12_21.h:372
gsm48_range_512::w16_lo
uint8_t w16_lo
Definition: gsm_04_08.h:217
gprs_det_t_mt_strs
const struct value_string * gprs_det_t_mt_strs
Definition: gsm_04_08_gprs.c:213
abis_nm_put_sw_file
uint16_t abis_nm_put_sw_file(struct msgb *msg, const char *id, const char *ver, bool put_sw_desc)
Put given file ID/Version pair as 3GPP TS 52.021 §9.4.62 SW Description into msgb.
Definition: abis_nm.c:791
LAPDm_FMT_Bbis
@ LAPDm_FMT_Bbis
Definition: lapdm.c:112
LAPD_U_UI
#define LAPD_U_UI
Definition: lapd_core.c:92
GSM48_REJECT_IMPLICITLY_DETACHED
@ GSM48_REJECT_IMPLICITLY_DETACHED
Definition: gsm_04_08.h:1798
sres
uint8_t sres[4]
Definition: gsm_04_08.h:708
time
char time[12]
Definition: ipaccess.h:9
gsm48_range_1024::w15_lo
uint8_t w15_lo
Definition: gsm_04_08.h:146
aes_encrypt
void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt)
Definition: aes-internal-enc.c:114
LAPD_U_SABM
#define LAPD_U_SABM
Definition: lapdm.c:51
GMM_CAUSE_INV_MAND_INFO
@ GMM_CAUSE_INV_MAND_INFO
Definition: gsm_04_08_gprs.h:221
osmo_gsup_message::msisdn_enc_len
size_t msisdn_enc_len
Definition: gsup.h:198
GSM_CAUSE_SERV_OPT_NOTSUPP
@ GSM_CAUSE_SERV_OPT_NOTSUPP
Definition: gsm_04_08_gprs.h:243
CELL_IDENT_LAI_AND_LAC
@ CELL_IDENT_LAI_AND_LAC
Definition: gsm_08_08.h:21
Td3
const u32 Td3[256]
BSSMAP_MSG_SIZE
#define BSSMAP_MSG_SIZE
Definition: gsm0808.c:37
link_id
uint8_t link_id
Definition: gsm_08_08.h:3
gsm_freq_range
Definition: gsm_utils.c:741
gsm48_range_1024::w6_lo
uint8_t w6_lo
Definition: gsm_04_08.h:130
gsm48_range_128::w1
uint8_t w1
Definition: gsm_04_08.h:354
ROUND
#define ROUND(i, d, s)
GSM48_MT_RR_DTM_ASS_FAIL
#define GSM48_MT_RR_DTM_ASS_FAIL
Definition: gsm_04_08.h:1354
GSM411_RPS_WAIT_FOR_RP_ACK
@ GSM411_RPS_WAIT_FOR_RP_ACK
Definition: gsm_04_11.h:20
gsm_7bit_encode_n
int gsm_7bit_encode_n(uint8_t *result, size_t n, const char *data, int *octets)
GSM 7-bit alphabet TS 03.38 6.2.1 Character packing.
Definition: gsm_utils.c:367
NM_SEVER_CRITICAL
@ NM_SEVER_CRITICAL
Definition: gsm_12_21.h:581
tlv_p_entry::val
const uint8_t * val
pointer to value
Definition: tlv.h:396
tch_afs_6_7_term_output
static const uint8_t tch_afs_6_7_term_output[]
Definition: gsm0503_conv.c:480
tch_afs_7_95_term_output
static const uint8_t tch_afs_7_95_term_output[]
Definition: gsm0503_conv.c:379
GSM48_MT_CC_MODIFY
#define GSM48_MT_CC_MODIFY
Definition: gsm_04_08.h:1481
gsm0480.h
gsm48_range_512
Definition: gsm_04_08.h:187
gsm0503_tch_ahs_7_4
const struct osmo_conv_code gsm0503_tch_ahs_7_4
TCH/AHS 7.4 kbits convolutional code.
Definition: gsm0503_conv.c:901
GSM48_PDISC_NC_SS
#define GSM48_PDISC_NC_SS
Definition: gsm_04_08.h:1247
GSM48_RR_CAUSE_CHAN_MODE_UNACCT
@ GSM48_RR_CAUSE_CHAN_MODE_UNACCT
Definition: gsm_04_08.h:1703
GSM48_IE_MSLOT_DESC
#define GSM48_IE_MSLOT_DESC
Definition: gsm_04_08.h:1592
rsl_tlv_parse
#define rsl_tlv_parse(dec, buf, len)
Parse RSL TLV structure using tlv_parse.
Definition: rsl.h:19
osmo_gprs_ul_cs_by_block_bytes
enum osmo_gprs_cs osmo_gprs_ul_cs_by_block_bytes(uint8_t block_size)
Return coding scheme for given (E)GPRS uplink block size.
Definition: gprs_rlc.c:187
smrdownstate
Definition: gsm0411_smr.c:377
gsm0808_att_tlvdef
const struct tlv_definition * gsm0808_att_tlvdef(void)
Definition: gsm0808.c:1019
gsm48_decode_bearer_cap
int gsm48_decode_bearer_cap(struct gsm_mncc_bearer_cap *bcap, const uint8_t *lv)
Decode TS 04.08 Bearer Capability IE (10.5.4.5)
Definition: gsm48_ie.c:133
NM_CHANC_TCHFull
@ NM_CHANC_TCHFull
Definition: gsm_12_21.h:546
GSM48_MT_CC_ESTAB_CONF
#define GSM48_MT_CC_ESTAB_CONF
Definition: gsm_04_08.h:1476
NM_MT_SET_RADIO_ATTR_ACK
@ NM_MT_SET_RADIO_ATTR_ACK
Definition: gsm_12_21.h:131
TE443
#define TE443(i)
Definition: aes_i.h:89
GSM48_IE_HIGHL_COMPAT
#define GSM48_IE_HIGHL_COMPAT
Definition: gsm_04_08.h:1572
gsm48_decode_ssversion
int gsm48_decode_ssversion(struct gsm_mncc_ssversion *ssv, const uint8_t *lv)
Decode TS 04.08 SS Version IE (10.5.4.24)
Definition: gsm48_ie.c:754
NM_OPSTATE_NULL
@ NM_OPSTATE_NULL
Definition: gsm_12_21.h:541
NM_OC_BS11_ENVABTSE
@ NM_OC_BS11_ENVABTSE
Definition: gsm_12_21.h:308
gsm48_range_256::w18_hi
uint8_t w18_hi
Definition: gsm_04_08.h:295
rijndaelEncrypt
static void rijndaelEncrypt(const u32 rk[], const u8 pt[16], u8 ct[16])
Definition: aes-internal-enc.c:33
lapd_datalink::use_sabme
int use_sabme
use SABME instead of SABM
Definition: lapd_core.h:134
lapdm_channel_set_flags
void lapdm_channel_set_flags(struct lapdm_channel *lc, unsigned int flags)
Set the flags of all LAPDm entities in a LAPDm channel.
Definition: lapdm.c:1382
ipa_ccm_send_pong
int ipa_ccm_send_pong(int fd)
Definition: ipa.c:355
kasumi_FI
static uint16_t kasumi_FI(uint16_t I, uint16_t skey)
Definition: kasumi.c:30
osmo_rai_name
const char * osmo_rai_name(const struct gprs_ra_id *rai)
Return MCC-MNC-LAC-RAC as string, in a static buffer.
Definition: gsm48.c:189
GA_MT_CSR_ACT_CHAN
@ GA_MT_CSR_ACT_CHAN
Definition: gsm_44_318.h:34
gsm_03_41.h
GSM414_MT_OPEN_MSLOT_LOOP_CMD
#define GSM414_MT_OPEN_MSLOT_LOOP_CMD
Definition: gsm_04_14.h:54
smcdownstate::name
const char * name
Definition: gsm0411_smc.c:424
GSM48_MT_CC_START_DTMF
#define GSM48_MT_CC_START_DTMF
Definition: gsm_04_08.h:1500
tx_dequeue_msgb
static struct msgb * tx_dequeue_msgb(struct lapdm_entity *le)
Definition: lapdm.c:271
GSM0808_IE_CIRCUIT_POOL_LIST
@ GSM0808_IE_CIRCUIT_POOL_LIST
Definition: gsm_08_08.h:206
gsm48_generate_lai2
void gsm48_generate_lai2(struct gsm48_loc_area_id *lai48, const struct osmo_location_area_id *lai)
Encode TS 04.08 Location Area Identifier.
Definition: gsm48.c:507
gsm48_range_1024::w2_hi
uint8_t w2_hi
Definition: gsm_04_08.h:121
gsm341_ms_message::dcs
struct gsm341_ms_message::@15 dcs
abis_nm_sw_desc::file_version_len
uint8_t file_version_len
Definition: gsm_12_21.h:797
LAPD_MODE_NETWORK
@ LAPD_MODE_NETWORK
behave like network
Definition: lapd_core.h:68
GSM_CAUSE_FEATURE_NOTSUPP
@ GSM_CAUSE_FEATURE_NOTSUPP
Definition: gsm_04_08_gprs.h:251
RLL_CAUSE_SABM_INFO_NOTALL
#define RLL_CAUSE_SABM_INFO_NOTALL
Definition: gsm_08_58.h:461
OSMO_GSUP_IMSI_IE
@ OSMO_GSUP_IMSI_IE
Definition: gsup.h:61
smr_state_names
static const char * smr_state_names[]
Definition: gsm0411_smr.c:103
rslms_rx_rll_udata_req
static int rslms_rx_rll_udata_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:905
gsm411_rp_hdr::len
uint8_t len
Definition: gsm_04_11.h:105
table_3
static const uint8_t table_3[64]
Definition: comp128.c:134
lapd_msg_ctx::length
int length
Definition: lapd_core.h:108
gsm411_cp_cause_strs
const struct value_string gsm411_cp_cause_strs[]
Definition: gsm0411_smc.c:122
gsm411_smc_inst::mn_recv
int(* mn_recv)(struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg)
Definition: gsm0411_smc.h:32
BSS_MAP_MSG_RESET_IP_RSRC
@ BSS_MAP_MSG_RESET_IP_RSRC
Definition: gsm_08_08.h:106
NM_OPSTATE_DISABLED
@ NM_OPSTATE_DISABLED
Definition: gsm_12_21.h:539
CELL_IDENT_CI
@ CELL_IDENT_CI
Definition: gsm_08_08.h:19
RSL_MT_REL_CONF
@ RSL_MT_REL_CONF
Definition: gsm_08_58.h:94
lapd_history::more
int more
Definition: lapd_core.h:119
ipa_ccm_tlv_to_unitdata
int ipa_ccm_tlv_to_unitdata(struct ipaccess_unit *ud, const struct tlv_parsed *tp)
Definition: ipa.c:173
PRIM_DL_SUSP
@ PRIM_DL_SUSP
DL-SUSPEND.
Definition: lapd_core.h:23
LAPDM_ENT_F_POLLING_ONLY
#define LAPDM_ENT_F_POLLING_ONLY
Definition: lapdm.h:46
tch_ahs_5_15_term_state
static const uint8_t tch_ahs_5_15_term_state[]
Definition: gsm0503_conv.c:1014
GSM48_MT_RR_SYSINFO_5ter
#define GSM48_MT_RR_SYSINFO_5ter
Definition: gsm_04_08.h:1409
NM_MT_ACTIVATE_SW_NACK
@ NM_MT_ACTIVATE_SW_NACK
Definition: gsm_12_21.h:101
LAPD_HEADROOM
#define LAPD_HEADROOM
Definition: lapd_core.c:106
gsm48_ra_id::lac
uint16_t lac
Definition: gsm_04_08.h:1990
GMM_CAUSE_NOT_AUTH_FOR_CSG
@ GMM_CAUSE_NOT_AUTH_FOR_CSG
Definition: gsm_04_08_gprs.h:217
NM_ATT_POWER_THRESH
@ NM_ATT_POWER_THRESH
Definition: gsm_12_21.h:359
osmo_phsap_prim
primitive header for PH-SAP primitives
Definition: l1sap.h:154
GSM0808_ALG_ID_A5_5
@ GSM0808_ALG_ID_A5_5
Definition: gsm_08_08.h:462
GSM48_IE_ALERT
#define GSM48_IE_ALERT
Definition: gsm_04_08.h:1556
OSMO_GSUP_SESSION_STATE_BEGIN
@ OSMO_GSUP_SESSION_STATE_BEGIN
Initiation of a new session.
Definition: gsup.h:150
GPRS_DET_T_MO_COMBINED
#define GPRS_DET_T_MO_COMBINED
Definition: gsm_04_08_gprs.h:61
gsm48_decode_callerid
int gsm48_decode_callerid(struct gsm_mncc_number *callerid, const uint8_t *lv)
Decode TS 04.08 Caller ID.
Definition: gsm48_ie.c:390
GSM411_RP_CAUSE_MO_CONGESTION
@ GSM411_RP_CAUSE_MO_CONGESTION
Definition: gsm_04_11.h:78
gsm_7bit_decode_n
int gsm_7bit_decode_n(char *text, size_t n, const uint8_t *user_data, uint8_t septet_l)
Decode 7bit GSM Alphabet.
Definition: gsm_utils.c:255
gsm_mncc_bearer_cap::async
int async
Definition: mncc.h:22
decode_lai
static void decode_lai(const uint8_t *data, struct osmo_location_area_id *decoded)
Definition: gsm0808_utils.c:681
_cgi_name
static const char * _cgi_name(const struct osmo_cell_global_id *cgi, char *buf, size_t buflen)
Definition: gsm23003.c:136
GSM0808_CAUSE_RELOCATION_TRIGGERED
@ GSM0808_CAUSE_RELOCATION_TRIGGERED
Definition: gsm_08_08.h:340
NM_ATT_FILE_DATA
@ NM_ATT_FILE_DATA
Definition: gsm_12_21.h:389
tch_afs_7_4_state
static const uint8_t tch_afs_7_4_state[][2]
Definition: gsm0503_conv.c:414
GSM0480_COMPIDTAG_INVOKE_ID
#define GSM0480_COMPIDTAG_INVOKE_ID
Definition: gsm_04_80.h:22
gsm48_range_256::w11_lo
uint8_t w11_lo
Definition: gsm_04_08.h:286
GSM0808_IE_CHANNEL_TYPE
@ GSM0808_IE_CHANNEL_TYPE
Definition: gsm_08_08.h:171
GSM0808_CAUSE_HANDOVER_SUCCESSFUL
@ GSM0808_CAUSE_HANDOVER_SUCCESSFUL
Definition: gsm_08_08.h:333
LAPDM_MODE_MS
@ LAPDM_MODE_MS
behave like a MS (mobile phone)
Definition: lapdm.h:12
TE421
#define TE421(i)
Definition: aes_i.h:87
ipa_parse_unitid
int ipa_parse_unitid(const char *str, struct ipaccess_unit *unit_data)
Definition: ipa.c:140
NM_MT_PERF_TEST
@ NM_MT_PERF_TEST
Definition: gsm_12_21.h:137
GSM48_MT_CC_MODIFY_COMPL
#define GSM48_MT_CC_MODIFY_COMPL
Definition: gsm_04_08.h:1482
lapdm_entity::mode
enum lapdm_mode mode
are we in BTS mode or MS mode
Definition: lapdm.h:54
gsm48_hdr::proto_discr
uint8_t proto_discr
Definition: gsm_04_08.h:824
NM_CHANC_BCCHComb
@ NM_CHANC_BCCHComb
Definition: gsm_12_21.h:553
tch_afs_7_4_term_state
static const uint8_t tch_afs_7_4_term_state[]
Definition: gsm0503_conv.c:428
aes_decrypt_init
void * aes_decrypt_init(const u8 *key, size_t len)
ipaccess_unit::location1
char * location1
Definition: ipa.h:21
GSM0808_IE_CELL_ID_LIST_SEG_EST_CELLS
@ GSM0808_IE_CELL_ID_LIST_SEG_EST_CELLS
Definition: gsm_08_08.h:260
GSM0808_IE_LOCATION_ESTIMATE
@ GSM0808_IE_LOCATION_ESTIMATE
Definition: gsm_08_08.h:226
gprs_ra_id::mnc
uint16_t mnc
Definition: gsm48.h:22
gsm48_range_1024::w7_hi
uint8_t w7_hi
Definition: gsm_04_08.h:131
gsm_mncc_bearer_cap::radio
int radio
Definition: mncc.h:16
GSM_CAUSE_SERV_OPT_TEMP_OOO
@ GSM_CAUSE_SERV_OPT_TEMP_OOO
Definition: gsm_04_08_gprs.h:245
GSM411_CP_CAUSE_MSGTYPE_NOTEXIST
@ GSM411_CP_CAUSE_MSGTYPE_NOTEXIST
Definition: gsm_04_11.h:45
gsm0503_mcs9
const struct osmo_conv_code gsm0503_mcs9
EDGE MCS-9 data convolutional code: 612 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G7 = ...
Definition: gsm0503_conv.c:1352
smrdatastate::rout
int(* rout)(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:433
GSM48_MT_RR_ASS_COMPL
#define GSM48_MT_RR_ASS_COMPL
Definition: gsm_04_08.h:1367
gsm411_smr_inst::network
int network
Definition: gsm0411_smr.h:18
cs3_puncture
static const int cs3_puncture[]
Definition: gsm0503_conv.c:159
gsm0808_bssap_name
const char * gsm0808_bssap_name(uint8_t msg_type)
Return string name of BSSAP Message Type.
Definition: gsm0808.c:1137
osmo_auth_register
int osmo_auth_register(struct osmo_auth_impl *impl)
Register an authentication algorithm implementation with the core.
Definition: auth_core.c:52
A5_R3_TAPS
#define A5_R3_TAPS
Definition: a5.c:117
gsm411_mnsms_rel_req
static int gsm411_mnsms_rel_req(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:325
gsm48_decode_facility
int gsm48_decode_facility(struct gsm_mncc_facility *facility, const uint8_t *lv)
Decode TS 04.08 Facility IE (10.5.4.15)
Definition: gsm48_ie.c:585
gsm0808_create_layer3_2
struct msgb * gsm0808_create_layer3_2(const struct msgb *msg_l3, const struct osmo_cell_global_id *cell, const struct gsm0808_speech_codec_list *scl)
Create "Complete L3 Info" for AoIP.
Definition: gsm0808.c:72
GSM_CAUSE_NSAPI_IN_USE
@ GSM_CAUSE_NSAPI_IN_USE
Definition: gsm_04_08_gprs.h:246
gsm411_smr_inst::rl_recv
int(* rl_recv)(struct gsm411_smr_inst *inst, int msg_type, struct msgb *msg)
Definition: gsm0411_smr.h:19
GSM0808_IE_DECIPHERING_KEYS
@ GSM0808_IE_DECIPHERING_KEYS
Definition: gsm_08_08.h:233
gsm48_hdr::data
uint8_t data[0]
Definition: gsm_04_08.h:826
rsl_rll_error
static int rsl_rll_error(uint8_t cause, struct lapdm_msg_ctx *mctx)
Definition: lapdm.c:415
abis_rsl_cchan_hdr::c
struct abis_rsl_common_hdr c
Definition: gsm_08_58.h:59
ss_request::ss_code
uint8_t ss_code
GSM TS 04.80, section 4.4.3.9 "ss-Code" The ss-Code identifier refers to the code which identify a su...
Definition: gsm0480.h:68
OSMO_MAX_RAND_ID_LEN
#define OSMO_MAX_RAND_ID_LEN
Definition: gsm_utils.h:44
NM_MT_DISC_MDROP_LINK_ACK
@ NM_MT_DISC_MDROP_LINK_ACK
Definition: gsm_12_21.h:124
gsm_7bit_decode_n_ussd
int gsm_7bit_decode_n_ussd(char *text, size_t n, const uint8_t *user_data, uint8_t length)
Decode 7bit GSM Alphabet (USSD)
Definition: gsm_utils.c:261
lapdm_entity::tx_power
uint8_t tx_power
Definition: lapdm.h:67
gsm0503_mcs8
const struct osmo_conv_code gsm0503_mcs8
EDGE MCS-8 data convolutional code: 564 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G7 = ...
Definition: gsm0503_conv.c:1337
NM_MT_BS11_BEGIN_DB_TX_NACK
@ NM_MT_BS11_BEGIN_DB_TX_NACK
Definition: gsm_12_21.h:201
OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST
@ OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST
Definition: gsup.h:95
GMM_CAUSE_SEM_INCORR_MSG
@ GMM_CAUSE_SEM_INCORR_MSG
Definition: gsm_04_08_gprs.h:220
NM_MT_DISC_TERR_TRAF
@ NM_MT_DISC_TERR_TRAF
Definition: gsm_12_21.h:116
NM_ATT_SITE_INPUTS
@ NM_ATT_SITE_INPUTS
Definition: gsm_12_21.h:365
GSM0808_CAUSE_UNKNOWN_INFORMATION_ELEMENT
@ GSM0808_CAUSE_UNKNOWN_INFORMATION_ELEMENT
Definition: gsm_08_08.h:379
BSS_MAP_MSG_CIRCUIT_GROUP_BLOCK
@ BSS_MAP_MSG_CIRCUIT_GROUP_BLOCK
Definition: gsm_08_08.h:114
gsm0503_mcs3
const struct osmo_conv_code gsm0503_mcs3
EDGE MCS-3 data convolutional code: 316 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G7 = ...
Definition: gsm0503_conv.c:1198
GA_MT_RC_REGISTER_REQUEST
@ GA_MT_RC_REGISTER_REQUEST
Definition: gsm_44_318.h:22
LLIST_HEAD
static LLIST_HEAD(osmo_auths)
ph_rach_req_param::ra
uint8_t ra
Random Access.
Definition: l1sap.h:44
RSL_MT_SUSP_CONF
@ RSL_MT_SUSP_CONF
Definition: gsm_08_58.h:99
GMM_CAUSE_MSG_INCOMP_P_STATE
@ GMM_CAUSE_MSG_INCOMP_P_STATE
Definition: gsm_04_08_gprs.h:226
OSMO_AUTH_ALG_COMP128v1
@ OSMO_AUTH_ALG_COMP128v1
Definition: auth.h:30
GSM_CAUSE_REACT_RQD
@ GSM_CAUSE_REACT_RQD
Definition: gsm_04_08_gprs.h:250
osmo_location_area_id
Definition: gsm23003.h:16
GSM411_SM_RL_REPORT_IND
#define GSM411_SM_RL_REPORT_IND
Definition: gsm0411_smr.h:14
NM_ATT_VSWR_THRESH
@ NM_ATT_VSWR_THRESH
Definition: gsm_12_21.h:375
GSM_CAUSE_SEM_INCORR_MSG
@ GSM_CAUSE_SEM_INCORR_MSG
Definition: gsm_04_08_gprs.h:253
cause
uint8_t cause
Definition: gsm_04_08.h:710
GPRS_ALGO_GEA4
@ GPRS_ALGO_GEA4
Definition: gprs_cipher.h:18
gsm48_range_256::w11_hi
uint8_t w11_hi
Definition: gsm_04_08.h:285
PRIM_PH_RACH
@ PRIM_PH_RACH
PH-RANDOM_ACCESS.
Definition: l1sap.h:10
gsm_7bit_encode_n_ussd
int gsm_7bit_encode_n_ussd(uint8_t *result, size_t n, const char *data, int *octets_written)
Encode a text string into GSM 03.38 encoded 7 bit characters (USSD encoding).
Definition: gsm_utils.c:411
gprs_att_t_strs
const struct value_string * gprs_att_t_strs
Definition: gsm_04_08_gprs.c:182
GSM0808_IE_ENCRYPTION_INFORMATION
@ GSM0808_IE_ENCRYPTION_INFORMATION
Definition: gsm_08_08.h:170
tch_afs_7_4_puncture
static const int tch_afs_7_4_puncture[]
Definition: gsm0503_conv.c:438
GA_MT_PSR_GPRS_SUSPEND_REQ
@ GA_MT_PSR_GPRS_SUSPEND_REQ
Definition: gsm_44_318.h:61
osmo_auth_vector::kc
uint8_t kc[8]
Kc for GSM encryption (A5)
Definition: auth.h:67
LAPDm_CTRL_S
#define LAPDm_CTRL_S(nr, s, p)
Definition: lapdm.c:67
NM_ATT_SEVERITY
@ NM_ATT_SEVERITY
Definition: gsm_12_21.h:385
GSM0808_CAUSE_LSA_NOT_ALLOWED
@ GSM0808_CAUSE_LSA_NOT_ALLOWED
Definition: gsm_08_08.h:362
gprs_ra_id::mnc_3_digits
bool mnc_3_digits
Definition: gsm48.h:23
NM_ATT_IPACC_DST_IP
@ NM_ATT_IPACC_DST_IP
Definition: gsm_12_21.h:413
osmo_phsap_prim::oph
struct osmo_prim_hdr oph
generic primitive header
Definition: l1sap.h:155
gsm411_smr_inst::rp_timer
struct osmo_timer_list rp_timer
Definition: gsm0411_smr.h:25
T200_SACCH_TCH_SAPI0
@ T200_SACCH_TCH_SAPI0
Definition: gsm_12_21.h:650
abis_nm_att_settable
enum abis_nm_attr abis_nm_att_settable[]
Attributes that the BSC can set, not only get, according to Section 9.4.
Definition: abis_nm.c:441
lapdm_channel::lapdm_dcch
struct lapdm_entity lapdm_dcch
Dedicated Control Channel.
Definition: lapdm.h:75
GSM411_RP_CAUSE_IE_NOTEXIST
@ GSM411_RP_CAUSE_IE_NOTEXIST
Definition: gsm_04_11.h:91
NM_MT_ESTABLISH_TEI
@ NM_MT_ESTABLISH_TEI
Definition: gsm_12_21.h:104
LAPDm_U_UI
#define LAPDm_U_UI
Definition: lapdm.c:86
GSM0808_LCLS_STS_NOT_POSSIBLE_LS
@ GSM0808_LCLS_STS_NOT_POSSIBLE_LS
Definition: gsm_08_08.h:567
GSM0808_CAUSE_TERRESTRIAL_CIRCUIT_ALREADY_ALLOCATED
@ GSM0808_CAUSE_TERRESTRIAL_CIRCUIT_ALREADY_ALLOCATED
Definition: gsm_08_08.h:374
OSMO_GSUP_MSGT_DELETE_DATA_REQUEST
@ OSMO_GSUP_MSGT_DELETE_DATA_REQUEST
Definition: gsup.h:113
GSM48_MT_CC_STATUS_ENQ
#define GSM48_MT_CC_STATUS_ENQ
Definition: gsm_04_08.h:1499
GSM48_MT_GMM_PTMSI_REALL_COMPL
#define GSM48_MT_GMM_PTMSI_REALL_COMPL
Definition: gsm_04_08_gprs.h:25
smcdatastate
Definition: gsm0411_smc.c:482
gsm48_rr_msgtype_names
const struct value_string gsm48_rr_msgtype_names[]
TS 04.08 RR Message Type names.
Definition: gsm48.c:783
GSM411_MMSMS_DATA_REQ
#define GSM411_MMSMS_DATA_REQ
Definition: gsm0411_smc.h:15
NM_ATT_HW_DESC
@ NM_ATT_HW_DESC
Definition: gsm_12_21.h:342
GSM48_MT_RR_DTM_REJECT
#define GSM48_MT_RR_DTM_REJECT
Definition: gsm_04_08.h:1355
smrdownstate::rout
int(* rout)(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:381
T200_SACCH_TCH_SAPI3
@ T200_SACCH_TCH_SAPI3
Definition: gsm_12_21.h:653
osmo_auth_vector::auth_types
uint32_t auth_types
bitmask of OSMO_AUTH_TYPE_*
Definition: auth.h:69
MDL_CAUSE_UNSOL_DM_RESP
#define MDL_CAUSE_UNSOL_DM_RESP
Definition: lapd_core.h:33
smcdatastatelist
static const struct smcdatastate smcdatastatelist[]
encode_pdp_info
static void encode_pdp_info(struct msgb *msg, enum osmo_gsup_iei iei, const struct osmo_gsup_pdp_info *pdp_info)
Definition: gsup.c:447
lapdm_msg_ctx::lapdm_fmt
int lapdm_fmt
Definition: lapdm.h:21
msgb_wrap_with_TL
static unsigned char * msgb_wrap_with_TL(struct msgb *msgb, uint8_t tag)
Definition: gsm0480.c:70
NM_MT_SET_CHAN_ATTR
@ NM_MT_SET_CHAN_ATTR
Definition: gsm_12_21.h:133
smcdatastate::type
int type
Definition: gsm0411_smc.c:484
NM_MT_GET_ATTR
@ NM_MT_GET_ATTR
Definition: gsm_12_21.h:187
GSM0808_IE_CHANNEL_NEEDED
@ GSM0808_IE_CHANNEL_NEEDED
Definition: gsm_08_08.h:196
GSM48_IE_NAME_SHORT
#define GSM48_IE_NAME_SHORT
Definition: gsm_04_08.h:1547
abis_nm_t200_ms
const uint8_t abis_nm_t200_ms[]
3GPP TS 12.21 9.4.53 T200 values (in msec)
Definition: abis_nm.c:256
l2downstate
Definition: lapd_core.c:2150
GSM48_MT_MM_NULL
#define GSM48_MT_MM_NULL
Definition: gsm_04_08.h:1463
OSMO_EVT_MAJ_RSL_FAIL
@ OSMO_EVT_MAJ_RSL_FAIL
Definition: gsm_12_21.h:268
OSMO_GSUP_MSGT_UPDATE_LOCATION_ERROR
@ OSMO_GSUP_MSGT_UPDATE_LOCATION_ERROR
Definition: gsup.h:96
GA_MT_RC_REGISTER_UPDATE_DL
@ GA_MT_RC_REGISTER_UPDATE_DL
Definition: gsm_44_318.h:28
GSM0808_CAUSE_REQ_A_IF_TYPE_UNAVAIL
@ GSM0808_CAUSE_REQ_A_IF_TYPE_UNAVAIL
Definition: gsm_08_08.h:364
lapd_res_req
static int lapd_res_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:2003
IPAC_IDTAG_SWVERSION
@ IPAC_IDTAG_SWVERSION
Definition: ipaccess.h:60
NM_MT_SET_BTS_ATTR_ACK
@ NM_MT_SET_BTS_ATTR_ACK
Definition: gsm_12_21.h:128
BSS_MAP_MSG_NOTIFICATION_DATA
@ BSS_MAP_MSG_NOTIFICATION_DATA
Definition: gsm_08_08.h:151
gsm0808_enc_cell_id
uint8_t gsm0808_enc_cell_id(struct msgb *msg, const struct gsm0808_cell_id *ci)
Encode Cell Identifier IE (3GPP TS 48.008 3.2.2.17).
Definition: gsm0808_utils.c:1026
Te0
const u32 Te0[256]
Definition: aes-internal.c:74
GSM0808_CAUSE_DTM_HO_SGSN_FAILURE
@ GSM0808_CAUSE_DTM_HO_SGSN_FAILURE
Definition: gsm_08_08.h:356
NM_ATT_IPACC_IP_IF_CFG
@ NM_ATT_IPACC_IP_IF_CFG
Definition: gsm_12_21.h:423
GSM0808_CAUSE_CALL_ID_ALREADY_ALLOC
@ GSM0808_CAUSE_CALL_ID_ALREADY_ALLOC
Definition: gsm_08_08.h:381
gsm48_var_bit::orig_arfcn_hi
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:403
gsm0808_lcls_status
gsm0808_lcls_status
Definition: gsm_08_08.h:565
gprs_tlli_type
int gprs_tlli_type(uint32_t tlli)
Determine GPRS TLLI Type (TS 23.003 Chapter 2.6)
Definition: gsm_utils.c:901
GSM0808_CAUSE_REQ_CODEC_TYPE_OR_CONFIG_NOT_SUPP
@ GSM0808_CAUSE_REQ_CODEC_TYPE_OR_CONFIG_NOT_SUPP
Definition: gsm_08_08.h:371
gan_pdisc_vals
const struct value_string gan_pdisc_vals[]
Definition: gan.c:75
RSL_MT_REL_REQ
@ RSL_MT_REL_REQ
Definition: gsm_08_58.h:93
lapdm_format
lapdm_format
Definition: lapdm.c:109
osmo_gprs_dl_cs_by_block_bytes
enum osmo_gprs_cs osmo_gprs_dl_cs_by_block_bytes(uint8_t block_size)
Return coding scheme for given (E)GPRS downlink block size.
Definition: gprs_rlc.c:199
l2_ph_data_ind
static int l2_ph_data_ind(struct msgb *msg, struct lapdm_entity *le, uint8_t chan_nr, uint8_t link_id)
Definition: lapdm.c:574
tch_ahs_7_95_term_output
static const uint8_t tch_ahs_7_95_term_output[]
Definition: gsm0503_conv.c:836
gsm48_encode_facility
int gsm48_encode_facility(struct msgb *msg, int lv_only, const struct gsm_mncc_facility *facility)
Encode TS 04.08 Facility IE (10.5.4.15)
Definition: gsm48_ie.c:603
lapd_msg_ctx::n_send
uint8_t n_send
Definition: lapd_core.h:104
smrdownstate::name
const char * name
Definition: gsm0411_smr.c:380
gsm0808_handover_complete::rr_cause_present
bool rr_cause_present
Definition: gsm0808.h:135
ipaccess_head::proto
uint8_t proto
Definition: ipaccess.h:12
GSM48_REJECT_ILLEGAL_MS
@ GSM48_REJECT_ILLEGAL_MS
Definition: gsm_04_08.h:1771
NM_MT_SET_CHAN_ATTR_ACK
@ NM_MT_SET_CHAN_ATTR_ACK
Definition: gsm_12_21.h:134
os_malloc
#define os_malloc(x)
Definition: common.h:15
gsm48_mcc_mnc_to_bcd
void gsm48_mcc_mnc_to_bcd(uint8_t *bcd_dst, uint16_t mcc, uint16_t mnc)
Definition: gsm48.c:463
BSS_MAP_MSG_UNEQUIPPED_CIRCUIT
@ BSS_MAP_MSG_UNEQUIPPED_CIRCUIT
Definition: gsm_08_08.h:118
GA_MT_CSR_PAGING_REQ
@ GA_MT_CSR_PAGING_REQ
Definition: gsm_44_318.h:52
gsm_fn_as_gsmtime_str
char * gsm_fn_as_gsmtime_str(uint32_t fn)
Parse GSM Frame Number into printable string.
Definition: gsm_utils.c:837
lapdm_channel_reset
void lapdm_channel_reset(struct lapdm_channel *lc)
Reset a LAPDm channel with all its entities.
Definition: lapdm.c:1369
lapd_datalink::mode
enum lapd_mode mode
current mode of link
Definition: lapd_core.h:133
GA_MT_CSR_HO_ACCESS
@ GA_MT_CSR_HO_ACCESS
Definition: gsm_44_318.h:45
GSM48_IE_REALTIME_DIFF
#define GSM48_IE_REALTIME_DIFF
Definition: gsm_04_08.h:1627
MAX_SMS_RETRY
#define MAX_SMS_RETRY
Definition: gsm0411_smc.c:73
aes_encrypt_init
void * aes_encrypt_init(const u8 *key, size_t len)
Definition: aes-internal-enc.c:101
LAPD_STATE_IDLE
@ LAPD_STATE_IDLE
Definition: lapd_core.h:77
GSM0480_OP_CODE_NOTIFY_SS
#define GSM0480_OP_CODE_NOTIFY_SS
Definition: gsm_04_80.h:75
NM_OC_GPRS_CELL
@ NM_OC_GPRS_CELL
Definition: gsm_12_21.h:312
gsm0503_mcs7
const struct osmo_conv_code gsm0503_mcs7
EDGE MCS-7 data convolutional code: 468 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G7 = ...
Definition: gsm0503_conv.c:1322
lapd_datalink::rem2loc
struct lapd_cr_ent rem2loc
Definition: lapd_core.h:131
GSM0808_IE_REROUTE_REJ_CAUSE
@ GSM0808_IE_REROUTE_REJ_CAUSE
Definition: gsm_08_08.h:280
GSM48_MT_MM_LOC_UPD_REJECT
#define GSM48_MT_MM_LOC_UPD_REJECT
Definition: gsm_04_08.h:1443
gsm_mncc_bearer_cap::data
struct gsm_mncc_bearer_cap::@11 data
GSM0808_IE_RESOURCE_INDICATION_METHOD
@ GSM0808_IE_RESOURCE_INDICATION_METHOD
Definition: gsm_08_08.h:188
gsm48_range_128::w8
uint8_t w8
Definition: gsm_04_08.h:364
gsm411_cp_state
gsm411_cp_state
Definition: gsm_04_11.h:10
GSM0808_LCLS_CSC_BICAST_UL_AT_HANDOVER
@ GSM0808_LCLS_CSC_BICAST_UL_AT_HANDOVER
Definition: gsm_08_08.h:560
GSM414_MT_ACT_EMMI_CMD
#define GSM414_MT_ACT_EMMI_CMD
Definition: gsm_04_14.h:56
lapdm_rx_not_permitted
static int lapdm_rx_not_permitted(const struct lapdm_entity *le, const struct lapd_msg_ctx *lctx)
Definition: lapdm.c:541
gsm48_encode_connected
int gsm48_encode_connected(struct msgb *msg, const struct gsm_mncc_number *connected)
Encode TS 04.08 Connected Number IE (10.5.4.13)
Definition: gsm48_ie.c:564
gsm411_send_release
static int gsm411_send_release(struct gsm411_smr_inst *inst)
Definition: gsm0411_smr.c:186
gsm_12_21.h
lapd_data_req
static int lapd_data_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1799
gsm0808_dec_cell_id_list2
int gsm0808_dec_cell_id_list2(struct gsm0808_cell_id_list2 *cil, const uint8_t *elem, uint8_t len)
Decode Cell Identifier List IE.
Definition: gsm0808_utils.c:809
c128v1_alg
static struct osmo_auth_impl c128v1_alg
Definition: auth_comp128v1.c:43
GSM48_MT_MM_LOC_UPD_REQUEST
#define GSM48_MT_MM_LOC_UPD_REQUEST
Definition: gsm_04_08.h:1444
BSS_MAP_MSG_RESET_CIRCUIT_ACKNOWLEDGE
@ BSS_MAP_MSG_RESET_CIRCUIT_ACKNOWLEDGE
Definition: gsm_08_08.h:102
osmo_a5_1
void osmo_a5_1(const uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul) OSMO_DEPRECATED("Use generic osmo_a5() instead")
Definition: a5.c:266
tlv_parse
int tlv_parse(struct tlv_parsed *dec, const struct tlv_definition *def, const uint8_t *buf, int buf_len, uint8_t lv_tag, uint8_t lv_tag2)
Parse an entire buffer of TLV encoded Information Elements.
Definition: tlv_parser.c:237
Te1
const u32 Te1[256]
GSM48_DTX_MAY_BE_USED
@ GSM48_DTX_MAY_BE_USED
Definition: gsm_04_08.h:884
OSMO_GSUP_SESSION_STATE_IE
@ OSMO_GSUP_SESSION_STATE_IE
Definition: gsup.h:87
GSM48_IE_CHANMODE_2
#define GSM48_IE_CHANMODE_2
Definition: gsm_04_08.h:1593
GSM48_IE_CELL_CH_DESC
#define GSM48_IE_CELL_CH_DESC
Definition: gsm_04_08.h:1617
gsm48_loc_area_id::digits
uint8_t digits[3]
Definition: gsm_04_08.h:786
osmo_a5
int osmo_a5(int n, const uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul)
Main method to generate a A5/x cipher stream.
Definition: a5.c:411
tch_afs_7_95_output
static const uint8_t tch_afs_7_95_output[][2]
Definition: gsm0503_conv.c:351
abis_nm_event_type
abis_nm_event_type
Event Type (Section 9.4.16)
Definition: gsm_12_21.h:570
NM_ATT_ADD_TEXT
@ NM_ATT_ADD_TEXT
Definition: gsm_12_21.h:322
GSM0808_IE_IMSI
@ GSM0808_IE_IMSI
Definition: gsm_08_08.h:168
gsm0503_cs2_np
const struct osmo_conv_code gsm0503_cs2_np
CS2 convolutional code (non-punctured): G0 = 1 + D3 + D4 G1 = 1 + D + D3 + D4.
Definition: gsm0503_conv.c:200
NM_ATT_IPACC_BVCI
@ NM_ATT_IPACC_BVCI
Definition: gsm_12_21.h:443
parse_process_uss_data
static int parse_process_uss_data(const uint8_t *uss_req_data, uint16_t length, struct ss_request *req)
Definition: gsm0480.c:677
GSM48_CMODE_DATA_12k0
@ GSM48_CMODE_DATA_12k0
Definition: gsm_04_08.h:701
NM_ATT_SW_CONFIG
@ NM_ATT_SW_CONFIG
Definition: gsm_12_21.h:383
tch_afs_5_9_term_output
static const uint8_t tch_afs_5_9_term_output[]
Definition: gsm0503_conv.c:564
GSM48_IE_CHANMODE_1
#define GSM48_IE_CHANMODE_1
Definition: gsm_04_08.h:1618
BSS_MAP_MSG_UPLINK_RELEASE_INDICATION
@ BSS_MAP_MSG_UPLINK_RELEASE_INDICATION
Definition: gsm_08_08.h:146
osmo_auth_vector::sres
uint8_t sres[4]
authentication result for GSM
Definition: auth.h:68
lapd_datalink::n200
int n200
Definition: lapd_core.h:136
NM_MT_CHG_HW_CONF_NACK
@ NM_MT_CHG_HW_CONF_NACK
Definition: gsm_12_21.h:180
GSM0480_OP_CODE_HOLD_MPTY
#define GSM0480_OP_CODE_HOLD_MPTY
Definition: gsm_04_80.h:86
lapd_msg_ctx::sapi
uint8_t sapi
Definition: lapd_core.h:98
OSMO_EVT_CRIT_SW_FATAL
@ OSMO_EVT_CRIT_SW_FATAL
Definition: gsm_12_21.h:262
c128v3_alg
static struct osmo_auth_impl c128v3_alg
Definition: auth_comp128v23.c:62
gsm0808_handover_complete::lcls_bss_status_present
bool lcls_bss_status_present
Definition: gsm0808.h:149
NM_ATT_IPACC_LOCATION
@ NM_ATT_IPACC_LOCATION
Definition: gsm_12_21.h:427
MDL_CAUSE_IFRM_INC_MBITS
#define MDL_CAUSE_IFRM_INC_MBITS
Definition: lapd_core.h:39
NM_MT_STOP_MEAS
@ NM_MT_STOP_MEAS
Definition: gsm_12_21.h:184
abis_nm_reports
enum abis_nm_msgtype abis_nm_reports[4]
unidirectional messages from BTS to BSC
Definition: abis_nm.c:44
GSM48_REJECT_GPRS_NOT_ALLOWED_IN_PLMN
@ GSM48_REJECT_GPRS_NOT_ALLOWED_IN_PLMN
Definition: gsm_04_08.h:1799
ARFCN_UPLINK
#define ARFCN_UPLINK
Definition: gsm_utils.h:161
GSM48_MT_GMM_STATUS
#define GSM48_MT_GMM_STATUS
Definition: gsm_04_08_gprs.h:32
gsm0480_comp_type_names
const struct value_string gsm0480_comp_type_names[]
Definition: gsm0480.c:39
osmo_bts_features_descs
const struct value_string osmo_bts_features_descs[]
Definition: bts_features.c:26
GSM0808_IE_CSG_IDENTIFIER
@ GSM0808_IE_CSG_IDENTIFIER
Definition: gsm_08_08.h:278
NM_MT_STOP_TEST_NACK
@ NM_MT_STOP_TEST_NACK
Definition: gsm_12_21.h:146
gsm411_rp_hdr::msg_ref
uint8_t msg_ref
Definition: gsm_04_11.h:107
GSM48_REJECT_NETWORK_FAILURE
@ GSM48_REJECT_NETWORK_FAILURE
Definition: gsm_04_08.h:1778
gsm0808_create_handover_failure
struct msgb * gsm0808_create_handover_failure(const struct gsm0808_handover_failure *params)
Create BSSMAP HANDOVER FAILURE message, 3GPP TS 48.008 3.2.1.16.
Definition: gsm0808.c:824
NM_OC_BASEB_TRANSC
@ NM_OC_BASEB_TRANSC
Definition: gsm_12_21.h:293
gsm0411_smc.h
lapd_datalink::t200
struct osmo_timer_list t200
T200 timer.
Definition: lapd_core.h:150
gsm48_encode_ssversion
int gsm48_encode_ssversion(struct msgb *msg, const struct gsm_mncc_ssversion *ssv)
Encode TS 04.08 SS Version IE (10.5.4.24)
Definition: gsm48_ie.c:769
_comp128_permutation
static void _comp128_permutation(uint8_t *x, uint8_t *bits)
Definition: comp128.c:182
GA_MT_RC_DISCOVERY_ACCEPT
@ GA_MT_RC_DISCOVERY_ACCEPT
Definition: gsm_44_318.h:19
lapd_recv_dlsap
int lapd_recv_dlsap(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:2209
put_old_bss_to_new_bss_information
static uint8_t put_old_bss_to_new_bss_information(struct msgb *msg, const struct gsm0808_old_bss_to_new_bss_info *i)
Definition: gsm0808.c:672
gsm411_smr_inst::mn_send
int(* mn_send)(struct gsm411_smr_inst *inst, int msg_type, struct msgb *msg)
Definition: gsm0411_smr.h:21
NM_MT_REST_EVENT_REP_ACK
@ NM_MT_REST_EVENT_REP_ACK
Definition: gsm_12_21.h:154
osmo_auth_algo
osmo_auth_algo
Authentication Algorithm.
Definition: auth.h:28
MDL_CAUSE_SABM_MF
#define MDL_CAUSE_SABM_MF
Definition: lapd_core.h:42
GSM0808_IE_SRC_ENB_TO_TGT_ENB_TRANSP
@ GSM0808_IE_SRC_ENB_TO_TGT_ENB_TRANSP
Definition: gsm_08_08.h:291
gsm0411_smr.h
GMM_CAUSE_CONGESTION
@ GMM_CAUSE_CONGESTION
Definition: gsm_04_08_gprs.h:215
NM_ATT_FILE_VERSION
@ NM_ATT_FILE_VERSION
Definition: gsm_12_21.h:338
PUTU32
#define PUTU32(ct, st)
Definition: aes_i.h:115
gsm0808_handover_required::cause
uint16_t cause
Definition: gsm0808.h:111
osmo_auth_load
int osmo_auth_load(const char *path)
Load all available authentication plugins from the given path.
Definition: auth_core.c:73
gsm48_range_128::w21_hi
uint8_t w21_hi
Definition: gsm_04_08.h:378
OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST
@ OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST
Definition: gsup.h:99
ALL_STATES
#define ALL_STATES
Definition: gsm_04_08.h:1870
lapd_t203_cb
static void lapd_t203_cb(void *data)
Definition: lapd_core.c:686
gsm48_encode_keypad
int gsm48_encode_keypad(struct msgb *msg, int keypad)
Encode TS 04.08 Keypad IE (10.5.4.17)
Definition: gsm48_ie.c:667
GSM48_IE_NET_TIME_TZ
#define GSM48_IE_NET_TIME_TZ
Definition: gsm_04_08.h:1549
gprs_cipher_impl
Definition: gprs_cipher.h:31
gsm_fn2gsmtime
void gsm_fn2gsmtime(struct gsm_time *time, uint32_t fn)
Parse GSM Frame Number into struct gsm_time.
Definition: gsm_utils.c:825
gsm0808_cell_id::id_discr
enum CELL_IDENT id_discr
Definition: gsm0808_utils.h:49
abis_om_obj_inst::bts_nr
uint8_t bts_nr
BTS Number.
Definition: gsm_12_21.h:68
NM_MT_SET_BTS_ATTR_NACK
@ NM_MT_SET_BTS_ATTR_NACK
Definition: gsm_12_21.h:129
GSM48_IE_CIP_MODE_SET
#define GSM48_IE_CIP_MODE_SET
Definition: gsm_04_08.h:1631
GSM411_RPS_WAIT_TO_TX_RP_ACK
@ GSM411_RPS_WAIT_TO_TX_RP_ACK
Definition: gsm_04_11.h:21
gsm_time
Definition: gsm_utils.h:46
CHANNEL_TYPE_ELEMENT_MAXLEN
#define CHANNEL_TYPE_ELEMENT_MAXLEN
Definition: gsm0808_utils.c:37
gsm_band
gsm_band
Definition: gsm_utils.h:54
osmo_cell_global_id
Definition: gsm23003.h:28
gsm48_range_128::orig_arfcn_mid
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:352
OSMO_GSUP_MSGT_INSERT_DATA_RESULT
@ OSMO_GSUP_MSGT_INSERT_DATA_RESULT
Definition: gsup.h:111
gsm_mncc_bearer_cap::nr_stop_bits
int nr_stop_bits
Definition: mncc.h:23
ipaccess_head_ext
Definition: ipaccess.h:16
tch_ahs_5_15_state
static const uint8_t tch_ahs_5_15_state[][2]
Definition: gsm0503_conv.c:1000
RSL_MT_SUSP_REQ
@ RSL_MT_SUSP_REQ
Definition: gsm_08_58.h:98
gsm48_decode_notify
int gsm48_decode_notify(int *notify, const uint8_t *v)
Decode TS 04.08 Notify IE (10.5.4.20)
Definition: gsm48_ie.c:622
gsm_sysinfo_freq::mask
uint8_t mask
Definition: gsm48_ie.h:111
SBIT
#define SBIT(a)
Definition: lapd_core.c:108
GSM0808_IE_ASSIGNMENT_REQUIREMENT
@ GSM0808_IE_ASSIGNMENT_REQUIREMENT
Definition: gsm_08_08.h:212
rslms_sendmsg
static int rslms_sendmsg(struct msgb *msg, struct lapdm_entity *le)
Definition: lapdm.c:232
rand
uint8_t rand[16]
Definition: gsm_04_08.h:715
gsm48_range_256::w6_hi
uint8_t w6_hi
Definition: gsm_04_08.h:277
osmo_mnc_name
const char * osmo_mnc_name(uint16_t mnc, bool mnc_3_digits)
Return MNC string as standardized 2- or 3-digit with leading zeros.
Definition: gsm23003.c:90
TLVP_PRES_LEN
#define TLVP_PRES_LEN(tp, tag, min_len)
Definition: tlv.h:446
gsm48_req_ref::t2
uint8_t t2
Definition: gsm_04_08.h:651
lapd_datalink::seq_err_cond
int seq_err_cond
condition of sequence error
Definition: lapd_core.h:145
GSM0808_IE_LCLS_BREAK_REQ
@ GSM0808_IE_LCLS_BREAK_REQ
Definition: gsm_08_08.h:288
osmo_plmn_name
const char * osmo_plmn_name(const struct osmo_plmn_id *plmn)
Return MCC-MNC string as standardized 3-digit-dash-2/3-digit with leading zeros.
Definition: gsm23003.c:107
BSS_MAP_MSG_CIRCUIT_GROUP_BLOCKING_ACKNOWLEDGE
@ BSS_MAP_MSG_CIRCUIT_GROUP_BLOCKING_ACKNOWLEDGE
Definition: gsm_08_08.h:115
gsm0808_cell_id_list2::id_list
union gsm0808_cell_id_u id_list[GSM0808_CELL_ID_LIST2_MAXLEN]
Definition: gsm0808_utils.h:56
BSS_MAP_MSG_CLEAR_RQST
@ BSS_MAP_MSG_CLEAR_RQST
Definition: gsm_08_08.h:78
lapdm_msg_ctx::ta_ind
uint8_t ta_ind
Definition: lapdm.h:24
gsm0808_channel_type::perm_spch_len
unsigned int perm_spch_len
Definition: gsm_08_08.h:519
OSMO_GSUP_CAUSE_IE
@ OSMO_GSUP_CAUSE_IE
Definition: gsup.h:62
lapd_dl_exit
void lapd_dl_exit(struct lapd_datalink *dl)
Definition: lapd_core.c:330
GSM48_MT_GMM_AUTH_CIPH_FAIL
#define GSM48_MT_GMM_AUTH_CIPH_FAIL
Definition: gsm_04_08_gprs.h:29
tch_afs_6_7_state
static const uint8_t tch_afs_6_7_state[][2]
Definition: gsm0503_conv.c:461
osmo_shift_tlv
int osmo_shift_tlv(uint8_t **data, size_t *data_len, uint8_t *tag, uint8_t **value, size_t *value_len)
Extract TLV and advance data pointer + subtract length.
Definition: tlv_parser.c:463
GSM48_IE_CHDES_2_AFTER
#define GSM48_IE_CHDES_2_AFTER
Definition: gsm_04_08.h:1619
NM_ATT_IPACC_SEC_POSSIBLE
@ NM_ATT_IPACC_SEC_POSSIBLE
Definition: gsm_12_21.h:459
GSM48_REJECT_ROAMING_NOT_ALLOWED
@ GSM48_REJECT_ROAMING_NOT_ALLOWED
Definition: gsm_04_08.h:1777
SMRDOWNSLLEN
#define SMRDOWNSLLEN
Definition: gsm0411_smr.c:395
GSM0808_IE_TALKER_FLAG
@ GSM0808_IE_TALKER_FLAG
Definition: gsm_08_08.h:213
GSM0808_IE_LAYER_3_INFORMATION
@ GSM0808_IE_LAYER_3_INFORMATION
Definition: gsm_08_08.h:183
GSM0808_PERM_FR2
@ GSM0808_PERM_FR2
GSM EFR.
Definition: gsm_08_08.h:422
NM_ATT_IPACC_NSVCI
@ NM_ATT_IPACC_NSVCI
Definition: gsm_12_21.h:444
GSM0480_OP_CODE_PROCESS_USS_REQ
#define GSM0480_OP_CODE_PROCESS_USS_REQ
Definition: gsm_04_80.h:80
GSM48_MT_RR_NOTIF_NCH
#define GSM48_MT_RR_NOTIF_NCH
Definition: gsm_04_08.h:1387
OSMO_GSUP_HLR_NUMBER_IE
@ OSMO_GSUP_HLR_NUMBER_IE
Definition: gsup.h:69
gsm411_rp_sendmsg
static int gsm411_rp_sendmsg(struct gsm411_smr_inst *inst, struct msgb *msg, uint8_t rp_msg_type, uint8_t rp_msg_ref, int mnsms_msg_type)
Definition: gsm0411_smr.c:154
gsm0808_dec_channel_type
int gsm0808_dec_channel_type(struct gsm0808_channel_type *ct, const uint8_t *elem, uint8_t len)
Decode TS 08.08 Channel Type IE.
Definition: gsm0808_utils.c:462
RSL_MT_DATA_IND
@ RSL_MT_DATA_IND
Definition: gsm_08_58.h:88
gsm_mncc_number::type
int type
Definition: mncc.h:34
gprs_cs_desc::uplink
struct gprs_cs_desc::@40 uplink
NM_MT_BS11_DELETE_OBJ_NACK
@ NM_MT_BS11_DELETE_OBJ_NACK
Definition: gsm_12_21.h:210
GSM48_IE_FRQSHORT_AFTER
#define GSM48_IE_FRQSHORT_AFTER
Definition: gsm_04_08.h:1589
GSM0808_CAUSE_ALT_CHAN_CONFIG_REQUESTED
@ GSM0808_CAUSE_ALT_CHAN_CONFIG_REQUESTED
Definition: gsm_08_08.h:342
osmo_c4
void osmo_c4(uint8_t *ck, const uint8_t *kc)
Definition: auth_core.c:114
gprs_cipher_register
int gprs_cipher_register(struct gprs_cipher_impl *ciph)
Definition: gprs_cipher_core.c:55
LAPD_MODE_USER
@ LAPD_MODE_USER
behave like user
Definition: lapd_core.h:67
IPAC_PROTO_IPACCESS
@ IPAC_PROTO_IPACCESS
Definition: ipaccess.h:23
NM_MT_ESTABLISH_TEI_ACK
@ NM_MT_ESTABLISH_TEI_ACK
Definition: gsm_12_21.h:105
LAPD_FORM_UKN
@ LAPD_FORM_UKN
Definition: lapd_core.h:86
gsm0808_enc_cell_id_list
uint8_t gsm0808_enc_cell_id_list(struct msgb *msg, const struct gsm0808_cell_id_list *cil)
DEPRECATED: Use gsm0808_enc_cell_id_list2 instead.
Definition: gsm0808_utils.c:645
osmo_auth_impl::algo
enum osmo_auth_algo algo
algorithm we implement
Definition: auth.h:75
LAPDm_CTRL_is_S
#define LAPDm_CTRL_is_S(ctrl)
Definition: lapdm.c:71
lapdm_msg_ctx::tx_power_ind
uint8_t tx_power_ind
Definition: lapdm.h:25
lapd_msg_ctx::format
uint8_t format
Definition: lapd_core.h:102
smod
static int32_t smod(int32_t n, int32_t m)
Definition: gsm48_ie.c:797
GSM48_DTX_SHALL_NOT_BE_USED
@ GSM48_DTX_SHALL_NOT_BE_USED
Definition: gsm_04_08.h:886
lapd_msg_ctx::s_u
uint8_t s_u
Definition: lapd_core.h:106
NM_MT_BS11_END_DB_TX_NACK
@ NM_MT_BS11_END_DB_TX_NACK
Definition: gsm_12_21.h:204
milenage_gen_vec
static int milenage_gen_vec(struct osmo_auth_vector *vec, struct osmo_sub_auth_data *aud, const uint8_t *_rand)
Definition: auth_milenage.c:49
gsm0808_chosen_enc_alg_names
const struct value_string gsm0808_chosen_enc_alg_names[]
Definition: gsm0808.c:1170
GSM48_RR_CAUSE_PREMPTIVE_REL
@ GSM48_RR_CAUSE_PREMPTIVE_REL
Definition: gsm_04_08.h:1701
BTS_FEAT_SPEECH_H_AMR
@ BTS_FEAT_SPEECH_H_AMR
Definition: bts_features.h:25
lapdm_channel_exit
void lapdm_channel_exit(struct lapdm_channel *lc)
Definition: lapdm.c:197
osmo_bts_features
osmo_bts_features
Definition: bts_features.h:11
OSMO_GSUP_RAND_IE
@ OSMO_GSUP_RAND_IE
Definition: gsup.h:75
BSSMAP_MSG_HEADROOM
#define BSSMAP_MSG_HEADROOM
Definition: gsm0808.c:38
GSM48_IE_CLASSMARK3
#define GSM48_IE_CLASSMARK3
Definition: gsm_04_08.h:1613
GSM0808_PERM_HR6
@ GSM0808_PERM_HR6
OHR AMR.
Definition: gsm_08_08.h:430
NM_ATT_GET_ARI
@ NM_ATT_GET_ARI
Definition: gsm_12_21.h:386
set_lapdm_context
static int set_lapdm_context(struct lapdm_datalink *dl, uint8_t chan_nr, uint8_t link_id, int n201, uint8_t sapi)
Definition: lapdm.c:835
milenage_gen_vec_auts
static int milenage_gen_vec_auts(struct osmo_auth_vector *vec, struct osmo_sub_auth_data *aud, const uint8_t *auts, const uint8_t *rand_auts, const uint8_t *_rand)
Definition: auth_milenage.c:147
NM_MT_REST_EVENT_REP
@ NM_MT_REST_EVENT_REP
Definition: gsm_12_21.h:153
GSM411_RP_CAUSE_INV_MAND_INF
@ GSM411_RP_CAUSE_INV_MAND_INF
Definition: gsm_04_11.h:88
abis_nm_nack_cause_name
const char * abis_nm_nack_cause_name(uint8_t cause)
Get human-readable string for NACK cause.
Definition: abis_nm.c:217
gsm48_decode_useruser
int gsm48_decode_useruser(struct gsm_mncc_useruser *uu, const uint8_t *lv)
Decode TS 04.08 User-User IE (10.5.4.25)
Definition: gsm48_ie.c:708
lapd_datalink::tx_queue
struct llist_head tx_queue
frames to L1
Definition: lapd_core.h:153
gsm48_range_256::w9_hi
uint8_t w9_hi
Definition: gsm_04_08.h:282
gsm0808_create_handover_request_ack
struct msgb * gsm0808_create_handover_request_ack(const uint8_t *l3_info, uint8_t l3_info_len, uint8_t chosen_channel, uint8_t chosen_encr_alg, uint8_t chosen_speech_version)
Create BSSMAP HANDOVER REQUEST ACKNOWLEDGE message, 3GPP TS 48.008 3.2.1.10.
Definition: gsm0808.c:745
osmo_plmn_id
Definition: gsm23003.h:9
gsm0808_msgt_names
static const struct value_string gsm0808_msgt_names[]
Definition: gsm0808.c:1024
GMM_CAUSE_MSC_TEMP_NOTREACH
@ GMM_CAUSE_MSC_TEMP_NOTREACH
Definition: gsm_04_08_gprs.h:211
gsm341_ms_message::code_lo
uint8_t code_lo
Definition: gsm_03_41.h:30
tch_ahs_4_75_puncture
static const int tch_ahs_4_75_puncture[]
Definition: gsm0503_conv.c:1105
GSM48_REJECT_INF_ELEME_NOT_IMPLEMENTED
@ GSM48_REJECT_INF_ELEME_NOT_IMPLEMENTED
Definition: gsm_04_08.h:1789
RSL_IE_REQ_REFERENCE
@ RSL_IE_REQ_REFERENCE
Definition: gsm_08_58.h:232
lapdm_datalink::mctx
struct lapdm_msg_ctx mctx
context of established connection
Definition: lapdm.h:31
includes.h
_a5_12_parity
static uint32_t _a5_12_parity(uint32_t x)
Computes parity of a 32-bit word.
Definition: a5.c:125
GSM48_MT_CC_FACILITY
#define GSM48_MT_CC_FACILITY
Definition: gsm_04_08.h:1505
ph_rach_ind_param::acc_delay
uint8_t acc_delay
Delay in bit periods.
Definition: l1sap.h:63
gsm_mncc_number
Definition: mncc.h:33
OSMO_GSUP_SESSION_STATE_END
@ OSMO_GSUP_SESSION_STATE_END
Indication of the session end.
Definition: gsup.h:154
lapd_datalink::loc2rem
struct lapd_cr_ent loc2rem
filled-in once we set the lapd_mode above
Definition: lapd_core.h:130
osmo_gsup_pdp_info::apn_enc
const uint8_t * apn_enc
APN information, still in encoded form.
Definition: gsup.h:170
tch_afs_4_75_puncture
static const int tch_afs_4_75_puncture[]
Definition: gsm0503_conv.c:714
GSM48_MT_GMM_PTMSI_REALL_CMD
#define GSM48_MT_GMM_PTMSI_REALL_CMD
Definition: gsm_04_08_gprs.h:24
LAPD_STATE_ASS_TEI_WAIT
@ LAPD_STATE_ASS_TEI_WAIT
Definition: lapd_core.h:75
GSM0808_ALG_ID_A5_7
@ GSM0808_ALG_ID_A5_7
Definition: gsm_08_08.h:464
gsm411_smc_inst
Definition: gsm0411_smc.h:29
NM_NACK_RES_NOTIMPL
@ NM_NACK_RES_NOTIMPL
Definition: gsm_12_21.h:616
TLVP_LEN
#define TLVP_LEN(x, y)
Definition: tlv.h:443
gsm48_range_256::w14_lo
uint8_t w14_lo
Definition: gsm_04_08.h:290
lapdm_entity::l3_ctx
void * l3_ctx
context for layer3 instance
Definition: lapdm.h:58
GSM0808_IE_APP_DATA_INFO
@ GSM0808_IE_APP_DATA_INFO
Definition: gsm_08_08.h:269
OSMO_GSUP_CN_DOMAIN_IE
@ OSMO_GSUP_CN_DOMAIN_IE
Definition: gsup.h:84
gsm48_range_128::w4_lo
uint8_t w4_lo
Definition: gsm_04_08.h:359
N201_Bbis
#define N201_Bbis
Definition: lapdm.c:92
gsm0808_speech_codec_from_chan_type
int gsm0808_speech_codec_from_chan_type(struct gsm0808_speech_codec *sc, uint8_t perm_spch)
Extrapolate a speech codec field from a given permitted speech parameter (channel type).
Definition: gsm0808_utils.c:1116
update
uint8_t update
Definition: gsm_03_41.h:12
PRIM_DL_UNIT_DATA
@ PRIM_DL_UNIT_DATA
DL-UNIT-DATA.
Definition: lapd_core.h:19
gsm48_range_1024::w8_hi
uint8_t w8_hi
Definition: gsm_04_08.h:133
gsm48_req_ref::t3_high
uint8_t t3_high
Definition: gsm_04_08.h:649
ipa_id_ack_msg
static const uint8_t ipa_id_ack_msg[]
Definition: ipa.c:64
NM_OC_GPRS_NSE
@ NM_OC_GPRS_NSE
Definition: gsm_12_21.h:311
NM_MT_OPSTART_ACK
@ NM_MT_OPSTART_ACK
Definition: gsm_12_21.h:170
GPRS_ATT_T_ATT_WHILE_IMSI
#define GPRS_ATT_T_ATT_WHILE_IMSI
Definition: gsm_04_08_gprs.h:52
gsm_mncc_cause
Definition: mncc.h:41
NM_ATT_OUTST_ALARM
@ NM_ATT_OUTST_ALARM
Definition: gsm_12_21.h:388
GSM0808_CAUSE_BSS_NOT_EQUIPPED
@ GSM0808_CAUSE_BSS_NOT_EQUIPPED
Definition: gsm_08_08.h:351
GSM_MNCC_BCAP_FAX_G3
@ GSM_MNCC_BCAP_FAX_G3
Definition: mncc.h:81
lapd_set_mode
int lapd_set_mode(struct lapd_datalink *dl, enum lapd_mode mode)
Set the lapdm_mode of a LAPDm entity.
Definition: lapd_core.c:344
gsm_fn2gsmtime
void gsm_fn2gsmtime(struct gsm_time *time, uint32_t fn)
Parse GSM Frame Number into struct gsm_time.
Definition: gsm_utils.c:825
IPAC_MSGT_PING
@ IPAC_MSGT_PING
Definition: ipaccess.h:44
BTS_FEAT_OML_ALERTS
@ BTS_FEAT_OML_ALERTS
Definition: bts_features.h:18
parse_cell_id_lac_and_ci_list
static int parse_cell_id_lac_and_ci_list(struct gsm0808_cell_id_list2 *cil, const uint8_t *data, size_t remain, size_t *consumed)
Definition: gsm0808_utils.c:717
gsm_mncc_bearer_cap
Definition: mncc.h:12
osmo_auth_gen_vec_auts
int osmo_auth_gen_vec_auts(struct osmo_auth_vector *vec, struct osmo_sub_auth_data *aud, const uint8_t *auts, const uint8_t *rand_auts, const uint8_t *_rand)
Generate authentication vector and re-sync sequence.
Definition: auth_core.c:190
osmo_lac_and_ci_id::lac
uint16_t lac
Definition: gsm23003.h:36
GSM0808_IE_LAST_USED_EUTRAN_PLMN_ID
@ GSM0808_IE_LAST_USED_EUTRAN_PLMN_ID
Definition: gsm_08_08.h:295
IP_V6_ADDR_LEN
#define IP_V6_ADDR_LEN
Definition: gsm0808_utils.c:34
gsm48_req_ref::ra
uint8_t ra
Definition: gsm_04_08.h:641
GSM_CAUSE_MSG_INCOMP_P_STATE
@ GSM_CAUSE_MSG_INCOMP_P_STATE
Definition: gsm_04_08_gprs.h:259
BSS_MAP_MSG_COMMON_ID
@ BSS_MAP_MSG_COMMON_ID
Definition: gsm_08_08.h:92
osmo_auth_vector::res_len
uint8_t res_len
length (in bytes) of res
Definition: auth.h:66
lapdm_dl_init
static void lapdm_dl_init(struct lapdm_datalink *dl, struct lapdm_entity *entity, int t200)
Definition: lapdm.c:134
NM_ATT_HW_CONF_CHG
@ NM_ATT_HW_CONF_CHG
Definition: gsm_12_21.h:387
GSM48_IE_SYNC_IND
#define GSM48_IE_SYNC_IND
Definition: gsm_04_08.h:1633
NM_ATT_IPACC_SNMP_CFG
@ NM_ATT_IPACC_SNMP_CFG
Definition: gsm_12_21.h:433
abis_om_obj_inst::trx_nr
uint8_t trx_nr
TRX Number.
Definition: gsm_12_21.h:69
GSM0808_CAUSE_DTM_HO_TIMER_EXPIRY
@ GSM0808_CAUSE_DTM_HO_TIMER_EXPIRY
Definition: gsm_08_08.h:384
abis_om_obj_inst::ts_nr
uint8_t ts_nr
Timeslot Number.
Definition: gsm_12_21.h:70
cm3
uint8_t cm3
Definition: gsm_04_08.h:38
gsm48_encode_notify
int gsm48_encode_notify(struct msgb *msg, int notify)
Encode TS 04.08 Notify IE (10.5.4.20)
Definition: gsm48_ie.c:630
NM_OC_BS11_PWR_CTRL
@ NM_OC_BS11_PWR_CTRL
Definition: gsm_12_21.h:303
GSM48_MT_GMM_ID_REQ
#define GSM48_MT_GMM_ID_REQ
Definition: gsm_04_08_gprs.h:30
tch_afs_5_9_puncture
static const int tch_afs_5_9_puncture[]
Definition: gsm0503_conv.c:573
gsm411_mmsms_est_cnf
static int gsm411_mmsms_est_cnf(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:207
aes_encrypt_deinit
void aes_encrypt_deinit(void *ctx)
Definition: aes-internal-enc.c:120
gsm48_generate_mid
uint8_t gsm48_generate_mid(uint8_t *buf, const char *id, uint8_t mi_type)
Generate TS 24.008 §10.5.1.4 Mobile ID.
Definition: gsm48.c:608
TLV_TYPE_FIXED
@ TLV_TYPE_FIXED
fixed-length value-only
Definition: tlv.h:402
NM_CHANC_SDCCH
@ NM_CHANC_SDCCH
Definition: gsm_12_21.h:551
lapd_dl_newstate
static void lapd_dl_newstate(struct lapd_datalink *dl, uint32_t state)
Definition: lapd_core.c:234
smcdatastate::states
uint32_t states
Definition: gsm0411_smc.c:483
GSM_BAND_810
@ GSM_BAND_810
Definition: gsm_utils.h:62
NM_ATT_IPACC_TIMING_BUS
@ NM_ATT_IPACC_TIMING_BUS
Definition: gsm_12_21.h:437
GSM48_IE_GROUP_CHDES
#define GSM48_IE_GROUP_CHDES
Definition: gsm_04_08.h:1624
lapd_send_rnr
static int lapd_send_rnr(struct lapd_msg_ctx *lctx, uint8_t f_bit, uint8_t cmd)
Definition: lapd_core.c:467
A5_R2_LEN
#define A5_R2_LEN
Definition: a5.c:106
GSM0808_IE_SNA_ACCESS_INFO
@ GSM0808_IE_SNA_ACCESS_INFO
Definition: gsm_08_08.h:246
lapdm_phsap_dequeue_prim
int lapdm_phsap_dequeue_prim(struct lapdm_entity *le, struct osmo_phsap_prim *pp)
dequeue a msg that's pending transmission via L1 and wrap it into a osmo_phsap_prim
Definition: lapdm.c:297
GSM411_MT_RP_DATA_MT
#define GSM411_MT_RP_DATA_MT
Definition: gsm_04_11.h:53
tlv_p_entry::len
uint16_t len
length
Definition: tlv.h:395
gsm48_range_128::w20
uint8_t w20
Definition: gsm_04_08.h:377
GSM48_MT_RR_PAG_REQ_1
#define GSM48_MT_RR_PAG_REQ_1
Definition: gsm_04_08.h:1383
msgb_v_put
static uint8_t * msgb_v_put(struct msgb *msg, uint8_t val)
put (append) a V field to a msgb
Definition: tlv.h:321
GSM0808_IE_SOURCE_RNC_TO_TARGET_RNC_TRANSPARENT_UMTS
@ GSM0808_IE_SOURCE_RNC_TO_TARGET_RNC_TRANSPARENT_UMTS
Definition: gsm_08_08.h:238
tch_afs_12_2_term_state
static const uint8_t tch_afs_12_2_term_state[]
Definition: gsm0503_conv.c:235
GSM48_IE_CHANMODE_5
#define GSM48_IE_CHANMODE_5
Definition: gsm_04_08.h:1598
osmo_dlsap_prim::oph
struct osmo_prim_hdr oph
generic primitive header
Definition: lapd_core.h:58
lapd_dl_reset
void lapd_dl_reset(struct lapd_datalink *dl)
Definition: lapd_core.c:308
GSM0808_CAUSE_JOINED_GROUP_CALL_CHANNEL
@ GSM0808_CAUSE_JOINED_GROUP_CALL_CHANNEL
Definition: gsm_08_08.h:336
gsm_freq_range::arfcn_first
uint16_t arfcn_first
Definition: gsm_utils.c:742
Te2
const u32 Te2[256]
GSM48_IE_LOWL_COMPAT
#define GSM48_IE_LOWL_COMPAT
Definition: gsm_04_08.h:1571
GSM411_CP_CAUSE_IE_NOTEXIST
@ GSM411_CP_CAUSE_IE_NOTEXIST
Definition: gsm_04_11.h:47
GSM48_IE_REDIR_BCD
#define GSM48_IE_REDIR_BCD
Definition: gsm_04_08.h:1569
GSM48_MT_CC_STATUS
#define GSM48_MT_CC_STATUS
Definition: gsm_04_08.h:1498
GSM0808_IE_CELL_ID_LIST_SEG_CELLS_TBE
@ GSM0808_IE_CELL_ID_LIST_SEG_CELLS_TBE
Definition: gsm_08_08.h:261
GA_MT_CSR_PAGING_RESP
@ GA_MT_CSR_PAGING_RESP
Definition: gsm_44_318.h:53
GSM48_MT_RR_PDCH_ASS_CMD
#define GSM48_MT_RR_PDCH_ASS_CMD
Definition: gsm_04_08.h:1377
GSM414_MT_CLOSE_MSLOT_LOOP_ACK
#define GSM414_MT_CLOSE_MSLOT_LOOP_ACK
Definition: gsm_04_14.h:39
GSM_MI_TYPE_TMSI
#define GSM_MI_TYPE_TMSI
Definition: gsm_04_08.h:1542
TLLI_G_RNTI
@ TLLI_G_RNTI
Definition: gsm_utils.h:191
gsm0503_tch_ahs_7_95
const struct osmo_conv_code gsm0503_tch_ahs_7_95
TCH/AHS 7.95 kbits convolutional code.
Definition: gsm0503_conv.c:854
osmo_cgi_name2
const char * osmo_cgi_name2(const struct osmo_cell_global_id *cgi)
Same as osmo_cgi_name(), but uses a different static buffer.
Definition: gsm23003.c:157
OSMO_EVT_MIN_PAG_TAB_FULL
@ OSMO_EVT_MIN_PAG_TAB_FULL
Definition: gsm_12_21.h:272
GSM48_MT_MM_AUTH_REQ
#define GSM48_MT_MM_AUTH_REQ
Definition: gsm_04_08.h:1447
gsm_meas_rep_unidir::sub
struct gsm_rx_lev_qual sub
Definition: meas_rep.h:17
parse_cell_id_ci_list
static int parse_cell_id_ci_list(struct gsm0808_cell_id_list2 *cil, const uint8_t *data, size_t remain, size_t *consumed)
Definition: gsm0808_utils.c:748
osmo_gsup_pdp_info::pdp_charg_enc
const uint8_t * pdp_charg_enc
PDP Charging Characteristics, still in encoded form.
Definition: gsup.h:180
SMRDATASLLEN
#define SMRDATASLLEN
Definition: gsm0411_smr.c:458
osmo_plmn_to_bcd
void osmo_plmn_to_bcd(uint8_t *bcd_dst, const struct osmo_plmn_id *plmn)
Definition: gsm23003.c:184
osmo_gsup_message::auts
const uint8_t * auts
Definition: gsup.h:201
lapdm_entity::flags
unsigned int flags
Definition: lapdm.h:55
tx_ph_data_enqueue
static int tx_ph_data_enqueue(struct lapdm_datalink *dl, struct msgb *msg, uint8_t chan_nr, uint8_t link_id, uint8_t pad)
Definition: lapdm.c:244
rslms_rx_rll
static int rslms_rx_rll(struct msgb *msg, struct lapdm_channel *lc)
Definition: lapdm.c:1149
tch_afs_5_15_output
static const uint8_t tch_afs_5_15_output[][2]
Definition: gsm0503_conv.c:609
GA_MT_RC_DEREGISTER
@ GA_MT_RC_DEREGISTER
Definition: gsm_44_318.h:26
GSM0808_IE_LSA_INFORMATION
@ GSM0808_IE_LSA_INFORMATION
Definition: gsm_08_08.h:221
GA_PDISC_PSR
@ GA_PDISC_PSR
Definition: gsm_44_318.h:12
GSM0808_FE_IE_CURRENT_CHANNEL_TYPE_2
@ GSM0808_FE_IE_CURRENT_CHANNEL_TYPE_2
Definition: gsm_08_08.h:301
NM_MT_PERF_TEST_NACK
@ NM_MT_PERF_TEST_NACK
Definition: gsm_12_21.h:139
GSM411_CP_CAUSE_SEMANT_INC_MSG
@ GSM411_CP_CAUSE_SEMANT_INC_MSG
Definition: gsm_04_11.h:43
osmo_auth_impl
Definition: auth.h:73
gsm48_parse_ra
void gsm48_parse_ra(struct gprs_ra_id *raid, const uint8_t *buf)
Parse TS 04.08 Routing Area Identifier.
Definition: gsm48.c:691
GSM_CAUSE_UNKNOWN_PDP
@ GSM_CAUSE_UNKNOWN_PDP
Definition: gsm_04_08_gprs.h:239
NM_OC_BTS
@ NM_OC_BTS
Definition: gsm_12_21.h:290
gsm_mncc_bearer_cap::user_rate
enum gsm48_bcap_user_rate user_rate
Definition: mncc.h:25
GSM23003_IMSI_MIN_DIGITS
#define GSM23003_IMSI_MIN_DIGITS
Definition: gsm_23_003.h:7
abis_nm_pcause_type
abis_nm_pcause_type
Probable Cause Type (Section 9.4.43)
Definition: gsm_12_21.h:589
gsm48_range_256::w6_lo
uint8_t w6_lo
Definition: gsm_04_08.h:278
gsm_band_name
const char * gsm_band_name(enum gsm_band band)
Return string name of a given GSM Band.
Definition: gsm_utils.c:655
LAPD_S_RR
#define LAPD_S_RR
Definition: lapd_core.c:97
A5_R4_TAPS
#define A5_R4_TAPS
Definition: a5.c:118
LAPD_U_DM
#define LAPD_U_DM
Definition: lapd_core.c:91
GSM0808_CAUSE_UPLINK_QUALITY
@ GSM0808_CAUSE_UPLINK_QUALITY
Definition: gsm_08_08.h:324
BSS_MAP_MSG_RESOURCE_RQST
@ BSS_MAP_MSG_RESOURCE_RQST
Definition: gsm_08_08.h:123
BSS_MAP_MSG_BSS_INVOKE_TRACE
@ BSS_MAP_MSG_BSS_INVOKE_TRACE
Definition: gsm_08_08.h:104
gsm0808_enc_channel_type
uint8_t gsm0808_enc_channel_type(struct msgb *msg, const struct gsm0808_channel_type *ct)
Encode TS 08.08 Channel Type IE.
Definition: gsm0808_utils.c:419
GSM411_CP_CAUSE_NET_FAIL
@ GSM411_CP_CAUSE_NET_FAIL
Definition: gsm_04_11.h:40
gsm48_range_128::w18_hi
uint8_t w18_hi
Definition: gsm_04_08.h:374
gsm48_range_1024::w8_lo
uint8_t w8_lo
Definition: gsm_04_08.h:134
GSM_LCHAN_TCH_H
@ GSM_LCHAN_TCH_H
Definition: gsm_utils.h:222
NM_ATT_INTERF_BOUND
@ NM_ATT_INTERF_BOUND
Definition: gsm_12_21.h:344
NM_ATT_ADM_STATE
@ NM_ATT_ADM_STATE
Definition: gsm_12_21.h:323
GSM48_IE_REV_C_SETUP
#define GSM48_IE_REV_C_SETUP
Definition: gsm_04_08.h:1578
gsm0808_dec_speech_codec_list
int gsm0808_dec_speech_codec_list(struct gsm0808_speech_codec_list *scl, const uint8_t *elem, uint8_t len)
Decode TS 08.08 Speech Codec list IE.
Definition: gsm0808_utils.c:375
NM_ATT_CHAN_COMB
@ NM_ATT_CHAN_COMB
Definition: gsm_12_21.h:332
GSM48_RR_CAUSE_MSG_TYPE_N_COMPAT
@ GSM48_RR_CAUSE_MSG_TYPE_N_COMPAT
Definition: gsm_04_08.h:1709
GSM48_PDISC_MASK
#define GSM48_PDISC_MASK
Definition: gsm_04_08.h:1251
lapd_msgb_alloc
struct msgb * lapd_msgb_alloc(int length, const char *name)
Definition: lapd_core.c:118
NM_ATT_LDAVG_SLOTS
@ NM_ATT_LDAVG_SLOTS
Definition: gsm_12_21.h:362
gsm0808_handover_complete::chosen_encr_alg
uint8_t chosen_encr_alg
Definition: gsm0808.h:144
mncc.h
gen_opc_if_needed
static const uint8_t * gen_opc_if_needed(const struct osmo_sub_auth_data *aud, uint8_t *gen_opc)
Definition: auth_milenage.c:35
GSM_PCHAN_TCH_F
@ GSM_PCHAN_TCH_F
Definition: gsm_utils.h:205
A5_R2_MASK
#define A5_R2_MASK
Definition: a5.c:111
gsm0480_l3hdr_push
struct gsm48_hdr * gsm0480_l3hdr_push(struct msgb *msg, uint8_t proto_discr, uint8_t msg_type)
Definition: gsm0480.c:838
MDL_CAUSE_FRM_UNIMPL
#define MDL_CAUSE_FRM_UNIMPL
Definition: lapd_core.h:41
GSM0808_CAUSE_NO_RADIO_RESOURCE_AVAILABLE
@ GSM0808_CAUSE_NO_RADIO_RESOURCE_AVAILABLE
Definition: gsm_08_08.h:347
ccch_conf
uint8_t ccch_conf
Definition: gsm_04_08.h:721
tch_afs_10_2_term_state
static const uint8_t tch_afs_10_2_term_state[]
Definition: gsm0503_conv.c:285
GSM48_IE_SIGNAL
#define GSM48_IE_SIGNAL
Definition: gsm_04_08.h:1562
osmo_cell_global_id::lai
struct osmo_location_area_id lai
Definition: gsm23003.h:29
CELL_ID_LIST_LAC_MAXLEN
#define CELL_ID_LIST_LAC_MAXLEN
Definition: gsm_08_08.h:532
GSM411_RP_CAUSE_MO_INTERWORKING
@ GSM411_RP_CAUSE_MO_INTERWORKING
Definition: gsm_04_11.h:82
NM_MT_LOAD_END
@ NM_MT_LOAD_END
Definition: gsm_12_21.h:93
GSM414_MT_RESET_MS_POS_STORED
#define GSM414_MT_RESET_MS_POS_STORED
Definition: gsm_04_14.h:99
TLV_TYPE_T
@ TLV_TYPE_T
tag-only
Definition: tlv.h:403
NM_CHANC_OSMO_TCHFull_TCHHalf_PDCH
@ NM_CHANC_OSMO_TCHFull_TCHHalf_PDCH
Definition: gsm_12_21.h:566
IPAC_MSGT_ID_ACK
@ IPAC_MSGT_ID_ACK
Definition: ipaccess.h:48
update_pending_frames
static int update_pending_frames(struct lapd_msg_ctx *lctx)
Definition: lapdm.c:521
GA_MT_RC_REGISTER_ACCEPT
@ GA_MT_RC_REGISTER_ACCEPT
Definition: gsm_44_318.h:23
GSM48_IE_REDIR_SUB
#define GSM48_IE_REDIR_SUB
Definition: gsm_04_08.h:1570
gsm0808_cell_id_name_buf
static const char * gsm0808_cell_id_name_buf(const struct gsm0808_cell_id *cid, char *buf, size_t buflen)
Definition: gsm0808_utils.c:1223
GSM48_MT_CC_RETR_ACK
#define GSM48_MT_CC_RETR_ACK
Definition: gsm_04_08.h:1489
gprs_ra_id
Definition: gsm48.h:20
MDL_CAUSE_T200_EXPIRED
#define MDL_CAUSE_T200_EXPIRED
Definition: lapd_core.h:30
lapd_datalink::maxf
int maxf
maximum frame size (after defragmentation)
Definition: lapd_core.h:138
GSM48_MT_RR_INIT_REQ
#define GSM48_MT_RR_INIT_REQ
Definition: gsm_04_08.h:1349
GSM0808_IE_LCLS_CORR_NOT_NEEDED
@ GSM0808_IE_LCLS_CORR_NOT_NEEDED
Definition: gsm_08_08.h:286
GSM0480_OP_CODE_REGISTER_PASSWORD
#define GSM0480_OP_CODE_REGISTER_PASSWORD
Definition: gsm_04_80.h:76
GSM0808_IE_CELL_ID_LIST_SEG_NE_CELLS
@ GSM0808_IE_CELL_ID_LIST_SEG_NE_CELLS
Definition: gsm_08_08.h:263
gsm_freq_range::freq_ul_first
uint16_t freq_ul_first
Definition: gsm_utils.c:744
GSM0808_LCLS_CSC_RELEASE_LCLS
@ GSM0808_LCLS_CSC_RELEASE_LCLS
Definition: gsm_08_08.h:559
osmo_gsup_message::auth_vectors
struct osmo_auth_vector auth_vectors[OSMO_GSUP_MAX_NUM_AUTH_INFO]
Definition: gsup.h:193
CELL_IDENT_LAC_AND_CI
@ CELL_IDENT_LAC_AND_CI
Definition: gsm_08_08.h:18
GSM0808_CAUSE_PROCESSOR_OVERLOAD
@ GSM0808_CAUSE_PROCESSOR_OVERLOAD
Definition: gsm_08_08.h:350
gsm411_mnsms_error_ind_rx
static int gsm411_mnsms_error_ind_rx(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:352
GSM0808_IE_MOBILE_IDENTITY
@ GSM0808_IE_MOBILE_IDENTITY
Definition: gsm_08_08.h:201
NM_MT_SET_RADIO_ATTR
@ NM_MT_SET_RADIO_ATTR
Definition: gsm_12_21.h:130
smcdownstate
Definition: gsm0411_smc.c:421
OSMO_GSUP_AUTS_IE
@ OSMO_GSUP_AUTS_IE
Definition: gsup.h:82
RSL_MT_REL_IND
@ RSL_MT_REL_IND
Definition: gsm_08_58.h:95
NM_CHANC_IPAC_TCHFull_PDCH
@ NM_CHANC_IPAC_TCHFull_PDCH
Definition: gsm_12_21.h:563
lapdm_rslms_recvmsg
int lapdm_rslms_recvmsg(struct msgb *msg, struct lapdm_channel *lc)
Receive a RSLms msgb from Layer 3.
Definition: lapdm.c:1273
BTS_FEAT_HOPPING
@ BTS_FEAT_HOPPING
Definition: bts_features.h:16
NM_MT_CONN_TERR_SIGN_NACK
@ NM_MT_CONN_TERR_SIGN_NACK
Definition: gsm_12_21.h:109
abis_nm_debugp_foh
void abis_nm_debugp_foh(int ss, struct abis_om_fom_hdr *foh)
Definition: abis_nm.c:944
Td4s
const u8 Td4s[256]
Definition: aes-internal.c:745
NM_MT_SW_ACTIVATED_REP
@ NM_MT_SW_ACTIVATED_REP
Definition: gsm_12_21.h:102
GSM_LCHAN_CBCH
@ GSM_LCHAN_CBCH
Definition: gsm_utils.h:226
GSM48_MT_RR_SYSINFO_5bis
#define GSM48_MT_RR_SYSINFO_5bis
Definition: gsm_04_08.h:1408
gsm48_range_1024::w3_hi
uint8_t w3_hi
Definition: gsm_04_08.h:123
__attribute__
static __attribute__((constructor))
Definition: auth_milenage.c:179
gsm48_generate_lai
void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc, uint16_t mnc, uint16_t lac)
Encode TS 04.08 Location Area Identifier, legacy implementation.
Definition: gsm48.c:490
GSM0808_CAUSE_REQ_REDUND_LVL_NOT_SUPP
@ GSM0808_CAUSE_REQ_REDUND_LVL_NOT_SUPP
Definition: gsm_08_08.h:373
GSM0808_CAUSE_ACCESS_RESTRICTED_DUE_TO_SHARED_NETWORKS
@ GSM0808_CAUSE_ACCESS_RESTRICTED_DUE_TO_SHARED_NETWORKS
Definition: gsm_08_08.h:370
GSM0808_PERM_FR5
@ GSM0808_PERM_FR5
FR AMR-WB.
Definition: gsm_08_08.h:425
GSM48_MT_RR_CLSM_CHG
#define GSM48_MT_RR_CLSM_CHG
Definition: gsm_04_08.h:1425
PRIM_MPH_INFO
@ PRIM_MPH_INFO
MPH-INFO.
Definition: l1sap.h:14
comp128v1
void comp128v1(const uint8_t *ki, const uint8_t *srand, uint8_t *sres, uint8_t *kc)
Perform COMP128v1 algorithm.
Definition: comp128.c:196
GSM48_MT_RR_SYSINFO_17
#define GSM48_MT_RR_SYSINFO_17
Definition: gsm_04_08.h:1414
T200_FACCH_H
@ T200_FACCH_H
Definition: gsm_12_21.h:649
gsm411_rp_state
gsm411_rp_state
Definition: gsm_04_11.h:18
osmo_dlsap_prim::u
union osmo_dlsap_prim::@8 u
request-specific data
ipa_send
int ipa_send(int fd, const void *msg, size_t msglen)
Definition: ipa.c:341
tch_afs_10_2_term_output
static const uint8_t tch_afs_10_2_term_output[]
Definition: gsm0503_conv.c:290
ph_rach_ind_param::ra
uint16_t ra
Random Access.
Definition: l1sap.h:62
BSS_MAP_MSG_CIPHER_MODE_COMPLETE
@ BSS_MAP_MSG_CIPHER_MODE_COMPLETE
Definition: gsm_08_08.h:128
gsm0503_xcch
const struct osmo_conv_code gsm0503_xcch
xCCH convolutional code: 228 bits blocks, rate 1/2, k = 5 G0 = 1 + D3 + D4 G1 = 1 + D + D3 + D4
Definition: gsm0503_conv.c:84
gsm411_rp_hdr::msg_type
uint8_t msg_type
Definition: gsm_04_11.h:106
gsm48_mi_to_string
int gsm48_mi_to_string(char *string, const int str_len, const uint8_t *mi, const int mi_len)
Convert TS 04.08 Mobile Identity (10.5.1.4) to string.
Definition: gsm48.c:646
gea3
int gea3(uint8_t *out, uint16_t len, uint8_t *kc, uint32_t iv, enum gprs_cipher_direction direct)
Performs the GEA3 algorithm as in 3GPP TS 55.216 V6.2.0.
Definition: gea.c:55
GSM48_REJECT_MSG_TYPE_NOT_COMPATIBLE
@ GSM48_REJECT_MSG_TYPE_NOT_COMPATIBLE
Definition: gsm_04_08.h:1788
osmo_plmn_to_bcd
void osmo_plmn_to_bcd(uint8_t *bcd_dst, const struct osmo_plmn_id *plmn)
Definition: gsm23003.c:184
GSM48_MT_GMM_RA_UPD_REQ
#define GSM48_MT_GMM_RA_UPD_REQ
Definition: gsm_04_08_gprs.h:19
gsm0808_create_clear_complete
struct msgb * gsm0808_create_clear_complete(void)
Create BSSMAP Clear Complete message.
Definition: gsm0808.c:170
NM_MT_ACTIVATE_SW_ACK
@ NM_MT_ACTIVATE_SW_ACK
Definition: gsm_12_21.h:100
osmo_mnc_from_str
int osmo_mnc_from_str(const char *mnc_str, uint16_t *mnc, bool *mnc_3_digits)
Definition: gsm23003.c:238
GSM48_RR_CAUSE_FREQ_NOT_IMPL
@ GSM48_RR_CAUSE_FREQ_NOT_IMPL
Definition: gsm_04_08.h:1704
OSMO_GSUP_MSGT_DELETE_DATA_RESULT
@ OSMO_GSUP_MSGT_DELETE_DATA_RESULT
Definition: gsup.h:115
gsm48_hdr_gmm_cipherable
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
u8
uint8_t u8
Definition: common.h:18
NM_ATT_MEAS_RES
@ NM_ATT_MEAS_RES
Definition: gsm_12_21.h:390
GSM48_MT_RR_SYSINFO_2quater
#define GSM48_MT_RR_SYSINFO_2quater
Definition: gsm_04_08.h:1407
GSM_BAND_480
@ GSM_BAND_480
Definition: gsm_utils.h:60
lapd_datalink::cr
struct lapd_datalink::@9 cr
gsm48_range_128::w17
uint8_t w17
Definition: gsm_04_08.h:373
NM_IPACC_TESTNO_FREQ_SYNC
@ NM_IPACC_TESTNO_FREQ_SYNC
Definition: gsm_12_21.h:718
gsm48_range_256::w4_hi
uint8_t w4_hi
Definition: gsm_04_08.h:273
gsm48_generate_mid_from_tmsi
int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi)
Generate TS 04.08 Mobile ID from TMSI.
Definition: gsm48.c:592
A52_R4_CLKBIT1
#define A52_R4_CLKBIT1
Definition: a5.c:276
smrdownstate::type
int type
Definition: gsm0411_smr.c:379
gsm0808_channel_type
Definition: gsm_08_08.h:515
OSMO_GSUP_SESSION_ID_IE
@ OSMO_GSUP_SESSION_ID_IE
Definition: gsup.h:86
GSM48_MT_RR_FREQ_REDEF
#define GSM48_MT_RR_FREQ_REDEF
Definition: gsm_04_08.h:1423
GSM_PCHAN_CCCH
@ GSM_PCHAN_CCCH
Definition: gsm_utils.h:203
GSM48_MT_CC_CONNECT
#define GSM48_MT_CC_CONNECT
Definition: gsm_04_08.h:1471
GSM48_MT_RR_CHAN_REL
#define GSM48_MT_RR_CHAN_REL
Definition: gsm_04_08.h:1379
gsm48_encode_cccap
int gsm48_encode_cccap(struct msgb *msg, const struct gsm_mncc_cccap *ccap)
Encodoe TS 04.08 Call Control Capabilities (10.5.4.5a)
Definition: gsm48_ie.c:322
GSM48_MT_RR_HANDO_FAIL
#define GSM48_MT_RR_HANDO_FAIL
Definition: gsm_04_08.h:1371
osmo_gsup_pdp_info::qos_enc
const uint8_t * qos_enc
QoS information, still in encoded form.
Definition: gsup.h:175
abis_nm_msg_disc_names
const struct value_string abis_nm_msg_disc_names[]
Human-readable strings for A-bis OML Object Class.
Definition: abis_nm.c:597
gsm48_range_128::w27
uint8_t w27
Definition: gsm_04_08.h:386
NM_EVT_ENV_FAIL
@ NM_EVT_ENV_FAIL
Definition: gsm_12_21.h:575
GSM0808_PERM_FR4
@ GSM0808_PERM_FR4
OFR AMR-WB.
Definition: gsm_08_08.h:424
gsm_mncc_number::number
char number[33]
Definition: mncc.h:38
GSM_CAUSE_MISSING_APN
@ GSM_CAUSE_MISSING_APN
Definition: gsm_04_08_gprs.h:238
gsm48_generate_mid_from_imsi
int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi)
Generate TS 04.08 Mobile ID from IMSI.
Definition: gsm48.c:635
chcomb4pchan
static enum abis_nm_chan_comb chcomb4pchan[]
Definition: abis_nm.c:689
abis_om_fom_hdr::obj_class
uint8_t obj_class
Object Class (abis_nm_obj_class)
Definition: gsm_12_21.h:76
GSM48_MT_RR_SYSINFO_1
#define GSM48_MT_RR_SYSINFO_1
Definition: gsm_04_08.h:1397
gsm0808_create_lcls_notification
struct msgb * gsm0808_create_lcls_notification(enum gsm0808_lcls_status status, bool break_req)
Create BSSMAP LCLS NOTIFICATION message (TS 48.008 3.2.1.93).
Definition: gsm0808.c:328
NM_ATT_IPACC_GPRS_PAGING_CFG
@ NM_ATT_IPACC_GPRS_PAGING_CFG
Definition: gsm_12_21.h:441
GSM411_CP_CAUSE_INV_MAND_INF
@ GSM411_CP_CAUSE_INV_MAND_INF
Definition: gsm_04_11.h:44
lapd_datalink::t203
struct osmo_timer_list t203
T203 timer.
Definition: lapd_core.h:151
IPAC_IDTAG_EQUIPVERS
@ IPAC_IDTAG_EQUIPVERS
Definition: ipaccess.h:59
GMM_CAUSE_IMEI_NOT_ACCEPTED
@ GMM_CAUSE_IMEI_NOT_ACCEPTED
Definition: gsm_04_08_gprs.h:200
gsm48_range_128::w10
uint8_t w10
Definition: gsm_04_08.h:366
GSM0808_IE_CIRCUIT_POOL
@ GSM0808_IE_CIRCUIT_POOL
Definition: gsm_08_08.h:205
sub_mod
static uint8_t sub_mod(uint8_t x, uint8_t y, uint8_t m)
Definition: lapd_core.c:141
GSM0808_SCT_CSD
@ GSM0808_SCT_CSD
CSData (see also TS 26.103)
Definition: gsm_08_08.h:448
msgb_tv16_push
static uint8_t * msgb_tv16_push(struct msgb *msg, uint8_t tag, uint16_t val)
push (prepend) a TV16 field to a msgb
Definition: tlv.h:355
osmo_gsup_message::session_state
enum osmo_gsup_session_state session_state
Session state osmo_gsup_session_state.
Definition: gsup.h:208
osmo_gsup_pdp_info::pdp_charg_enc_len
size_t pdp_charg_enc_len
length (in octets) of pdp_charg_enc
Definition: gsup.h:182
kasumi_FO
static uint32_t kasumi_FO(uint32_t I, const uint16_t *KOi1, const uint16_t *KOi2, const uint16_t *KOi3, const uint16_t *KIi1, const uint16_t *KIi2, const uint16_t *KIi3, unsigned i)
Definition: kasumi.c:94
ss_request::transaction_id
uint8_t transaction_id
GSM TS 04.80, section 3.3 "Transaction identifier" See GSM TS 04.07, section 11.2....
Definition: gsm0480.h:95
NM_MT_CONN_TERR_TRAF_ACK
@ NM_MT_CONN_TERR_TRAF_ACK
Definition: gsm_12_21.h:114
NM_ATT_PROB_CAUSE
@ NM_ATT_PROB_CAUSE
Definition: gsm_12_21.h:360
BSS_MAP_MSG_VGCS_VBS_ASSIGNMENT_RQST
@ BSS_MAP_MSG_VGCS_VBS_ASSIGNMENT_RQST
Definition: gsm_08_08.h:139
gsm0808_handover_failure::rr_cause
uint8_t rr_cause
Definition: gsm0808.h:161
NM_ATT_WINDOW_SIZE
@ NM_ATT_WINDOW_SIZE
Definition: gsm_12_21.h:376
gsm411_rp_hdr
Definition: gsm_04_11.h:104
GPRS_SERVICE_T_PAGING_RESP
@ GPRS_SERVICE_T_PAGING_RESP
Definition: gsm_04_08_gprs.h:405
tch_ahs_7_95_output
static const uint8_t tch_ahs_7_95_output[][2]
Definition: gsm0503_conv.c:824
req_ref
struct gsm48_req_ref req_ref
Definition: gsm_04_08.h:713
PRIM_PH_RTS
@ PRIM_PH_RTS
PH-RTS.
Definition: l1sap.h:13
gsm0480_create_ussd_notify
struct msgb * gsm0480_create_ussd_notify(int level, const char *text)
Definition: gsm0480.c:848
GA_MT_CSR_CHAN_MODE_MOD
@ GA_MT_CSR_CHAN_MODE_MOD
Definition: gsm_44_318.h:38
GSM48_MT_RR_VGCS_UPL_GRANT
#define GSM48_MT_RR_VGCS_UPL_GRANT
Definition: gsm_04_08.h:1432
osmo_gsup_encode
int osmo_gsup_encode(struct msgb *msg, const struct osmo_gsup_message *gsup_msg)
Encode a GSUP message.
Definition: gsup.c:529
GSM411_ALLOC_SIZE
#define GSM411_ALLOC_SIZE
Definition: gsm0411_utils.c:48
lapdm_phsap_up
int lapdm_phsap_up(struct osmo_prim_hdr *oph, struct lapdm_entity *le)
Receive a PH-SAP primitive from L1.
Definition: lapdm.c:771
NM_ATT_NACK_CAUSES
@ NM_ATT_NACK_CAUSES
Definition: gsm_12_21.h:353
NM_NACK_PARAM_RANGE
@ NM_NACK_PARAM_RANGE
Definition: gsm_12_21.h:611
rsl_msg_name
const char * rsl_msg_name(uint8_t err)
Get human-readable string for RSL Message Type.
Definition: rsl.c:358
NM_MT_SET_ALARM_THRES
@ NM_MT_SET_ALARM_THRES
Definition: gsm_12_21.h:190
osmo_gsup_message::hlr_enc_len
size_t hlr_enc_len
Definition: gsup.h:200
rr_cause
uint8_t rr_cause
Definition: gsm_04_08.h:708
NM_MT_SW_ACT_REQ_NACK
@ NM_MT_SW_ACT_REQ_NACK
Definition: gsm_12_21.h:98
gsm0808_handover_complete::chosen_encr_alg_present
bool chosen_encr_alg_present
Definition: gsm0808.h:143
gsm0480_wrap_invoke
int gsm0480_wrap_invoke(struct msgb *msg, int op, int link_id)
Definition: gsm0480.c:97
osmo_lai_name
const char * osmo_lai_name(const struct osmo_location_area_id *lai)
Return MCC-MNC-LAC as string, in a static buffer.
Definition: gsm23003.c:129
gsm0808_create_clear_command
struct msgb * gsm0808_create_clear_command(uint8_t reason)
Create BSSMAP Clear Command message.
Definition: gsm0808.c:187
GSM48_RR_CAUSE_MSG_TYPE_N
@ GSM48_RR_CAUSE_MSG_TYPE_N
Definition: gsm_04_08.h:1708
gsm48_range_256::w4_lo
uint8_t w4_lo
Definition: gsm_04_08.h:274
BSS_MAP_MSG_CHAN_MOD_RQST
@ BSS_MAP_MSG_CHAN_MOD_RQST
Definition: gsm_08_08.h:55
ipaccess_unit::mac_addr
uint8_t mac_addr[6]
Definition: ipa.h:20
gsm48_range_128::w6_lo
uint8_t w6_lo
Definition: gsm_04_08.h:362
tch_afs_5_15_term_output
static const uint8_t tch_afs_5_15_term_output[]
Definition: gsm0503_conv.c:621
BSS_MAP_MSG_PERFORM_LOCATION_ABORT
@ BSS_MAP_MSG_PERFORM_LOCATION_ABORT
Definition: gsm_08_08.h:91
GSM340_TYPE_ALPHA_NUMERIC
@ GSM340_TYPE_ALPHA_NUMERIC
Definition: gsm_03_40.h:15
NM_MT_LOAD_INIT_NACK
@ NM_MT_LOAD_INIT_NACK
Definition: gsm_12_21.h:89
NM_STATE_LOCKED
@ NM_STATE_LOCKED
Definition: gsm_12_21.h:520
gsm0808_prepend_dtap_header
void gsm0808_prepend_dtap_header(struct msgb *msg, uint8_t link_id)
Prepend a DTAP header to given Message Buffer.
Definition: gsm0808.c:852
NM_OC_BS11
@ NM_OC_BS11
Definition: gsm_12_21.h:306
lapdm_entity_init
void lapdm_entity_init(struct lapdm_entity *le, enum lapdm_mode mode, int t200)
initialize a LAPDm entity and all datalinks inside
Definition: lapdm.c:154
GSM0808_IE_VGCS_FEATURE_FLAGS
@ GSM0808_IE_VGCS_FEATURE_FLAGS
Definition: gsm_08_08.h:252
NM_IPACC_TESTNO_BCCH_CHAN_USAGE
@ NM_IPACC_TESTNO_BCCH_CHAN_USAGE
Definition: gsm_12_21.h:717
l2downstate::name
const char * name
Definition: lapd_core.c:2153
length
uint8_t length
Definition: gsm_08_08.h:3
GSM0808_IE_CELL_IDENTIFIER
@ GSM0808_IE_CELL_IDENTIFIER
Definition: gsm_08_08.h:165
abis_rsl_common_hdr
RSL common header.
Definition: gsm_08_58.h:33
lapd_datalink::send_dlsap
int(* send_dlsap)(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.h:124
gsm0808_lcls_control_names
const struct value_string gsm0808_lcls_control_names[]
Definition: gsm0808.c:1270
GSM0808_CAUSE_REQUESTED_OPT_NOT_AUTHORISED
@ GSM0808_CAUSE_REQUESTED_OPT_NOT_AUTHORISED
Definition: gsm_08_08.h:341
NM_ATT_OSMO_REDUCEPOWER
@ NM_ATT_OSMO_REDUCEPOWER
Definition: gsm_12_21.h:514
gsm48_range_512::w17
uint8_t w17
Definition: gsm_04_08.h:218
IPA_ALLOC_SIZE
#define IPA_ALLOC_SIZE
Definition: ipa.c:52
GSM48_MT_CC_NOTIFY
#define GSM48_MT_CC_NOTIFY
Definition: gsm_04_08.h:1497
gsm340_gen_scts
void gsm340_gen_scts(uint8_t *scts, time_t time)
Generate 03.40 TP-SCTS.
Definition: gsm0411_utils.c:92
tch_afs_7_95_state
static const uint8_t tch_afs_7_95_state[][2]
Definition: gsm0503_conv.c:332
NM_ATT_IPACC_BSSGP_CFG
@ NM_ATT_IPACC_BSSGP_CFG
Definition: gsm_12_21.h:446
_a5_1
void _a5_1(const uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul)
Generate a GSM A5/1 cipher stream.
Definition: a5.c:213
GSM0808_IE_QUEUEING_INDICATOR
@ GSM0808_IE_QUEUEING_INDICATOR
Definition: gsm_08_08.h:210
severity_names
static const struct value_string severity_names[]
Definition: abis_nm.c:239
rslms_rx_rll_data_req
static int rslms_rx_rll_data_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:973
GSM48_MT_RR_CIPH_M_CMD
#define GSM48_MT_RR_CIPH_M_CMD
Definition: gsm_04_08.h:1359
l2_ph_chan_conf
static int l2_ph_chan_conf(struct msgb *msg, struct lapdm_entity *le, uint32_t frame_nr)
Definition: lapdm.c:1125
GSM_LCHAN_PDTCH
@ GSM_LCHAN_PDTCH
Definition: gsm_utils.h:225
GSM0480_CTYPE_RETURN_ERROR
#define GSM0480_CTYPE_RETURN_ERROR
Definition: gsm_04_80.h:18
NM_MT_TEST_REP
@ NM_MT_TEST_REP
Definition: gsm_12_21.h:140
GSM48_MT_CC_SETUP
#define GSM48_MT_CC_SETUP
Definition: gsm_04_08.h:1479
gsm_44_318.h
GETU32
#define GETU32(pt)
Definition: aes_i.h:113
gsm0503_mcs7_ul_hdr
const struct osmo_conv_code gsm0503_mcs7_ul_hdr
EDGE MCS-7 UL header convolutional code: 60 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G...
Definition: gsm0503_conv.c:1306
OSMO_AUTH_TYPE_GSM
@ OSMO_AUTH_TYPE_GSM
Definition: auth.h:18
msgb_lv_put
static uint8_t * msgb_lv_put(struct msgb *msg, uint8_t len, const uint8_t *val)
put (append) a LV field to a msgb
Definition: tlv.h:288
GSM0808_CAUSE_RADIO_INTERFACE_MESSAGE_FAILURE
@ GSM0808_CAUSE_RADIO_INTERFACE_MESSAGE_FAILURE
Definition: gsm_08_08.h:322
GSM48_CMODE_DATA_6k0
@ GSM48_CMODE_DATA_6k0
Definition: gsm_04_08.h:702
gprs_cipher_impl::algo
enum gprs_ciph_algo algo
Definition: gprs_cipher.h:33
_kasumi
uint64_t _kasumi(uint64_t P, const uint16_t *KLi1, const uint16_t *KLi2, const uint16_t *KOi1, const uint16_t *KOi2, const uint16_t *KOi3, const uint16_t *KIi1, const uint16_t *KIi2, const uint16_t *KIi3)
Single iteration of KASUMI cipher.
Definition: kasumi.c:126
GMM_CAUSE_COND_IE_ERR
@ GMM_CAUSE_COND_IE_ERR
Definition: gsm_04_08_gprs.h:225
osmo_msisdn_str_valid
bool osmo_msisdn_str_valid(const char *msisdn)
Determine whether the given MSISDN is valid according to 3GPP TS 23.003.
Definition: gsm23003.c:69
gsm48_cc_msgtype_names
const struct value_string gsm48_cc_msgtype_names[]
TS 04.08 CC Message Type names.
Definition: gsm48.c:906
GA_MT_CSR_UL_QUAL_IND
@ GA_MT_CSR_UL_QUAL_IND
Definition: gsm_44_318.h:47
GSM48_IE_PROGR_IND
#define GSM48_IE_PROGR_IND
Definition: gsm_04_08.h:1558
GSM0480_OP_CODE_FORWARD_CHARGE_ADVICE
#define GSM0480_OP_CODE_FORWARD_CHARGE_ADVICE
Definition: gsm_04_80.h:88
abis_nm_attr
abis_nm_attr
OML Attributes / IEs (Section 9.4)
Definition: gsm_12_21.h:319
GSM0808_CAUSE_VGCS_VBS_CALL_NON_EXISTENT
@ GSM0808_CAUSE_VGCS_VBS_CALL_NON_EXISTENT
Definition: gsm_08_08.h:383
tlv_parsed::lv
struct tlv_p_entry lv[256]
Definition: tlv.h:425
NM_MT_CONN_TERR_TRAF_NACK
@ NM_MT_CONN_TERR_TRAF_NACK
Definition: gsm_12_21.h:115
l2_ph_rach_ind
static int l2_ph_rach_ind(struct lapdm_entity *le, uint8_t ra, uint32_t fn, uint8_t acc_delay)
Definition: lapdm.c:739
ipa_ccm_idtag_parse_off
int ipa_ccm_idtag_parse_off(struct tlv_parsed *dec, unsigned char *buf, int len, const int len_offset)
Definition: ipa.c:106
GSM0808_IE_IMEI
@ GSM0808_IE_IMEI
Definition: gsm_08_08.h:250
ss_request
This structure represents some meaningful parts of a decoded and/or to be encoded GSM 04....
Definition: gsm0480.h:57
GSM0808_IE_CLASSMARK_INFORMATION_TYPE_1
@ GSM0808_IE_CLASSMARK_INFORMATION_TYPE_1
Definition: gsm_08_08.h:189
NM_ATT_IPACC_OBJ_VERSION
@ NM_ATT_IPACC_OBJ_VERSION
Definition: gsm_12_21.h:440
osmo_gsup_message::pdp_charg_enc
const uint8_t * pdp_charg_enc
Definition: gsup.h:204
_a5_1_clock
static void _a5_1_clock(uint32_t r[], int force)
GSM A5/1 Clocking function.
Definition: a5.c:172
GSM48_IE_FREQ_L_BEFORE
#define GSM48_IE_FREQ_L_BEFORE
Definition: gsm_04_08.h:1605
GSM0808_IE_CAUSE
@ GSM0808_IE_CAUSE
Definition: gsm_08_08.h:164
gsm411_smc_inst::cp_state
enum gsm411_cp_state cp_state
Definition: gsm0411_smc.h:37
GSM0808_FE_IE_EXTRA_INFORMATION
@ GSM0808_FE_IE_EXTRA_INFORMATION
Definition: gsm_08_08.h:300
lapdm_channel
the two lapdm_entities that form a GSM logical channel (ACCH + DCCH)
Definition: lapdm.h:71
GSM0808_IE_REDIR_ATTEMPT_FLAG
@ GSM0808_IE_REDIR_ATTEMPT_FLAG
Definition: gsm_08_08.h:279
GSM48_REJECT_SRV_OPT_NOT_SUPPORTED
@ GSM48_REJECT_SRV_OPT_NOT_SUPPORTED
Definition: gsm_04_08.h:1781
GMM_CAUSE_SMS_VIA_GPRS_IN_RA
@ GMM_CAUSE_SMS_VIA_GPRS_IN_RA
Definition: gsm_04_08_gprs.h:218
gsm411_push_rp_header
int gsm411_push_rp_header(struct msgb *msg, uint8_t rp_msg_type, uint8_t rp_msg_ref)
Prefix msgb with a RP header.
Definition: gsm0411_utils.c:332
GSM_BAND_450
@ GSM_BAND_450
Definition: gsm_utils.h:59
gprs_cs_desc::downlink
struct gprs_cs_desc::@40 downlink
BSSAP_MSG_DTAP
@ BSSAP_MSG_DTAP
Definition: gsm_08_08.h:33
BSS_MAP_MSG_HANDOVER_SUCCEEDED
@ BSS_MAP_MSG_HANDOVER_SUCCEEDED
Definition: gsm_08_08.h:63
SMC_LOG_STR
#define SMC_LOG_STR
Definition: gsm0411_smc.c:75
proto
uint8_t proto
Definition: ipaccess.h:3
GSM411_MNSMS_DATA_REQ
#define GSM411_MNSMS_DATA_REQ
Definition: gsm0411_smc.h:22
osmo_dlsap_prim
primitive header for LAPD DL-SAP primitives
Definition: lapd_core.h:57
tch_ahs_6_7_term_output
static const uint8_t tch_ahs_6_7_term_output[]
Definition: gsm0503_conv.c:931
osmo_dlsap_prim::rel_req
struct dl_rel_req_param rel_req
Definition: lapd_core.h:61
gsm48_range_1024::w14_hi
uint8_t w14_hi
Definition: gsm_04_08.h:143
gsm48_range_1024::w5_lo
uint8_t w5_lo
Definition: gsm_04_08.h:128
ph_data_param::link_id
uint8_t link_id
Link Identifier (Like RSL)
Definition: l1sap.h:75
gsm48_gsm_cause_names
const struct value_string * gsm48_gsm_cause_names
Definition: gsm_04_08_gprs.c:120
gsm48_range_256::w16_lo
uint8_t w16_lo
Definition: gsm_04_08.h:293
lapd_send_resend
static int lapd_send_resend(struct lapd_datalink *dl)
Definition: lapd_core.c:511
GSM48_IE_MODE_SEC_CH
#define GSM48_IE_MODE_SEC_CH
Definition: gsm_04_08.h:1620
c5_function
static void c5_function(uint8_t *ik, const uint8_t *kc)
Definition: auth_core.c:102
GSM48_IE_FOLLOW_ON_PROC
#define GSM48_IE_FOLLOW_ON_PROC
Definition: gsm_04_08.h:1644
ipaccess_unit::trx_id
uint16_t trx_id
Definition: ipa.h:16
gsm411_mnsms_error_ind_tx
static int gsm411_mnsms_error_ind_tx(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:341
gsm_mncc_progress::descr
int descr
Definition: mncc.h:59
EGPRS_CPS_TYPE1_TBL_SZ
#define EGPRS_CPS_TYPE1_TBL_SZ
Definition: gprs_rlc.c:20
GSM0808_IE_SMS_TO_VGCS
@ GSM0808_IE_SMS_TO_VGCS
Definition: gsm_08_08.h:257
GSM0808_CAUSE_RADIO_INTERFACE_FAILURE
@ GSM0808_CAUSE_RADIO_INTERFACE_FAILURE
Definition: gsm_08_08.h:323
GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL
@ GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL
Definition: gsm_08_08.h:548
msg_ref
uint8_t msg_ref
Definition: gsm_04_11.h:4
GSM48_MT_GMM_AUTH_CIPH_REQ
#define GSM48_MT_GMM_AUTH_CIPH_REQ
Definition: gsm_04_08_gprs.h:26
gsm0808_dec_speech_codec
int gsm0808_dec_speech_codec(struct gsm0808_speech_codec *sc, const uint8_t *elem, uint8_t len)
Decode TS 08.08 Speech Codec IE.
Definition: gsm0808_utils.c:259
OSMO_AUTH_ALG_XOR
@ OSMO_AUTH_ALG_XOR
Definition: auth.h:33
RLL_CAUSE_FRM_UNIMPL
#define RLL_CAUSE_FRM_UNIMPL
Definition: gsm_08_58.h:459
BSS_MAP_MSG_VGCS_ADDL_INFO
@ BSS_MAP_MSG_VGCS_ADDL_INFO
Definition: gsm_08_08.h:150
smcdownstate::type
int type
Definition: gsm0411_smc.c:423
TLV_TYPE_TLV
@ TLV_TYPE_TLV
tag-length-value
Definition: tlv.h:405
gsm_mncc_useruser::proto
int proto
Definition: mncc.h:52
GSM0480_OP_CODE_SPLIT_MPTY
#define GSM0480_OP_CODE_SPLIT_MPTY
Definition: gsm_04_80.h:84
apn_strbuf
static char apn_strbuf[APN_MAXLEN+1]
Definition: apn.c:33
GSM411_TMR_TR1M
#define GSM411_TMR_TR1M
Definition: gsm_04_11.h:96
GSM0808_CAUSE_INVALID_CSG_CELL
@ GSM0808_CAUSE_INVALID_CSG_CELL
Definition: gsm_08_08.h:365
gsm48_mm_att_tlvdef
const struct tlv_definition gsm48_mm_att_tlvdef
TLV parser definitions for TS 04.08 MM.
Definition: gsm48.c:141
GSM48_IE_CHANMODE_4
#define GSM48_IE_CHANMODE_4
Definition: gsm_04_08.h:1597
NM_NACK_REQ_NOT_GRANT
@ NM_NACK_REQ_NOT_GRANT
Definition: gsm_12_21.h:630
ipa_ccm_send_id_ack
int ipa_ccm_send_id_ack(int fd)
Definition: ipa.c:360
gsm0808_old_bss_to_new_bss_info::current_channel_type_2
struct gsm0808_old_bss_to_new_bss_info::@1 current_channel_type_2
NM_STATE_SHUTDOWN
@ NM_STATE_SHUTDOWN
Definition: gsm_12_21.h:522
GSM414_MT_OPEN_MSLOT_LOOP_ACK
#define GSM414_MT_OPEN_MSLOT_LOOP_ACK
Definition: gsm_04_14.h:55
rslms_rx_com_chan
static int rslms_rx_com_chan(struct msgb *msg, struct lapdm_channel *lc)
Definition: lapdm.c:1246
NM_MT_CHANGEOVER_NACK
@ NM_MT_CHANGEOVER_NACK
Definition: gsm_12_21.h:168
ARFCN_FLAG_MASK
#define ARFCN_FLAG_MASK
Definition: gsm_utils.h:162
gsm0808_cause_name
const char * gsm0808_cause_name(uint8_t cause)
Return string name of BSSMAP Cause name.
Definition: gsm0808.c:1250
BTS_FEAT_CBCH
@ BTS_FEAT_CBCH
Definition: bts_features.h:20
gsm0808_cell_id_u::ci
uint16_t ci
Definition: gsm0808_utils.h:42
GSM48_IE_USER_USER
#define GSM48_IE_USER_USER
Definition: gsm_04_08.h:1573
GSM0480_OP_CODE_USS_REQUEST
#define GSM0480_OP_CODE_USS_REQUEST
Definition: gsm_04_80.h:81
ipa_msg_recv
int ipa_msg_recv(int fd, struct msgb **rmsg)
gprs_cipher_key_length
unsigned gprs_cipher_key_length(enum gprs_ciph_algo algo)
Obtain key lenght for given GPRS cipher.
Definition: gprs_cipher_core.c:103
GSM_MAX_USERUSER
#define GSM_MAX_USERUSER
Definition: mncc.h:9
NM_ATT_DEST
@ NM_ATT_DEST
Definition: gsm_12_21.h:334
gsm0503_mcs1_dl_hdr
const struct osmo_conv_code gsm0503_mcs1_dl_hdr
EDGE MCS-1 DL header convolutional code: 42 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G...
Definition: gsm0503_conv.c:1136
gsm48_range_256::w8_lo
uint8_t w8_lo
Definition: gsm_04_08.h:281
BSS_MAP_MSG_RESUME
@ BSS_MAP_MSG_RESUME
Definition: gsm_08_08.h:86
gsm0808_old_bss_to_new_bss_info::ue_prob
bool ue_prob
Definition: gsm0808.h:96
gsm48_range_256
Definition: gsm_04_08.h:264
gsm411_rp_cause_strs
const struct value_string gsm411_rp_cause_strs[]
Definition: gsm0411_smr.c:111
ipaccess_unit::equipvers
char * equipvers
Definition: ipa.h:18
GSM48_BCAP_ITCAP_FAX_G3
@ GSM48_BCAP_ITCAP_FAX_G3
Definition: gsm_04_08.h:1881
gsm411_send_rp_error
static int gsm411_send_rp_error(struct gsm411_smr_inst *inst, uint8_t msg_ref, uint8_t cause)
Definition: gsm0411_smr.c:170
GSM0808_IE_GERAN_BSC_CONTAINER
@ GSM0808_IE_GERAN_BSC_CONTAINER
Definition: gsm_08_08.h:243
GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE
@ GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE
Definition: gsm_04_08.h:1797
osmo_auth_vector::autn
uint8_t autn[16]
authentication nonce
Definition: auth.h:62
GSM0808_IE_DIAGNOSTIC
@ GSM0808_IE_DIAGNOSTIC
Definition: gsm_08_08.h:191
nack_cause_names
static const struct value_string nack_cause_names[]
Definition: abis_nm.c:178
gsm_mncc_progress
Definition: mncc.h:56
gprs_service_t_strs_
const struct value_string gprs_service_t_strs_[]
String names of GMM Service Types.
Definition: gsm_04_08_gprs.c:216
tch_afs_12_2_puncture
static const int tch_afs_12_2_puncture[]
Definition: gsm0503_conv.c:245
GSM0808_IE_LCLS_BSS_STATUS
@ GSM0808_IE_LCLS_BSS_STATUS
Definition: gsm_08_08.h:287
GSM_MI_TYPE_IMEISV
#define GSM_MI_TYPE_IMEISV
Definition: gsm_04_08.h:1541
parse_cell_id_lac_list
static int parse_cell_id_lac_list(struct gsm0808_cell_id_list2 *cil, const uint8_t *data, size_t remain, size_t *consumed)
Definition: gsm0808_utils.c:787
GSM0808_IE_GPS_ASSISTANCE_DATA
@ GSM0808_IE_GPS_ASSISTANCE_DATA
Definition: gsm_08_08.h:232
gsm0808_channel_type::ch_rate_type
uint8_t ch_rate_type
Definition: gsm_08_08.h:517
GSM0480_OP_CODE_BUILD_MPTY
#define GSM0480_OP_CODE_BUILD_MPTY
Definition: gsm_04_80.h:87
gsm48_range_256::w10
uint8_t w10
Definition: gsm_04_08.h:284
abis_nm_msgtype_names
const struct value_string abis_nm_msgtype_names[]
3GPP TS 52.021 §9.1 Message Types
Definition: abis_nm.c:267
GSM414_MT_GPRS_TEST_MODE_CMD
#define GSM414_MT_GPRS_TEST_MODE_CMD
Definition: gsm_04_14.h:66
GSM_PCHAN_PDCH
@ GSM_PCHAN_PDCH
Definition: gsm_utils.h:208
gsm48_range_128::w3_hi
uint8_t w3_hi
Definition: gsm_04_08.h:356
OSMO_GSUP_PDP_TYPE_IE
@ OSMO_GSUP_PDP_TYPE_IE
Definition: gsup.h:71
ss_request::opcode
uint8_t opcode
GSM TS 04.80, section 3.6.4 "Operation code" See GSM0480_OP_CODE_* for possible values.
Definition: gsm0480.h:62
GSM_MI_TYPE_NONE
#define GSM_MI_TYPE_NONE
Definition: gsm_04_08.h:1538
GSM48_RR_CAUSE_SEMANT_INCORR
@ GSM48_RR_CAUSE_SEMANT_INCORR
Definition: gsm_04_08.h:1706
tch_afs_5_9_term_state
static const uint8_t tch_afs_5_9_term_state[]
Definition: gsm0503_conv.c:555
gsm48_encode_ra
void gsm48_encode_ra(struct gsm48_ra_id *out, const struct gprs_ra_id *raid)
Encode a 3GPP TS 24.008 § 10.5.5.15 Routing area identification.
Definition: gsm48.c:718
ipa_ccm_make_id_resp
struct msgb * ipa_ccm_make_id_resp(const struct ipaccess_unit *dev, const uint8_t *ies_req, unsigned int num_ies_req)
Generate IPA CCM ID RESP based on list of IEs.
Definition: ipa.c:224
abis_nm_sw_desc_len
uint16_t abis_nm_sw_desc_len(const struct abis_nm_sw_desc *sw, bool put_sw_descr)
Compute length of given 3GPP TS 52.021 §9.4.62 SW Description.
Definition: abis_nm.c:761
gsm0808_encrypt_info::perm_algo_len
unsigned int perm_algo_len
Definition: gsm_08_08.h:527
test_names
static const struct value_string test_names[]
Definition: abis_nm.c:662
lapd_datalink::range_hist
uint8_t range_hist
range of history buffer 2..2^n
Definition: lapd_core.h:158
GSM411_RP_CAUSE_MO_FACILITY_REJ
@ GSM411_RP_CAUSE_MO_FACILITY_REJ
Definition: gsm_04_11.h:74
GSM48_IE_BA_RANGE
#define GSM48_IE_BA_RANGE
Definition: gsm_04_08.h:1623
gsm_gsmtime2fn
uint32_t gsm_gsmtime2fn(struct gsm_time *time)
Encode decoded gsm_time to Frame Number.
Definition: gsm_utils.c:848
GA_MT_CSR_REQUEST_ACCEPT
@ GA_MT_CSR_REQUEST_ACCEPT
Definition: gsm_44_318.h:66
NM_MT_CHG_ADM_STATE_REQ
@ NM_MT_CHG_ADM_STATE_REQ
Definition: gsm_12_21.h:159
GSM23003_IMSI_MAX_DIGITS
#define GSM23003_IMSI_MAX_DIGITS
Definition: gsm_23_003.h:6
gsm48_range_128::w26_hi
uint8_t w26_hi
Definition: gsm_04_08.h:384
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)
Set DTX mode in Cell Options IE (3GPP TS 44.018)
Definition: gsm48.c:555
lapd_datalink::own_busy
uint8_t own_busy
receiver busy on our side
Definition: lapd_core.h:146
gsm_freq_range::arfcn_last
uint16_t arfcn_last
Definition: gsm_utils.c:743
meas_rep.h
gsm48_construct_ra
int gsm48_construct_ra(uint8_t *buf, const struct gprs_ra_id *raid)
Encode a TS 04.08 Routing Area Identifier.
Definition: gsm48.c:739
GSM_CAUSE_MSGT_INCOMP_P_STATE
@ GSM_CAUSE_MSGT_INCOMP_P_STATE
Definition: gsm_04_08_gprs.h:256
tlv_definition
Definition of All 256 IE / TLV.
Definition: tlv.h:419
BTS_FEAT_ECSD
@ BTS_FEAT_ECSD
Definition: bts_features.h:15
l2_ph_data_conf
static int l2_ph_data_conf(struct msgb *msg, struct lapdm_entity *le)
Definition: lapdm.c:327
gsm48_range_512::w7_hi
uint8_t w7_hi
Definition: gsm_04_08.h:202
BSS_MAP_MSG_OVERLOAD
@ BSS_MAP_MSG_OVERLOAD
Definition: gsm_08_08.h:99
table_1
static const uint8_t table_1[256]
Definition: comp128.c:108
LAPDm_CTRL_S_BITS
#define LAPDm_CTRL_S_BITS(ctrl)
Definition: lapdm.c:77
LAPDM_ENT_F_EMPTY_FRAME
#define LAPDM_ENT_F_EMPTY_FRAME
Definition: lapdm.h:45
m
uint8_t m
Definition: gsm_04_14.h:15
osmo_auth_3g_from_2g
int osmo_auth_3g_from_2g(struct osmo_auth_vector *vec)
Generate 3G CK + IK from 2G authentication vector.
Definition: auth_core.c:128
gsm_time::t3
uint8_t t3
Definition: gsm_utils.h:50
GSM0808_IE_CONFIG_EVO_INDI
@ GSM0808_IE_CONFIG_EVO_INDI
Definition: gsm_08_08.h:217
GSM0808_CAUSE_TRAFFIC_LOAD
@ GSM0808_CAUSE_TRAFFIC_LOAD
Definition: gsm_08_08.h:354
gsm_arfcn2band
enum gsm_band gsm_arfcn2band(uint16_t arfcn)
Resolve GSM band from ARFCN In Osmocom, we use the highest bit of the arfcn to indicate PCS.
Definition: gsm_utils.c:713
gsm48_var_bit::orig_arfcn_lo
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:406
tch_afs_12_2_state
static const uint8_t tch_afs_12_2_state[][2]
Definition: gsm0503_conv.c:221
GSM411_RP_CAUSE_MO_RES_UNAVAIL
@ GSM411_RP_CAUSE_MO_RES_UNAVAIL
Definition: gsm_04_11.h:79
lapd_datalink::state
uint32_t state
LAPD state (lapd_state)
Definition: lapd_core.h:144
gsm48_ra_id::rac
uint8_t rac
Definition: gsm_04_08.h:1991
BTS_FEAT_SPEECH_F_AMR
@ BTS_FEAT_SPEECH_F_AMR
Definition: bts_features.h:24
GSM_CAUSE_MSGT_NOTEXIST_NOTIMPL
@ GSM_CAUSE_MSGT_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:255
aes_decrypt
void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain)
gsm48_range_1024
Definition: gsm_04_08.h:116
tch_ahs_4_75_term_state
static const uint8_t tch_ahs_4_75_term_state[]
Definition: gsm0503_conv.c:1087
lapd_datalink::cont_res
struct msgb * cont_res
buffer to store content resolution data on network side, to detect multiple phones on same channel
Definition: lapd_core.h:160
GSM48_IE_CHANMODE_8
#define GSM48_IE_CHANMODE_8
Definition: gsm_04_08.h:1601
NM_IPACC_TESTNO_SYSINFO_MONITOR
@ NM_IPACC_TESTNO_SYSINFO_MONITOR
Definition: gsm_12_21.h:721
GA_MT_CSR_HO_CMD
@ GA_MT_CSR_HO_CMD
Definition: gsm_44_318.h:49
GSM411_MMSMS_REL_IND
#define GSM411_MMSMS_REL_IND
Definition: gsm0411_smc.h:14
gsm48_gmm_cause_names
const struct value_string * gsm48_gmm_cause_names
Definition: gsm_04_08_gprs.c:80
GSM0808_SC_CFG_DEFAULT_OFR_AMR_WB
@ GSM0808_SC_CFG_DEFAULT_OFR_AMR_WB
Definition: gsm_08_08.h:502
GSM_CAUSE_ACT_REJ_UNSPEC
@ GSM_CAUSE_ACT_REJ_UNSPEC
Definition: gsm_04_08_gprs.h:242
gsm411_smc_inst::cp_timer
struct osmo_timer_list cp_timer
Definition: gsm0411_smc.h:38
gsm0808_speech_codec_list
Definition: gsm_08_08.h:508
GSM411_TMR_TR2M
#define GSM411_TMR_TR2M
Definition: gsm_04_11.h:98
gsm0808_old_bss_to_new_bss_info::field
uint8_t field
Definition: gsm0808.h:102
milenage_auts
int milenage_auts(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *auts, u8 *sqn)
milenage_auts - Milenage AUTS validation @opc: OPc = 128-bit operator variant algorithm configuration...
Definition: milenage.c:217
GSM_LCHAN_TCH_F
@ GSM_LCHAN_TCH_F
Definition: gsm_utils.h:221
mode
uint8_t mode
Definition: gsm_04_08.h:633
rcon
const u32 rcon[10]
abis_rsl_rll_hdr
Definition: gsm_08_58.h:40
PRIM_PH_EMPTY_FRAME
@ PRIM_PH_EMPTY_FRAME
PH-EMPTY_FRAME.
Definition: l1sap.h:12
GSM48_IE_F_CH_SEQ_BEFORE
#define GSM48_IE_F_CH_SEQ_BEFORE
Definition: gsm_04_08.h:1611
GSM48_MT_MM_ID_RESP
#define GSM48_MT_MM_ID_RESP
Definition: gsm_04_08.h:1451
osmo_gsup_message::pdp_infos
struct osmo_gsup_pdp_info pdp_infos[OSMO_GSUP_MAX_NUM_PDP_INFO]
Definition: gsup.h:195
GSM0480_OP_CODE_PROCESS_USS_DATA
#define GSM0480_OP_CODE_PROCESS_USS_DATA
Definition: gsm_04_80.h:78
GSM0480_OP_CODE_RETRIEVE_MPTY
#define GSM0480_OP_CODE_RETRIEVE_MPTY
Definition: gsm_04_80.h:85
GA_MT_CSR_RELEASE_COMPL
@ GA_MT_CSR_RELEASE_COMPL
Definition: gsm_44_318.h:42
gsm0808_speech_codec
Definition: gsm_08_08.h:476
gsm341_ms_message::data
uint8_t data[0]
Definition: gsm_03_41.h:53
NM_ATT_MANUF_ID
@ NM_ATT_MANUF_ID
Definition: gsm_12_21.h:349
rijndaelKeySetupEnc
void rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[])
Expand the cipher key into the encryption key schedule.
Definition: aes-internal.c:789
GSM0808_IE_CS_TO_PS_SRVCC
@ GSM0808_IE_CS_TO_PS_SRVCC
Definition: gsm_08_08.h:290
osmo_gsup_pdp_info
parsed/decoded PDP context information
Definition: gsup.h:163
gsm0808_encrypt_info::key
uint8_t key[ENCRY_INFO_KEY_MAXLEN]
Definition: gsm_08_08.h:528
NM_MT_LOAD_SEG
@ NM_MT_LOAD_SEG
Definition: gsm_12_21.h:90
GSM411_MMSMS_DATA_IND
#define GSM411_MMSMS_DATA_IND
Definition: gsm0411_smc.h:16
NM_ATT_RF_MAXPOWR_R
@ NM_ATT_RF_MAXPOWR_R
Definition: gsm_12_21.h:364
GSM48_MT_RR_CELL_CHG_ORDER
#define GSM48_MT_RR_CELL_CHG_ORDER
Definition: gsm_04_08.h:1376
IPAC_IDTAG_SERNR
@ IPAC_IDTAG_SERNR
Definition: ipaccess.h:55
gprs_det_t_mo_strs_
const struct value_string gprs_det_t_mo_strs_[]
String names of GMM MO Detach Types according to 10.5.5.5.
Definition: gsm_04_08_gprs.c:196
gsm0808_encrypt_info::key_len
unsigned int key_len
Definition: gsm_08_08.h:529
rxlev2dbm
int rxlev2dbm(uint8_t rxlev)
Convert TS 05.08 RxLev to dBm (TS 05.08 Chapter 8.1.4)
Definition: gsm_utils.c:631
NM_ATT_HSN
@ NM_ATT_HSN
Definition: gsm_12_21.h:340
GSM0808_IE_VELOCITY_ESTIMATE
@ GSM0808_IE_VELOCITY_ESTIMATE
Definition: gsm_08_08.h:251
ph_rach_req_param::ta
uint8_t ta
Timing Advance.
Definition: l1sap.h:45
GSM48_IE_FREQ_L_AFTER
#define GSM48_IE_FREQ_L_AFTER
Definition: gsm_04_08.h:1591
GSM0480_OP_CODE_GET_PASSWORD
#define GSM0480_OP_CODE_GET_PASSWORD
Definition: gsm_04_80.h:77
BTS_FEAT_SPEECH_H_V1
@ BTS_FEAT_SPEECH_H_V1
Definition: bts_features.h:22
GSM0808_IE_CSFB_INDICATION
@ GSM0808_IE_CSFB_INDICATION
Definition: gsm_08_08.h:289
MDL_CAUSE_SFRM_INC_PARAM
#define MDL_CAUSE_SFRM_INC_PARAM
Definition: lapd_core.h:38
GSM48_MT_CC_START_DTMF_ACK
#define GSM48_MT_CC_START_DTMF_ACK
Definition: gsm_04_08.h:1503
decode_auth_info
static int decode_auth_info(uint8_t *data, size_t data_len, struct osmo_auth_vector *auth_vector)
Definition: gsup.c:157
GSM0808_IE_SEND_SEQ_NUM
@ GSM0808_IE_SEND_SEQ_NUM
Definition: gsm_08_08.h:281
GSM48_MT_GMM_ATTACH_REJ
#define GSM48_MT_GMM_ATTACH_REJ
Definition: gsm_04_08_gprs.h:15
abis_nm_get_sw_desc
static int abis_nm_get_sw_desc(struct abis_nm_sw_desc *sw, const uint8_t *buf, size_t length)
Parse single 3GPP TS 52.021 §9.4.62 SW Description from buffer.
Definition: abis_nm.c:835
OSMO_MILENAGE_IND_BITLEN_MAX
#define OSMO_MILENAGE_IND_BITLEN_MAX
Definition: auth.h:13
BTS_FEAT_GPRS
@ BTS_FEAT_GPRS
Definition: bts_features.h:13
GSM0808_CAUSE_INVALID_MESSAGE_CONTENTS
@ GSM0808_CAUSE_INVALID_MESSAGE_CONTENTS
Definition: gsm_08_08.h:375
GSM0808_IE_NEW_BSS_TO_OLD_BSS_INFO
@ GSM0808_IE_NEW_BSS_TO_OLD_BSS_INFO
Definition: gsm_08_08.h:244
gsm411_smc_inst::cp_max_retr
int cp_max_retr
Definition: gsm0411_smc.h:42
abis_nm_fail_evt_rep
struct msgb * abis_nm_fail_evt_rep(enum abis_nm_event_type t, enum abis_nm_severity s, enum abis_nm_pcause_type ct, uint16_t cause_value, const char *fmt,...)
Pack 3GPP TS 12.21 § 8.8.2 Failure Event Report into msgb.
Definition: abis_nm.c:706
GSM411_RP_CAUSE_SEMANT_INC_MSG
@ GSM411_RP_CAUSE_SEMANT_INC_MSG
Definition: gsm_04_11.h:87
osmo_auth_vector::res
uint8_t res[16]
authentication result
Definition: auth.h:65
abis_nm_put_sw_desc
uint16_t abis_nm_put_sw_desc(struct msgb *msg, const struct abis_nm_sw_desc *sw, bool put_sw_descr)
Put given 3GPP TS 52.021 §9.4.62 SW Description into msgb.
Definition: abis_nm.c:773
gsm0503_mcs5
const struct osmo_conv_code gsm0503_mcs5
EDGE MCS-5 data convolutional code: 468 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G7 = ...
Definition: gsm0503_conv.c:1260
NM_MT_DISC_MDROP_LINK_NACK
@ NM_MT_DISC_MDROP_LINK_NACK
Definition: gsm_12_21.h:125
abis_nm_sw_desc::file_id
uint8_t file_id[UINT8_MAX]
Definition: gsm_12_21.h:793
IPA_STRING_MAX
#define IPA_STRING_MAX
Definition: ipa.c:217
rslms_rx_chan_rqd
static int rslms_rx_chan_rqd(struct lapdm_channel *lc, struct msgb *msg)
Definition: lapdm.c:1085
gsm48_reject_value_names
const struct value_string gsm48_reject_value_names[]
Definition: gsm48.c:994
gsm_mncc_bearer_cap::speech_ctm
int speech_ctm
Definition: mncc.h:17
gsm48_range_1024::w7_lo
uint8_t w7_lo
Definition: gsm_04_08.h:132
GA_MT_CSR_HO_FAIL
@ GA_MT_CSR_HO_FAIL
Definition: gsm_44_318.h:50
gsm48_range_1024::w11_hi
uint8_t w11_hi
Definition: gsm_04_08.h:137
GA_PDISC_CSR
@ GA_PDISC_CSR
Definition: gsm_44_318.h:11
lapd_datalink::t203_usec
int t203_usec
retry timer (default 10 secs)
Definition: lapd_core.h:149
GSM0808_IE_PAGING_INFO
@ GSM0808_IE_PAGING_INFO
Definition: gsm_08_08.h:249
gsm48_encode_signal
int gsm48_encode_signal(struct msgb *msg, int signal)
Encode TS 04.08 Signal IE (10.5.4.23)
Definition: gsm48_ie.c:646
ss_request::invoke_id
uint8_t invoke_id
GSM TS 04.80, section 3.6.3 "Component ID tag" The term Component ID refers to the Invoke ID or the L...
Definition: gsm0480.h:101
gsm411_smc_inst::cp_retx
int cp_retx
Definition: gsm0411_smc.h:41
gea.h
GSM48_MT_RR_TALKER_IND
#define GSM48_MT_RR_TALKER_IND
Definition: gsm_04_08.h:1436
gsm48_range_256::w1_lo
uint8_t w1_lo
Definition: gsm_04_08.h:270
sc
uint8_t sc
Definition: gsm_04_08.h:717
GSM0808_IE_PRIORITY
@ GSM0808_IE_PRIORITY
Definition: gsm_08_08.h:166
BSS_MAP_MSG_LCLS_CONNECT_CTRL_ACK
@ BSS_MAP_MSG_LCLS_CONNECT_CTRL_ACK
Definition: gsm_08_08.h:156
gprs_ra_id::mcc
uint16_t mcc
Definition: gsm48.h:21
GSM48_IE_MOB_OVSERV_DIF
#define GSM48_IE_MOB_OVSERV_DIF
Definition: gsm_04_08.h:1626
tch_afs_4_75_term_output
static const uint8_t tch_afs_4_75_term_output[]
Definition: gsm0503_conv.c:705
dtap_header
Definition: gsm_08_08.h:41
GSM0808_LCLS_CFG_BOTH_WAY_AND_SEND_DL_BLOCK_LOCAL_DL
@ GSM0808_LCLS_CFG_BOTH_WAY_AND_SEND_DL_BLOCK_LOCAL_DL
Definition: gsm_08_08.h:550
GSM411_MMSMS_REL_REQ
#define GSM411_MMSMS_REL_REQ
Definition: gsm0411_smc.h:13
A51_R1_CLKBIT
#define A51_R1_CLKBIT
Definition: a5.c:163
gsm0808_create_clear_rqst
struct msgb * gsm0808_create_clear_rqst(uint8_t cause)
Create BSSMAP Clear Request message.
Definition: gsm0808.c:572
LAPDM_MODE_BTS
@ LAPDM_MODE_BTS
behave like a BTS (network)
Definition: lapdm.h:13
event_type_names
static const struct value_string event_type_names[]
Definition: abis_nm.c:223
GSM0808_IE_VSTK_RAND_INFO
@ GSM0808_IE_VSTK_RAND_INFO
Definition: gsm_08_08.h:247
NM_ATT_IPACC_NS_LINK_CFG
@ NM_ATT_IPACC_NS_LINK_CFG
Definition: gsm_12_21.h:447
rsl_rll_push_l3
void rsl_rll_push_l3(struct msgb *msg, uint8_t msg_type, uint8_t chan_nr, uint8_t link_id, int transparent)
Wrap msgb in L3 Info IE and push a RSL RLL header.
Definition: rsl.c:501
lapd_datalink
LAPD datalink.
Definition: lapd_core.h:123
gsm_ranges
static struct gsm_freq_range gsm_ranges[]
Definition: gsm_utils.c:749
NM_NACK_TEST_NOTINIT
@ NM_NACK_TEST_NOTINIT
Definition: gsm_12_21.h:622
gprs_ms_net_cap_gea_supported
bool gprs_ms_net_cap_gea_supported(const uint8_t *ms_net_cap, uint8_t cap_len, enum gprs_ciph_algo gea)
Check if MS supports particular version of GEA by inspecting MS network capability IE specified in 3G...
Definition: gsm_04_08_gprs.c:130
ipaccess_head
Definition: ipaccess.h:10
NM_MT_REST_EVENT_REP_NACK
@ NM_MT_REST_EVENT_REP_NACK
Definition: gsm_12_21.h:155
CELL_IDENT
CELL_IDENT
Definition: gsm_08_08.h:16
NM_MT_PERF_TEST_ACK
@ NM_MT_PERF_TEST_ACK
Definition: gsm_12_21.h:138
gsm0858_rsl_ul_meas_enc
size_t gsm0858_rsl_ul_meas_enc(struct gsm_meas_rep_unidir *mru, bool dtxd_used, uint8_t *buf)
Build the RSL uplink measurement IE (3GPP TS 08.58 § 9.3.25)
Definition: gsm_utils.c:478
GA_MT_CSR_CIPH_MODE_COMPL
@ GA_MT_CSR_CIPH_MODE_COMPL
Definition: gsm_44_318.h:32
gsm48_range_256::w14_hi
uint8_t w14_hi
Definition: gsm_04_08.h:289
BSS_MAP_MSG_PERFORM_LOCATION_RQST
@ BSS_MAP_MSG_PERFORM_LOCATION_RQST
Definition: gsm_08_08.h:88
GSM0808_IE_TRANSACTIONID
@ GSM0808_IE_TRANSACTIONID
Definition: gsm_08_08.h:200
milenage_opc_gen
int milenage_opc_gen(u8 *opc, const u8 *k, const u8 *op)
Definition: milenage.c:333
NM_MT_DISC_TERR_SIGN
@ NM_MT_DISC_TERR_SIGN
Definition: gsm_12_21.h:110
gsm48_range_1024::w11_lo
uint8_t w11_lo
Definition: gsm_04_08.h:138
BSS_MAP_MSG_HANDOVER_CMD
@ BSS_MAP_MSG_HANDOVER_CMD
Definition: gsm_08_08.h:61
GSM48_MT_RR_PART_REL_COMP
#define GSM48_MT_RR_PART_REL_COMP
Definition: gsm_04_08.h:1381
A52_R4_CLKBIT0
#define A52_R4_CLKBIT0
Definition: a5.c:275
gsm0808_enc_cell_id_list2
uint8_t gsm0808_enc_cell_id_list2(struct msgb *msg, const struct gsm0808_cell_id_list2 *cil)
Encode TS 08.08 Cell Identifier List IE.
Definition: gsm0808_utils.c:576
NM_ATT_BTS_AIR_TIMER
@ NM_ATT_BTS_AIR_TIMER
Definition: gsm_12_21.h:329
rcons
const u8 rcons[]
Definition: aes-internal.c:779
NM_ATT_IPACC_TIB_CONTROL
@ NM_ATT_IPACC_TIB_CONTROL
Definition: gsm_12_21.h:451
abis_nm_osmo_magic
const char abis_nm_osmo_magic[12]
Definition: abis_nm.c:41
N201_AB_SACCH
#define N201_AB_SACCH
Definition: lapdm.c:89
GSM48_IE_CHANMODE_6
#define GSM48_IE_CHANMODE_6
Definition: gsm_04_08.h:1599
comp128v2
int comp128v2(const uint8_t *ki, const uint8_t *rand, uint8_t *sres, uint8_t *kc)
Perform COMP128v2 algorithm.
Definition: comp128v23.c:169
GPRS_DET_T_MO_GPRS
#define GPRS_DET_T_MO_GPRS
Definition: gsm_04_08_gprs.h:59
GSM0808_CAUSE_RQSTED_TRANSCODING_RATE_ADAPTION_UNAVAILABLE
@ GSM0808_CAUSE_RQSTED_TRANSCODING_RATE_ADAPTION_UNAVAILABLE
Definition: gsm_08_08.h:358
dl_rel_req_param::mode
uint8_t mode
release mode
Definition: lapd_core.h:53
gsm0808_chan_type_to_speech_codec
int gsm0808_chan_type_to_speech_codec(uint8_t perm_spch)
Convert the representation of the permitted speech codec identifier that is used in struct gsm0808_ch...
Definition: gsm0808_utils.c:1078
GSM48_MT_RR_PAG_RESP
#define GSM48_MT_RR_PAG_RESP
Definition: gsm_04_08.h:1386
GSM48_MT_CC_PROGRESS
#define GSM48_MT_CC_PROGRESS
Definition: gsm_04_08.h:1474
gsm_7bit_decode_ussd
int gsm_7bit_decode_ussd(char *text, const uint8_t *user_data, uint8_t length)
Definition: gsm_utils.c:951
gsm411_mmsms_cp_ack
static int gsm411_mmsms_cp_ack(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:254
GSM0808_CAUSE_O_AND_M_INTERVENTION
@ GSM0808_CAUSE_O_AND_M_INTERVENTION
Definition: gsm_08_08.h:329
OSMO_EVT_MAJ_UNSUP_ATTR
@ OSMO_EVT_MAJ_UNSUP_ATTR
Definition: gsm_12_21.h:269
IPAC_MSGT_ID_RESP
@ IPAC_MSGT_ID_RESP
Definition: ipaccess.h:47
OSMO_EVT_WARN_SW_WARN
@ OSMO_EVT_WARN_SW_WARN
Definition: gsm_12_21.h:274
msg_id
uint16_t msg_id
Definition: gsm_03_41.h:15
gsm0503_tch_afs_7_4
const struct osmo_conv_code gsm0503_tch_afs_7_4
TCH/AFS 7.4 kbits convolutional code: G1/G3 = 1 + D + D3 + D4 / 1 + D + D2 + D3 + D4 G2/G3 = 1 + D2 +...
Definition: gsm0503_conv.c:450
NM_ATT_TEST_REPORT
@ NM_ATT_TEST_REPORT
Definition: gsm_12_21.h:374
gsm0808_old_bss_to_new_bss_info::current_channel_type_2_present
bool current_channel_type_2_present
Definition: gsm0808.h:99
gsm0808_cell_id_list_name_buf
int gsm0808_cell_id_list_name_buf(char *buf, size_t buflen, const struct gsm0808_cell_id_list2 *cil)
Return a human readable representation of the Cell Identifier List, like "LAC[2]:{123,...
Definition: gsm0808_utils.c:1266
RSL_MT_RECON_REQ
@ RSL_MT_RECON_REQ
Definition: gsm_08_58.h:101
gsm0480_extract_ie_by_tag
int gsm0480_extract_ie_by_tag(const struct gsm48_hdr *hdr, uint16_t msg_len, uint8_t **ie, uint16_t *ie_len, uint8_t ie_tag)
Get pointer to the IE of a given type.
Definition: gsm0480.c:264
GSM0480_CTYPE_RETURN_RESULT
#define GSM0480_CTYPE_RETURN_RESULT
Definition: gsm_04_80.h:17
gsm48_range_1024::w10
uint8_t w10
Definition: gsm_04_08.h:136
gsm0808_handover_complete::rr_cause
uint8_t rr_cause
Definition: gsm0808.h:136
GSM_0480_SEQUENCE_TAG
#define GSM_0480_SEQUENCE_TAG
Definition: gsm_04_80.h:29
GSM_CAUSE_AUTH_FAILED
@ GSM_CAUSE_AUTH_FAILED
Definition: gsm_04_08_gprs.h:240
lapd_cr_ent::cmd
uint8_t cmd
Definition: lapd_core.h:113
gsm0808_handover_complete::lcls_bss_status
enum gsm0808_lcls_status lcls_bss_status
Definition: gsm0808.h:150
gsm_chan_t_names
const struct value_string gsm_chan_t_names[]
Definition: gsm48.c:409
LAPD_U_SABM
#define LAPD_U_SABM
Definition: lapd_core.c:89
gsm0808_cell_id_u::lac
uint16_t lac
Definition: gsm0808_utils.h:44
gsm48_range_512::w13_hi
uint8_t w13_hi
Definition: gsm_04_08.h:212
gsm411_mnsms_abort_req
static int gsm411_mnsms_abort_req(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:400
BSS_MAP_MSG_CIPHER_MODE_CMD
@ BSS_MAP_MSG_CIPHER_MODE_CMD
Definition: gsm_08_08.h:126
lapd_ph_data_ind
int lapd_ph_data_ind(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1692
GSM0808_CAUSE_INFORMATION_ELEMENT_OR_FIELD_MISSING
@ GSM0808_CAUSE_INFORMATION_ELEMENT_OR_FIELD_MISSING
Definition: gsm_08_08.h:376
GSM48_MT_RR_ASS_FAIL
#define GSM48_MT_RR_ASS_FAIL
Definition: gsm_04_08.h:1368
GA_MT_CSR_CM_CHANGE
@ GA_MT_CSR_CM_CHANGE
Definition: gsm_44_318.h:60
GSM48_DTX_SHALL_BE_USED
@ GSM48_DTX_SHALL_BE_USED
Definition: gsm_04_08.h:885
IPAC_IDTAG_IPADDR
@ IPAC_IDTAG_IPADDR
Definition: ipaccess.h:61
GSM0808_ALG_ID_A5_0
@ GSM0808_ALG_ID_A5_0
Definition: gsm_08_08.h:457
NM_ATT_IPACC_HEARTB_TOUT
@ NM_ATT_IPACC_HEARTB_TOUT
Definition: gsm_12_21.h:455
NM_MT_REP_OUTST_ALARMS
@ NM_MT_REP_OUTST_ALARMS
Definition: gsm_12_21.h:162
NM_ATT_IPACC_SEC_OML_CFG
@ NM_ATT_IPACC_SEC_OML_CFG
Definition: gsm_12_21.h:422
GSM411_MMSMS_EST_IND
#define GSM411_MMSMS_EST_IND
Definition: gsm0411_smc.h:11
ipaccess_unit::serno
char * serno
Definition: ipa.h:23
NM_MT_CHANGEOVER_ACK
@ NM_MT_CHANGEOVER_ACK
Definition: gsm_12_21.h:167
GSM0480_COMPIDTAG_LINKED_ID
#define GSM0480_COMPIDTAG_LINKED_ID
Definition: gsm_04_80.h:23
LAPD_STATE_TEI_UNASS
@ LAPD_STATE_TEI_UNASS
Definition: lapd_core.h:74
NM_NACK_OBJINST_UNKN
@ NM_NACK_OBJINST_UNKN
Definition: gsm_12_21.h:608
GA_MT_RC_REGISTER_UPDATE_UL
@ GA_MT_RC_REGISTER_UPDATE_UL
Definition: gsm_44_318.h:27
DCS_7BIT_DEFAULT
@ DCS_7BIT_DEFAULT
Definition: gsm_04_11.h:114
GSM48_REJECT_MSG_TYPE_NOT_IMPLEMENTED
@ GSM48_REJECT_MSG_TYPE_NOT_IMPLEMENTED
Definition: gsm_04_08.h:1787
gsm_sysinfo_freq
Definition: gsm48_ie.h:109
gsm0503_tch_afs_10_2
const struct osmo_conv_code gsm0503_tch_afs_10_2
TCH/AFS 10.2 kbits convolutional code: G1/G3 = 1 + D + D3 + D4 / 1 + D + D2 + D3 + D4 G2/G3 = 1 + D2 ...
Definition: gsm0503_conv.c:321
NM_MT_STOP_TEST
@ NM_MT_STOP_TEST
Definition: gsm_12_21.h:144
GSM48_CMODE_DATA_3k6
@ GSM48_CMODE_DATA_3k6
Definition: gsm_04_08.h:703
gsm0808_old_bss_to_new_bss_info::prec
bool prec
Definition: gsm0808.h:94
LAPD_STATE_NULL
@ LAPD_STATE_NULL
Definition: lapd_core.h:73
GSM_LCHAN_CCCH
@ GSM_LCHAN_CCCH
Definition: gsm_utils.h:224
gsm48_range_1024::w4_hi
uint8_t w4_hi
Definition: gsm_04_08.h:125
GPRS_ATT_T_ATTACH
#define GPRS_ATT_T_ATTACH
Definition: gsm_04_08_gprs.h:51
gsm0808_cell_id_list::id_list_len
unsigned int id_list_len
Definition: gsm_08_08.h:542
gsm_mncc_bearer_cap::transfer
int transfer
Definition: mncc.h:13
NM_NACK_FILE_NOTAVAIL
@ NM_NACK_FILE_NOTAVAIL
Definition: gsm_12_21.h:628
GMM_CAUSE_NO_GPRS_PLMN
@ GMM_CAUSE_NO_GPRS_PLMN
Definition: gsm_04_08_gprs.h:209
GSM48_RR_CAUSE_ABNORMAL_TIMER
@ GSM48_RR_CAUSE_ABNORMAL_TIMER
Definition: gsm_04_08.h:1699
gsm0502_get_n_pag_blocks
static unsigned int gsm0502_get_n_pag_blocks(struct gsm48_control_channel_descr *chan_desc)
Definition: gsm0502.h:12
RSL_BCCH_CCCH_CONF_1_C
#define RSL_BCCH_CCCH_CONF_1_C
Definition: gsm_08_58.h:574
ipa_pong_msg
static const uint8_t ipa_pong_msg[]
Definition: ipa.c:60
gsm0480_create_ussd_release_complete
struct msgb * gsm0480_create_ussd_release_complete(void)
Definition: gsm0480.c:863
ASN1_OCTET_STRING_TAG
#define ASN1_OCTET_STRING_TAG
Definition: gsm_04_80.h:118
GSM48_MT_RR_IMM_ASS
#define GSM48_MT_RR_IMM_ASS
Definition: gsm_04_08.h:1351
aes.h
DCS_8BIT_DATA
@ DCS_8BIT_DATA
Definition: gsm_04_11.h:116
Te3
const u32 Te3[256]
GSM0808_IE_LSA_IDENTIFIER_LIST
@ GSM0808_IE_LSA_IDENTIFIER_LIST
Definition: gsm_08_08.h:220
GSM_CAUSE_DEACT_REGULAR
@ GSM_CAUSE_DEACT_REGULAR
Definition: gsm_04_08_gprs.h:247
GSM48_MT_RR_HANDO_COMPL
#define GSM48_MT_RR_HANDO_COMPL
Definition: gsm_04_08.h:1370
PRIM_MDL_ERROR
@ PRIM_MDL_ERROR
MDL-ERROR.
Definition: lapd_core.h:26
GA_MT_CSR_REQUEST
@ GA_MT_CSR_REQUEST
Definition: gsm_44_318.h:65
GSM0808_LCLS_STS_REQ_LCLS_NOT_SUPP
@ GSM0808_LCLS_STS_REQ_LCLS_NOT_SUPP
Definition: gsm_08_08.h:569
osmo_sub_auth_type_names
const struct value_string osmo_sub_auth_type_names[]
Definition: auth_core.c:232
abis_nm_event_type_name
const char * abis_nm_event_type_name(uint8_t cause)
Get human-readable string for OML event type.
Definition: abis_nm.c:233
GSM48_IE_REPEAT_CIR
#define GSM48_IE_REPEAT_CIR
Definition: gsm_04_08.h:1579
gsm_septets2octets
int gsm_septets2octets(uint8_t *result, const uint8_t *rdata, uint8_t septet_len, uint8_t padding)
GSM Default Alphabet 7bit to octet packing.
Definition: gsm_utils.c:316
osmo_plmn_from_bcd
void osmo_plmn_from_bcd(const uint8_t *bcd_src, struct osmo_plmn_id *plmn)
Definition: gsm23003.c:211
gsm0808_handover_required::old_bss_to_new_bss_info_present
bool old_bss_to_new_bss_info_present
Definition: gsm0808.h:120
table_4
static const uint8_t table_4[32]
Definition: comp128.c:139
gsm48_mi_type_name
const char * gsm48_mi_type_name(uint8_t mi)
return string representation of Mobile Identity Type
Definition: gsm48.c:431
OSMO_GSUP_SRES_IE
@ OSMO_GSUP_SRES_IE
Definition: gsup.h:76
osmo_gsup_pdp_info::apn_enc_len
size_t apn_enc_len
length (in octets) of apn_enc
Definition: gsup.h:172
gsm48_range_512::w10
uint8_t w10
Definition: gsm_04_08.h:208
NM_MT_STOP_EVENT_REP
@ NM_MT_STOP_EVENT_REP
Definition: gsm_12_21.h:150
GSM48_MT_GMM_INFO
#define GSM48_MT_GMM_INFO
Definition: gsm_04_08_gprs.h:33
GSM48_IE_MORE_DATA
#define GSM48_IE_MORE_DATA
Definition: gsm_04_08.h:1575
lapdm_pad_msgb
static void lapdm_pad_msgb(struct msgb *msg, uint8_t n201)
Definition: lapdm.c:216
NM_MT_CHG_ADM_STATE_NACK
@ NM_MT_CHG_ADM_STATE_NACK
Definition: gsm_12_21.h:158
GSM0480_USSD_OCTET_STRING_LEN
#define GSM0480_USSD_OCTET_STRING_LEN
According to the GSM 04.80 (version 5.0.0) specification Annex A "Expanded ASN.1 Module "SS-Protocol"...
Definition: gsm0480.h:25
GSM48_MT_RR_MEAS_REP
#define GSM48_MT_RR_MEAS_REP
Definition: gsm_04_08.h:1424
BSS_MAP_MSG_VGCS_VBS_SETUP_REFUSE
@ BSS_MAP_MSG_VGCS_VBS_SETUP_REFUSE
Definition: gsm_08_08.h:138
BSS_MAP_MSG_LSA_INFORMATION
@ BSS_MAP_MSG_LSA_INFORMATION
Definition: gsm_08_08.h:89
NM_CHANC_BCCH_CBCH
@ NM_CHANC_BCCH_CBCH
Definition: gsm_12_21.h:556
GSM411_RP_CAUSE_MO_CALL_BARRED
@ GSM411_RP_CAUSE_MO_CALL_BARRED
Definition: gsm_04_11.h:70
Te4
const u32 Te4[256]
NM_ATT_IPACC_IN_SERV_TIME
@ NM_ATT_IPACC_IN_SERV_TIME
Definition: gsm_12_21.h:425
abis_rsl_cchan_hdr::data
uint8_t data[0]
message payload data
Definition: gsm_08_58.h:62
LAPD_S_REJ
#define LAPD_S_REJ
Definition: lapd_core.c:99
GSM0480_OP_CODE_REGISTER_SS
#define GSM0480_OP_CODE_REGISTER_SS
Definition: gsm_04_80.h:70
GSM_CAUSE_OPER_DET_BARR
@ GSM_CAUSE_OPER_DET_BARR
Definition: gsm_04_08_gprs.h:234
SMCDOWNSLLEN
#define SMCDOWNSLLEN
Definition: gsm0411_smc.c:449
rr_msg_names
static const struct value_string rr_msg_names[]
Definition: gsm48.c:289
osmo_gsup_message_type
osmo_gsup_message_type
GSUP message type.
Definition: gsup.h:94
GSM48_PDISC_SMS
#define GSM48_PDISC_SMS
Definition: gsm_04_08.h:1245
GSM48_PDISC_CC
#define GSM48_PDISC_CC
Definition: gsm_04_08.h:1239
GSM48_MT_MM_CM_SERV_ACC
#define GSM48_MT_MM_CM_SERV_ACC
Definition: gsm_04_08.h:1455
NM_OC_CHANNEL
@ NM_OC_CHANNEL
Definition: gsm_12_21.h:292
GA_MT_CSR_CIPH_MODE_CMD
@ GA_MT_CSR_CIPH_MODE_CMD
Definition: gsm_44_318.h:31
GSM_PCHAN_SDCCH8_SACCH8C_CBCH
@ GSM_PCHAN_SDCCH8_SACCH8C_CBCH
Definition: gsm_utils.h:212
lapdm_channel_set_l1
void lapdm_channel_set_l1(struct lapdm_channel *lc, osmo_prim_cb cb, void *ctx)
Set the L1 callback and context of a LAPDm channel.
Definition: lapdm.c:1339
gsm_mncc_number::present
int present
Definition: mncc.h:36
LAPD_U_DISC
#define LAPD_U_DISC
Definition: lapd_core.c:93
table_0
static const uint8_t table_0[512]
Definition: comp128.c:75
PRIM_PH_CONN
@ PRIM_PH_CONN
PH-CONNECT.
Definition: l1sap.h:11
gsm48_range_256::w15
uint8_t w15
Definition: gsm_04_08.h:291
gsm48_decode_lai2
void gsm48_decode_lai2(const struct gsm48_loc_area_id *lai, struct osmo_location_area_id *decoded)
Decode TS 04.08 Location Area Identifier.
Definition: gsm48.c:538
GSM_LCHAN_NONE
@ GSM_LCHAN_NONE
Definition: gsm_utils.h:219
lapd_datalink::peer_busy
uint8_t peer_busy
receiver busy on remote side
Definition: lapd_core.h:147
BTS_FEAT_HSCSD
@ BTS_FEAT_HSCSD
Definition: bts_features.h:12
parse_process_uss_req
static int parse_process_uss_req(const uint8_t *uss_req_data, uint16_t length, struct ss_request *req)
Definition: gsm0480.c:711
NM_ATT_OVERL_PERIOD
@ NM_ATT_OVERL_PERIOD
Definition: gsm_12_21.h:356
CR_USER2NET_RESP
#define CR_USER2NET_RESP
Definition: lapd_core.c:102
GSM0808_CAUSE_RADIO_INTERFACE_FAILURE_REVERSION
@ GSM0808_CAUSE_RADIO_INTERFACE_FAILURE_REVERSION
Definition: gsm_08_08.h:332
smrdatastatelist
static const struct smrdatastate smrdatastatelist[]
GSM0808_PERM_HR2
@ GSM0808_PERM_HR2
(deprecated)
Definition: gsm_08_08.h:427
lapd_est_req
static int lapd_est_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1739
GSM0808_IE_CIRCUIT_IDENTITY_CODE
@ GSM0808_IE_CIRCUIT_IDENTITY_CODE
Definition: gsm_08_08.h:161
GSM48_CMODE_SPEECH_EFR
@ GSM48_CMODE_SPEECH_EFR
Definition: gsm_04_08.h:698
TLLI_RESERVED
@ TLLI_RESERVED
Definition: gsm_utils.h:190
GMM_CAUSE_IE_NOTEXIST_NOTIMPL
@ GMM_CAUSE_IE_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:224
BSS_MAP_MSG_SUSPEND
@ BSS_MAP_MSG_SUSPEND
Definition: gsm_08_08.h:85
_comp128_compression_round
static void _comp128_compression_round(uint8_t *x, int n, const uint8_t *tbl)
Definition: comp128.c:148
OSMO_GSUP_MSGT_LOCATION_CANCEL_ERROR
@ OSMO_GSUP_MSGT_LOCATION_CANCEL_ERROR
Definition: gsup.h:118
gsm48_range_1024::w3_lo
uint8_t w3_lo
Definition: gsm_04_08.h:124
gsm0503_rach
const struct osmo_conv_code gsm0503_rach
RACH convolutional code.
Definition: gsm0503_conv.c:95
GSM48_MT_RR_CHAN_MODE_MODIF
#define GSM48_MT_RR_CHAN_MODE_MODIF
Definition: gsm_04_08.h:1420
gsm48_range_256::w16_hi
uint8_t w16_hi
Definition: gsm_04_08.h:292
gsm48_encode_calling
int gsm48_encode_calling(struct msgb *msg, const struct gsm_mncc_number *calling)
Encode TS 04.08 Calling Number IE (10.5.4.9)
Definition: gsm48_ie.c:550
GSM414_MT_TEST_INTERFACE
#define GSM414_MT_TEST_INTERFACE
Definition: gsm_04_14.h:59
TLV_TYPE_TL16V
@ TLV_TYPE_TL16V
tag, 16 bit length, value
Definition: tlv.h:406
NM_MT_ACTIVATE_SW
@ NM_MT_ACTIVATE_SW
Definition: gsm_12_21.h:99
LAPDm_ADDR_SAPI
#define LAPDm_ADDR_SAPI(addr)
Definition: lapdm.c:61
osmo_auth_c3
void osmo_auth_c3(uint8_t kc[], const uint8_t ck[], const uint8_t ik[])
Definition: auth_core.c:245
GA_MT_CSR_STATUS
@ GA_MT_CSR_STATUS
Definition: gsm_44_318.h:57
GSM_BAND_900
@ GSM_BAND_900
Definition: gsm_utils.h:56
GMM_CAUSE_ILLEGAL_MS
@ GMM_CAUSE_ILLEGAL_MS
Definition: gsm_04_08_gprs.h:199
gprs_cipher_direction
gprs_cipher_direction
Definition: gprs_cipher.h:23
GSM48_MT_CC_ALERTING
#define GSM48_MT_CC_ALERTING
Definition: gsm_04_08.h:1468
GSM48_MT_RR_SYSINFO_2
#define GSM48_MT_RR_SYSINFO_2
Definition: gsm_04_08.h:1398
NM_NACK_TEST_NOSUCH
@ NM_NACK_TEST_NOSUCH
Definition: gsm_12_21.h:624
gan_msgt_vals
const struct value_string gan_msgt_vals[]
Definition: gan.c:29
pdisc
uint8_t pdisc
Definition: gsm_44_318.h:8
gsm0503_mcs2
const struct osmo_conv_code gsm0503_mcs2
EDGE MCS-2 data convolutional code: 244 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G7 = ...
Definition: gsm0503_conv.c:1183
LAPD_U_FRMR
#define LAPD_U_FRMR
Definition: lapd_core.c:95
gsm0480_op_code_names
const struct value_string gsm0480_op_code_names[]
Definition: gsm0480.c:47
GSM48_PDISC_MM
#define GSM48_PDISC_MM
Definition: gsm_04_08.h:1242
gsm48_mm_msgtype_names
const struct value_string gsm48_mm_msgtype_names[]
TS 04.08 MM Message Type names.
Definition: gsm48.c:876
tch_ahs_5_9_term_state
static const uint8_t tch_ahs_5_9_term_state[]
Definition: gsm0503_conv.c:971
GSM48_MT_RR_CLSM_ENQ
#define GSM48_MT_RR_CLSM_ENQ
Definition: gsm_04_08.h:1426
GSM48_RR_CAUSE_HNDOVER_IMP
@ GSM48_RR_CAUSE_HNDOVER_IMP
Definition: gsm_04_08.h:1702
smrdownstate::states
uint32_t states
Definition: gsm0411_smr.c:378
rsl_init_cchan_hdr
void rsl_init_cchan_hdr(struct abis_rsl_cchan_hdr *ch, uint8_t msg_type)
Initialize a RSL Common Channel header.
Definition: rsl.c:59
GSM48_MT_CC_STOP_DTMF
#define GSM48_MT_CC_STOP_DTMF
Definition: gsm_04_08.h:1501
gsm0808_utils.h
gsm0480_l3hdr_push
struct gsm48_hdr * gsm0480_l3hdr_push(struct msgb *msg, uint8_t proto_discr, uint8_t msg_type)
Definition: gsm0480.c:838
gsm411_mnsms_data_req
static int gsm411_mnsms_data_req(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:309
NM_STATE_UNLOCKED
@ NM_STATE_UNLOCKED
Definition: gsm_12_21.h:521
gsm0808_old_bss_to_new_bss_info::lcs
bool lcs
Definition: gsm0808.h:95
GSM411_CPS_MM_ESTABLISHED
@ GSM411_CPS_MM_ESTABLISHED
Definition: gsm_04_11.h:14
NM_NACK_ATTRID_NOTSUPP
@ NM_NACK_ATTRID_NOTSUPP
Definition: gsm_12_21.h:610
abis_om_fom_hdr
OML Object Instance.
Definition: gsm_12_21.h:74
osmo_auth_vector::ik
uint8_t ik[16]
integrity key
Definition: auth.h:64
tlv_definition::def
struct tlv_def def[256]
Definition: tlv.h:420
gsm48_range_1024::w1_lo
uint8_t w1_lo
Definition: gsm_04_08.h:120
gprs_cipher_gen_input_i
uint32_t gprs_cipher_gen_input_i(uint32_t iov_i, uint32_t lfn, uint32_t oc)
Definition: gprs_cipher_core.c:135
GSM48_REJECT_CONDTIONAL_IE_ERROR
@ GSM48_REJECT_CONDTIONAL_IE_ERROR
Definition: gsm_04_08.h:1790
osmo_gsup_message::rand
const uint8_t * rand
Definition: gsup.h:202
gsm48.h
GSM0808_IE_LSA_IDENTIFIER
@ GSM0808_IE_LSA_IDENTIFIER
Definition: gsm_08_08.h:219
lapdm_channel_set_l3
void lapdm_channel_set_l3(struct lapdm_channel *lc, lapdm_cb_t cb, void *ctx)
Set the L3 callback and context of a LAPDm channel.
Definition: lapdm.c:1348
GSM411_MT_RP_ERROR_MT
#define GSM411_MT_RP_ERROR_MT
Definition: gsm_04_11.h:57
lapdm_entity::l1_prim_cb
osmo_prim_cb l1_prim_cb
callback for sending prims to L1
Definition: lapdm.h:60
gsm411_mnsms_est_ind
static int gsm411_mnsms_est_ind(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:240
GSM48_IE_VGCS_TARGET
#define GSM48_IE_VGCS_TARGET
Definition: gsm_04_08.h:1587
OSMO_GSUP_MSGT_PROC_SS_REQUEST
@ OSMO_GSUP_MSGT_PROC_SS_REQUEST
Definition: gsup.h:121
tch_afs_12_2_term_output
static const uint8_t tch_afs_12_2_term_output[]
Definition: gsm0503_conv.c:240
osmo_phsap_prim::data
struct ph_data_param data
Definition: l1sap.h:157
NM_ATT_IPACC_DST_IP_PORT
@ NM_ATT_IPACC_DST_IP_PORT
Definition: gsm_12_21.h:414
gsm_04_80.h
gsm_mncc_cccap::pcp
int pcp
Definition: mncc.h:74
OSMO_GSUP_MSGT_DELETE_DATA_ERROR
@ OSMO_GSUP_MSGT_DELETE_DATA_ERROR
Definition: gsup.h:114
NM_ATT_ABIS_CHANNEL
@ NM_ATT_ABIS_CHANNEL
Definition: gsm_12_21.h:320
ipa_msg_recv_buffered
int ipa_msg_recv_buffered(int fd, struct msgb **rmsg, struct msgb **tmp_msg)
smcdownstate::states
uint32_t states
Definition: gsm0411_smc.c:422
gea4_impl
static struct gprs_cipher_impl gea4_impl
Definition: gprs_gea.c:41
osmo_auth_vector
Definition: auth.h:60
GSM0808_IE_TALKER_PRIORITY
@ GSM0808_IE_TALKER_PRIORITY
Definition: gsm_08_08.h:253
gsm411_smc_inst::network
int network
Definition: gsm0411_smc.h:31
BSS_MAP_MSG_LOAD_INDICATION
@ BSS_MAP_MSG_LOAD_INDICATION
Definition: gsm_08_08.h:133
lapd_msg_ctx::p_f
uint8_t p_f
Definition: lapd_core.h:103
GA_MT_CSR_DL_DIRECT_XFER
@ GA_MT_CSR_DL_DIRECT_XFER
Definition: gsm_44_318.h:56
BSS_MAP_MSG_CLASSMARK_RQST
@ BSS_MAP_MSG_CLASSMARK_RQST
Definition: gsm_08_08.h:131
TLLI_AUXILIARY
@ TLLI_AUXILIARY
Definition: gsm_utils.h:189
abis_nm_sw_load_msgs
enum abis_nm_msgtype abis_nm_sw_load_msgs[9]
messages related to software load
Definition: abis_nm.c:59
crypto.h
GSM48_MT_RR_DTM_ASS_CMD
#define GSM48_MT_RR_DTM_ASS_CMD
Definition: gsm_04_08.h:1374
MDL_CAUSE_UNSOL_DM_RESP_MF
#define MDL_CAUSE_UNSOL_DM_RESP_MF
Definition: lapd_core.h:34
NM_MT_CHG_ADM_STATE
@ NM_MT_CHG_ADM_STATE
Definition: gsm_12_21.h:156
GSM0808_IE_LSA_ACCESS_CTRL_SUPPR
@ GSM0808_IE_LSA_ACCESS_CTRL_SUPPR
Definition: gsm_08_08.h:223
iei
uint8_t iei
Definition: gsm_08_58.h:4
gsm_time::t1
uint16_t t1
Definition: gsm_utils.h:48
lapd_datalink::n200_est_rel
int n200_est_rel
number of retranmissions
Definition: lapd_core.h:136
NM_ATT_IPACC_NV_FLAGS
@ NM_ATT_IPACC_NV_FLAGS
Definition: gsm_12_21.h:419
OSMO_AUTH_ALG_COMP128v2
@ OSMO_AUTH_ALG_COMP128v2
Definition: auth.h:31
gsm_freq_range::freq_dl_offset
uint16_t freq_dl_offset
Definition: gsm_utils.c:745
tch_ahs_5_9_output
static const uint8_t tch_ahs_5_9_output[][2]
Definition: gsm0503_conv.c:964
A5_R4_MASK
#define A5_R4_MASK
Definition: a5.c:113
gsm411_smc_inst::mm_send
int(* mm_send)(struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg, int cp_msg_type)
Definition: gsm0411_smc.h:34
NM_ATT_MANUF_STATE
@ NM_ATT_MANUF_STATE
Definition: gsm_12_21.h:347
GSM0480_IE_FACILITY
#define GSM0480_IE_FACILITY
Definition: gsm_04_80.h:12
lapd_history
Definition: lapd_core.h:117
GSM48_REJECT_CONGESTION
@ GSM48_REJECT_CONGESTION
Definition: gsm_04_08.h:1780
egprs_cps_table_type2
static const struct egprs_cps egprs_cps_table_type2[EGPRS_CPS_TYPE2_TBL_SZ]
Definition: gprs_rlc.c:61
GSM48_MT_RR_PACKET_NOTIF
#define GSM48_MT_RR_PACKET_NOTIF
Definition: gsm_04_08.h:1390
OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR
@ OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR
Definition: gsup.h:100
gsm411_smc_inst::cp_tc1
int cp_tc1
Definition: gsm0411_smc.h:43
comp128.h
GSM_BAND_1900
@ GSM_BAND_1900
Definition: gsm_utils.h:58
GSM48_REJECT_IMEI_NOT_ACCEPTED
@ GSM48_REJECT_IMEI_NOT_ACCEPTED
Definition: gsm_04_08.h:1773
CELL_IDENT_WHOLE_GLOBAL
@ CELL_IDENT_WHOLE_GLOBAL
Definition: gsm_08_08.h:17
osmo_auth_alg_name
const char * osmo_auth_alg_name(enum osmo_auth_algo alg)
Get human-readable name of authentication algorithm.
Definition: auth_core.c:221
gsm48_decode_bcd_number
int gsm48_decode_bcd_number(char *output, int output_len, const uint8_t *bcd_lv, int h_len)
decode a 'called/calling/connect party BCD number' as in 10.5.4.7
Definition: gsm48_ie.c:54
GSM411_CPS_WAIT_CP_ACK
@ GSM411_CPS_WAIT_CP_ACK
Definition: gsm_04_11.h:13
GSM48_MT_MM_STATUS
#define GSM48_MT_MM_STATUS
Definition: gsm_04_08.h:1464
NM_ATT_CONN_FAIL_CRIT
@ NM_ATT_CONN_FAIL_CRIT
Definition: gsm_12_21.h:333
GSM0808_IE_RETURN_ERROR_RQST
@ GSM0808_IE_RETURN_ERROR_RQST
Definition: gsm_08_08.h:234
gsm_utils.h
GMM_CAUSE_MAC_FAIL
@ GMM_CAUSE_MAC_FAIL
Definition: gsm_04_08_gprs.h:213
NM_NACK_PHYSCFG_NOTPERFORM
@ NM_NACK_PHYSCFG_NOTPERFORM
Definition: gsm_12_21.h:621
GSM411_MMSMS_EST_CNF
#define GSM411_MMSMS_EST_CNF
Definition: gsm0411_smc.h:12
NM_MT_SEND_TEST_REP_NACK
@ NM_MT_SEND_TEST_REP_NACK
Definition: gsm_12_21.h:143
OSMO_GSUP_MSGT_PURGE_MS_REQUEST
@ OSMO_GSUP_MSGT_PURGE_MS_REQUEST
Definition: gsup.h:105
osmo_auth_vector::rand
uint8_t rand[16]
random challenge
Definition: auth.h:61
NM_NACK_MEAS_NOTSUPP
@ NM_NACK_MEAS_NOTSUPP
Definition: gsm_12_21.h:633
GSM48_IE_GROUP_CIP_SEQ
#define GSM48_IE_GROUP_CIP_SEQ
Definition: gsm_04_08.h:1630
LAPD_S_RNR
#define LAPD_S_RNR
Definition: lapd_core.c:98
osmo_get_rand_id
int osmo_get_rand_id(uint8_t *out, size_t len)
Generate random identifier We use /dev/urandom (default when GRND_RANDOM flag is not set).
Definition: gsm_utils.c:437
GSM48_MT_GMM_RA_UPD_REJ
#define GSM48_MT_GMM_RA_UPD_REJ
Definition: gsm_04_08_gprs.h:22
GSM411_MNSMS_ABORT_REQ
#define GSM411_MNSMS_ABORT_REQ
Definition: gsm0411_smc.h:21
gprs_upd_t_strs
const struct value_string * gprs_upd_t_strs
Definition: gsm_04_08_gprs.c:193
is_n_digits
static bool is_n_digits(const char *str, int min_digits, int max_digits)
Definition: gsm23003.c:35
gsm0808_handover_complete::speech_codec_chosen_present
bool speech_codec_chosen_present
Definition: gsm0808.h:138
NM_ATT_ADD_INFO
@ NM_ATT_ADD_INFO
Definition: gsm_12_21.h:321
NM_ATT_PHYS_CONF
@ NM_ATT_PHYS_CONF
Definition: gsm_12_21.h:357
gsm341_ms_message::serial
struct gsm341_ms_message::@14 serial
GSM0808_IE_NETWORK_ELEMENT_IDENTITY
@ GSM0808_IE_NETWORK_ELEMENT_IDENTITY
Definition: gsm_08_08.h:231
type
uint8_t type
Definition: gsm_04_08.h:713
NM_ATT_IPACC_CGI
@ NM_ATT_IPACC_CGI
Definition: gsm_12_21.h:438
GSM0808_IE_CELL_ID_LIST_SEGMENT
@ GSM0808_IE_CELL_ID_LIST_SEGMENT
Definition: gsm_08_08.h:256
gsm0808_enc_speech_codec_list
uint8_t gsm0808_enc_speech_codec_list(struct msgb *msg, const struct gsm0808_speech_codec_list *scl)
Encode TS 08.08 Speech Codec list.
Definition: gsm0808_utils.c:339
NM_OC_BS11_BTSE
@ NM_OC_BS11_BTSE
Definition: gsm_12_21.h:304
smcdatastate::cp_type
int cp_type
Definition: gsm0411_smc.c:484
GSM0808_CAUSE_INC_RELOC_NOT_SUPP_DT_PUESBINE_FEATURE
@ GSM0808_CAUSE_INC_RELOC_NOT_SUPP_DT_PUESBINE_FEATURE
Definition: gsm_08_08.h:369
osmo_sub_auth_data::umts
struct osmo_sub_auth_data::@37::@38 umts
NM_CHANC_mainBCCH
@ NM_CHANC_mainBCCH
Definition: gsm_12_21.h:552
GSM48_MT_CC_RELEASE
#define GSM48_MT_CC_RELEASE
Definition: gsm_04_08.h:1493
gsm411_msgb_alloc
struct msgb * gsm411_msgb_alloc(void)
Allocate a message buffer for use as TS 04.11 message.
Definition: gsm0411_utils.c:53
osmo_gsup_message::hlr_enc
const uint8_t * hlr_enc
Definition: gsup.h:199
GSM0808_IE_SERVICE_HANDOVER
@ GSM0808_IE_SERVICE_HANDOVER
Definition: gsm_08_08.h:237
lapd_datalink::send_ph_data_req
int(* send_ph_data_req)(struct lapd_msg_ctx *lctx, struct msgb *msg)
Definition: lapd_core.h:126
GSM0808_CAUSE_TRAFFIC
@ GSM0808_CAUSE_TRAFFIC
Definition: gsm_08_08.h:337
gsm0503_tch_hr
const struct osmo_conv_code gsm0503_tch_hr
TCH/H convolutional code.
Definition: gsm0503_conv.c:808
GSM_CAUSE_INSUFF_RSRC
@ GSM_CAUSE_INSUFF_RSRC
Definition: gsm_04_08_gprs.h:237
gsm0808_channel_type_name
const char * gsm0808_channel_type_name(const struct gsm0808_channel_type *ct)
Definition: gsm0808_utils.c:1307
NM_ATT_RACH_B_THRESH
@ NM_ATT_RACH_B_THRESH
Definition: gsm_12_21.h:361
GSM48_MT_MM_TMSI_REALL_CMD
#define GSM48_MT_MM_TMSI_REALL_CMD
Definition: gsm_04_08.h:1452
msgb_tlv_put
static uint8_t * msgb_tlv_put(struct msgb *msg, uint8_t tag, uint8_t len, const uint8_t *val)
put (append) a TLV field to a msgb
Definition: tlv.h:296
GSM0808_CAUSE_CIPHERING_ALGORITHM_NOT_SUPPORTED
@ GSM0808_CAUSE_CIPHERING_ALGORITHM_NOT_SUPPORTED
Definition: gsm_08_08.h:367
osmo_bts_feature_name
const char * osmo_bts_feature_name(enum osmo_bts_features feature)
return string representation of a BTS feature
Definition: bts_features.c:45
gsm48_decode_connected
int gsm48_decode_connected(struct gsm_mncc_number *connected, const uint8_t *lv)
Decode TS 04.08 Connected Number IE (10.5.4.13)
Definition: gsm48_ie.c:557
lapdm_entity::tx_pending
int tx_pending
currently a pending frame not confirmed by L1
Definition: lapdm.h:53
NM_NACK_SPEC_IMPL_NOTSUPP
@ NM_NACK_SPEC_IMPL_NOTSUPP
Definition: gsm_12_21.h:613
lapdm_msg_ctx::link_id
uint8_t link_id
Definition: lapdm.h:23
tch_ahs_7_4_puncture
static const int tch_ahs_7_4_puncture[]
Definition: gsm0503_conv.c:889
tch_afs_10_2_state
static const uint8_t tch_afs_10_2_state[][2]
Definition: gsm0503_conv.c:271
bts_features.h
gsm48_range_512::w6
uint8_t w6
Definition: gsm_04_08.h:201
gsm_arfcn2freq10
uint16_t gsm_arfcn2freq10(uint16_t arfcn, int uplink)
Convert an ARFCN to the frequency in MHz * 10.
Definition: gsm_utils.c:766
rsl_rll_simple
struct msgb * rsl_rll_simple(uint8_t msg_type, uint8_t chan_nr, uint8_t link_id, int transparent)
Create msgb with RSL RLL header.
Definition: rsl.c:522
RSL_MT_DATA_REQ
@ RSL_MT_DATA_REQ
Definition: gsm_08_58.h:87
abis_nm_nacks
enum abis_nm_msgtype abis_nm_nacks[33]
All NACKs (negative acknowledgements.
Definition: abis_nm.c:73
Td2
const u32 Td2[256]
osmo_dump_gsmtime
char * osmo_dump_gsmtime(const struct gsm_time *tm)
Definition: gsm_utils.c:854
NM_ATT_INTAVE_PARAM
@ NM_ATT_INTAVE_PARAM
Definition: gsm_12_21.h:343
GSM0808_LCLS_CSC_DO_NOT_CONNECT
@ GSM0808_LCLS_CSC_DO_NOT_CONNECT
Definition: gsm_08_08.h:558
BSS_MAP_MSG_MSC_INVOKE_TRACE
@ BSS_MAP_MSG_MSC_INVOKE_TRACE
Definition: gsm_08_08.h:103
NM_CHANC_IPAC_PDCH
@ NM_CHANC_IPAC_PDCH
Definition: gsm_12_21.h:562
gsm0808_cell_id::id
union gsm0808_cell_id_u id
Definition: gsm0808_utils.h:50
GSM48_IE_CALLED_BCD
#define GSM48_IE_CALLED_BCD
Definition: gsm_04_08.h:1567
NM_MT_LOAD_END_NACK
@ NM_MT_LOAD_END_NACK
Definition: gsm_12_21.h:95
gsm0808_handover_required::speech_version_used
uint8_t speech_version_used
Definition: gsm0808.h:118
gsm_mncc_cccap::dtmf
int dtmf
Definition: mncc.h:73
gsm0808_cell_id_list
DEPRECATED: This definition of the cell identifier list is insufficient.
Definition: gsm_08_08.h:539
gsm_mncc_bearer_cap::transp
enum gsm48_bcap_transp transp
Definition: mncc.h:28
osmo_gsup_message::ss_info
uint8_t * ss_info
ASN.1 encoded MAP payload for Supplementary Services.
Definition: gsup.h:214
GA_MT_RC_REGISTER_REJECT
@ GA_MT_RC_REGISTER_REJECT
Definition: gsm_44_318.h:25
OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT
@ OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT
Definition: gsup.h:101
parse_ss_info_elements
static int parse_ss_info_elements(const uint8_t *ss_ie, uint16_t len, struct ss_request *req)
Definition: gsm0480.c:455
gsm48_range_512::w4_lo
uint8_t w4_lo
Definition: gsm_04_08.h:199
tch_afs_10_2_output
static const uint8_t tch_afs_10_2_output[][2]
Definition: gsm0503_conv.c:278
RSL_IE_RLM_CAUSE
@ RSL_IE_RLM_CAUSE
Definition: gsm_08_58.h:235
tch_afs_7_95_term_state
static const uint8_t tch_afs_7_95_term_state[]
Definition: gsm0503_conv.c:370
OSMO_GSUP_CHARG_CHAR_IE
@ OSMO_GSUP_CHARG_CHAR_IE
Definition: gsup.h:74
OSMO_GSUP_PDP_CONTEXT_ID_IE
@ OSMO_GSUP_PDP_CONTEXT_ID_IE
Definition: gsup.h:70
GA_MT_CSR_REQUEST_REJECT
@ GA_MT_CSR_REQUEST_REJECT
Definition: gsm_44_318.h:67
LAPDm_CTRL_U
#define LAPDm_CTRL_U(u, p)
Definition: lapdm.c:68
osmo_auth_gen_vec
int osmo_auth_gen_vec(struct osmo_auth_vector *vec, struct osmo_sub_auth_data *aud, const uint8_t *_rand)
Generate authentication vector.
Definition: auth_core.c:156
NM_ATT_SITE_OUTPUTS
@ NM_ATT_SITE_OUTPUTS
Definition: gsm_12_21.h:366
OSMO_GSUP_MSGT_AUTH_FAIL_REPORT
@ OSMO_GSUP_MSGT_AUTH_FAIL_REPORT
Definition: gsup.h:103
parse_ss_return_result
static int parse_ss_return_result(const uint8_t *rr_data, uint16_t length, struct ss_request *req)
Definition: gsm0480.c:627
GSM0808_IE_RETURN_ERROR_CAUSE
@ GSM0808_IE_RETURN_ERROR_CAUSE
Definition: gsm_08_08.h:235
aes_encrypt_deinit
void aes_encrypt_deinit(void *ctx)
Definition: aes-internal-enc.c:120
ABIS_RSL_MDISC_RLL
#define ABIS_RSL_MDISC_RLL
Definition: gsm_08_58.h:68
l
uint16_t l
Definition: gsm_04_14.h:10
lapdm_entity::l1_ctx
void * l1_ctx
context for layer1 instance
Definition: lapdm.h:57
GSM48_MT_RR_UPLINK_RELEASE
#define GSM48_MT_RR_UPLINK_RELEASE
Definition: gsm_04_08.h:1433
gsm0808_cell_id_list2
Parsed representation of a Cell Identifier List IE (3GPP TS 48.008 3.2.2.27).
Definition: gsm0808_utils.h:54
NM_ATT_IPACC_CUR_SW_CFG
@ NM_ATT_IPACC_CUR_SW_CFG
Definition: gsm_12_21.h:436
GSM48_CMODE_SPEECH_V1
@ GSM48_CMODE_SPEECH_V1
Definition: gsm_04_08.h:697
GSM48_MT_RR_PART_REL
#define GSM48_MT_RR_PART_REL
Definition: gsm_04_08.h:1380
GSM48_REJECT_IMSI_UNKNOWN_IN_VLR
@ GSM48_REJECT_IMSI_UNKNOWN_IN_VLR
Definition: gsm_04_08.h:1772
TLV_TYPE_SINGLE_TV
@ TLV_TYPE_SINGLE_TV
tag and value (both 4 bit) in 1 byte
Definition: tlv.h:408
header
struct gsm48_system_information_type_header header
Definition: gsm_04_08.h:708
abis_nm_att_tlvdef_ipa
const struct tlv_definition abis_nm_att_tlvdef_ipa
GSM A-bis OML IPA TLV parser definition.
Definition: abis_nm.c:470
gsm0808_enc_speech_codec
uint8_t gsm0808_enc_speech_codec(struct msgb *msg, const struct gsm0808_speech_codec *sc)
Encode TS 08.08 Speech Codec IE.
Definition: gsm0808_utils.c:234
proto_discr
uint8_t proto_discr
Definition: gsm_04_08.h:709
gsm48_encode_callerid
int gsm48_encode_callerid(struct msgb *msg, int ie, int max_len, const struct gsm_mncc_number *callerid)
Encode TS 04.08 Caller ID IE.
Definition: gsm48_ie.c:422
MDL_CAUSE_UNSOL_SPRV_RESP
#define MDL_CAUSE_UNSOL_SPRV_RESP
Definition: lapd_core.h:35
gsm48_mcc_mnc_from_bcd
void gsm48_mcc_mnc_from_bcd(uint8_t *bcd_src, uint16_t *mcc, uint16_t *mnc)
Definition: gsm48.c:476
gsm48_range_1024::w13_hi
uint8_t w13_hi
Definition: gsm_04_08.h:141
NM_NACK_FILE_NOTACTIVATE
@ NM_NACK_FILE_NOTACTIVATE
Definition: gsm_12_21.h:629
ipaccess_unit::swversion
char * swversion
Definition: ipa.h:19
GSM48_RR_CAUSE_NO_CELL_ALLOC_A
@ GSM48_RR_CAUSE_NO_CELL_ALLOC_A
Definition: gsm_04_08.h:1711
GSM_PCHAN_CCCH_SDCCH4_CBCH
@ GSM_PCHAN_CCCH_SDCCH4_CBCH
Definition: gsm_utils.h:211
GSM48_IE_CH_DESC_1_BEFORE
#define GSM48_IE_CH_DESC_1_BEFORE
Definition: gsm_04_08.h:1607
osmo_apn_qualify
char * osmo_apn_qualify(unsigned int mcc, unsigned int mnc, const char *ni)
Definition: apn.c:35
GSM48_RR_CAUSE_ABNORMAL_UNSPEC
@ GSM48_RR_CAUSE_ABNORMAL_UNSPEC
Definition: gsm_04_08.h:1697
BSS_MAP_MSG_COMPLETE_LAYER_3
@ BSS_MAP_MSG_COMPLETE_LAYER_3
Definition: gsm_08_08.h:130
GSM48_IE_LSA_IDENT
#define GSM48_IE_LSA_IDENT
Definition: gsm_04_08.h:1550
gsm411_mmsms_cp_error
static int gsm411_mmsms_cp_error(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:356
lapd_msg_ctx::n201
int n201
Definition: lapd_core.h:95
lapd_send_dm
static int lapd_send_dm(struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:424
NM_ATT_TEST_NO
@ NM_ATT_TEST_NO
Definition: gsm_12_21.h:373
NM_ATT_AUTON_REPORT
@ NM_ATT_AUTON_REPORT
Definition: gsm_12_21.h:325
kasumi_FL
static uint32_t kasumi_FL(uint32_t I, const uint16_t *KLi1, const uint16_t *KLi2, unsigned i)
Definition: kasumi.c:113
GSM0808_IE_SOURCE_RNC_TO_TARGET_RNC_TRANSPARENT_CDMA2000
@ GSM0808_IE_SOURCE_RNC_TO_TARGET_RNC_TRANSPARENT_CDMA2000
Definition: gsm_08_08.h:239
ENCRY_INFO_PERM_ALGO_MAXLEN
#define ENCRY_INFO_PERM_ALGO_MAXLEN
Definition: gsm_08_08.h:524
GSM0808_IE_SPEECH_CODEC
@ GSM0808_IE_SPEECH_CODEC
Definition: gsm_08_08.h:273
GSM0808_IE_TRACE_TYPE
@ GSM0808_IE_TRACE_TYPE
Definition: gsm_08_08.h:197
abis_nm_chan_comb
abis_nm_chan_comb
Definition: gsm_12_21.h:545
smcdownstatelist
static const struct smcdownstate smcdownstatelist[]
GSM0808_CAUSE_DISTANCE
@ GSM0808_CAUSE_DISTANCE
Definition: gsm_08_08.h:328
ussd_request::invoke_id
uint8_t invoke_id
Definition: gsm0480.h:46
gsm340_validity_period
unsigned long gsm340_validity_period(uint8_t sms_vpf, uint8_t *sms_vp)
decode validity period.
Definition: gsm0411_utils.c:214
lapd_datalink::t203_sec
int t203_sec
Definition: lapd_core.h:149
NM_NACK_FILE_INCOMPLETE
@ NM_NACK_FILE_INCOMPLETE
Definition: gsm_12_21.h:627
GSM48_IE_CHANMODE_3
#define GSM48_IE_CHANMODE_3
Definition: gsm_04_08.h:1596
ASN1_IA5_STRING_TAG
#define ASN1_IA5_STRING_TAG
Definition: gsm_04_80.h:123
gsm411_unbcdify
uint8_t gsm411_unbcdify(uint8_t value)
Turn semi-octet representation into int: 0x89 => 98.
Definition: gsm0411_utils.c:75
gsm48_encode_more
int gsm48_encode_more(struct msgb *msg)
Encode TS 04.08 More Data IE (10.5.4.19)
Definition: gsm48_ie.c:787
GSM0808_CAUSE_SWITCH_CIRCUIT_POOL
@ GSM0808_CAUSE_SWITCH_CIRCUIT_POOL
Definition: gsm_08_08.h:360
GSM_PCHAN_CCCH_SDCCH4
@ GSM_PCHAN_CCCH_SDCCH4
Definition: gsm_utils.h:204
GSM0808_IE_INTERFERENCE_BAND_TO_USE
@ GSM0808_IE_INTERFERENCE_BAND_TO_USE
Definition: gsm_08_08.h:180
osmo_lai_name
const char * osmo_lai_name(const struct osmo_location_area_id *lai)
Return MCC-MNC-LAC as string, in a static buffer.
Definition: gsm23003.c:129
tch_afs_4_75_output
static const uint8_t tch_afs_4_75_output[][2]
Definition: gsm0503_conv.c:677
APN_MAXLEN
#define APN_MAXLEN
Definition: apn.h:11
gprs_cipher_load
int gprs_cipher_load(const char *path)
Definition: gprs_cipher_core.c:71
mcs_output
static const uint8_t mcs_output[][2]
Definition: gsm0503_conv.c:59
NM_ATT_IPACC_RLC_CFG_3
@ NM_ATT_IPACC_RLC_CFG_3
Definition: gsm_12_21.h:457
lapdm_entity
a LAPDm Entity
Definition: lapdm.h:49
CR_NET2USER_CMD
#define CR_NET2USER_CMD
Definition: lapd_core.c:103
gsm411_push_cp_header
int gsm411_push_cp_header(struct msgb *msg, uint8_t proto, uint8_t trans, uint8_t msg_type)
Prefix msgb with a 04.08/04.11 CP header.
Definition: gsm0411_utils.c:353
osmo_location_area_id::lac
uint16_t lac
Definition: gsm23003.h:18
NM_ATT_EVENT_TYPE
@ NM_ATT_EVENT_TYPE
Definition: gsm_12_21.h:336
GSM0808_IE_VGCS_VBS_CELL_STATUS
@ GSM0808_IE_VGCS_VBS_CELL_STATUS
Definition: gsm_08_08.h:259
gsm48_chan_mode_names
const struct value_string gsm48_chan_mode_names[]
Definition: gsm48.c:397
gprs_upd_t_strs_
const struct value_string gprs_upd_t_strs_[]
String names of GPRS Location Update Types.
Definition: gsm_04_08_gprs.c:185
SMR_LOG_STR
#define SMR_LOG_STR
Definition: gsm0411_smr.c:65
osmo_plmn_name2
const char * osmo_plmn_name2(const struct osmo_plmn_id *plmn)
Same as osmo_mcc_mnc_name(), but returning in a different static buffer.
Definition: gsm23003.c:118
BSS_MAP_MSG_CONNECTIONLESS_INFORMATION
@ BSS_MAP_MSG_CONNECTIONLESS_INFORMATION
Definition: gsm_08_08.h:105
gsm0808_create_handover_detect
struct msgb * gsm0808_create_handover_detect()
Create BSSMAP HANDOVER DETECT message, 3GPP TS 48.008 3.2.1.40.
Definition: gsm0808.c:772
gsm341_ms_message::gs
uint8_t gs
Definition: gsm_03_41.h:28
GSM48_IE_CH_DESC_2_BEFORE
#define GSM48_IE_CH_DESC_2_BEFORE
Definition: gsm_04_08.h:1609
LAPD_STATE_EST_TEI_WAIT
@ LAPD_STATE_EST_TEI_WAIT
Definition: lapd_core.h:76
mcs_state
static const uint8_t mcs_state[][2]
Definition: gsm0503_conv.c:40
OSMO_GSUP_CANCEL_TYPE_IE
@ OSMO_GSUP_CANCEL_TYPE_IE
Definition: gsup.h:66
GA_MT_CSR_UL_DIRECT_XFER
@ GA_MT_CSR_UL_DIRECT_XFER
Definition: gsm_44_318.h:55
NM_OC_BS11_ADJC
@ NM_OC_BS11_ADJC
Definition: gsm_12_21.h:301
gsm48_encode_progress
int gsm48_encode_progress(struct msgb *msg, int lv_only, const struct gsm_mncc_progress *p)
Encode TS 04.08 Progress IE (10.5.4.21)
Definition: gsm48_ie.c:691
osmo_gsup_iei
osmo_gsup_iei
Information Element Identifiers for GSUP IEs.
Definition: gsup.h:60
GSM48_MI_SIZE
#define GSM48_MI_SIZE
Definition: gsm_04_08.h:1985
GSM0808_IE_SELECTED_PLMN_ID
@ GSM0808_IE_SELECTED_PLMN_ID
Definition: gsm_08_08.h:294
OSMO_EVT_CRIT_RTP_TOUT
@ OSMO_EVT_CRIT_RTP_TOUT
Definition: gsm_12_21.h:264
A5_R3_MASK
#define A5_R3_MASK
Definition: a5.c:112
GSM0808_CAUSE_DTM_HO_PS_ALLOC_FAILURE
@ GSM0808_CAUSE_DTM_HO_PS_ALLOC_FAILURE
Definition: gsm_08_08.h:357
ipa_ccm_make_id_resp_from_req
struct msgb * ipa_ccm_make_id_resp_from_req(const struct ipaccess_unit *dev, const uint8_t *data, unsigned int len)
Generate IPA CCM ID RESP based on requets payload.
Definition: ipa.c:307
gsm0503_tch_ahs_5_9
const struct osmo_conv_code gsm0503_tch_ahs_5_9
TCH/AHS 5.9 kbits convolutional code.
Definition: gsm0503_conv.c:989
new_cp_state
static void new_cp_state(struct gsm411_smc_inst *inst, enum gsm411_cp_state state)
Definition: gsm0411_smc.c:136
gsm48_range_256::w2
uint8_t w2
Definition: gsm_04_08.h:271
GSM0808_ALG_ID_A5_2
@ GSM0808_ALG_ID_A5_2
Definition: gsm_08_08.h:459
lapd_datalink::k
uint8_t k
maximum number of unacknowledged frames
Definition: lapd_core.h:139
GSM48_MT_RR_CFG_CHG_ACK
#define GSM48_MT_RR_CFG_CHG_ACK
Definition: gsm_04_08.h:1363
PRIM_DL_RECON
@ PRIM_DL_RECON
DL-RECONNECT.
Definition: lapd_core.h:25
gsm48_range_128::w11
uint8_t w11
Definition: gsm_04_08.h:367
GSM48_MT_CC_CALL_CONF
#define GSM48_MT_CC_CALL_CONF
Definition: gsm_04_08.h:1469
GSM48_MT_RR_CHAN_MODE_MODIF_ACK
#define GSM48_MT_RR_CHAN_MODE_MODIF_ACK
Definition: gsm_04_08.h:1422
APPEND_CELL_ID_U
#define APPEND_CELL_ID_U(DISCR, U)
Definition: gsm0808_utils.c:1221
gsm0808_create_handover_required
struct msgb * gsm0808_create_handover_required(const struct gsm0808_handover_required *params)
Create BSSMAP HANDOVER REQUIRED message.
Definition: gsm0808.c:708
t1
uint8_t t1
Definition: gsm_04_08.h:639
MDL_CAUSE_IFRM_INC_LEN
#define MDL_CAUSE_IFRM_INC_LEN
Definition: lapd_core.h:40
ipa_ccm_rcvmsg_bts_base
int ipa_ccm_rcvmsg_bts_base(struct msgb *msg, struct osmo_fd *bfd)
Definition: ipa.c:409
NM_MT_DISC_MDROP_LINK
@ NM_MT_DISC_MDROP_LINK
Definition: gsm_12_21.h:123
GSM0808_IE_CS_TO_PS_SRVCC_IND
@ GSM0808_IE_CS_TO_PS_SRVCC_IND
Definition: gsm_08_08.h:292
GSM48_REJECT_ILLEGAL_ME
@ GSM48_REJECT_ILLEGAL_ME
Definition: gsm_04_08.h:1774
gsm0808_create_paging2
struct msgb * gsm0808_create_paging2(const char *imsi, const uint32_t *tmsi, const struct gsm0808_cell_id_list2 *cil, const uint8_t *chan_needed)
Create BSSMAP PAGING message.
Definition: gsm0808.c:594
BSS_MAP_MSG_REROUTE_COMPLETE
@ BSS_MAP_MSG_REROUTE_COMPLETE
Definition: gsm_08_08.h:94
gsm48_loc_area_id::lac
uint16_t lac
Definition: gsm_04_08.h:787
NM_MT_GET_ATTR_NACK
@ NM_MT_GET_ATTR_NACK
Definition: gsm_12_21.h:189
GSM48_IE_CONN_BCD
#define GSM48_IE_CONN_BCD
Definition: gsm_04_08.h:1563
GSM0808_IE_OMCID
@ GSM0808_IE_OMCID
Definition: gsm_08_08.h:202
OSMO_GSUP_PDP_INFO_COMPL_IE
@ OSMO_GSUP_PDP_INFO_COMPL_IE
Definition: gsup.h:64
LAPD_U_SABME
#define LAPD_U_SABME
Definition: lapd_core.c:90
gsm_04_08.h
gsm48_range_1024::w15_hi
uint8_t w15_hi
Definition: gsm_04_08.h:145
gsm0808_lcls_status_names
const struct value_string gsm0808_lcls_status_names[]
Definition: gsm0808.c:1279
NM_ATT_IPACC_ALM_THRESH_LIST
@ NM_ATT_IPACC_ALM_THRESH_LIST
Definition: gsm_12_21.h:449
GPRS_DET_T_MO_IMSI
#define GPRS_DET_T_MO_IMSI
Definition: gsm_04_08_gprs.h:60
BSS_MAP_MSG_INT_HANDOVER_REQUIRED
@ BSS_MAP_MSG_INT_HANDOVER_REQUIRED
Definition: gsm_08_08.h:70
LAPDm_MORE
#define LAPDm_MORE
Definition: lapdm.c:83
GSM48_MT_RR_SYSINFO_19
#define GSM48_MT_RR_SYSINFO_19
Definition: gsm_04_08.h:1417
BTS_FEAT_MULTI_TSC
@ BTS_FEAT_MULTI_TSC
Definition: bts_features.h:17
NM_ATT_NY1
@ NM_ATT_NY1
Definition: gsm_12_21.h:354
gsm48_range_512::orig_arfcn_mid
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:190
osmo_gsup_message
parsed/decoded GSUP protocol message
Definition: gsup.h:186
gsm411_send_abort
static int gsm411_send_abort(struct gsm411_smr_inst *inst)
Definition: gsm0411_smr.c:196
BSS_MAP_MSG_PERFORM_LOCATION_RESPONSE
@ BSS_MAP_MSG_PERFORM_LOCATION_RESPONSE
Definition: gsm_08_08.h:90
GSM0808_LCLS_CSC_CONNECT
@ GSM0808_LCLS_CSC_CONNECT
Definition: gsm_08_08.h:557
GSM48_MT_RR_IMM_ASS_EXT
#define GSM48_MT_RR_IMM_ASS_EXT
Definition: gsm_04_08.h:1352
lapd_datalink::v_recv
uint8_t v_recv
seq nr of next I frame expected to be received
Definition: lapd_core.h:143
GSM0808_ALG_ID_A5_3
@ GSM0808_ALG_ID_A5_3
Definition: gsm_08_08.h:460
PRIM_TCH
@ PRIM_TCH
TCH.
Definition: l1sap.h:15
tch_ahs_5_9_term_output
static const uint8_t tch_ahs_5_9_term_output[]
Definition: gsm0503_conv.c:976
ABIS_NM_MSG_SIZE
#define ABIS_NM_MSG_SIZE
Definition: gsm_12_21.h:45
gsm411_rl_data_req
static int gsm411_rl_data_req(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:218
LAPDm_FMT_B
@ LAPDm_FMT_B
Definition: lapdm.c:111
NM_MT_SET_ALARM_THRES_ACK
@ NM_MT_SET_ALARM_THRES_ACK
Definition: gsm_12_21.h:191
BSS_MAP_MSG_HANDOVER_DETECT
@ BSS_MAP_MSG_HANDOVER_DETECT
Definition: gsm_08_08.h:69
GSM0808_CAUSE_RESP_TO_INT_HO_ENQ_MSG
@ GSM0808_CAUSE_RESP_TO_INT_HO_ENQ_MSG
Definition: gsm_08_08.h:343
lapd_history::msg
struct msgb * msg
Definition: lapd_core.h:118
_a5_2_get_output
static uint8_t _a5_2_get_output(uint32_t r[])
GSM A5/2 Output function.
Definition: a5.c:311
mi_len
uint8_t mi_len
Definition: gsm_04_08.h:716
NM_PCAUSE_T_MANUF
@ NM_PCAUSE_T_MANUF
Definition: gsm_12_21.h:592
osmo_mcc_name
const char * osmo_mcc_name(uint16_t mcc)
Return MCC string as standardized 3-digit with leading zeros.
Definition: gsm23003.c:78
gsm48_encode_bcd_number
int gsm48_encode_bcd_number(uint8_t *bcd_lv, uint8_t max_len, int h_len, const char *input)
convert a ASCII phone number to 'called/calling/connect party BCD number'
Definition: gsm48_ie.c:97
gsm0411_utils.h
lapdm_datalink
LAPDm datalink like TS 04.06 / Section 3.5.2.
Definition: lapdm.h:29
LAPD_FORM_U
@ LAPD_FORM_U
Definition: lapd_core.h:89
GSM48_CMODE_DATA_14k5
@ GSM48_CMODE_DATA_14k5
Definition: gsm_04_08.h:700
rr_cause_names
static const struct value_string rr_cause_names[]
Definition: gsm48.c:158
abis_nm_sw_desc::file_id_len
uint8_t file_id_len
Definition: gsm_12_21.h:794
N200_EST_REL
#define N200_EST_REL
Definition: lapdm.c:99
GSM0808_CAUSE_EQUIPMENT_FAILURE
@ GSM0808_CAUSE_EQUIPMENT_FAILURE
Definition: gsm_08_08.h:346
GSM411_RP_CAUSE_MSG_INCOMP_STATE
@ GSM411_RP_CAUSE_MSG_INCOMP_STATE
Definition: gsm_04_11.h:90
lapd_datalink::lctx
struct lapd_msg_ctx lctx
LAPD context.
Definition: lapd_core.h:137
gsm48_range_256::w21
uint8_t w21
Definition: gsm_04_08.h:300
cc_state_names
static const char * cc_state_names[32]
Definition: gsm48.c:199
NM_ATT_TSC
@ NM_ATT_TSC
Definition: gsm_12_21.h:382
GSM0480_OP_CODE_ERASE_SS
#define GSM0480_OP_CODE_ERASE_SS
Definition: gsm_04_80.h:71
gsm341_ms_message::current
uint8_t current
Definition: gsm_03_41.h:49
lapdm_datalink_for_sapi
struct lapdm_datalink * lapdm_datalink_for_sapi(struct lapdm_entity *le, uint8_t sapi)
Definition: lapdm.c:203
tch_afs_5_9_state
static const uint8_t tch_afs_5_9_state[][2]
Definition: gsm0503_conv.c:517
GSM0808_IE_SPEECH_CODEC_LIST
@ GSM0808_IE_SPEECH_CODEC_LIST
Definition: gsm_08_08.h:272
gsm48_range_1024::w12_hi
uint8_t w12_hi
Definition: gsm_04_08.h:139
gprs_ciph_algo
gprs_ciph_algo
Definition: gprs_cipher.h:13
GSM48_REJECT_CALL_CAN_NOT_BE_IDENTIFIED
@ GSM48_REJECT_CALL_CAN_NOT_BE_IDENTIFIED
Definition: gsm_04_08.h:1784
NM_MT_REINIT_NACK
@ NM_MT_REINIT_NACK
Definition: gsm_12_21.h:174
lapd_rx_u
static int lapd_rx_u(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:794
gsm0808_create_ass_fail
struct msgb * gsm0808_create_ass_fail(uint8_t cause, const uint8_t *rr_cause, const struct gsm0808_speech_codec_list *scl)
Create BSSMAP Assignment Failure message.
Definition: gsm0808.c:530
GA_MT_RC_KEEPALIVE
@ GA_MT_RC_KEEPALIVE
Definition: gsm_44_318.h:58
NM_EVT_EQUIP_FAIL
@ NM_EVT_EQUIP_FAIL
Definition: gsm_12_21.h:574
gsm0480_decode_ss_request
int gsm0480_decode_ss_request(const struct gsm48_hdr *hdr, uint16_t len, struct ss_request *req)
Definition: gsm0480.c:373
GSM0808_PERM_HR4
@ GSM0808_PERM_HR4
OHR AMR-WB.
Definition: gsm_08_08.h:429
GSM411_MT_RP_ACK_MT
#define GSM411_MT_RP_ACK_MT
Definition: gsm_04_11.h:55
TLLI_LOCAL
@ TLLI_LOCAL
Definition: gsm_utils.h:186
GSM48_REJECT_MSG_NOT_COMPATIBLE
@ GSM48_REJECT_MSG_NOT_COMPATIBLE
Definition: gsm_04_08.h:1791
ph_rach_req_param::offset
uint16_t offset
Timing Offset.
Definition: l1sap.h:48
NM_MT_DISC_TERR_SIGN_ACK
@ NM_MT_DISC_TERR_SIGN_ACK
Definition: gsm_12_21.h:111
NM_ATT_ARFCN_LIST
@ NM_ATT_ARFCN_LIST
Definition: gsm_12_21.h:324
GSM0808_IE_CALL_ID
@ GSM0808_IE_CALL_ID
Definition: gsm_08_08.h:274
GSM_MNCC_BCAP_SPEECH
@ GSM_MNCC_BCAP_SPEECH
Definition: mncc.h:78
gsm0808_cell_id_u_name
int gsm0808_cell_id_u_name(char *buf, size_t buflen, enum CELL_IDENT id_discr, const union gsm0808_cell_id_u *u)
Print a human readable name of the cell identifier to the char buffer.
Definition: gsm0808_utils.c:1174
GSM0808_CAUSE_PREEMPTION
@ GSM0808_CAUSE_PREEMPTION
Definition: gsm_08_08.h:355
msgb_push_TLV1
static unsigned char * msgb_push_TLV1(struct msgb *msgb, uint8_t tag, uint8_t value)
Definition: gsm0480.c:79
GSM48_MT_RR_UPLINK_FREE
#define GSM48_MT_RR_UPLINK_FREE
Definition: gsm_04_08.h:1434
GSM411_MNSMS_REL_REQ
#define GSM411_MNSMS_REL_REQ
Definition: gsm0411_smc.h:27
abis_nm.h
asc_to_bcd
static int asc_to_bcd(const char asc)
convert a single ASCII character to call-control BCD
Definition: gsm48_ie.c:80
NM_NACK_CAPACITY_RESTR
@ NM_NACK_CAPACITY_RESTR
Definition: gsm_12_21.h:620
gsm0808_old_bss_to_new_bss_info::extra_information_present
bool extra_information_present
Definition: gsm0808.h:92
osmo_gsup_message::cn_domain
enum osmo_gsup_cn_domain cn_domain
Definition: gsup.h:203
gsm48_number_of_paging_subchannels
int gsm48_number_of_paging_subchannels(struct gsm48_control_channel_descr *chan_desc)
Determine number of paging sub-channels.
Definition: gsm48.c:753
gsm340_vp_relative
static unsigned long gsm340_vp_relative(uint8_t *sms_vp)
Definition: gsm0411_utils.c:151
tch_ahs_7_4_output
static const uint8_t tch_ahs_7_4_output[][2]
Definition: gsm0503_conv.c:872
TLVP_PRESENT
#define TLVP_PRESENT(x, y)
Definition: tlv.h:442
NM_NACK_ATTRLIST_INCONSISTENT
@ NM_NACK_ATTRLIST_INCONSISTENT
Definition: gsm_12_21.h:612
NM_CHANC_TCHHalf
@ NM_CHANC_TCHHalf
Definition: gsm_12_21.h:547
GSM48_MT_RR_UPLINK_BUSY
#define GSM48_MT_RR_UPLINK_BUSY
Definition: gsm_04_08.h:1435
ABIS_OM_MDISC_MMI
#define ABIS_OM_MDISC_MMI
Message Discriminator for Man Machine Interface.
Definition: gsm_12_21.h:51
rsl_ccch_conf_to_bs_cc_chans
int rsl_ccch_conf_to_bs_cc_chans(int ccch_conf)
Definition: rsl.c:436
ph_data_param::chan_nr
uint8_t chan_nr
Channel Number (Like RSL)
Definition: l1sap.h:76
ipa_prepend_header
void ipa_prepend_header(struct msgb *msg, int proto)
Definition: ipa.c:442
BSS_MAP_MSG_UPLINK_REJECT_CMD
@ BSS_MAP_MSG_UPLINK_REJECT_CMD
Definition: gsm_08_08.h:147
__attribute__
static __attribute__((constructor))
Definition: auth_comp128v23.c:69
NM_NACK_WAIT
@ NM_NACK_WAIT
Definition: gsm_12_21.h:631
GSM48_MT_CC_START_DTMF_REJ
#define GSM48_MT_CC_START_DTMF_REJ
Definition: gsm_04_08.h:1504
N201_B4
#define N201_B4
Definition: lapdm.c:96
GMM_CAUSE_GSM_AUTH_UNACCEPT
@ GMM_CAUSE_GSM_AUTH_UNACCEPT
Definition: gsm_04_08_gprs.h:216
GSM_MI_TYPE_MASK
#define GSM_MI_TYPE_MASK
Definition: gsm_04_08.h:1537
gsm48_range_512::w15
uint8_t w15
Definition: gsm_04_08.h:215
gsm0503_mcs6
const struct osmo_conv_code gsm0503_mcs6
EDGE MCS-6 data convolutional code: 612 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G7 = ...
Definition: gsm0503_conv.c:1275
RSL_MT_UNIT_DATA_REQ
@ RSL_MT_UNIT_DATA_REQ
Definition: gsm_08_58.h:96
GSM414_MT_EGPRS_ST_RB_LOOP_CMD
#define GSM414_MT_EGPRS_ST_RB_LOOP_CMD
Definition: gsm_04_14.h:86
lapd_start_t200
static void lapd_start_t200(struct lapd_datalink *dl)
Definition: lapd_core.c:202
GSM0480_CTYPE_INVOKE
#define GSM0480_CTYPE_INVOKE
Definition: gsm_04_80.h:16
GSM_LCHAN_SDCCH
@ GSM_LCHAN_SDCCH
Definition: gsm_utils.h:220
t3
uint8_t t3
Definition: gsm_04_08.h:14
msgb_tl16v_put
static uint8_t * msgb_tl16v_put(struct msgb *msg, uint8_t tag, uint16_t len, const uint8_t *val)
put (append) a TL16V field to msgb
Definition: tlv.h:205
lapd_datalink::send_buffer
struct msgb * send_buffer
current frame transmitting
Definition: lapd_core.h:155
TLLI_RAND_G_RNTI
@ TLLI_RAND_G_RNTI
Definition: gsm_utils.h:192
BSS_MAP_MSG_HANDOVER_RQST_ACKNOWLEDGE
@ BSS_MAP_MSG_HANDOVER_RQST_ACKNOWLEDGE
Definition: gsm_08_08.h:60
GSM48_MT_CC_MODIFY_REJECT
#define GSM48_MT_CC_MODIFY_REJECT
Definition: gsm_04_08.h:1483
GSM48_MT_RR_CFG_CHG_REJ
#define GSM48_MT_RR_CFG_CHG_REJ
Definition: gsm_04_08.h:1364
BSS_MAP_MSG_CONFUSION
@ BSS_MAP_MSG_CONFUSION
Definition: gsm_08_08.h:82
NM_ATT_IPACC_SUPP_FEATURES
@ NM_ATT_IPACC_SUPP_FEATURES
Definition: gsm_12_21.h:452
abis_nm_adm_state_names
const struct value_string abis_nm_adm_state_names[]
Human-readable names for OML administrative state.
Definition: abis_nm.c:681
NM_MT_CONN_MDROP_LINK_NACK
@ NM_MT_CONN_MDROP_LINK_NACK
Definition: gsm_12_21.h:122
gsm0808_cell_id_name
const char * gsm0808_cell_id_name(const struct gsm0808_cell_id *cid)
Return a human readable representation of a Cell Identifier, like "LAC:123" or "CGI:001-01-42-23".
Definition: gsm0808_utils.c:1238
rslms_rx_rll_susp_req
static int rslms_rx_rll_susp_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:1002
gsm48_range_256::w7
uint8_t w7
Definition: gsm_04_08.h:279
BSS_MAP_MSG_LCLS_CONNECT_CTRL
@ BSS_MAP_MSG_LCLS_CONNECT_CTRL
Definition: gsm_08_08.h:155
GSM48_PDISC_PDSS2
#define GSM48_PDISC_PDSS2
Definition: gsm_04_08.h:1240
gsm0808_cell_id
Parsed representation of Cell Identifier IE (3GPP TS 48.008 3.2.2.17)
Definition: gsm0808_utils.h:48
GSM0808_SCT_FR3
@ GSM0808_SCT_FR3
FR AMR.
Definition: gsm_08_08.h:441
gsm0808_dec_cell_id_list
int gsm0808_dec_cell_id_list(struct gsm0808_cell_id_list *cil, const uint8_t *elem, uint8_t len)
DEPRECATED: Use gsm0808_dec_cell_id_list2 instead.
Definition: gsm0808_utils.c:871
NM_NACK_INCORR_STRUCT
@ NM_NACK_INCORR_STRUCT
Definition: gsm_12_21.h:602
OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT
@ OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT
Definition: gsup.h:97
gsm48_range_512::orig_arfcn_lo
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:191
gsm0808_cause_names
static const struct value_string gsm0808_cause_names[]
Definition: gsm0808.c:1182
GSM0808_CAUSE_DOWNLINK_QUALITY
@ GSM0808_CAUSE_DOWNLINK_QUALITY
Definition: gsm_08_08.h:326
GSM_LCHAN_UNKNOWN
@ GSM_LCHAN_UNKNOWN
Definition: gsm_utils.h:223
NM_ATT_LIST_REQ_ATTR
@ NM_ATT_LIST_REQ_ATTR
Definition: gsm_12_21.h:345
GSM0808_CAUSE_INVALID_CELL
@ GSM0808_CAUSE_INVALID_CELL
Definition: gsm_08_08.h:353
gsm_mncc_ssversion
Definition: mncc.h:67
ipaccess_head_ext::proto
uint8_t proto
Definition: ipaccess.h:17
GPRS_UPD_T_RA_LA_IMSI_ATT
#define GPRS_UPD_T_RA_LA_IMSI_ATT
Definition: gsm_04_08_gprs.h:73
NM_MT_CHG_HW_CONF_ACK
@ NM_MT_CHG_HW_CONF_ACK
Definition: gsm_12_21.h:179
GSM0808_CAUSE_UPLINK_STRENGTH
@ GSM0808_CAUSE_UPLINK_STRENGTH
Definition: gsm_08_08.h:325
NM_ATT_IPACC_UNIT_NAME
@ NM_ATT_IPACC_UNIT_NAME
Definition: gsm_12_21.h:432
gsm48_range_128::w13
uint8_t w13
Definition: gsm_04_08.h:369
inc_mod
static uint8_t inc_mod(uint8_t x, uint8_t m)
Definition: lapd_core.c:131
NM_MT_DISC_TERR_TRAF_NACK
@ NM_MT_DISC_TERR_TRAF_NACK
Definition: gsm_12_21.h:118
gsm411_send_report
static int gsm411_send_report(struct gsm411_smr_inst *inst)
Definition: gsm0411_smr.c:208
GSM0808_IE_TMSI
@ GSM0808_IE_TMSI
Definition: gsm_08_08.h:169
gsm0808_handover_required::old_bss_to_new_bss_info
struct gsm0808_old_bss_to_new_bss_info old_bss_to_new_bss_info
Definition: gsm0808.h:121
gsm_septet_encode
int gsm_septet_encode(uint8_t *result, const char *data)
Encode a ASCII characterrs as 7-bit GSM alphabet (TS 03.38)
Definition: gsm_utils.c:282
gsm411_smr_clear
void gsm411_smr_clear(struct gsm411_smr_inst *inst)
Definition: gsm0411_smr.c:95
GSM414_MT_CLOSE_MSLOT_LOOP_CMD
#define GSM414_MT_CLOSE_MSLOT_LOOP_CMD
Definition: gsm_04_14.h:26
gsm0808_permitted_speech_names
const struct value_string gsm0808_permitted_speech_names[]
Definition: gsm0808.c:1156
gsm0503_cs2
const struct osmo_conv_code gsm0503_cs2
CS2 convolutional code: G0 = 1 + D3 + D4 G1 = 1 + D + D3 + D4.
Definition: gsm0503_conv.c:150
NM_MT_CONN_TERR_SIGN
@ NM_MT_CONN_TERR_SIGN
Definition: gsm_12_21.h:107
GA_MT_CSR_ACT_CHAN_FAIL
@ GA_MT_CSR_ACT_CHAN_FAIL
Definition: gsm_44_318.h:37
GMM_CAUSE_GPRS_OTHER_NOTALLOWED
@ GMM_CAUSE_GPRS_OTHER_NOTALLOWED
Definition: gsm_04_08_gprs.h:203
GSM48_IE_CAUSE
#define GSM48_IE_CAUSE
Definition: gsm_04_08.h:1554
TE414
#define TE414(i)
Definition: aes_i.h:90
GSM48_RR_CAUSE_ABNORMAL_UNACCT
@ GSM48_RR_CAUSE_ABNORMAL_UNACCT
Definition: gsm_04_08.h:1698
GSM0480_OP_CODE_USS_NOTIFY
#define GSM0480_OP_CODE_USS_NOTIFY
Definition: gsm_04_80.h:82
gsm48_range_128::w12
uint8_t w12
Definition: gsm_04_08.h:368
smrdownstatelist
static const struct smrdownstate smrdownstatelist[]
GSM411_MNSMS_EST_REQ
#define GSM411_MNSMS_EST_REQ
Definition: gsm0411_smc.h:24
GMM_CAUSE_NO_SUIT_CELL_IN_LA
@ GMM_CAUSE_NO_SUIT_CELL_IN_LA
Definition: gsm_04_08_gprs.h:210
gsm48_control_channel_descr
Definition: gsm_04_08.h:860
xcch_output
static const uint8_t xcch_output[][2]
Definition: gsm0503_conv.c:33
ipa_ccm_rcvmsg_base
int ipa_ccm_rcvmsg_base(struct msgb *msg, struct osmo_fd *bfd)
Definition: ipa.c:371
gsm48_pdisc_names
const struct value_string gsm48_pdisc_names[]
TS 04.08 Protocol Descriptor names.
Definition: gsm48.c:764
osmo_apn_from_str
int osmo_apn_from_str(uint8_t *apn_enc, size_t max_apn_enc_len, const char *str)
Convert a dot-separated string into an encoded APN.
Definition: apn.c:106
osmo_plmn_id::mnc
uint16_t mnc
Definition: gsm23003.h:11
PRIM_TCH_RTS
@ PRIM_TCH_RTS
TCH.
Definition: l1sap.h:16
GSM48_MT_RR_IMM_ASS_REJ
#define GSM48_MT_RR_IMM_ASS_REJ
Definition: gsm_04_08.h:1353
GSM0808_IE_CALL_ID_LIST
@ GSM0808_IE_CALL_ID_LIST
Definition: gsm_08_08.h:275
GSM0808_IE_POSITIONING_DATA
@ GSM0808_IE_POSITIONING_DATA
Definition: gsm_08_08.h:227
abis_rsl_rll_hdr::chan_nr
uint8_t chan_nr
RSL channel number (value)
Definition: gsm_08_58.h:43
osmo_ph_prim_names
const struct value_string osmo_ph_prim_names[]
Definition: lapdm.c:117
tch_afs_7_4_term_output
static const uint8_t tch_afs_7_4_term_output[]
Definition: gsm0503_conv.c:433
NM_ATT_AVAIL_STATUS
@ NM_ATT_AVAIL_STATUS
Definition: gsm_12_21.h:326
BSS_MAP_MSG_HANDOVER_RQST
@ BSS_MAP_MSG_HANDOVER_RQST
Definition: gsm_08_08.h:58
GSM48_PDISC_MM_GPRS
#define GSM48_PDISC_MM_GPRS
Definition: gsm_04_08.h:1244
BSS_MAP_MSG_UPLINK_RQST
@ BSS_MAP_MSG_UPLINK_RQST
Definition: gsm_08_08.h:143
GSM48_REJECT_SERVICES_NOT_ALLOWED
@ GSM48_REJECT_SERVICES_NOT_ALLOWED
Definition: gsm_04_08.h:1796
gsm48_pdisc_name
static const char * gsm48_pdisc_name(uint8_t val)
Definition: gsm_04_08.h:1254
GSM48_MT_CC_START_CC
#define GSM48_MT_CC_START_CC
Definition: gsm_04_08.h:1478
T200_SACCH_SDCCH
@ T200_SACCH_SDCCH
Definition: gsm_12_21.h:651
GSM48_REJECT_LOC_NOT_ALLOWED
@ GSM48_REJECT_LOC_NOT_ALLOWED
Definition: gsm_04_08.h:1776
gsm48_rr_att_tlvdef
const struct tlv_definition gsm48_rr_att_tlvdef
TLV parser definitions for TS 04.08 RR.
Definition: gsm48.c:96
gsm48_range_512::w16_hi
uint8_t w16_hi
Definition: gsm_04_08.h:216
GSM411_SM_RL_DATA_REQ
#define GSM411_SM_RL_DATA_REQ
Definition: gsm0411_smr.h:9
gsm48_cell_options::dtx
uint8_t dtx
Definition: gsm_04_08.h:903
gsm_mncc_progress::coding
int coding
Definition: mncc.h:57
lapd_datalink::update_pending_frames
int(* update_pending_frames)(struct lapd_msg_ctx *lctx)
Definition: lapd_core.h:127
gsm48_range_512::w13_lo
uint8_t w13_lo
Definition: gsm_04_08.h:213
table0
static const uint8_t table0[256]
Definition: comp128v23.c:37
gsm48_range_512::w8_lo
uint8_t w8_lo
Definition: gsm_04_08.h:205
osmo_auth_impl::gen_vec_auts
int(* gen_vec_auts)(struct osmo_auth_vector *vec, struct osmo_sub_auth_data *aud, const uint8_t *auts, const uint8_t *rand_auts, const uint8_t *_rand)
Definition: auth.h:85
OSMO_GSUP_MSGT_INSERT_DATA_REQUEST
@ OSMO_GSUP_MSGT_INSERT_DATA_REQUEST
Definition: gsup.h:109
GSM0808_IE_RR_CAUSE
@ GSM0808_IE_RR_CAUSE
Definition: gsm_08_08.h:181
lapd_dl_init
void lapd_dl_init(struct lapd_datalink *dl, uint8_t k, uint8_t v_range, int maxf)
Definition: lapd_core.c:258
gsm_7bit_encode
int gsm_7bit_encode(uint8_t *result, const char *data)
Definition: gsm_utils.c:957
OSMO_GSUP_MAX_NUM_PDP_INFO
#define OSMO_GSUP_MAX_NUM_PDP_INFO
Maximum nubmer of PDP inside osmo_gsup_message.
Definition: gsup.h:50
LAPDm_LPD_NORMAL
#define LAPDm_LPD_NORMAL
Definition: lapdm.c:54
NM_NACK_BTSNR_UNKN
@ NM_NACK_BTSNR_UNKN
Definition: gsm_12_21.h:606
LAPDm_CTRL_I_Ns
#define LAPDm_CTRL_I_Ns(ctrl)
Definition: lapdm.c:79
GPRS_ATT_T_COMBINED
#define GPRS_ATT_T_COMBINED
Definition: gsm_04_08_gprs.h:53
NM_MT_REINIT_ACK
@ NM_MT_REINIT_ACK
Definition: gsm_12_21.h:173
lapd_reestablish
static int lapd_reestablish(struct lapd_datalink *dl)
Definition: lapd_core.c:543
gsm_meas_rep_unidir::full
struct gsm_rx_lev_qual full
Definition: meas_rep.h:16
gsm0808_cell_id_list_name
const char * gsm0808_cell_id_list_name(const struct gsm0808_cell_id_list2 *cil)
Return a human-readable representation of cil in a static buffer.
Definition: gsm0808_utils.c:1297
GSM0808_IE_CONNECTION_RELEASE_RQSTED
@ GSM0808_IE_CONNECTION_RELEASE_RQSTED
Definition: gsm_08_08.h:214
mdl_error
static int mdl_error(uint8_t cause, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:386
BSS_MAP_MSG_CIRCUIT_GROUP_UNBLOCKING_ACKNOWLEDGE
@ BSS_MAP_MSG_CIRCUIT_GROUP_UNBLOCKING_ACKNOWLEDGE
Definition: gsm_08_08.h:117
BSS_MAP_MSG_RESET_IP_RSRC_ACK
@ BSS_MAP_MSG_RESET_IP_RSRC_ACK
Definition: gsm_08_08.h:107
NM_ATT_IPACC_NSEI
@ NM_ATT_IPACC_NSEI
Definition: gsm_12_21.h:442
gsm_mncc_useruser
Definition: mncc.h:51
T200_FACCH_F
@ T200_FACCH_F
Definition: gsm_12_21.h:648
egprs_get_cps
int egprs_get_cps(struct egprs_cps *cps, uint8_t type, uint8_t bits)
Definition: gprs_rlc.c:92
NM_ATT_IPACC_IML_SSL_STATE
@ NM_ATT_IPACC_IML_SSL_STATE
Definition: gsm_12_21.h:460
gsm48_range_128::w2
uint8_t w2
Definition: gsm_04_08.h:355
osmo_gprs_ul_block_size_bits
int osmo_gprs_ul_block_size_bits(enum osmo_gprs_cs cs)
Return size of (E)GPRS uplink block for given coding scheme in bits.
Definition: gprs_rlc.c:147
OSMO_GSUP_MSISDN_IE
@ OSMO_GSUP_MSISDN_IE
Definition: gsup.h:68
NM_MT_REP_OUTST_ALARMS_NACK
@ NM_MT_REP_OUTST_ALARMS_NACK
Definition: gsm_12_21.h:164
GSM48_PDISC_GROUP_CC
#define GSM48_PDISC_GROUP_CC
Definition: gsm_04_08.h:1236
GSM48_MT_RR_EXT_MEAS_REP
#define GSM48_MT_RR_EXT_MEAS_REP
Definition: gsm_04_08.h:1427
tch_afs_4_75_state
static const uint8_t tch_afs_4_75_state[][2]
Definition: gsm0503_conv.c:658
ph_rach_req_param::tx_power
uint8_t tx_power
Transmit Power.
Definition: l1sap.h:46
gsm0808_old_bss_to_new_bss_info::extra_information
struct gsm0808_old_bss_to_new_bss_info::@0 extra_information
gsm411_smr_inst::rp_state
enum gsm411_rp_state rp_state
Definition: gsm0411_smr.h:24
BSS_MAP_MSG_VGCS_VBS_ASSIGNMENT_FAILURE
@ BSS_MAP_MSG_VGCS_VBS_ASSIGNMENT_FAILURE
Definition: gsm_08_08.h:141
ALL_STATES
#define ALL_STATES
Definition: lapd_core.c:109
GSM0808_IE_TOTAL_RESOURCE_ACCESSIBLE
@ GSM0808_IE_TOTAL_RESOURCE_ACCESSIBLE
Definition: gsm_08_08.h:194
gsm48_encode_redirecting
int gsm48_encode_redirecting(struct msgb *msg, const struct gsm_mncc_number *redirecting)
Encode TS 04.08 Redirecting Number IE (10.5.4.21b)
Definition: gsm48_ie.c:578
gsm48_range_256::w20_lo
uint8_t w20_lo
Definition: gsm_04_08.h:299
bss_att_tlvdef
static const struct tlv_definition bss_att_tlvdef
Definition: gsm0808.c:888
ipa_ccm_send_id_req
int ipa_ccm_send_id_req(int fd)
Definition: ipa.c:365
gsm48_range_256::w13
uint8_t w13
Definition: gsm_04_08.h:288
osmo_plmn_id::mcc
uint16_t mcc
Definition: gsm23003.h:10
gsm0503_tch_afs_6_7
const struct osmo_conv_code gsm0503_tch_afs_6_7
TCH/AFS 6.7 kbits convolutional code: G1/G3 = 1 + D + D3 + D4 / 1 + D + D2 + D3 + D4 G2/G3 = 1 + D2 +...
Definition: gsm0503_conv.c:506
Td1
const u32 Td1[256]
lapdm_entity_exit
void lapdm_entity_exit(struct lapdm_entity *le)
flush and release all resoures in LAPDm entity
Definition: lapdm.c:181
gsm48_gsm_cause_names_
const struct value_string gsm48_gsm_cause_names_[]
10.5.6.6 SM Cause / Table 10.5.157
Definition: gsm_04_08_gprs.c:83
GSM48_MT_RR_IS_TO_UTRAN_HANDO
#define GSM48_MT_RR_IS_TO_UTRAN_HANDO
Definition: gsm_04_08.h:1393
tch_ahs_4_75_term_output
static const uint8_t tch_ahs_4_75_term_output[]
Definition: gsm0503_conv.c:1096
GSM48_MT_CC_RETR_REJ
#define GSM48_MT_CC_RETR_REJ
Definition: gsm_04_08.h:1490
to_bcd
static void to_bcd(uint8_t *bcd, uint16_t val)
Definition: gsm23003.c:163
GSM0808_CAUSE_TRAFFIC_LOAD_IN_TGT_HIGHER_THAN_IN_SRC_CELL
@ GSM0808_CAUSE_TRAFFIC_LOAD_IN_TGT_HIGHER_THAN_IN_SRC_CELL
Definition: gsm_08_08.h:339
GPRS_UPD_T_RA
#define GPRS_UPD_T_RA
Definition: gsm_04_08_gprs.h:71
GA_CSR_UTRAN_CM_CHG
@ GA_CSR_UTRAN_CM_CHG
Definition: gsm_44_318.h:63
gsm_septet_lookup
static int gsm_septet_lookup(uint8_t ch)
Definition: gsm_utils.c:168
gsm0503_tch_afs_4_75
const struct osmo_conv_code gsm0503_tch_afs_4_75
TCH/AFS 4.75 kbits convolutional code: G4/G6 = 1 + D2 + D3 + D5 + D6 / 1 + D + D2 + D3 + D4 + D6 G4/G...
Definition: gsm0503_conv.c:733
ss_request::ussd_data
uint8_t ussd_data[GSM0480_USSD_OCTET_STRING_LEN]
Represents the data of either an INVOKE, either a RETURN_RESULT component 'as is'.
Definition: gsm0480.h:87
abis_nm_osmo_att_tlvdef
const struct tlv_definition abis_nm_osmo_att_tlvdef
org.osmocom GSM A-bis OML TLV parser definition
Definition: abis_nm.c:590
gsm23003.h
BSS_MAP_MSG_RESOURCE_INDICATION
@ BSS_MAP_MSG_RESOURCE_INDICATION
Definition: gsm_08_08.h:124
GSM0808_IE_CELL_ID_LIST_SEG_REL_CELLS
@ GSM0808_IE_CELL_ID_LIST_SEG_REL_CELLS
Definition: gsm_08_08.h:262
NM_MT_LOAD_SEG_ACK
@ NM_MT_LOAD_SEG_ACK
Definition: gsm_12_21.h:91
lapd_msg_ctx::cr
uint8_t cr
Definition: lapd_core.h:97
GSM0800_IE_INTER_SYSTEM_INFO
@ GSM0800_IE_INTER_SYSTEM_INFO
Definition: gsm_08_08.h:245
abis_nm_get_sw_desc_len
uint32_t abis_nm_get_sw_desc_len(const uint8_t *buf, size_t len)
Get length of first 3GPP TS 52.021 §9.4.62 SW Description from buffer.
Definition: abis_nm.c:809
gsm0480_decode_ussd_request
int gsm0480_decode_ussd_request(const struct gsm48_hdr *hdr, uint16_t len, struct ussd_request *req)
Definition: gsm0480.c:336
OSMO_GSUP_PDP_INFO_IE
@ OSMO_GSUP_PDP_INFO_IE
Definition: gsup.h:65
GSM0808_IE_DOWNLINK_DTX_FLAG
@ GSM0808_IE_DOWNLINK_DTX_FLAG
Definition: gsm_08_08.h:185
gprs_cipher_supported
int gprs_cipher_supported(enum gprs_ciph_algo algo)
Definition: gprs_cipher_core.c:115
OSMO_AUTH_TYPE_NONE
@ OSMO_AUTH_TYPE_NONE
Definition: auth.h:17
lapd_stop_t203
static void lapd_stop_t203(struct lapd_datalink *dl)
Definition: lapd_core.c:226
GSM340_TP_VPF_RELATIVE
#define GSM340_TP_VPF_RELATIVE
Definition: gsm_04_11.h:134
GSM0808_IE_EMERGENCY_SET_INDICATION
@ GSM0808_IE_EMERGENCY_SET_INDICATION
Definition: gsm_08_08.h:254
GSM48_IE_CC_CAP
#define GSM48_IE_CC_CAP
Definition: gsm_04_08.h:1555
gsm48_range_128::w26_lo
uint8_t w26_lo
Definition: gsm_04_08.h:385
GSM48_REJECT_INCORRECT_MESSAGE
@ GSM48_REJECT_INCORRECT_MESSAGE
Definition: gsm_04_08.h:1785
OSMO_GSUP_FREEZE_PTMSI_IE
@ OSMO_GSUP_FREEZE_PTMSI_IE
Definition: gsup.h:67
gprs_service_t_strs
const struct value_string * gprs_service_t_strs
Definition: gsm_04_08_gprs.c:225
gsm0503_rach_ext
const struct osmo_conv_code gsm0503_rach_ext
Extended RACH (11 bit) convolutional code.
Definition: gsm0503_conv.c:110
lapd_datalink::t200_sec
int t200_sec
Definition: lapd_core.h:148
NM_ATT_GSM_TIME
@ NM_ATT_GSM_TIME
Definition: gsm_12_21.h:339
lapd_datalink::retrans_ctr
uint8_t retrans_ctr
re-transmission counter
Definition: lapd_core.h:152
OSMO_GSUP_MAX_NUM_AUTH_INFO
#define OSMO_GSUP_MAX_NUM_AUTH_INFO
Maximum number of auth info inside osmo_gsup_message.
Definition: gsup.h:52
GSM48_MT_CC_HOLD_REJ
#define GSM48_MT_CC_HOLD_REJ
Definition: gsm_04_08.h:1487
gsm48_range_512::w3_lo
uint8_t w3_lo
Definition: gsm_04_08.h:197
GSM411_RP_CAUSE_PROTOCOL_ERR
@ GSM411_RP_CAUSE_PROTOCOL_ERR
Definition: gsm_04_11.h:92
dbm2rxlev
uint8_t dbm2rxlev(int dbm)
Convert RF signal level in dBm to TS 05.08 RxLev (TS 05.08 Chapter 8.1.4)
Definition: gsm_utils.c:642
GSM_CAUSE_LLC_SNDCP_FAIL
@ GSM_CAUSE_LLC_SNDCP_FAIL
Definition: gsm_04_08_gprs.h:236
lapd_dl_flush_hist
static void lapd_dl_flush_hist(struct lapd_datalink *dl)
Definition: lapd_core.c:159
GA_MT_RC_REGISTER_REDIRECT
@ GA_MT_RC_REGISTER_REDIRECT
Definition: gsm_44_318.h:24
lapd_send_ua
static int lapd_send_ua(struct lapd_msg_ctx *lctx, uint8_t len, uint8_t *data)
Definition: lapd_core.c:400
GSM0808_IE_LCS_QOS
@ GSM0808_IE_LCS_QOS
Definition: gsm_08_08.h:222
ipaccess_unit::location2
char * location2
Definition: ipa.h:22
gsm0808_handover_required::current_channel_type_1
uint8_t current_channel_type_1
Definition: gsm0808.h:115
BSS_MAP_MSG_UNBLOCKING_ACKNOWLEDGE
@ BSS_MAP_MSG_UNBLOCKING_ACKNOWLEDGE
Definition: gsm_08_08.h:113
gsm_milenage
int gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres, u8 *kc)
gsm_milenage - Generate GSM-Milenage (3GPP TS 55.205) authentication triplet @opc: OPc = 128-bit oper...
Definition: milenage.c:244
GSM0808_PERM_FR3
@ GSM0808_PERM_FR3
FR AMR.
Definition: gsm_08_08.h:423
LAPD_FORM_I
@ LAPD_FORM_I
Definition: lapd_core.h:87
GSM48_REJECT_MSC_TMP_NOT_REACHABLE
@ GSM48_REJECT_MSC_TMP_NOT_REACHABLE
Definition: gsm_04_08.h:1800
gsm48_range_1024::w6_hi
uint8_t w6_hi
Definition: gsm_04_08.h:129
NM_NACK_TEST_NOTSUPP
@ NM_NACK_TEST_NOTSUPP
Definition: gsm_12_21.h:619
gsm_mncc_bearer_cap::sig_access
enum gsm48_bcap_sig_access sig_access
Definition: mncc.h:21
ms_pwr_dbm
int ms_pwr_dbm(enum gsm_band band, uint8_t lvl)
Convert TS 05.05 power level to absolute dBm value.
Definition: gsm_utils.c:590
lapd_dl_flush_tx
static void lapd_dl_flush_tx(struct lapd_datalink *dl)
Definition: lapd_core.c:174
gsm0808_cell_id_list::id_discr
uint8_t id_discr
Definition: gsm_08_08.h:540
gsm411_smr_init
void gsm411_smr_init(struct gsm411_smr_inst *inst, uint64_t id, int network, int(*rl_recv)(struct gsm411_smr_inst *inst, int msg_type, struct msgb *msg), int(*mn_send)(struct gsm411_smr_inst *inst, int msg_type, struct msgb *msg))
Definition: gsm0411_smr.c:75
gsm48_pdisc_msgtype_name
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
group
uint8_t group
Definition: gsm_03_41.h:21
c128v2_alg
static struct osmo_auth_impl c128v2_alg
Definition: auth_comp128v23.c:45
milenage.h
GSM48_RR_CAUSE_CALL_CLEARED
@ GSM48_RR_CAUSE_CALL_CLEARED
Definition: gsm_04_08.h:1705
NM_MT_SET_SITE_OUT_ACK
@ NM_MT_SET_SITE_OUT_ACK
Definition: gsm_12_21.h:176
gsm_get_octet_len
uint8_t gsm_get_octet_len(const uint8_t sept_len)
\brife Compute number of octets from number of septets, for instance: 47 septets needs 41,...
Definition: gsm_utils.c:182
TE43
#define TE43(i)
Definition: aes_i.h:85
GSM411_RP_CAUSE_MO_OP_DET_BARR
@ GSM411_RP_CAUSE_MO_OP_DET_BARR
Definition: gsm_04_11.h:69
NM_ATT_IPACC_UPTIME
@ NM_ATT_IPACC_UPTIME
Definition: gsm_12_21.h:456
PRIM_DL_RES
@ PRIM_DL_RES
DL-RESUME.
Definition: lapd_core.h:24
abis_nm_sw_desc::file_version
uint8_t file_version[UINT8_MAX]
Definition: gsm_12_21.h:796
GSM48_MT_GMM_AUTH_CIPH_RESP
#define GSM48_MT_GMM_AUTH_CIPH_RESP
Definition: gsm_04_08_gprs.h:27
GSM48_REJECT_PROTOCOL_ERROR
@ GSM48_REJECT_PROTOCOL_ERROR
Definition: gsm_04_08.h:1792
gsm_7bit_encode_n_ussd
int gsm_7bit_encode_n_ussd(uint8_t *result, size_t n, const char *data, int *octets)
Encode according to GSM 7-bit alphabet (TS 03.38 6.2.1) for USSD.
Definition: gsm_utils.c:411
GSM0808_IE_CHOSEN_CHANNEL
@ GSM0808_IE_CHOSEN_CHANNEL
Definition: gsm_08_08.h:193
GSM_MI_ODD
#define GSM_MI_ODD
Definition: gsm_04_08.h:1543
GSM48_MT_GMM_ATTACH_REQ
#define GSM48_MT_GMM_ATTACH_REQ
Definition: gsm_04_08_gprs.h:12
LAPDm_SAPI_SMS
#define LAPDm_SAPI_SMS
Definition: lapdm.c:57
NM_ATT_IPACC_PRIM_OML_FB_TOUT
@ NM_ATT_IPACC_PRIM_OML_FB_TOUT
Definition: gsm_12_21.h:435
gsm48_encode_useruser
int gsm48_encode_useruser(struct msgb *msg, int lv_only, const struct gsm_mncc_useruser *uu)
Encode TS 04.08 User-User IE (10.5.4.25)
Definition: gsm48_ie.c:734
GSM48_CMODE_SIGN
@ GSM48_CMODE_SIGN
Definition: gsm_04_08.h:696
dcs
struct @18 dcs
nack_names
static const struct value_string nack_names[]
Definition: abis_nm.c:109
OSMO_EVT_MAJ_UKWN_MSG
@ OSMO_EVT_MAJ_UKWN_MSG
Definition: gsm_12_21.h:267
NM_ATT_IPACC_PAGING_CFG
@ NM_ATT_IPACC_PAGING_CFG
Definition: gsm_12_21.h:428
BSSAP_MSG_BSS_MANAGEMENT
@ BSSAP_MSG_BSS_MANAGEMENT
Definition: gsm_08_08.h:32
GSM0808_LCLS_STS_NO_LONGER_LS
@ GSM0808_LCLS_STS_NO_LONGER_LS
Definition: gsm_08_08.h:568
NM_MT_MEAS_RES_RESP
@ NM_MT_MEAS_RES_RESP
Definition: gsm_12_21.h:183
gsm0480_create_unstructuredSS_Notify
struct msgb * gsm0480_create_unstructuredSS_Notify(int alertPattern, const char *text)
Definition: gsm0480.c:119
AES_PRIV_SIZE
#define AES_PRIV_SIZE
Definition: aes_i.h:120
ABIS_NM_MSG_HEADROOM
#define ABIS_NM_MSG_HEADROOM
Definition: gsm_12_21.h:46
abis_nm_att_names
const struct value_string abis_nm_att_names[]
3GPP TS 52.021 §9.4 Attributes and Parameters
Definition: abis_nm.c:370
osmo_cgi_name
const char * osmo_cgi_name(const struct osmo_cell_global_id *cgi)
Return MCC-MNC-LAC-CI as string, in a static buffer.
Definition: gsm23003.c:146
GMM_CAUSE_ILLEGAL_ME
@ GMM_CAUSE_ILLEGAL_ME
Definition: gsm_04_08_gprs.h:201
lapd_msg_ctx::n_recv
uint8_t n_recv
Definition: lapd_core.h:105
GA_MT_RC_DISCOVERY_REQUEST
@ GA_MT_RC_DISCOVERY_REQUEST
Definition: gsm_44_318.h:18
GSM0808_SC_CFG_DEFAULT_OHR_AMR
@ GSM0808_SC_CFG_DEFAULT_OHR_AMR
Definition: gsm_08_08.h:500
BSS_MAP_MSG_QUEUING_INDICATION
@ BSS_MAP_MSG_QUEUING_INDICATION
Definition: gsm_08_08.h:129
abis_nm_nack_name
const char * abis_nm_nack_name(uint8_t nack)
Get human-readable string for OML NACK message type.
Definition: abis_nm.c:148
c128v2_gen_vec
static int c128v2_gen_vec(struct osmo_auth_vector *vec, struct osmo_sub_auth_data *aud, const uint8_t *_rand)
Definition: auth_comp128v23.c:35
osmo_gsup_get_err_msg_type
int osmo_gsup_get_err_msg_type(enum osmo_gsup_message_type type_in)
return the error message type corresponding to type_in
Definition: gsup.c:84
OSMO_GSUP_SS_INFO_IE
@ OSMO_GSUP_SS_INFO_IE
Supplementary Services payload.
Definition: gsup.h:90
GSM0808_CAUSE_REQ_A_IF_TYPE_NOT_SUPP
@ GSM0808_CAUSE_REQ_A_IF_TYPE_NOT_SUPP
Definition: gsm_08_08.h:372
CR_USER2NET_CMD
#define CR_USER2NET_CMD
Definition: lapd_core.c:101
ipaccess_head::data
uint8_t data[0]
Definition: ipaccess.h:13
BSS_MAP_MSG_HANDOVER_PERFORMED
@ BSS_MAP_MSG_HANDOVER_PERFORMED
Definition: gsm_08_08.h:65
lapd_send_rr
static int lapd_send_rr(struct lapd_msg_ctx *lctx, uint8_t f_bit, uint8_t cmd)
Definition: lapd_core.c:445
GA_MT_CSR_CM_ENQ
@ GA_MT_CSR_CM_ENQ
Definition: gsm_44_318.h:59
GSM48_MT_RR_PACKET_ASS
#define GSM48_MT_RR_PACKET_ASS
Definition: gsm_04_08.h:1357
gsm48_range_1024::w13_lo
uint8_t w13_lo
Definition: gsm_04_08.h:142
xcch_state
static const uint8_t xcch_state[][2]
Definition: gsm0503_conv.c:26
BSS_MAP_MSG_BLOCK
@ BSS_MAP_MSG_BLOCK
Definition: gsm_08_08.h:110
gsm48_range_256::w5_lo
uint8_t w5_lo
Definition: gsm_04_08.h:276
gsm48_range_1024::w16
uint8_t w16
Definition: gsm_04_08.h:147
gsm48_range_512::w11
uint8_t w11
Definition: gsm_04_08.h:209
NM_MT_SET_RADIO_ATTR_NACK
@ NM_MT_SET_RADIO_ATTR_NACK
Definition: gsm_12_21.h:132
GSM48_MT_RR_GPRS_SUSP_REQ
#define GSM48_MT_RR_GPRS_SUSP_REQ
Definition: gsm_04_08.h:1429
gsm_mncc_bearer_cap::rate_adaption
enum gsm48_bcap_ra rate_adaption
Definition: mncc.h:20
ss_request::ussd_text
uint8_t ussd_text[GSM0480_USSD_OCTET_STRING_LEN]
A rudiment of deprecated 'ussd_request' structure.
Definition: gsm0480.h:77
_OSMO_AUTH_ALG_NUM
@ _OSMO_AUTH_ALG_NUM
Definition: auth.h:35
osmo_gsup_session_state_names
const struct value_string osmo_gsup_session_state_names[]
Definition: gsup.c:73
GSM48_IE_CTS_PERMISSION
#define GSM48_IE_CTS_PERMISSION
Definition: gsm_04_08.h:1645
GSM48_IE_RR_PACKET_DL
#define GSM48_IE_RR_PACKET_DL
Definition: gsm_04_08.h:1616
CELL_IDENT_LAC
@ CELL_IDENT_LAC
Definition: gsm_08_08.h:22
GSM0808_CAUSE_REQ_CODEC_TYPE_OR_CONFIG_UNAVAIL
@ GSM0808_CAUSE_REQ_CODEC_TYPE_OR_CONFIG_UNAVAIL
Definition: gsm_08_08.h:363
osmo_gprs_dl_block_size_bytes
int osmo_gprs_dl_block_size_bytes(enum osmo_gprs_cs cs)
Return size of (E)GPRS downlink block for given coding scheme in bytes.
Definition: gprs_rlc.c:175
gsm48_range_256::orig_arfcn_hi
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:266
osmo_lac_and_ci_id::ci
uint16_t ci
Definition: gsm23003.h:37
ipa_ccm_idtag_parse
int ipa_ccm_idtag_parse(struct tlv_parsed *dec, unsigned char *buf, int len)
Definition: ipa.c:101
NM_MT_STOP_EVENT_REP_NACK
@ NM_MT_STOP_EVENT_REP_NACK
Definition: gsm_12_21.h:152
GSM48_PDISC_EXTEND
#define GSM48_PDISC_EXTEND
Definition: gsm_04_08.h:1249
GSM48_IE_BEARER_CAP
#define GSM48_IE_BEARER_CAP
Definition: gsm_04_08.h:1553
gsm0503_cs3_np
const struct osmo_conv_code gsm0503_cs3_np
CS3 convolutional code (non-punctured): G0 = 1 + D3 + D4 G1 = 1 + D + D3 + D4.
Definition: gsm0503_conv.c:213
GSM0808_IE_RESOURCE_AVAILABLE
@ GSM0808_IE_RESOURCE_AVAILABLE
Definition: gsm_08_08.h:163
GSM0808_IE_FORWARD_INDICATOR
@ GSM0808_IE_FORWARD_INDICATOR
Definition: gsm_08_08.h:203
GMM_CAUSE_PLMN_NOTALLOWED
@ GMM_CAUSE_PLMN_NOTALLOWED
Definition: gsm_04_08_gprs.h:206
GPRS_ALGO_GEA3
@ GPRS_ALGO_GEA3
Definition: gprs_cipher.h:17
GSM0808_IE_GANSS_ASSISTANCE_DATA
@ GSM0808_IE_GANSS_ASSISTANCE_DATA
Definition: gsm_08_08.h:264
gsm_mncc_ssversion::info
char info[GSM_MAX_SSVERSION]
Definition: mncc.h:69
abis_nm_sw_desc
3GPP TS 52.021 §9.4.62 SW Description
Definition: gsm_12_21.h:792
gprs_tmsi2tlli
uint32_t gprs_tmsi2tlli(uint32_t p_tmsi, enum gprs_tlli_type type)
Determine TLLI from P-TMSI.
Definition: gsm_utils.c:923
gsm0808_create_assignment_completed
struct msgb * gsm0808_create_assignment_completed(uint8_t rr_cause, uint8_t chosen_channel, uint8_t encr_alg_id, uint8_t speech_mode)
Create BSSMAP Assignment Completed message.
Definition: gsm0808.c:516
ARFCN_PCS
#define ARFCN_PCS
Definition: gsm_utils.h:160
NM_MT_SET_SITE_OUT
@ NM_MT_SET_SITE_OUT
Definition: gsm_12_21.h:175
GSM48_IE_NOTIFY
#define GSM48_IE_NOTIFY
Definition: gsm_04_08.h:1560
tch_hr_output
static const uint8_t tch_hr_output[][2]
Definition: gsm0503_conv.c:774
NM_MT_STATECHG_EVENT_REP
@ NM_MT_STATECHG_EVENT_REP
Definition: gsm_12_21.h:148
gsm48_range_512::w1_lo
uint8_t w1_lo
Definition: gsm_04_08.h:193
GSM_BAND_850
@ GSM_BAND_850
Definition: gsm_utils.h:55
tch_ahs_7_95_puncture
static const int tch_ahs_7_95_puncture[]
Definition: gsm0503_conv.c:841
BSS_MAP_MSG_ASSIGMENT_FAILURE
@ BSS_MAP_MSG_ASSIGMENT_FAILURE
Definition: gsm_08_08.h:54
gsm_freq102arfcn
uint16_t gsm_freq102arfcn(uint16_t freq10, int uplink)
Convert a Frequency in MHz * 10 to ARFCN.
Definition: gsm_utils.c:793
gsm0480_create_ussd_resp
struct msgb * gsm0480_create_ussd_resp(uint8_t invoke_id, uint8_t trans_id, const char *text)
Definition: gsm0480.c:790
osmo_gsup_message::cause
enum gsm48_gmm_cause cause
Definition: gsup.h:189
RSL_MT_CHAN_RQD
@ RSL_MT_CHAN_RQD
Definition: gsm_08_58.h:106
GSM411_RP_CAUSE_INV_TRANS_REF
@ GSM411_RP_CAUSE_INV_TRANS_REF
Definition: gsm_04_11.h:86
Td0
const u32 Td0[256]
Definition: aes-internal.c:407
GSM48_MT_RR_SYSINFO_8
#define GSM48_MT_RR_SYSINFO_8
Definition: gsm_04_08.h:1396
lapd_t200_cb
static void lapd_t200_cb(void *data)
Definition: lapd_core.c:557
A5_R3_LEN
#define A5_R3_LEN
Definition: a5.c:107
gsm0808_speech_codec_type_names
const struct value_string gsm0808_speech_codec_type_names[]
Definition: gsm0808.c:1142
gsm_7bit_decode_n_hdr
int gsm_7bit_decode_n_hdr(char *text, size_t n, const uint8_t *user_data, uint8_t septet_l, uint8_t ud_hdr_ind)
TS 03.38 7-bit Character unpacking (6.2.1)
Definition: gsm_utils.c:197
GSM48_MT_CC_EMERG_SETUP
#define GSM48_MT_CC_EMERG_SETUP
Definition: gsm_04_08.h:1473
GSM0808_IE_LAYER_3_HEADER_INFORMATION
@ GSM0808_IE_LAYER_3_HEADER_INFORMATION
Definition: gsm_08_08.h:167
LAPDm_FMT_A
@ LAPDm_FMT_A
Definition: lapdm.c:110
gsm48_range_512::w5
uint8_t w5
Definition: gsm_04_08.h:200
gsm48_range_128::w6_hi
uint8_t w6_hi
Definition: gsm_04_08.h:361
osmo_gsup_message::num_auth_vectors
size_t num_auth_vectors
Definition: gsup.h:194
gprs_det_t_mo_strs
const struct value_string * gprs_det_t_mo_strs
Definition: gsm_04_08_gprs.c:203
selected_ciphers
static struct gprs_cipher_impl * selected_ciphers[_GPRS_ALGO_NUM]
Definition: gprs_cipher_core.c:43
GSM48_MT_MM_TMSI_REALL_COMPL
#define GSM48_MT_MM_TMSI_REALL_COMPL
Definition: gsm_04_08.h:1453
gsm_mncc_facility::len
int len
Definition: mncc.h:63
BSS_MAP_MSG_PAGING
@ BSS_MAP_MSG_PAGING
Definition: gsm_08_08.h:125
APN_GPRS_FMT
#define APN_GPRS_FMT
Definition: apn.c:31
NM_IPACC_TESTNO_TX_BEACON
@ NM_IPACC_TESTNO_TX_BEACON
Definition: gsm_12_21.h:720
gsm_mncc_cccap
Definition: mncc.h:72
l2downstate::op
int op
Definition: lapd_core.c:2152
GSM0808_IE_EXTENDED_RESOURCE_INDICATOR
@ GSM0808_IE_EXTENDED_RESOURCE_INDICATOR
Definition: gsm_08_08.h:173
abis_rsl_common_hdr::msg_type
uint8_t msg_type
message type (abis_rsl_msgtype)
Definition: gsm_08_58.h:35
GSM0480_OPERATION_CODE
#define GSM0480_OPERATION_CODE
Definition: gsm_04_80.h:26
lapd_datalink::send_queue
struct llist_head send_queue
frames from L3
Definition: lapd_core.h:154
gsm48_decode_progress
int gsm48_decode_progress(struct gsm_mncc_progress *progress, const uint8_t *lv)
Decode TS 04.08 Progress IE (10.5.4.21)
Definition: gsm48_ie.c:675
NM_NACK_PHYSCFG_NOTRESTORE
@ NM_NACK_PHYSCFG_NOTRESTORE
Definition: gsm_12_21.h:623
gsm48_decode_calling
int gsm48_decode_calling(struct gsm_mncc_number *calling, const uint8_t *lv)
Decode TS 04.08 Calling Number IE (10.5.4.9)
Definition: gsm48_ie.c:543
gsm411_mmsms_cp_data
static int gsm411_mmsms_cp_data(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:285
osmo_gprs_dl_block_size_bits
int osmo_gprs_dl_block_size_bits(enum osmo_gprs_cs cs)
Return size of (E)GPRS downlink block for given coding scheme in bits.
Definition: gprs_rlc.c:155
GSM48_MT_CC_ESTAB
#define GSM48_MT_CC_ESTAB
Definition: gsm_04_08.h:1475
GMM_CAUSE_IMSI_UNKNOWN
@ GMM_CAUSE_IMSI_UNKNOWN
Definition: gsm_04_08_gprs.h:198
gsm0808_old_bss_to_new_bss_info
3GPP TS 48.008 §3.2.2.5.8 Old BSS to New BSS information
Definition: gsm0808.h:91
GSM0808_PERM_HR1
@ GSM0808_PERM_HR1
GSM HR.
Definition: gsm_08_08.h:426
gsm_mncc_bearer_cap::parity
enum gsm48_bcap_parity parity
Definition: mncc.h:26
gsm0503_cs3
const struct osmo_conv_code gsm0503_cs3
CS3 convolutional code: G0 = 1 + D3 + D4 G1 = 1 + D + D3 + D4.
Definition: gsm0503_conv.c:186
GSM48_IE_PRIORITY_LEV
#define GSM48_IE_PRIORITY_LEV
Definition: gsm_04_08.h:1643
BSS_MAP_MSG_CHANGE_CIRCUIT
@ BSS_MAP_MSG_CHANGE_CIRCUIT
Definition: gsm_08_08.h:119
GMM_CAUSE_PROTO_ERR_UNSPEC
@ GMM_CAUSE_PROTO_ERR_UNSPEC
Definition: gsm_04_08_gprs.h:227
GSM0808_CAUSE_UNKNOWN_MESSAGE_TYPE
@ GSM0808_CAUSE_UNKNOWN_MESSAGE_TYPE
Definition: gsm_08_08.h:378
MDL_CAUSE_FRMR
#define MDL_CAUSE_FRMR
Definition: lapd_core.h:44
BSS_MAP_MSG_CONNECTION_ORIENTED_INFORMATION
@ BSS_MAP_MSG_CONNECTION_ORIENTED_INFORMATION
Definition: gsm_08_08.h:87
parse_ss_facility
static int parse_ss_facility(const uint8_t *ss_facility, uint16_t len, struct ss_request *req)
Definition: gsm0480.c:443
gsm48_encode_cause
int gsm48_encode_cause(struct msgb *msg, int lv_only, const struct gsm_mncc_cause *cause)
Encode TS 04.08 Cause IE (10.5.4.11)
Definition: gsm48_ie.c:503
NM_NACK_FREQ_NOTAVAIL
@ NM_NACK_FREQ_NOTAVAIL
Definition: gsm_12_21.h:618
__attribute__
static __attribute__((constructor))
Definition: auth_comp128v1.c:50
gsm0808_cell_id_name2
const char * gsm0808_cell_id_name2(const struct gsm0808_cell_id *cid)
Like gsm0808_cell_id_name() but uses a different static buffer.
Definition: gsm0808_utils.c:1248
IP_PORT_LEN
#define IP_PORT_LEN
Definition: gsm0808_utils.c:35
BTS_FEAT_AGCH_PCH_PROP
@ BTS_FEAT_AGCH_PCH_PROP
Definition: bts_features.h:19
GSM48_MT_RR_PAG_REQ_2
#define GSM48_MT_RR_PAG_REQ_2
Definition: gsm_04_08.h:1384
gsm_7bit_decode
int gsm_7bit_decode(char *text, const uint8_t *user_data, uint8_t septet_l)
Definition: gsm_utils.c:942
GPRS_UPD_T_PERIODIC
#define GPRS_UPD_T_PERIODIC
Definition: gsm_04_08_gprs.h:74
LAPD_STATE_DISC_SENT
@ LAPD_STATE_DISC_SENT
Definition: lapd_core.h:79
LAPDm_CTRL_Nr
#define LAPDm_CTRL_Nr(ctrl)
Definition: lapdm.c:80
GSM0808_CAUSE_REQ_REDUND_LEVEL_NOT_AVAIL
@ GSM0808_CAUSE_REQ_REDUND_LEVEL_NOT_AVAIL
Definition: gsm_08_08.h:366
GSM48_IE_TIMING_ADVANCE
#define GSM48_IE_TIMING_ADVANCE
Definition: gsm_04_08.h:1629
lapdm_entity::l3_cb
lapdm_cb_t l3_cb
callback for sending stuff to L3
Definition: lapdm.h:61
NM_ATT_IPACC_SSL_CFG
@ NM_ATT_IPACC_SSL_CFG
Definition: gsm_12_21.h:458
gsm48_encode_bearer_cap
int gsm48_encode_bearer_cap(struct msgb *msg, int lv_only, const struct gsm_mncc_bearer_cap *bcap)
Encode TS 04.08 Bearer Capability IE (10.5.4.5)
Definition: gsm48_ie.c:246
OSMO_EVT_EXT_ALARM
@ OSMO_EVT_EXT_ALARM
Definition: gsm_12_21.h:276
send_rslms_rll_l3
static int send_rslms_rll_l3(uint8_t msg_type, struct lapdm_msg_ctx *mctx, struct msgb *msg)
Definition: lapdm.c:372
BTS_FEAT_EGPRS
@ BTS_FEAT_EGPRS
Definition: bts_features.h:14
GSM0808_SCT_HR6
@ GSM0808_SCT_HR6
OHR AMR.
Definition: gsm_08_08.h:447
BSS_MAP_MSG_INT_HANDOVER_ENQUIRY
@ BSS_MAP_MSG_INT_HANDOVER_ENQUIRY
Definition: gsm_08_08.h:73
NM_SEVER_INDETERMINATE
@ NM_SEVER_INDETERMINATE
Definition: gsm_12_21.h:585
osmo_gsup_pdp_info::pdp_type
uint16_t pdp_type
Type of PDP context.
Definition: gsup.h:167
NM_ATT_TEI
@ NM_ATT_TEI
Definition: gsm_12_21.h:371
gsm340_gen_oa
int gsm340_gen_oa(uint8_t *oa, unsigned int oa_len, uint8_t type, uint8_t plan, const char *number)
generate a TPDU address field compliant with 03.40 sec.
Definition: gsm0411_utils.c:298
gsm0808_create_reset
struct msgb * gsm0808_create_reset(void)
Create BSSMAP RESET message.
Definition: gsm0808.c:138
GSM0808_CAUSE_MS_NOT_EQUIPPED
@ GSM0808_CAUSE_MS_NOT_EQUIPPED
Definition: gsm_08_08.h:352
BSS_MAP_MSG_CLEAR_COMPLETE
@ BSS_MAP_MSG_CLEAR_COMPLETE
Definition: gsm_08_08.h:77
NM_ATT_FILE_ID
@ NM_ATT_FILE_ID
Definition: gsm_12_21.h:337
NM_ATT_IPACC_STREAM_ID
@ NM_ATT_IPACC_STREAM_ID
Definition: gsm_12_21.h:418
gsm48_range_128::w9
uint8_t w9
Definition: gsm_04_08.h:365
gprs_det_t_mt_strs_
const struct value_string gprs_det_t_mt_strs_[]
String names of GMM MT Detach Types according to 10.5.5.5.
Definition: gsm_04_08_gprs.c:206
gsm_04_14.h
lapd_mode
lapd_mode
LAPD mode/role.
Definition: lapd_core.h:66
_a5_2_clock
static void _a5_2_clock(uint32_t r[], int force)
GSM A5/2 Clocking function.
Definition: a5.c:284
lapdm_msg_ctx::chan_nr
uint8_t chan_nr
Definition: lapdm.h:22
gsm0808_dec_cell_id
int gsm0808_dec_cell_id(struct gsm0808_cell_id *ci, const uint8_t *elem, uint8_t len)
Decode Cell Identifier IE (3GPP TS 48.008 3.2.2.17).
Definition: gsm0808_utils.c:1054
gprs_tlli_type
gprs_tlli_type
Definition: gsm_utils.h:185
common.h
GSM0808_IE_OLD_BSS_TO_NEW_BSS_INFORMATION
@ GSM0808_IE_OLD_BSS_TO_NEW_BSS_INFORMATION
Definition: gsm_08_08.h:218
GSM48_REJECT_PLMN_NOT_ALLOWED
@ GSM48_REJECT_PLMN_NOT_ALLOWED
Definition: gsm_04_08.h:1775
lapd_udata_req
static int lapd_udata_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1718
t2
uint8_t t2
Definition: gsm_04_08.h:13
tch_afs_6_7_output
static const uint8_t tch_afs_6_7_output[][2]
Definition: gsm0503_conv.c:468
SAP_GSM_PH
@ SAP_GSM_PH
Definition: prim.h:9
gsm0503_tch_afs_12_2
const struct osmo_conv_code gsm0503_tch_afs_12_2
TCH/AFS 12.2 kbits convolutional code: 250 bits block, rate 1/2, punctured G0/G0 = 1 G1/G0 = 1 + D + ...
Definition: gsm0503_conv.c:260
BSS_MAP_MSG_VGCS_VBS_ASSIGNMENT_RESULT
@ BSS_MAP_MSG_VGCS_VBS_ASSIGNMENT_RESULT
Definition: gsm_08_08.h:140
ABIS_RSL_MDISC_COM_CHAN
#define ABIS_RSL_MDISC_COM_CHAN
Definition: gsm_08_58.h:72
GSM0808_IE_LCLS_CONFIG
@ GSM0808_IE_LCLS_CONFIG
Definition: gsm_08_08.h:284
NM_MT_SEND_TEST_REP_ACK
@ NM_MT_SEND_TEST_REP_ACK
Definition: gsm_12_21.h:142
gsm_meas_rep_unidir
Definition: meas_rep.h:15
OSMO_GSUP_MSGT_LOCATION_CANCEL_REQUEST
@ OSMO_GSUP_MSGT_LOCATION_CANCEL_REQUEST
Definition: gsup.h:117
GSM48_IE_UTC
#define GSM48_IE_UTC
Definition: gsm_04_08.h:1548
gsm0480_parse_facility_ie
int gsm0480_parse_facility_ie(const uint8_t *facility_ie, uint16_t length, struct ss_request *req)
Parse the components of a given Facility IE.
Definition: gsm0480.c:503
abis_nm_dump_foh
const char * abis_nm_dump_foh(const struct abis_om_fom_hdr *foh)
Definition: abis_nm.c:931
NM_IPACC_TESTNO_CHAN_USAGE
@ NM_IPACC_TESTNO_CHAN_USAGE
Definition: gsm_12_21.h:716
NM_MT_ESTABLISH_TEI_NACK
@ NM_MT_ESTABLISH_TEI_NACK
Definition: gsm_12_21.h:106
NM_NACK_OBJCLASS_INVAL
@ NM_NACK_OBJCLASS_INVAL
Definition: gsm_12_21.h:604
LAPDm_EL
#define LAPDm_EL
Definition: lapdm.c:84
lapdm_entity::datalink
struct lapdm_datalink datalink[_NR_DL_SAPI]
the SAPIs of the LAPDm entity
Definition: lapdm.h:51
c128v1_gen_vec
static int c128v1_gen_vec(struct osmo_auth_vector *vec, struct osmo_sub_auth_data *aud, const uint8_t *_rand)
Definition: auth_comp128v1.c:33
RSL_IE_L3_INFO
@ RSL_IE_L3_INFO
Definition: gsm_08_58.h:224
GSM411_RP_CAUSE_MO_TEMP_FAIL
@ GSM411_RP_CAUSE_MO_TEMP_FAIL
Definition: gsm_04_11.h:77
GSM0480_OP_CODE_FORWARD_CHECK_SS_IND
#define GSM0480_OP_CODE_FORWARD_CHECK_SS_IND
Definition: gsm_04_80.h:79
GSM48_CMODE_SPEECH_AMR
@ GSM48_CMODE_SPEECH_AMR
Definition: gsm_04_08.h:699
LAPDm_CTRL_I
#define LAPDm_CTRL_I(nr, ns, p)
Definition: lapdm.c:66
osmo_apn_to_str
char * osmo_apn_to_str(char *out_str, const uint8_t *apn_enc, size_t apn_enc_len)
Convert an encoded APN into a dot-separated string.
Definition: apn.c:71
osmo_apn_qualify_from_imsi
char * osmo_apn_qualify_from_imsi(const char *imsi, const char *ni, int have_3dig_mnc)
Definition: apn.c:44
GSM48_MT_MM_CM_SERV_ABORT
#define GSM48_MT_MM_CM_SERV_ABORT
Definition: gsm_04_08.h:1457
gsm341_ms_message::msg_id
uint16_t msg_id
Definition: gsm_03_41.h:34
gsm48_range_512::w7_lo
uint8_t w7_lo
Definition: gsm_04_08.h:203
gsm0808_create_cipher_complete
struct msgb * gsm0808_create_cipher_complete(struct msgb *layer3, uint8_t alg_id)
Create BSSMAP Cipher Mode Complete message.
Definition: gsm0808.c:242
GSM_7BIT_LEGACY_MAX_BUFFER_SIZE
#define GSM_7BIT_LEGACY_MAX_BUFFER_SIZE
Definition: gsm_utils.h:234
OSMO_GSUP_CK_IE
@ OSMO_GSUP_CK_IE
Definition: gsup.h:80
BSS_MAP_MSG_INT_HANDOVER_CMD
@ BSS_MAP_MSG_INT_HANDOVER_CMD
Definition: gsm_08_08.h:72
tch_afs_7_95_puncture
static const int tch_afs_7_95_puncture[]
Definition: gsm0503_conv.c:388
NM_MT_CHG_ADM_STATE_REQ_NACK
@ NM_MT_CHG_ADM_STATE_REQ_NACK
Definition: gsm_12_21.h:161
NM_SEVER_WARNING
@ NM_SEVER_WARNING
Definition: gsm_12_21.h:584
gsm411_mmsms_rel_ind
static int gsm411_mmsms_rel_ind(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:377
GSM0808_SCT_FR1
@ GSM0808_SCT_FR1
GSM FR.
Definition: gsm_08_08.h:439
lapd_state_name
static const char * lapd_state_name(enum lapd_state state)
Definition: lapd_core.c:197
GSM48_MT_MM_AUTH_RESP
#define GSM48_MT_MM_AUTH_RESP
Definition: gsm_04_08.h:1448
idtag_names
static const char * idtag_names[]
Definition: ipa.c:81
GSM0808_IE_RESPONSE_RQST
@ GSM0808_IE_RESPONSE_RQST
Definition: gsm_08_08.h:187
GSM0808_IE_CLASSMARK_INFORMATION_T3
@ GSM0808_IE_CLASSMARK_INFORMATION_T3
Definition: gsm_08_08.h:179
BSS_MAP_MSG_UPLINK_RQST_CONFIRMATION
@ BSS_MAP_MSG_UPLINK_RQST_CONFIRMATION
Definition: gsm_08_08.h:145
egprs_cps_table_type3
static const struct egprs_cps egprs_cps_table_type3[EGPRS_CPS_TYPE3_TBL_SZ]
Definition: gprs_rlc.c:73
GA_MT_RC_DISCOVERY_REJECT
@ GA_MT_RC_DISCOVERY_REJECT
Definition: gsm_44_318.h:20
BSS_MAP_MSG_HANDOVER_CANDIDATE_ENQUIRE
@ BSS_MAP_MSG_HANDOVER_CANDIDATE_ENQUIRE
Definition: gsm_08_08.h:66
gprs_cipher_impl::priority
unsigned int priority
Definition: gprs_cipher.h:35
GSM48_BCAP_ITCAP_UNR_DIG_INF
@ GSM48_BCAP_ITCAP_UNR_DIG_INF
Definition: gsm_04_08.h:1879
gsm_mncc_useruser::info
char info[GSM_MAX_USERUSER+1]
Definition: mncc.h:53
OSMO_GSUP_MSGT_PROC_SS_RESULT
@ OSMO_GSUP_MSGT_PROC_SS_RESULT
Definition: gsup.h:123
lapd_datalink::tx_hist
struct lapd_history * tx_hist
tx history structure array
Definition: lapd_core.h:157
gsm48_range_512::w4_hi
uint8_t w4_hi
Definition: gsm_04_08.h:198
GRND_NONBLOCK
#define GRND_NONBLOCK
Definition: gsm_utils.c:107
GSM48_PDISC_RR
#define GSM48_PDISC_RR
Definition: gsm_04_08.h:1243
GA_MT_CSR_HO_COMPL
@ GA_MT_CSR_HO_COMPL
Definition: gsm_44_318.h:46
GSM_PCHAN_TCH_F_TCH_H_PDCH
@ GSM_PCHAN_TCH_F_TCH_H_PDCH
Definition: gsm_utils.h:213
NM_ATT_MDROP_NEXT
@ NM_ATT_MDROP_NEXT
Definition: gsm_12_21.h:352
GSM48_IE_NET_DST
#define GSM48_IE_NET_DST
Definition: gsm_04_08.h:1551
_a5_4
void _a5_4(const uint8_t *ck, uint32_t fn, ubit_t *dl, ubit_t *ul, bool fn_correct)
Generate a GSM A5/4 cipher stream.
Definition: a5.c:64
osmo_phsap_prim::rach_ind
struct ph_rach_ind_param rach_ind
Definition: l1sap.h:160
abis_rsl_rll_hdr::c
struct abis_rsl_common_hdr c
Definition: gsm_08_58.h:41
GSM48_REJECT_GPRS_NOT_ALLOWED
@ GSM48_REJECT_GPRS_NOT_ALLOWED
Definition: gsm_04_08.h:1795
gsm411_smc_inst::cp_msg
struct msgb * cp_msg
Definition: gsm0411_smc.h:39
gsm_23_003.h
BSS_MAP_MSG_UPLINK_RQST_ACKNOWLEDGE
@ BSS_MAP_MSG_UPLINK_RQST_ACKNOWLEDGE
Definition: gsm_08_08.h:144
lapd_msg_ctx
LAPD message context.
Definition: lapd_core.h:93
GSM48_PDISC_BCAST_CC
#define GSM48_PDISC_BCAST_CC
Definition: gsm_04_08.h:1237
GSM48_MT_CC_HOLD_ACK
#define GSM48_MT_CC_HOLD_ACK
Definition: gsm_04_08.h:1486
NM_PCAUSE_T_GSM
@ NM_PCAUSE_T_GSM
Definition: gsm_12_21.h:591
gsm48_decode_keypad
int gsm48_decode_keypad(int *keypad, const uint8_t *lv)
Decode TS 04.08 Keypad IE (10.5.4.17)
Definition: gsm48_ie.c:654
cp_timer_expired
static void cp_timer_expired(void *data)
Definition: gsm0411_smc.c:221
GSM0808_IE_NUMBER_OF_MSS
@ GSM0808_IE_NUMBER_OF_MSS
Definition: gsm_08_08.h:174
GSM411_MMSMS_EST_REQ
#define GSM411_MMSMS_EST_REQ
Definition: gsm0411_smc.h:10
GSM48_MT_RR_ASS_CMD
#define GSM48_MT_RR_ASS_CMD
Definition: gsm_04_08.h:1366
alg_id
uint8_t alg_id
Definition: gsm_04_08.h:716
RCON
#define RCON(i)
Definition: aes_i.h:72
SBIT
#define SBIT(a)
Definition: gsm_04_08.h:1869
NM_MT_CONN_MDROP_LINK
@ NM_MT_CONN_MDROP_LINK
Definition: gsm_12_21.h:120
gsm341_ms_message
Definition: gsm_03_41.h:20
gprs_cipher.h
rsl_is_transparent
static int rsl_is_transparent(uint8_t msg_type)
Definition: lapdm.c:357
GSM0808_CAUSE_PROTOCOL_ERROR_BETWEEN_BSS_AND_MSC
@ GSM0808_CAUSE_PROTOCOL_ERROR_BETWEEN_BSS_AND_MSC
Definition: gsm_08_08.h:382
GSM0480_IE_SS_VERSION
#define GSM0480_IE_SS_VERSION
Definition: gsm_04_80.h:13
GMM_CAUSE_MSGT_INCOMP_P_STATE
@ GMM_CAUSE_MSGT_INCOMP_P_STATE
Definition: gsm_04_08_gprs.h:223
osmo_shift_v_fixed
int osmo_shift_v_fixed(uint8_t **data, size_t *data_len, size_t len, uint8_t **value)
Advance the data pointer, subtract length and assign value pointer.
Definition: tlv_parser.c:369
GSM0808_IE_GROUP_CALL_REFERENCE
@ GSM0808_IE_GROUP_CALL_REFERENCE
Definition: gsm_08_08.h:215
table1
static const uint8_t table1[256]
Definition: comp128v23.c:54
gsm0808.h
GSM0808_ALG_ID_A5_6
@ GSM0808_ALG_ID_A5_6
Definition: gsm_08_08.h:463
gsm48_range_1024::w2_lo
uint8_t w2_lo
Definition: gsm_04_08.h:122
gsm411_smr_inst::id
uint64_t id
Definition: gsm0411_smr.h:17
GMM_CAUSE_GPRS_NOTALLOWED
@ GMM_CAUSE_GPRS_NOTALLOWED
Definition: gsm_04_08_gprs.h:202
GSM0808_SCT_HR4
@ GSM0808_SCT_HR4
OHR AMR-WB.
Definition: gsm_08_08.h:446
NM_ATT_IPACC_RLC_CFG
@ NM_ATT_IPACC_RLC_CFG
Definition: gsm_12_21.h:448
osmo_a5_2
void osmo_a5_2(const uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul) OSMO_DEPRECATED("Use generic osmo_a5() instead")
Definition: a5.c:394
osmo_sub_auth_data::type
enum osmo_sub_auth_type type
Definition: auth.h:40
GSM0808_SCT_HR1
@ GSM0808_SCT_HR1
GSM_HR.
Definition: gsm_08_08.h:444
gsm0503_tch_ahs_4_75
const struct osmo_conv_code gsm0503_tch_ahs_4_75
TCH/AHS 4.75 kbits convolutional code.
Definition: gsm0503_conv.c:1118
a5.h
gsm_7bit_encode_ussd
int gsm_7bit_encode_ussd(uint8_t *result, const char *data, int *octets)
Definition: gsm_utils.c:964
GSM0808_IE_CIRCUIT_IDENTITY_CODE_LIST
@ GSM0808_IE_CIRCUIT_IDENTITY_CODE_LIST
Definition: gsm_08_08.h:190
gsm48_var_bit
Definition: gsm_04_08.h:393
gsm_phys_chan_config
gsm_phys_chan_config
Definition: gsm_utils.h:201
lapd_datalink::t200_usec
int t200_usec
retry timer (default 1 sec)
Definition: lapd_core.h:148
GPRS_DET_T_MT_REATT_NOTREQ
#define GPRS_DET_T_MT_REATT_NOTREQ
Definition: gsm_04_08_gprs.h:64
smcdatastate::name
const char * name
Definition: gsm0411_smc.c:485
tch_ahs_7_4_term_output
static const uint8_t tch_ahs_7_4_term_output[]
Definition: gsm0503_conv.c:884
BSS_MAP_MSG_REROUTE_CMD
@ BSS_MAP_MSG_REROUTE_CMD
Definition: gsm_08_08.h:93
NM_MT_SET_ALARM_THRES_NACK
@ NM_MT_SET_ALARM_THRES_NACK
Definition: gsm_12_21.h:192
OSMO_GSUP_MSGT_PURGE_MS_ERROR
@ OSMO_GSUP_MSGT_PURGE_MS_ERROR
Definition: gsup.h:106
GSM0480_OP_CODE_ACTIVATE_SS
#define GSM0480_OP_CODE_ACTIVATE_SS
Definition: gsm_04_80.h:72
GSM411_MT_RP_ACK_MO
#define GSM411_MT_RP_ACK_MO
Definition: gsm_04_11.h:54
lapdm_datalink::dl
struct lapd_datalink dl
Definition: lapdm.h:30
tch_ahs_5_15_output
static const uint8_t tch_ahs_5_15_output[][2]
Definition: gsm0503_conv.c:1007
gsm0808_handover_required
3GPP TS 48.008 §3.2.1.9 HANDOVER REQUIRED
Definition: gsm0808.h:110
NM_NACK_ATTRID_INVAL
@ NM_NACK_ATTRID_INVAL
Definition: gsm_12_21.h:609
gsm_04_08_gprs.h
gsm48_range_128::w15
uint8_t w15
Definition: gsm_04_08.h:371
NM_ATT_IPACC_PRIM_OML_CFG_LIST
@ NM_ATT_IPACC_PRIM_OML_CFG_LIST
Definition: gsm_12_21.h:434
RSL_CHAN_RACH
#define RSL_CHAN_RACH
Definition: gsm_08_58.h:372
gsm0808_create_reset_ack
struct msgb * gsm0808_create_reset_ack(void)
Create BSSMAP RESET ACK message.
Definition: gsm0808.c:155
T200_SDCCH
@ T200_SDCCH
Definition: gsm_12_21.h:647
gsm48_cell_options
Definition: gsm_04_08.h:891
ussd_request::text
char text[MAX_LEN_USSD_STRING+1]
Definition: gsm0480.h:44
gprs_cipher_run
int gprs_cipher_run(uint8_t *out, uint16_t len, enum gprs_ciph_algo algo, uint8_t *kc, uint32_t iv, enum gprs_cipher_direction dir)
Definition: gprs_cipher_core.c:82
RSL_IE_TIMING_ADVANCE
@ RSL_IE_TIMING_ADVANCE
Definition: gsm_08_58.h:237
osmo_plmn_id::mnc_3_digits
bool mnc_3_digits
Definition: gsm23003.h:12
NM_NACK_TEST_NOSTOP
@ NM_NACK_TEST_NOSTOP
Definition: gsm_12_21.h:625
gsm411_smc_send
int gsm411_smc_send(struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg)
Definition: gsm0411_smc.c:453
GSM48_IE_LOCATION_AREA
#define GSM48_IE_LOCATION_AREA
Definition: gsm_04_08.h:1639
gsm_08_08.h
osmo_gsup_message::message_type
enum osmo_gsup_message_type message_type
Definition: gsup.h:187
LLIST_HEAD
static LLIST_HEAD(gprs_ciphers)
lapd_msg_ctx::lpd
uint8_t lpd
Definition: lapd_core.h:100
gsm48_att_tlvdef
const struct tlv_definition gsm48_att_tlvdef
TLV parser definitions for TS 04.08 CC.
Definition: gsm48.c:54
gsm338_get_sms_alphabet
enum sms_alphabet gsm338_get_sms_alphabet(uint8_t dcs)
determine coding alphabet dependent on GSM 03.38 Section 4 DCS
Definition: gsm0411_utils.c:254
osmo_auth_impl::gen_vec
int(* gen_vec)(struct osmo_auth_vector *vec, struct osmo_sub_auth_data *aud, const uint8_t *_rand)
callback for generate authentication vectors
Definition: auth.h:80
lapd_rel_req
static int lapd_rel_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:2073
gsm0808_create_assignment_failure
struct msgb * gsm0808_create_assignment_failure(uint8_t cause, uint8_t *rr_cause)
Create BSSMAP Assignment Failure message.
Definition: gsm0808.c:563
GPRS_DET_T_MT_REATT_REQ
#define GPRS_DET_T_MT_REATT_REQ
Definition: gsm_04_08_gprs.h:63
gsm_mncc_progress::location
int location
Definition: mncc.h:58
osmo_gsup_message::num_pdp_infos
size_t num_pdp_infos
Definition: gsup.h:196
abis_rsl_rll_hdr::link_id
uint8_t link_id
RSL link identifier (value)
Definition: gsm_08_58.h:45
lapdm_entity_reset
void lapdm_entity_reset(struct lapdm_entity *le)
Reset an entire LAPDm entity and all its datalinks.
Definition: lapdm.c:1357
IP_V4_ADDR_LEN
#define IP_V4_ADDR_LEN
Definition: gsm0808_utils.c:33
ipaccess_unit::unit_name
char * unit_name
Definition: ipa.h:17
osmo_gsup_pdp_info::have_info
int have_info
Definition: gsup.h:165
GSM0808_IE_EMLPP_PRIORITY
@ GSM0808_IE_EMLPP_PRIORITY
Definition: gsm_08_08.h:216
BSS_MAP_MSG_CLASSMARK_UPDATE
@ BSS_MAP_MSG_CLASSMARK_UPDATE
Definition: gsm_08_08.h:127
tch_ahs_4_75_output
static const uint8_t tch_ahs_4_75_output[][2]
Definition: gsm0503_conv.c:1068
lac
uint16_t lac
Definition: gsm_04_08.h:709
GSM411_RP_CAUSE_MO_UNIDENTIFIED_SUBSCR
@ GSM411_RP_CAUSE_MO_UNIDENTIFIED_SUBSCR
Definition: gsm_04_11.h:73
ipaccess_unit::bts_id
uint16_t bts_id
Definition: ipa.h:15
gsm48_decode_cccap
int gsm48_decode_cccap(struct gsm_mncc_cccap *ccap, const uint8_t *lv)
Decode TS 04.08 Call Control Capabilities IE (10.5.4.5a)
Definition: gsm48_ie.c:304
tch_hr_state
static const uint8_t tch_hr_state[][2]
Definition: gsm0503_conv.c:755
gsm48_range_256::w17
uint8_t w17
Definition: gsm_04_08.h:294
OSMO_GSUP_IK_IE
@ OSMO_GSUP_IK_IE
Definition: gsup.h:79
GSM0808_IE_CIPHER_RESPONSE_MODE
@ GSM0808_IE_CIPHER_RESPONSE_MODE
Definition: gsm_08_08.h:195
gsm48_range_256::w12
uint8_t w12
Definition: gsm_04_08.h:287
lapd_datalink::v_send
uint8_t v_send
seq nr of next I frame to be transmitted
Definition: lapd_core.h:141
GSM48_MT_RR_UTRAN_CLSM_CHG
#define GSM48_MT_RR_UTRAN_CLSM_CHG
Definition: gsm_04_08.h:1391
gsm48_range_512::w8_hi
uint8_t w8_hi
Definition: gsm_04_08.h:204
GSM0808_IE_TIME_INDICATION
@ GSM0808_IE_TIME_INDICATION
Definition: gsm_08_08.h:207
cm2_len
uint8_t cm2_len
Definition: gsm_04_08.h:708
GSM0808_IE_GANSS_LOCATION_TYPE
@ GSM0808_IE_GANSS_LOCATION_TYPE
Definition: gsm_08_08.h:266
gsm0808_encrypt_info
Definition: gsm_08_08.h:525
NM_MT_SEND_TEST_REP
@ NM_MT_SEND_TEST_REP
Definition: gsm_12_21.h:141
GSM48_MT_MM_ABORT
#define GSM48_MT_MM_ABORT
Definition: gsm_04_08.h:1461
GSM0808_CAUSE_DTM_HO_INVALID_PS_IND
@ GSM0808_CAUSE_DTM_HO_INVALID_PS_IND
Definition: gsm_08_08.h:380
GPRS_UPD_T_RA_LA
#define GPRS_UPD_T_RA_LA
Definition: gsm_04_08_gprs.h:72
GSM411_MT_CP_DATA
#define GSM411_MT_CP_DATA
Definition: gsm_04_11.h:29
GSM48_MT_GMM_AUTH_CIPH_REJ
#define GSM48_MT_GMM_AUTH_CIPH_REJ
Definition: gsm_04_08_gprs.h:28
auth.h
gsm0808_cell_id_list_add
int gsm0808_cell_id_list_add(struct gsm0808_cell_id_list2 *dst, const struct gsm0808_cell_id_list2 *src)
Append entries from one Cell Identifier List to another.
Definition: gsm0808_utils.c:958
osmo_gsup_message_type_names
const struct value_string osmo_gsup_message_type_names[]
Definition: gsup.c:39
milenage_generate
void milenage_generate(const u8 *opc, const u8 *amf, const u8 *k, const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len)
milenage_generate - Generate AKA AUTN,IK,CK,RES @opc: OPc = 128-bit operator variant algorithm config...
Definition: milenage.c:182
l2downstate::prim
int prim
Definition: lapd_core.c:2152
gsm411_smc_inst::cp_rel
int cp_rel
Definition: gsm0411_smc.h:40
A51_R2_CLKBIT
#define A51_R2_CLKBIT
Definition: a5.c:164
GSM0808_IE_RESOURCE_SITUATION
@ GSM0808_IE_RESOURCE_SITUATION
Definition: gsm_08_08.h:208
LAPD_FORM_S
@ LAPD_FORM_S
Definition: lapd_core.h:88
gsm0480_create_notifySS
struct msgb * gsm0480_create_notifySS(const char *text)
Definition: gsm0480.c:160
gsm411_smc_init
void gsm411_smc_init(struct gsm411_smc_inst *inst, uint64_t id, int network, int(*mn_recv)(struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg), int(*mm_send)(struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg, int cp_msg_type))
Definition: gsm0411_smc.c:78
gsm340_vp_relative_semioctet
static unsigned long gsm340_vp_relative_semioctet(uint8_t *sms_vp)
Definition: gsm0411_utils.c:201
osmo_plmn_cmp
int osmo_plmn_cmp(const struct osmo_plmn_id *a, const struct osmo_plmn_id *b)
Definition: gsm23003.c:290
NM_NACK_MSGINCONSIST_PHYSCFG
@ NM_NACK_MSGINCONSIST_PHYSCFG
Definition: gsm_12_21.h:626
NM_MT_LOAD_ABORT
@ NM_MT_LOAD_ABORT
Definition: gsm_12_21.h:92
lapd_msg_ctx::dl
struct lapd_datalink * dl
Definition: lapd_core.h:94
smcdownstate::rout
int(* rout)(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:425
GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL_SEND_DL
@ GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL_SEND_DL
Definition: gsm_08_08.h:551
send_rll_simple
static int send_rll_simple(uint8_t msg_type, struct lapdm_msg_ctx *mctx)
Definition: lapdm.c:404
GSM48_MT_RR_IS_TO_CDMA2K_HANDO
#define GSM48_MT_RR_IS_TO_CDMA2K_HANDO
Definition: gsm_04_08.h:1394
gsm0808_handover_failure::codec_list_bss_supported
struct gsm0808_speech_codec_list codec_list_bss_supported
Definition: gsm0808.h:163
ipa_msg_alloc
struct msgb * ipa_msg_alloc(int headroom)
Definition: ipa.c:586
gsm48_range_128::w16
uint8_t w16
Definition: gsm_04_08.h:372
GSM_CAUSE_PROTO_ERR_UNSPEC
@ GSM_CAUSE_PROTO_ERR_UNSPEC
Definition: gsm_04_08_gprs.h:260
gsm48_range_128::w22
uint8_t w22
Definition: gsm_04_08.h:380
gsm0808_create_lcls_conn_ctrl
struct msgb * gsm0808_create_lcls_conn_ctrl(enum gsm0808_lcls_config *config, enum gsm0808_lcls_control *control)
Create BSSMAP LCLS CONNECT CONTROL message (TS 48.008 3.2.1.91).
Definition: gsm0808.c:289
GSM_MNCC_BCAP_UNR_DIG
@ GSM_MNCC_BCAP_UNR_DIG
Definition: mncc.h:79
gsm48_range_1024::w5_hi
uint8_t w5_hi
Definition: gsm_04_08.h:127
NM_NACK_CANT_PERFORM
@ NM_NACK_CANT_PERFORM
Definition: gsm_12_21.h:614
gea3_impl
static struct gprs_cipher_impl gea3_impl
Definition: gprs_gea.c:34
_comp128_table
static const uint8_t * _comp128_table[5]
Definition: comp128.c:144
NM_MT_CONN_MDROP_LINK_ACK
@ NM_MT_CONN_MDROP_LINK_ACK
Definition: gsm_12_21.h:121
gsm48_range_256::w18_lo
uint8_t w18_lo
Definition: gsm_04_08.h:296
chan_nr
uint8_t chan_nr
RSL channel number (value)
Definition: gsm_04_08.h:2
GSM48_MT_RR_DTM_INFO
#define GSM48_MT_RR_DTM_INFO
Definition: gsm_04_08.h:1430
GSM0808_IE_TRIGGERID
@ GSM0808_IE_TRIGGERID
Definition: gsm_08_08.h:198
gsm48_range_128::w24
uint8_t w24
Definition: gsm_04_08.h:382
LAPDm_ADDR_LPD
#define LAPDm_ADDR_LPD(addr)
Definition: lapdm.c:60
GSM0808_PERM_HR3
@ GSM0808_PERM_HR3
HR AMR.
Definition: gsm_08_08.h:428
tch_ahs_4_75_state
static const uint8_t tch_ahs_4_75_state[][2]
Definition: gsm0503_conv.c:1049
BSS_MAP_MSG_RESET
@ BSS_MAP_MSG_RESET
Definition: gsm_08_08.h:97
NM_MT_SET_BTS_ATTR
@ NM_MT_SET_BTS_ATTR
Definition: gsm_12_21.h:127
GSM48_IE_REPEAT_SEQ
#define GSM48_IE_REPEAT_SEQ
Definition: gsm_04_08.h:1580
GSM48_IE_CLIR_INVOC
#define GSM48_IE_CLIR_INVOC
Definition: gsm_04_08.h:1577
gsm0808_handover_complete::speech_codec_chosen
struct gsm0808_speech_codec speech_codec_chosen
Definition: gsm0808.h:139
NM_SEVER_CEASED
@ NM_SEVER_CEASED
Definition: gsm_12_21.h:580
GSM0808_IE_CHOSEN_ENCR_ALG
@ GSM0808_IE_CHOSEN_ENCR_ALG
Definition: gsm_08_08.h:204
GSM0808_IE_CN_TO_MS_TRANSP_INFO
@ GSM0808_IE_CN_TO_MS_TRANSP_INFO
Definition: gsm_08_08.h:293
gsm0808_speech_codec_list::len
uint8_t len
Definition: gsm_08_08.h:510
tch_afs_7_4_output
static const uint8_t tch_afs_7_4_output[][2]
Definition: gsm0503_conv.c:421
gsm48_decode_lai
int gsm48_decode_lai(struct gsm48_loc_area_id *lai, uint16_t *mcc, uint16_t *mnc, uint16_t *lac)
Decode TS 04.08 Location Area Identifier, legacy implementation.
Definition: gsm48.c:522
gsm48_hdr::msg_type
uint8_t msg_type
Definition: gsm_04_08.h:825
osmo_gsup_decode
int osmo_gsup_decode(const uint8_t *data, size_t data_len, struct osmo_gsup_message *gsup_msg)
Decode (parse) a GSUP message.
Definition: gsup.c:255
LAPDm_CTRL_U_BITS
#define LAPDm_CTRL_U_BITS(ctrl)
Definition: lapdm.c:74
GSM48_RR_CAUSE_COND_IE_ERROR
@ GSM48_RR_CAUSE_COND_IE_ERROR
Definition: gsm_04_08.h:1710
enc_speech_codec
static uint8_t enc_speech_codec(struct msgb *msg, const struct gsm0808_speech_codec *sc)
Definition: gsm0808_utils.c:152
NM_ATT_POWER_CLASS
@ NM_ATT_POWER_CLASS
Definition: gsm_12_21.h:358
__attribute__
enum gsm48_chan_mode __attribute__
RSL_MT_EST_CONF
@ RSL_MT_EST_CONF
Definition: gsm_08_58.h:91
gsm48_ie.h
GSM411_MT_RP_DATA_MO
#define GSM411_MT_RP_DATA_MO
Definition: gsm_04_11.h:52
GSM414_MT_ACT_EMMI_ACK
#define GSM414_MT_ACT_EMMI_ACK
Definition: gsm_04_14.h:57
OSMO_EVT_PCU_VERS
@ OSMO_EVT_PCU_VERS
Definition: gsm_12_21.h:277
lapd_acknowledge
static void lapd_acknowledge(struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:720
NM_MT_SW_ACT_REQ_ACK
@ NM_MT_SW_ACT_REQ_ACK
Definition: gsm_12_21.h:97
GSM0808_IE_LAYER_3_MESSAGE_CONTENTS
@ GSM0808_IE_LAYER_3_MESSAGE_CONTENTS
Definition: gsm_08_08.h:192
GSM48_MT_CC_RELEASE_COMPL
#define GSM48_MT_CC_RELEASE_COMPL
Definition: gsm_04_08.h:1494
MDL_CAUSE_UNSOL_UA_RESP
#define MDL_CAUSE_UNSOL_UA_RESP
Definition: lapd_core.h:32
GSM0808_IE_DLCI
@ GSM0808_IE_DLCI
Definition: gsm_08_08.h:184
GSM411_TMR_TC1A_SEC
#define GSM411_TMR_TC1A_SEC
Definition: gsm_04_11.h:101
gsm48_encode_called
int gsm48_encode_called(struct msgb *msg, const struct gsm_mncc_number *called)
Encode TS 04.08 Called Party IE (10.5.4.7)
Definition: gsm48_ie.c:365
GSM0808_IE_LCS_PRIORITY
@ GSM0808_IE_LCS_PRIORITY
Definition: gsm_08_08.h:224
lapd_datalink::reestablish
int reestablish
enable reestablish support
Definition: lapd_core.h:135
tch_afs_5_15_term_state
static const uint8_t tch_afs_5_15_term_state[]
Definition: gsm0503_conv.c:616
GSM414_MT_CLOSE_TCH_LOOP_CMD
#define GSM414_MT_CLOSE_TCH_LOOP_CMD
Definition: gsm_04_14.h:11
gsm48_dtx_mode
gsm48_dtx_mode
Definition: gsm_04_08.h:883
gsm_7bit_decode_n_ussd
int gsm_7bit_decode_n_ussd(char *decoded, size_t n, const uint8_t *user_data, uint8_t length)
Decode a sequence of 7 bit characters (USSD encoding).
Definition: gsm_utils.c:261
__attribute__
__attribute__((constructor))
Definition: gsm_utils.c:121
GSM0808_CHAN_SPEECH
@ GSM0808_CHAN_SPEECH
Definition: gsm_08_08.h:389
abis_nm_test_name
const char * abis_nm_test_name(uint8_t test)
Get human-readable string for OML test.
Definition: abis_nm.c:675
gsm411_smc_recv
int gsm411_smc_recv(struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg, int cp_msg_type)
Definition: gsm0411_smc.c:527
lapdm_channel::lapdm_acch
struct lapdm_entity lapdm_acch
Associated Control Channel.
Definition: lapdm.h:74
send_dl_simple
static int send_dl_simple(uint8_t prim, uint8_t op, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:379
OSMO_EVT_MAJ_NET_CONGEST
@ OSMO_EVT_MAJ_NET_CONGEST
Definition: gsm_12_21.h:270
GSM48_MT_MM_CM_SERV_PROMPT
#define GSM48_MT_MM_CM_SERV_PROMPT
Definition: gsm_04_08.h:1459
GSM0808_LCLS_CFG_BOTH_WAY_AND_SEND_DL
@ GSM0808_LCLS_CFG_BOTH_WAY_AND_SEND_DL
Definition: gsm_08_08.h:549
GSM0808_CAUSE_BETTER_CELL
@ GSM0808_CAUSE_BETTER_CELL
Definition: gsm_08_08.h:334
GSM411_ALLOC_HEADROOM
#define GSM411_ALLOC_HEADROOM
Definition: gsm0411_utils.c:49
_GPRS_ALGO_NUM
@ _GPRS_ALGO_NUM
Definition: gprs_cipher.h:19
tch_afs_5_15_puncture
static const int tch_afs_5_15_puncture[]
Definition: gsm0503_conv.c:626
gsm48_gmm_cause_names_
const struct value_string gsm48_gmm_cause_names_[]
10.5.5.14 GPRS MM Cause / Table 10.5.147
Definition: gsm_04_08_gprs.c:38
GSM0808_CELL_ID_LIST2_MAXLEN
#define GSM0808_CELL_ID_LIST2_MAXLEN
(225-1)/2 is the maximum number of elements in a cell identifier list.
Definition: gsm0808_utils.h:34
GSM411_CP_CAUSE_MSG_INCOMP_STATE
@ GSM411_CP_CAUSE_MSG_INCOMP_STATE
Definition: gsm_04_11.h:46
GPRS_ALGO_GEA0
@ GPRS_ALGO_GEA0
Definition: gprs_cipher.h:14
GSM48_IE_START_TIME
#define GSM48_IE_START_TIME
Definition: gsm_04_08.h:1628
GSM0808_CAUSE_DOWNLINK_STRENGTH
@ GSM0808_CAUSE_DOWNLINK_STRENGTH
Definition: gsm_08_08.h:327
send_dl_l3
static int send_dl_l3(uint8_t prim, uint8_t op, struct lapd_msg_ctx *lctx, struct msgb *msg)
Definition: lapd_core.c:368
NM_MT_OPSTART_NACK
@ NM_MT_OPSTART_NACK
Definition: gsm_12_21.h:171
comp128v3
int comp128v3(const uint8_t *ki, const uint8_t *rand, uint8_t *sres, uint8_t *kc)
Perform COMP128v3 algorithm.
Definition: comp128v23.c:117
GSM0808_SC_CFG_DEFAULT_FR_AMR
@ GSM0808_SC_CFG_DEFAULT_FR_AMR
Definition: gsm_08_08.h:498
gsm48_range_512::w2_hi
uint8_t w2_hi
Definition: gsm_04_08.h:194
GSM48_RR_CAUSE_NORMAL
@ GSM48_RR_CAUSE_NORMAL
Definition: gsm_04_08.h:1696
gsm0808_handover_failure::rr_cause_present
bool rr_cause_present
Definition: gsm0808.h:160
gsm340_vp_absolute
static unsigned long gsm340_vp_absolute(uint8_t *sms_vp)
Definition: gsm0411_utils.c:170
abis_rsl_common_hdr::msg_discr
uint8_t msg_discr
message discriminator (ABIS_RSL_MDISC_*)
Definition: gsm_08_58.h:34
NM_MT_START_MEAS
@ NM_MT_START_MEAS
Definition: gsm_12_21.h:185
osmo_cgi_name
const char * osmo_cgi_name(const struct osmo_cell_global_id *cgi)
Return MCC-MNC-LAC-CI as string, in a static buffer.
Definition: gsm23003.c:146
GMM_CAUSE_IMPL_DETACHED
@ GMM_CAUSE_IMPL_DETACHED
Definition: gsm_04_08_gprs.h:205
OSMO_EVT_CRIT_PROC_STOP
@ OSMO_EVT_CRIT_PROC_STOP
Definition: gsm_12_21.h:263
TLLI_RANDOM
@ TLLI_RANDOM
Definition: gsm_utils.h:188
GA_MT_RC_CELL_BCAST_INFO
@ GA_MT_RC_CELL_BCAST_INFO
Definition: gsm_44_318.h:29
gprs_msgt_gmm_names
const struct value_string gprs_msgt_gmm_names[]
String names of GMM message types.
Definition: gsm_04_08_gprs.c:150
lapdm_channel::name
char * name
human-readable name
Definition: lapdm.h:73
lapd_susp_req
static int lapd_susp_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1975
TE432
#define TE432(i)
Definition: aes_i.h:88
gsm0808_cell_id_discr_name
static const char * gsm0808_cell_id_discr_name(enum CELL_IDENT id_discr)
Definition: gsm0808_utils.h:61
gprs_cs_desc::bits
uint8_t bits
Definition: gprs_rlc.c:124
abis_nm_chcomb4pchan
int abis_nm_chcomb4pchan(enum gsm_phys_chan_config pchan)
Obtain OML Channel Combination for phnsical channel config.
Definition: abis_nm.c:912
aes_wrap.h
GSM48_IE_AUX_STATUS
#define GSM48_IE_AUX_STATUS
Definition: gsm_04_08.h:1559
gea4
int gea4(uint8_t *out, uint16_t len, uint8_t *kc, uint32_t iv, enum gprs_cipher_direction direct)
Performs the GEA4 algorithm as in 3GPP TS 55.226 V9.0.0.
Definition: gea.c:41
lapd_state_names
const struct value_string lapd_state_names[]
Definition: lapd_core.c:184
EGPRS_CPS_TYPE3_TBL_SZ
#define EGPRS_CPS_TYPE3_TBL_SZ
Definition: gprs_rlc.c:22
GSM48_MT_RR_SYSINFO_3
#define GSM48_MT_RR_SYSINFO_3
Definition: gsm_04_08.h:1399
MDL_CAUSE_SEQ_ERR
#define MDL_CAUSE_SEQ_ERR
Definition: lapd_core.h:36
GSM48_MT_RR_SYSINFO_13
#define GSM48_MT_RR_SYSINFO_13
Definition: gsm_04_08.h:1411
T200_SDCCH_SAPI3
@ T200_SDCCH_SAPI3
Definition: gsm_12_21.h:652
RSL_MT_RES_REQ
@ RSL_MT_RES_REQ
Definition: gsm_08_58.h:100
gsm_time::t2
uint8_t t2
Definition: gsm_utils.h:49
gsm48_range_128::w3_lo
uint8_t w3_lo
Definition: gsm_04_08.h:357
l2downstate::rout
int(* rout)(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:2154
gsm_7bit_encode_n
int gsm_7bit_encode_n(uint8_t *result, size_t n, const char *data, int *octets_written)
Encode a text string into GSM 03.38 encoded 7 bit characters.
Definition: gsm_utils.c:367
GSM0808_ALG_ID_A5_1
@ GSM0808_ALG_ID_A5_1
Definition: gsm_08_08.h:458
GSM48_MT_RR_CFG_CHG_CMD
#define GSM48_MT_RR_CFG_CHG_CMD
Definition: gsm_04_08.h:1362
NM_ATT_T200
@ NM_ATT_T200
Definition: gsm_12_21.h:370
CELL_IDENT_UTRAN_LAC_RNC
@ CELL_IDENT_UTRAN_LAC_RNC
Definition: gsm_08_08.h:26
GSM0808_IE_LCLS_CONN_STATUS_CTRL
@ GSM0808_IE_LCLS_CONN_STATUS_CTRL
Definition: gsm_08_08.h:285
GSM0808_IE_SEGMENTATION
@ GSM0808_IE_SEGMENTATION
Definition: gsm_08_08.h:236
GSM48_RR_CAUSE_INVALID_MAND_INF
@ GSM48_RR_CAUSE_INVALID_MAND_INF
Definition: gsm_04_08.h:1707
gsm411_bcdify
uint8_t gsm411_bcdify(uint8_t value)
Turn int into semi-octet representation: 98 => 0x89.
Definition: gsm0411_utils.c:62
GSM0808_CAUSE_GERAN_IU_MODE_FAILURE
@ GSM0808_CAUSE_GERAN_IU_MODE_FAILURE
Definition: gsm_08_08.h:368
GSM48_MT_GMM_ID_RESP
#define GSM48_MT_GMM_ID_RESP
Definition: gsm_04_08_gprs.h:31
tch_ahs_5_15_puncture
static const int tch_ahs_5_15_puncture[]
Definition: gsm0503_conv.c:1024
BSS_MAP_MSG_SAPI_N_REJECT
@ BSS_MAP_MSG_SAPI_N_REJECT
Definition: gsm_08_08.h:81
GSM48_MT_RR_CIPH_M_COMPL
#define GSM48_MT_RR_CIPH_M_COMPL
Definition: gsm_04_08.h:1360
gsm411_mmsms_send_msg
static int gsm411_mmsms_send_msg(struct gsm411_smc_inst *inst)
Definition: gsm0411_smc.c:183
table_2
static const uint8_t table_2[128]
Definition: comp128.c:125
GPRS_DET_T_MT_IMSI
#define GPRS_DET_T_MT_IMSI
Definition: gsm_04_08_gprs.h:65
GSM48_PDISC_SM_GPRS
#define GSM48_PDISC_SM_GPRS
Definition: gsm_04_08.h:1246
gsm48_req_ref::t1
uint8_t t1
Definition: gsm_04_08.h:648
gsm411_smc_inst::id
uint64_t id
Definition: gsm0411_smc.h:30
gsm48_hdr_pdisc
static uint8_t gsm48_hdr_pdisc(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1259
gsm0808_bssmap_name
const char * gsm0808_bssmap_name(uint8_t msg_type)
Return string name of BSSMAP Message Type.
Definition: gsm0808.c:1125
apn.h
ipa_prepend_header_ext
void ipa_prepend_header_ext(struct msgb *msg, int proto)
Definition: ipa.c:433
gsm48_cc_msg_name
const char * gsm48_cc_msg_name(uint8_t msgtype)
return string representation of CC Message Type
Definition: gsm48.c:283
EGPRS_CPS_TYPE2_TBL_SZ
#define EGPRS_CPS_TYPE2_TBL_SZ
Definition: gprs_rlc.c:21
GSM_MAX_FACILITY
#define GSM_MAX_FACILITY
Definition: mncc.h:7
gsm_7bit_alphabet
static unsigned char gsm_7bit_alphabet[]
Definition: gsm_utils.c:147
GSM0808_SCT_FR2
@ GSM0808_SCT_FR2
GSM EFR.
Definition: gsm_08_08.h:440
NM_OC_GPRS_NSVC
@ NM_OC_GPRS_NSVC
Definition: gsm_12_21.h:313
lai
struct gsm48_loc_area_id lai
Definition: gsm_04_08.h:715
NM_MT_SET_SITE_OUT_NACK
@ NM_MT_SET_SITE_OUT_NACK
Definition: gsm_12_21.h:177
gsm0480_wrap_facility
int gsm0480_wrap_facility(struct msgb *msg)
Definition: gsm0480.c:112
tch_afs_5_15_state
static const uint8_t tch_afs_5_15_state[][2]
Definition: gsm0503_conv.c:602
tch_ahs_7_4_state
static const uint8_t tch_ahs_7_4_state[][2]
Definition: gsm0503_conv.c:865
GA_MT_CSR_ACT_CHAN_ACK
@ GA_MT_CSR_ACT_CHAN_ACK
Definition: gsm_44_318.h:35
lapd_rel_req_idle
static int lapd_rel_req_idle(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:2137
gsm0808_cell_id_u::lai_and_lac
struct osmo_location_area_id lai_and_lac
Definition: gsm0808_utils.h:43
osmo_gsup_message::ss_info_len
size_t ss_info_len
Definition: gsup.h:215
osmo_gsup_message::imsi
char imsi[GSM23003_IMSI_MAX_DIGITS+2]
Definition: gsup.h:188
abis_nm_obj_class_names
const struct value_string abis_nm_obj_class_names[]
Human-readable strings for A-bis OML Object Class.
Definition: abis_nm.c:606
bitvec_add_range1024
void bitvec_add_range1024(struct bitvec *bv, const struct gsm48_range_1024 *r)
append range1024 encoded data to bit vector
Definition: gsm_utils.c:867
OSMO_GSUP_MSGT_LOCATION_CANCEL_RESULT
@ OSMO_GSUP_MSGT_LOCATION_CANCEL_RESULT
Definition: gsup.h:119
GSM411_RP_CAUSE_MO_REQ_FAC_NOTIMPL
@ GSM411_RP_CAUSE_MO_REQ_FAC_NOTIMPL
Definition: gsm_04_11.h:81
gprs_cs_desc
Definition: gprs_rlc.c:121
LAPD_U_UA
#define LAPD_U_UA
Definition: lapd_core.c:94
rach_ext_puncture
static const int rach_ext_puncture[]
Definition: gsm0503_conv.c:103
_a5_1_get_output
static uint8_t _a5_1_get_output(uint32_t r[])
GSM A5/1 Output function.
Definition: a5.c:197
gsm48_range_512::w9_lo
uint8_t w9_lo
Definition: gsm_04_08.h:207
gsm48_ra_id::digits
uint8_t digits[3]
Definition: gsm_04_08.h:1989
gsm48_range_128::w4_hi
uint8_t w4_hi
Definition: gsm_04_08.h:358
u32
uint32_t u32
Definition: common.h:19
GSM0808_IE_REROUTE_COMPL_OUTCOME
@ GSM0808_IE_REROUTE_COMPL_OUTCOME
Definition: gsm_08_08.h:282
A5_R2_TAPS
#define A5_R2_TAPS
Definition: a5.c:116
gsm0808_enc_encrypt_info
uint8_t gsm0808_enc_encrypt_info(struct msgb *msg, const struct gsm0808_encrypt_info *ei)
Encode TS 08.08 Encryption Information IE.
Definition: gsm0808_utils.c:499
GPRS_SERVICE_T_MBMS_MC_SERV
@ GPRS_SERVICE_T_MBMS_MC_SERV
Definition: gsm_04_08_gprs.h:406
OSMO_AUTH_ALG_MILENAGE
@ OSMO_AUTH_ALG_MILENAGE
Definition: auth.h:34
cs2_puncture
static const int cs2_puncture[]
Definition: gsm0503_conv.c:130
BSS_MAP_MSG_UPLINK_APP_DATA
@ BSS_MAP_MSG_UPLINK_APP_DATA
Definition: gsm_08_08.h:152
GSM48_MT_MM_IMSI_DETACH_IND
#define GSM48_MT_MM_IMSI_DETACH_IND
Definition: gsm_04_08.h:1441
tch_ahs_5_15_term_output
static const uint8_t tch_ahs_5_15_term_output[]
Definition: gsm0503_conv.c:1019
BSS_MAP_MSG_INT_HANDOVER_REQUIRED_REJ
@ BSS_MAP_MSG_INT_HANDOVER_REQUIRED_REJ
Definition: gsm_08_08.h:71
GSM_CAUSE_REQ_SERV_OPT_NOTSUB
@ GSM_CAUSE_REQ_SERV_OPT_NOTSUB
Definition: gsm_04_08_gprs.h:244
gsm0808_handover_failure
Definition: gsm0808.h:157
CELL_IDENT_BSS
@ CELL_IDENT_BSS
Definition: gsm_08_08.h:23
smrdatastate::type
int type
Definition: gsm0411_smr.c:431
gsm0808_create_sapi_reject
struct msgb * gsm0808_create_sapi_reject(uint8_t link_id)
Create BSSMAP SAPI N Reject message.
Definition: gsm0808.c:373
GSM_MI_TYPE_IMEI
#define GSM_MI_TYPE_IMEI
Definition: gsm_04_08.h:1540
NM_PCAUSE_T_X721
@ NM_PCAUSE_T_X721
Definition: gsm_12_21.h:590
gsm48_range_512::w3_hi
uint8_t w3_hi
Definition: gsm_04_08.h:196
GSM48_MT_CC_HOLD
#define GSM48_MT_CC_HOLD
Definition: gsm_04_08.h:1485
gsm0808_create_cipher
struct msgb * gsm0808_create_cipher(const struct gsm0808_encrypt_info *ei, const uint8_t *cipher_response_mode)
Create BSSMAP Cipher Mode Command message.
Definition: gsm0808.c:205
GSM_PCHAN_TCH_F_PDCH
@ GSM_PCHAN_TCH_F_PDCH
Definition: gsm_utils.h:209
gsm0502_calc_paging_group
unsigned int gsm0502_calc_paging_group(struct gsm48_control_channel_descr *chan_desc, uint64_t imsi)
Definition: gsm0502.c:32
NM_OC_BS11_RACK
@ NM_OC_BS11_RACK
Definition: gsm_12_21.h:305
gsm0503_tch_afs_5_9
const struct osmo_conv_code gsm0503_tch_afs_5_9
TCH/AFS 5.9 kbits convolutional code: 124 bits G4/G6 = 1 + D2 + D3 + D5 + D6 / 1 + D + D2 + D3 + D4 +...
Definition: gsm0503_conv.c:591
NM_MT_LOAD_END_ACK
@ NM_MT_LOAD_END_ACK
Definition: gsm_12_21.h:94
OSMO_AUTH_ALG_NONE
@ OSMO_AUTH_ALG_NONE
Definition: auth.h:29
NM_ATT_IPACC_REVOC_DATE
@ NM_ATT_IPACC_REVOC_DATE
Definition: gsm_12_21.h:461
NM_IPACC_TESTNO_BCCH_INFO
@ NM_IPACC_TESTNO_BCCH_INFO
Definition: gsm_12_21.h:719
abis_nm_pcause_type_names
const struct value_string abis_nm_pcause_type_names[]
Definition: abis_nm.c:170
NM_MT_MEAS_RES_REQ
@ NM_MT_MEAS_RES_REQ
Definition: gsm_12_21.h:182
BSS_MAP_MSG_CLEAR_CMD
@ BSS_MAP_MSG_CLEAR_CMD
Definition: gsm_08_08.h:76
GSM340_TP_VPF_ENHANCED
#define GSM340_TP_VPF_ENHANCED
Definition: gsm_04_11.h:135
lapd_datalink::rcv_buffer
struct msgb * rcv_buffer
buffer to assemble the received message
Definition: lapd_core.h:159
GSM48_IE_RR_PACKET_UL
#define GSM48_IE_RR_PACKET_UL
Definition: gsm_04_08.h:1615
BSS_MAP_MSG_CHANGE_CIRCUIT_ACKNOWLEDGE
@ BSS_MAP_MSG_CHANGE_CIRCUIT_ACKNOWLEDGE
Definition: gsm_08_08.h:120
GPRS_ALGO_GEA1
@ GPRS_ALGO_GEA1
Definition: gprs_cipher.h:15
gsm0808_lcls_control
gsm0808_lcls_control
Definition: gsm_08_08.h:556
IPAC_IDTAG_LOCATION2
@ IPAC_IDTAG_LOCATION2
Definition: ipaccess.h:58
_comp128_compression
static void _comp128_compression(uint8_t *x)
Definition: comp128.c:164
lapd_send_rej
static int lapd_send_rej(struct lapd_msg_ctx *lctx, uint8_t f_bit)
Definition: lapd_core.c:489
gsm48_range_1024::w12_lo
uint8_t w12_lo
Definition: gsm_04_08.h:140
gsm48_cell_options::d
uint8_t d
Definition: gsm_04_08.h:901
aes_encrypt_init
void * aes_encrypt_init(const u8 *key, size_t len)
Definition: aes-internal-enc.c:101
gsm_04_11.h
APPEND_STR
#define APPEND_STR(fmt, args...)
Definition: gsm0808_utils.c:1220
ipa_id_req_msg
static const uint8_t ipa_id_req_msg[]
Definition: ipa.c:68
gsm_mncc_bearer_cap::coding
int coding
Definition: mncc.h:15
osmo_mnc_cmp
int osmo_mnc_cmp(uint16_t a_mnc, bool a_mnc_3_digits, uint16_t b_mnc, bool b_mnc_3_digits)
Definition: gsm23003.c:274
gsm341_ms_message::update
uint8_t update
Definition: gsm_03_41.h:31
BSS_MAP_MSG_UPLINK_RELEASE_CMD
@ BSS_MAP_MSG_UPLINK_RELEASE_CMD
Definition: gsm_08_08.h:148
NM_MT_REP_OUTST_ALARMS_ACK
@ NM_MT_REP_OUTST_ALARMS_ACK
Definition: gsm_12_21.h:163
GMM_CAUSE_ROAMING_NOTALLOWED
@ GMM_CAUSE_ROAMING_NOTALLOWED
Definition: gsm_04_08_gprs.h:208
do_mod
static uint8_t do_mod(uint8_t x, uint8_t m)
Definition: lapd_core.c:126
rslms_rx_rll_rel_req
static int rslms_rx_rll_rel_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:1059
NM_ATT_IPACC_RLC_CFG_2
@ NM_ATT_IPACC_RLC_CFG_2
Definition: gsm_12_21.h:454
NM_MT_DISC_TERR_SIGN_NACK
@ NM_MT_DISC_TERR_SIGN_NACK
Definition: gsm_12_21.h:112
GSM0464_CIPH_MAX_BLOCK
#define GSM0464_CIPH_MAX_BLOCK
Definition: gprs_cipher.h:10
GSM0480_MTYPE_RELEASE_COMPLETE
#define GSM0480_MTYPE_RELEASE_COMPLETE
Definition: gsm_04_80.h:7
GSM0808_IE_GLOBAL_CALL_REF
@ GSM0808_IE_GLOBAL_CALL_REF
Definition: gsm_08_08.h:283
gsm48_decode_signal
int gsm48_decode_signal(int *signal, const uint8_t *v)
Decode TS 04.08 Signal IE (10.5.4.23)
Definition: gsm48_ie.c:638
ussd_request
Definition: gsm0480.h:43
ipa_ccm_idtag_name
const char * ipa_ccm_idtag_name(uint8_t tag)
Definition: ipa.c:93
gsm48_range_128::w19
uint8_t w19
Definition: gsm_04_08.h:376
GSM0808_LCLS_STS_LOCALLY_SWITCHED
@ GSM0808_LCLS_STS_LOCALLY_SWITCHED
Definition: gsm_08_08.h:570
GSM0808_IE_CELL_IDENTIFIER_LIST
@ GSM0808_IE_CELL_IDENTIFIER_LIST
Definition: gsm_08_08.h:186
GA_MT_CSR_ACT_CHAN_COMPL
@ GA_MT_CSR_ACT_CHAN_COMPL
Definition: gsm_44_318.h:36
gsm48_range_256::w8_hi
uint8_t w8_hi
Definition: gsm_04_08.h:280
osmo_phsap_prim::u
union osmo_phsap_prim::@7 u
request-specific data
GSM0808_CAUSE_RESPONSE_TO_MSC_INVOCATION
@ GSM0808_CAUSE_RESPONSE_TO_MSC_INVOCATION
Definition: gsm_08_08.h:330
tch_ahs_7_95_state
static const uint8_t tch_ahs_7_95_state[][2]
Definition: gsm0503_conv.c:817
gsm0808_cell_id_list2::id_list_len
unsigned int id_list_len
Definition: gsm0808_utils.h:57
ph_rach_req_param::is_combined_ccch
uint8_t is_combined_ccch
Are we using a combined CCCH?
Definition: l1sap.h:47
GSM48_REJECT_SYNCH_FAILURE
@ GSM48_REJECT_SYNCH_FAILURE
Definition: gsm_04_08.h:1779
GSM0808_CAUSE_RQSTED_SPEECH_VERSION_UNAVAILABLE
@ GSM0808_CAUSE_RQSTED_SPEECH_VERSION_UNAVAILABLE
Definition: gsm_08_08.h:361
lapdm_entity_set_flags
void lapdm_entity_set_flags(struct lapdm_entity *le, unsigned int flags)
Set the flags of a LAPDm entity.
Definition: lapdm.c:1376
tch_ahs_6_7_puncture
static const int tch_ahs_6_7_puncture[]
Definition: gsm0503_conv.c:936
smcdatastate::rout
int(* rout)(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:486
tch_hr_puncture
static const int tch_hr_puncture[]
Definition: gsm0503_conv.c:793
gsm48_range_128::orig_arfcn_lo
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:353
NM_MT_SW_ACT_REQ
@ NM_MT_SW_ACT_REQ
Definition: gsm_12_21.h:96
msgb_tv_push
static uint8_t * msgb_tv_push(struct msgb *msg, uint8_t tag, uint8_t val)
push (prepend) a TV field to a msgb
Definition: tlv.h:346
osmo_a5_fn_count
static uint32_t osmo_a5_fn_count(uint32_t fn)
Converts a frame number into the 22 bit number used in A5/x.
Definition: a5.h:37
GSM48_MT_MM_CM_REEST_REQ
#define GSM48_MT_MM_CM_REEST_REQ
Definition: gsm_04_08.h:1460
gsm340_vp_relative_integer
static unsigned long gsm340_vp_relative_integer(uint8_t *sms_vp)
Definition: gsm0411_utils.c:186
gsm_time::fn
uint32_t fn
Definition: gsm_utils.h:47
lapdm_entity_set_mode
int lapdm_entity_set_mode(struct lapdm_entity *le, enum lapdm_mode mode)
Set the lapdm_mode of a LAPDm entity.
Definition: lapdm.c:1301
GSM48_IE_CALLING_BCD
#define GSM48_IE_CALLING_BCD
Definition: gsm_04_08.h:1565
GSM0808_CAUSE_CCCH_OVERLOAD
@ GSM0808_CAUSE_CCCH_OVERLOAD
Definition: gsm_08_08.h:349
GSM0808_PERM_FR1
@ GSM0808_PERM_FR1
GSM FR.
Definition: gsm_08_08.h:421
gsm48_range_512::w12_hi
uint8_t w12_hi
Definition: gsm_04_08.h:210
abis_nm_att_tlvdef
const struct tlv_definition abis_nm_att_tlvdef
GSM A-bis OML TLV parser definition.
Definition: abis_nm.c:519
tch_ahs_7_95_term_state
static const uint8_t tch_ahs_7_95_term_state[]
Definition: gsm0503_conv.c:831
LAPDm_LEN
#define LAPDm_LEN(len)
Definition: lapdm.c:82
GSM48_IE_NAME_LONG
#define GSM48_IE_NAME_LONG
Definition: gsm_04_08.h:1546
GSM411_MNSMS_EST_IND
#define GSM411_MNSMS_EST_IND
Definition: gsm0411_smc.h:25
osmo_gsup_pdp_info::context_id
unsigned int context_id
Definition: gsup.h:164
gsm48_decode_freq_list
int gsm48_decode_freq_list(struct gsm_sysinfo_freq *f, uint8_t *cd, uint8_t len, uint8_t mask, uint8_t frqt)
Decode TS 04.08 Cell Channel Description IE (10.5.2.1b) and other frequency lists.
Definition: gsm48_ie.c:814
gsm48_range_512::w12_lo
uint8_t w12_lo
Definition: gsm_04_08.h:211
abis_nm_no_ack_nack
enum abis_nm_msgtype abis_nm_no_ack_nack[3]
messages without ACK/NACK
Definition: abis_nm.c:52
NM_NACK_OBJCLASS_NOTSUPP
@ NM_NACK_OBJCLASS_NOTSUPP
Definition: gsm_12_21.h:605
osmo_phsap_prim::rach_req
struct ph_rach_req_param rach_req
Definition: l1sap.h:159
GSM48_MT_MM_CM_SERV_REQ
#define GSM48_MT_MM_CM_SERV_REQ
Definition: gsm_04_08.h:1458
gsm0808_dec_encrypt_info
int gsm0808_dec_encrypt_info(struct gsm0808_encrypt_info *ei, const uint8_t *elem, uint8_t len)
Decode TS 08.08 Encryption Information IE.
Definition: gsm0808_utils.c:538
BSS_MAP_MSG_HANDOVER_REQUIRED_REJECT
@ BSS_MAP_MSG_HANDOVER_REQUIRED_REJECT
Definition: gsm_08_08.h:68
GSM48_RR_CAUSE_PROT_ERROR_UNSPC
@ GSM48_RR_CAUSE_PROT_ERROR_UNSPC
Definition: gsm_04_08.h:1712
GSM_BAND_750
@ GSM_BAND_750
Definition: gsm_utils.h:61
LAPDm_SAPI_NORMAL
#define LAPDm_SAPI_NORMAL
Definition: lapdm.c:56
gsm0808_create_lcls_conn_ctrl_ack
struct msgb * gsm0808_create_lcls_conn_ctrl_ack(enum gsm0808_lcls_status status)
Create BSSMAP LCLS CONNECT CONTROL ACK message (TS 48.008 3.2.1.92).
Definition: gsm0808.c:310
NM_SEVER_MAJOR
@ NM_SEVER_MAJOR
Definition: gsm_12_21.h:582
GSM48_IE_FRQSHORT_BEFORE
#define GSM48_IE_FRQSHORT_BEFORE
Definition: gsm_04_08.h:1594
abis_mm_event_cause_names
const struct value_string abis_mm_event_cause_names[]
Definition: abis_nm.c:154
BSS_MAP_MSG_BLOCKING_ACKNOWLEDGE
@ BSS_MAP_MSG_BLOCKING_ACKNOWLEDGE
Definition: gsm_08_08.h:111
osmo_plmn_from_bcd
void osmo_plmn_from_bcd(const uint8_t *bcd_src, struct osmo_plmn_id *plmn)
Definition: gsm23003.c:211
GSM411_RP_CAUSE_MO_UNKNOWN_SUBSCR
@ GSM411_RP_CAUSE_MO_UNKNOWN_SUBSCR
Definition: gsm_04_11.h:75
GPRS_SERVICE_T_DATA
@ GPRS_SERVICE_T_DATA
Definition: gsm_04_08_gprs.h:404
gsm0503_mcs4
const struct osmo_conv_code gsm0503_mcs4
EDGE MCS-4 data convolutional code: 372 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G7 = ...
Definition: gsm0503_conv.c:1213
TE41
#define TE41(i)
Definition: aes_i.h:83
gprs_ra_id::lac
uint16_t lac
Definition: gsm48.h:24
lapdm_channel_init
void lapdm_channel_init(struct lapdm_channel *lc, enum lapdm_mode mode)
initialize a LAPDm channel and all its channels
Definition: lapdm.c:171
NM_ATT_SPEC_PROB
@ NM_ATT_SPEC_PROB
Definition: gsm_12_21.h:368
GSM48_MT_MM_ID_REQ
#define GSM48_MT_MM_ID_REQ
Definition: gsm_04_08.h:1450
CELL_IDENT_NO_CELL
@ CELL_IDENT_NO_CELL
Definition: gsm_08_08.h:20
gsm0808_handover_complete::codec_list_bss_supported
struct gsm0808_speech_codec_list codec_list_bss_supported
Definition: gsm0808.h:141
NM_ATT_IPACC_FREQ_CTRL
@ NM_ATT_IPACC_FREQ_CTRL
Definition: gsm_12_21.h:420
gsm48_range_512::w2_lo
uint8_t w2_lo
Definition: gsm_04_08.h:195
GSM_PCHAN_SDCCH8_SACCH8C
@ GSM_PCHAN_SDCCH8_SACCH8C
Definition: gsm_utils.h:207
rslms_rx_rll_res_req
static int rslms_rx_rll_res_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:1022
rsl_rll_push_hdr
void rsl_rll_push_hdr(struct msgb *msg, uint8_t msg_type, uint8_t chan_nr, uint8_t link_id, int transparent)
Push a RSL RLL header onto an existing msgb.
Definition: rsl.c:479
GMM_CAUSE_MS_ID_NOT_DERIVED
@ GMM_CAUSE_MS_ID_NOT_DERIVED
Definition: gsm_04_08_gprs.h:204
ms_class_gmsk_dbm
unsigned int ms_class_gmsk_dbm(enum gsm_band band, int class)
Convert power class to dBm according to GSM TS 05.05.
Definition: gsm_utils.c:493
tch_ahs_6_7_state
static const uint8_t tch_ahs_6_7_state[][2]
Definition: gsm0503_conv.c:912
gsm48_decode_cause
int gsm48_decode_cause(struct gsm_mncc_cause *cause, const uint8_t *lv)
Decode TS 04.08 Cause IE (10.5.4.11)
Definition: gsm48_ie.c:456
OSMO_GSUP_RES_IE
@ OSMO_GSUP_RES_IE
Definition: gsup.h:83
IPAC_IDTAG_UNITNAME
@ IPAC_IDTAG_UNITNAME
Definition: ipaccess.h:56
GSM48_MT_RR_PAG_REQ_3
#define GSM48_MT_RR_PAG_REQ_3
Definition: gsm_04_08.h:1385
gsm_mncc_facility::info
char info[GSM_MAX_FACILITY]
Definition: mncc.h:64
gsm0808_create_paging
struct msgb * gsm0808_create_paging(const char *imsi, const uint32_t *tmsi, const struct gsm0808_cell_id_list *cil, const uint8_t *chan_needed) OSMO_DEPRECATED("use gsm0808_create_paging2 instead")
DEPRECATED: Use gsm0808_create_paging2 instead.
Definition: gsm0808.c:653
cm2
struct gsm48_classmark2 cm2
Definition: gsm_04_08.h:709
rslms_rx_rll_est_req
static int rslms_rx_rll_est_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:850
NM_ATT_BCCH_ARFCN
@ NM_ATT_BCCH_ARFCN
Definition: gsm_12_21.h:327
GMM_CAUSE_NET_FAIL
@ GMM_CAUSE_NET_FAIL
Definition: gsm_04_08_gprs.h:212
GSM48_MT_RR_SYSINFO_20
#define GSM48_MT_RR_SYSINFO_20
Definition: gsm_04_08.h:1418
NM_ATT_BSIC
@ NM_ATT_BSIC
Definition: gsm_12_21.h:328
parse_ss_for_bs_req
static int parse_ss_for_bs_req(const uint8_t *ss_req_data, uint16_t length, struct ss_request *req)
Definition: gsm0480.c:767
GSM48_MT_GMM_RA_UPD_COMPL
#define GSM48_MT_GMM_RA_UPD_COMPL
Definition: gsm_04_08_gprs.h:21
lapdm_send_ph_data_req
static int lapdm_send_ph_data_req(struct lapd_msg_ctx *lctx, struct msgb *msg)
Definition: lapdm.c:476
gsm0808_handover_required::speech_version_used_present
bool speech_version_used_present
Definition: gsm0808.h:117
gsm0808_create_cipher_reject
struct msgb * gsm0808_create_cipher_reject(uint8_t cause)
Create BSSMAP Cipher Mode Reject message.
Definition: gsm0808.c:270
gsm48_range_512::orig_arfcn_hi
uint8_t orig_arfcn_hi
Definition: gsm_04_08.h:189
GSM48_IE_MA_BEFORE
#define GSM48_IE_MA_BEFORE
Definition: gsm_04_08.h:1614
gsm48_nc_ss_msgtype_names
const struct value_string gsm48_nc_ss_msgtype_names[]
TS 04.80, section 3.4 Messages for supplementary services control.
Definition: gsm48.c:949
GSM0808_ALG_ID_A5_4
@ GSM0808_ALG_ID_A5_4
Definition: gsm_08_08.h:461
GSM411_RP_CAUSE_MO_DEST_OUT_OF_ORDER
@ GSM411_RP_CAUSE_MO_DEST_OUT_OF_ORDER
Definition: gsm_04_11.h:72
gsm48_loc_area_id
Definition: gsm_04_08.h:785
GSM48_IE_CALLING_SUB
#define GSM48_IE_CALLING_SUB
Definition: gsm_04_08.h:1566
tlv.h
GSM0808_IE_AOIP_TRASP_ADDR
@ GSM0808_IE_AOIP_TRASP_ADDR
Definition: gsm_08_08.h:271
gsm48_range_256::orig_arfcn_lo
uint8_t orig_arfcn_lo
Definition: gsm_04_08.h:268
NM_ATT_IPACC_MONIT_VAL_LIST
@ NM_ATT_IPACC_MONIT_VAL_LIST
Definition: gsm_12_21.h:450
GSM0808_IE_APP_DATA
@ GSM0808_IE_APP_DATA
Definition: gsm_08_08.h:267
gsm48_range_256::w19
uint8_t w19
Definition: gsm_04_08.h:297
NM_STATE_NULL
@ NM_STATE_NULL
Definition: gsm_12_21.h:523
NM_ATT_MEAS_TYPE
@ NM_ATT_MEAS_TYPE
Definition: gsm_12_21.h:391
GSM_CAUSE_INVALID_TRANS_ID
@ GSM_CAUSE_INVALID_TRANS_ID
Definition: gsm_04_08_gprs.h:252
BSS_MAP_MSG_ASSIGMENT_COMPLETE
@ BSS_MAP_MSG_ASSIGMENT_COMPLETE
Definition: gsm_08_08.h:53
gsm0503_mcs5_ul_hdr
const struct osmo_conv_code gsm0503_mcs5_ul_hdr
EDGE MCS-5 UL header convolutional code: 51 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G...
Definition: gsm0503_conv.c:1244
Td4
const u32 Td4[256]
gsm340_scts
time_t gsm340_scts(uint8_t *scts)
Decode 03.40 TP-SCTS (into utc/gmt timestamp)
Definition: gsm0411_utils.c:113
NM_EVT_COMM_FAIL
@ NM_EVT_COMM_FAIL
Definition: gsm_12_21.h:571
GSM48_MT_RR_SYSINFO_5
#define GSM48_MT_RR_SYSINFO_5
Definition: gsm_04_08.h:1401
gsm0503_mcs5_dl_hdr
const struct osmo_conv_code gsm0503_mcs5_dl_hdr
EDGE MCS-5 DL header convolutional code: 39 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G...
Definition: gsm0503_conv.c:1228
osmo_location_area_id::plmn
struct osmo_plmn_id plmn
Definition: gsm23003.h:17
ms_pwr_ctl_lvl
int ms_pwr_ctl_lvl(enum gsm_band band, unsigned int dbm)
determine power control level for given dBm value, as indicated by the tables in chapter 4....
Definition: gsm_utils.c:538
GSM0808_IE_GANSS_POSITIONING_DATA
@ GSM0808_IE_GANSS_POSITIONING_DATA
Definition: gsm_08_08.h:265
gprs_cs_desc::bytes
uint8_t bytes
Definition: gprs_rlc.c:123
NM_OC_BS11_HANDOVER
@ NM_OC_BS11_HANDOVER
Definition: gsm_12_21.h:302
tch_afs_4_75_term_state
static const uint8_t tch_afs_4_75_term_state[]
Definition: gsm0503_conv.c:696
CR_NET2USER_RESP
#define CR_NET2USER_RESP
Definition: lapd_core.c:104
egprs_cps_table_type1
static const struct egprs_cps egprs_cps_table_type1[EGPRS_CPS_TYPE1_TBL_SZ]
Definition: gprs_rlc.c:25
GSM_CAUSE_QOS_NOT_ACCEPTED
@ GSM_CAUSE_QOS_NOT_ACCEPTED
Definition: gsm_04_08_gprs.h:248
tch_afs_12_2_output
static const uint8_t tch_afs_12_2_output[][2]
Definition: gsm0503_conv.c:228
LAPDm_ADDR_EA
#define LAPDm_ADDR_EA(addr)
Definition: lapdm.c:63
gsm48_range_512::w14
uint8_t w14
Definition: gsm_04_08.h:214
gsup.h
gsm_mncc_bearer_cap::speech_ver
int speech_ver[8]
Definition: mncc.h:18
selected_auths
static struct osmo_auth_impl * selected_auths[_OSMO_AUTH_ALG_NUM]
Definition: auth_core.c:43
osmo_match_shift_tlv
int osmo_match_shift_tlv(uint8_t **data, size_t *data_len, uint8_t tag, uint8_t **value, size_t *value_len)
Verify TLV header and advance data / subtract length.
Definition: tlv_parser.c:435
NM_MT_LOAD_INIT
@ NM_MT_LOAD_INIT
Definition: gsm_12_21.h:87
GSM_PCHAN_NONE
@ GSM_PCHAN_NONE
Definition: gsm_utils.h:202
GSM0808_SC_CFG_DEFAULT_HR_AMR
@ GSM0808_SC_CFG_DEFAULT_HR_AMR
Definition: gsm_08_08.h:499
NM_OC_RADIO_CARRIER
@ NM_OC_RADIO_CARRIER
Definition: gsm_12_21.h:291
NM_ATT_RAD_SUBC
@ NM_ATT_RAD_SUBC
Definition: gsm_12_21.h:363
gsm48_decode_called
int gsm48_decode_called(struct gsm_mncc_number *called, const uint8_t *lv)
Decode TS 04.08 Called Party BCD Number IE (10.5.4.7)
Definition: gsm48_ie.c:343
GSM0480_OP_CODE_FORWARD_CUG_INFO
#define GSM0480_OP_CODE_FORWARD_CUG_INFO
Definition: gsm_04_80.h:83
ipa.h
GSM0808_SC_CFG_DEFAULT_OHR_AMR_WB
@ GSM0808_SC_CFG_DEFAULT_OHR_AMR_WB
Definition: gsm_08_08.h:503
RSL_MT_ERROR_IND
@ RSL_MT_ERROR_IND
Definition: gsm_08_58.h:89
abis_nm_avail_name
const char * abis_nm_avail_name(uint8_t avail)
Get human-readable string for OML Availability State.
Definition: abis_nm.c:657
GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL
@ GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:222
gsm48_range_1024::f0
uint8_t f0
Definition: gsm_04_08.h:118
ABIS_OM_MDISC_MANUF
#define ABIS_OM_MDISC_MANUF
Message Discriminator for Manufacturer Specific Messages.
Definition: gsm_12_21.h:55
gsm341_ms_message::code_hi
uint8_t code_hi
Definition: gsm_03_41.h:29
msg_type
uint8_t msg_type
Definition: gsm_04_08.h:710
gsm0808_cell_id_u::global
struct osmo_cell_global_id global
Definition: gsm0808_utils.h:40
osmo_gprs_ul_block_size_bytes
int osmo_gprs_ul_block_size_bytes(enum osmo_gprs_cs cs)
Return size of (E)GPRS uplink block for given coding scheme in bytes.
Definition: gprs_rlc.c:163
_a5_12_majority
static uint32_t _a5_12_majority(uint32_t v1, uint32_t v2, uint32_t v3)
Compute majority bit from 3 taps.
Definition: a5.c:141
gsm_08_58.h
GPRS_SERVICE_T_SIGNALLING
@ GPRS_SERVICE_T_SIGNALLING
Definition: gsm_04_08_gprs.h:403
_comp128v23_internal
static void _comp128v23_internal(uint8_t *output, const uint8_t *kxor, const uint8_t *rand)
Definition: comp128v23.c:75
osmo_auth_vector::ck
uint8_t ck[16]
ciphering key
Definition: auth.h:63
gsm_mncc_bearer_cap::mode
int mode
Definition: mncc.h:14
lapdm_entity::ta
uint8_t ta
Definition: lapdm.h:66
gsm48_range_512::w9_hi
uint8_t w9_hi
Definition: gsm_04_08.h:206
GSM0808_IE_LCS_CAUSE
@ GSM0808_IE_LCS_CAUSE
Definition: gsm_08_08.h:228
GSM411_RP_CAUSE_MO_NUM_UNASSIGNED
@ GSM411_RP_CAUSE_MO_NUM_UNASSIGNED
Definition: gsm_04_11.h:68
parse_cell_id_global_list
static int parse_cell_id_global_list(struct gsm0808_cell_id_list2 *cil, const uint8_t *data, size_t remain, size_t *consumed)
Definition: gsm0808_utils.c:691
bcd_num_digits
static const char bcd_num_digits[]
Definition: gsm48_ie.c:44
GSM_CAUSE_INV_MAND_INFO
@ GSM_CAUSE_INV_MAND_INFO
Definition: gsm_04_08_gprs.h:254
gsm0808_create_ass
struct msgb * gsm0808_create_ass(const struct gsm0808_channel_type *ct, const uint16_t *cic, const struct sockaddr_storage *ss, const struct gsm0808_speech_codec_list *scl, const uint32_t *ci)
Create BSSMAP Assignment Request message.
Definition: gsm0808.c:396
DCS_UCS2
@ DCS_UCS2
Definition: gsm_04_11.h:115
gsm_freq_range::flags
uint16_t flags
Definition: gsm_utils.c:746
GPRS_ALGO_GEA2
@ GPRS_ALGO_GEA2
Definition: gprs_cipher.h:16
NM_MT_CHANGEOVER
@ NM_MT_CHANGEOVER
Definition: gsm_12_21.h:166
gsm341_ms_message::language
uint8_t language
Definition: gsm_03_41.h:41
GSM_CAUSE_IE_NOTEXIST_NOTIMPL
@ GSM_CAUSE_IE_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:257
RSL_IE_MS_POWER
@ RSL_IE_MS_POWER
Definition: gsm_08_58.h:226
osmo_gsup_message::pdp_charg_enc_len
size_t pdp_charg_enc_len
Definition: gsup.h:205
abis_nm_msgtype
abis_nm_msgtype
OML Message Type (Section 9.1)
Definition: gsm_12_21.h:85
GSM0808_SCT_HR3
@ GSM0808_SCT_HR3
HR_AMR.
Definition: gsm_08_08.h:445
GSM0808_IE_LOCATION_TYPE
@ GSM0808_IE_LOCATION_TYPE
Definition: gsm_08_08.h:225
NM_NACK_MSGTYPE_INVAL
@ NM_NACK_MSGTYPE_INVAL
Definition: gsm_12_21.h:603
gsm_7bit_encode_oct
int gsm_7bit_encode_oct(uint8_t *result, const char *data, int *octets)
Definition: gsm_utils.c:970
GSM414_MT_OPEN_LOOP_CMD
#define GSM414_MT_OPEN_LOOP_CMD
Definition: gsm_04_14.h:23
tch_afs_5_9_output
static const uint8_t tch_afs_5_9_output[][2]
Definition: gsm0503_conv.c:536
PRIM_PH_DATA
@ PRIM_PH_DATA
PH-DATA.
Definition: l1sap.h:9
GSM0808_IE_CLASSMARK_INFORMATION_T2
@ GSM0808_IE_CLASSMARK_INFORMATION_T2
Definition: gsm_08_08.h:178
GSM_CAUSE_ACT_REJ_GGSN
@ GSM_CAUSE_ACT_REJ_GGSN
Definition: gsm_04_08_gprs.h:241
BTS_FEAT_SPEECH_F_EFR
@ BTS_FEAT_SPEECH_F_EFR
Definition: bts_features.h:23
gsm48_hdr_msg_type
#define gsm48_hdr_msg_type
Definition: gsm_04_08.h:1346
gsm411_smr_inst
Definition: gsm0411_smr.h:16
NM_MT_CONN_TERR_TRAF
@ NM_MT_CONN_TERR_TRAF
Definition: gsm_12_21.h:113
GSM0808_IE_TALKER_IDENTITY
@ GSM0808_IE_TALKER_IDENTITY
Definition: gsm_08_08.h:255
parse_ss_invoke
static int parse_ss_invoke(const uint8_t *invoke_data, uint16_t length, struct ss_request *req)
Definition: gsm0480.c:558
osmo_auth_impl::list
struct llist_head list
Definition: auth.h:74
BSS_MAP_MSG_CIPHER_MODE_REJECT
@ BSS_MAP_MSG_CIPHER_MODE_REJECT
Definition: gsm_08_08.h:132
LAPDm_ADDR_CR
#define LAPDm_ADDR_CR(addr)
Definition: lapdm.c:62
gsm411_mnsms_data_ind_tx
static int gsm411_mnsms_data_ind_tx(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:291
abis_rsl_rll_hdr::data
uint8_t data[0]
message payload data
Definition: gsm_08_58.h:46
gsm0808_old_bss_to_new_bss_info::mode
uint8_t mode
Definition: gsm0808.h:101
abis_nm_pchan4chcomb
enum gsm_phys_chan_config abis_nm_pchan4chcomb(uint8_t chcomb)
Obtain physical channel config for OML Channel Combination.
Definition: abis_nm.c:921
MDL_CAUSE_SABM_INFO_NOTALL
#define MDL_CAUSE_SABM_INFO_NOTALL
Definition: lapd_core.h:43
osmo_gsup_message::pdp_info_compl
int pdp_info_compl
Definition: gsup.h:191
gprs_cipher_names
const struct value_string gprs_cipher_names[]
Definition: gprs_cipher_core.c:45
IPAC_IDTAG_MACADDR
@ IPAC_IDTAG_MACADDR
Definition: ipaccess.h:62
GSM48_RR_CAUSE_ABNORMAL_NOACT
@ GSM48_RR_CAUSE_ABNORMAL_NOACT
Definition: gsm_04_08.h:1700
GSM411_MT_CP_ACK
#define GSM411_MT_CP_ACK
Definition: gsm_04_11.h:30
LAPDm_FMT_Bter
@ LAPDm_FMT_Bter
Definition: lapdm.c:113
GSM48_REJECT_RQD_SRV_OPT_NOT_SUPPORTED
@ GSM48_REJECT_RQD_SRV_OPT_NOT_SUPPORTED
Definition: gsm_04_08.h:1782
GSM48_IE_CALLED_SUB
#define GSM48_IE_CALLED_SUB
Definition: gsm_04_08.h:1568
gsm0808_dec_aoip_trasp_addr
int gsm0808_dec_aoip_trasp_addr(struct sockaddr_storage *ss, const uint8_t *elem, uint8_t len)
GSM_CAUSE_MBMS_CAP_INSUF
@ GSM_CAUSE_MBMS_CAP_INSUF
Definition: gsm_04_08_gprs.h:235
lapd_msg_ctx::more
uint8_t more
Definition: lapd_core.h:109
gsm48_range_512::w1_hi
uint8_t w1_hi
Definition: gsm_04_08.h:192
abis_rsl_cchan_hdr::chan_nr
uint8_t chan_nr
RSL channel number (value)
Definition: gsm_08_58.h:61
gsm0503_tch_ahs_6_7
const struct osmo_conv_code gsm0503_tch_ahs_6_7
TCH/AHS 6.7 kbits convolutional code.
Definition: gsm0503_conv.c:946
gsm0808_cell_id_discr_names
const struct value_string gsm0808_cell_id_discr_names[]
value_string[] for enum CELL_IDENT.
Definition: gsm0808_utils.c:1196
GSM0808_CAUSE_REDUCE_LOAD_IN_SERVING_CELL
@ GSM0808_CAUSE_REDUCE_LOAD_IN_SERVING_CELL
Definition: gsm_08_08.h:338
TE44
#define TE44(i)
Definition: aes_i.h:86
NM_NACK_MEAS_NOTSTART
@ NM_NACK_MEAS_NOTSTART
Definition: gsm_12_21.h:634
NM_MT_GET_ATTR_RESP
@ NM_MT_GET_ATTR_RESP
Definition: gsm_12_21.h:188
SMCDATASLLEN
#define SMCDATASLLEN
Definition: gsm0411_smc.c:521
aes_decrypt_deinit
void aes_decrypt_deinit(void *ctx)
IPAC_IDTAG_LOCATION1
@ IPAC_IDTAG_LOCATION1
Definition: ipaccess.h:57
NM_MT_STOP_EVENT_REP_ACK
@ NM_MT_STOP_EVENT_REP_ACK
Definition: gsm_12_21.h:151
send_rslms_dlsap
static int send_rslms_dlsap(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapdm.c:426
decode_pdp_info
static int decode_pdp_info(uint8_t *data, size_t data_len, struct osmo_gsup_pdp_info *pdp_info)
Definition: gsup.c:104
gsm48_range_128::w28
uint8_t w28
Definition: gsm_04_08.h:387
gsm411_mnsms_est_req
static int gsm411_mnsms_est_req(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:162
LAPD_STATE_SABM_SENT
@ LAPD_STATE_SABM_SENT
Definition: lapd_core.h:78
gsm48_range_128
Definition: gsm_04_08.h:349
N201_AB_SDCCH
#define N201_AB_SDCCH
Definition: lapdm.c:90
aes_encrypt
void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt)
Definition: aes-internal-enc.c:114
gsm_mncc_ssversion::len
int len
Definition: mncc.h:68
osmo_auth_impl::priority
unsigned int priority
priority value (resp.
Definition: auth.h:77
GSM48_MT_CC_STOP_DTMF_ACK
#define GSM48_MT_CC_STOP_DTMF_ACK
Definition: gsm_04_08.h:1502
lapd_datalink::v_range
uint8_t v_range
range of sequence numbers
Definition: lapd_core.h:140
osmo_sub_auth_data::gsm
struct osmo_sub_auth_data::@37::@39 gsm
GSM0808_IE_MSISDN
@ GSM0808_IE_MSISDN
Definition: gsm_08_08.h:270
RSL_MT_EST_REQ
@ RSL_MT_EST_REQ
Definition: gsm_08_58.h:90
NM_ATT_IPACC_RAC
@ NM_ATT_IPACC_RAC
Definition: gsm_12_21.h:439
smrdatastate::states
uint32_t states
Definition: gsm0411_smr.c:430
NM_OPSTATE_ENABLED
@ NM_OPSTATE_ENABLED
Definition: gsm_12_21.h:540
gsm48_range_256::w20_hi
uint8_t w20_hi
Definition: gsm_04_08.h:298
prim.h
ipaccess_head::len
uint16_t len
Definition: ipaccess.h:11
OSMO_GSUP_PDP_QOS_IE
@ OSMO_GSUP_PDP_QOS_IE
Definition: gsup.h:73
smrdatastate
Definition: gsm0411_smr.c:429
GSM48_MT_RR_SYSINFO_6
#define GSM48_MT_RR_SYSINFO_6
Definition: gsm_04_08.h:1402
OSMO_AUTH_ALG_COMP128v3
@ OSMO_AUTH_ALG_COMP128v3
Definition: auth.h:32
BSS_MAP_MSG_UNBLOCK
@ BSS_MAP_MSG_UNBLOCK
Definition: gsm_08_08.h:112
LAPDm_CTRL_PF_BIT
#define LAPDm_CTRL_PF_BIT(ctrl)
Definition: lapdm.c:75
abis_rsl_cchan_hdr
Definition: gsm_08_58.h:58
RSL_IE_RELEASE_MODE
@ RSL_IE_RELEASE_MODE
Definition: gsm_08_58.h:233
gsm414_msgt_names
const struct value_string gsm414_msgt_names[]
Definition: gsm0414.c:6
ipaccess_unit
Definition: ipa.h:13
BSS_MAP_MSG_RESET_ACKNOWLEDGE
@ BSS_MAP_MSG_RESET_ACKNOWLEDGE
Definition: gsm_08_08.h:98
rp_timer_expired
static void rp_timer_expired(void *data)
Definition: gsm0411_smr.c:362
gsm0341_build_msg
struct gsm341_ms_message * gsm0341_build_msg(void *ctx, uint8_t geo_scope, uint8_t msg_code, uint8_t update, uint16_t msg_id, uint8_t dcs, uint8_t page_total, uint8_t page_cur, uint8_t *data, uint8_t len)
Encode a 3GPP TS 03.41 SMS-CB message.
Definition: gsm0341.c:50
osmo_sub_auth_data::algo
enum osmo_auth_algo algo
Definition: auth.h:41
gsm48_range_256::orig_arfcn_mid
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:267
GPRS_SERVICE_T_MBMS_BC_SERV
@ GPRS_SERVICE_T_MBMS_BC_SERV
Definition: gsm_04_08_gprs.h:407
GSM_BAND_1800
@ GSM_BAND_1800
Definition: gsm_utils.h:57
rr_cause_name
const char * rr_cause_name(uint8_t cause)
return string representation of RR Cause value
Definition: gsm48.c:180
GSM48_MT_GMM_DETACH_REQ
#define GSM48_MT_GMM_DETACH_REQ
Definition: gsm_04_08_gprs.h:16
osmo_sub_auth_data::u
union osmo_sub_auth_data::@37 u
BSS_MAP_MSG_RESET_CIRCUIT
@ BSS_MAP_MSG_RESET_CIRCUIT
Definition: gsm_08_08.h:101
GSM0808_SC_CFG_DEFAULT_FR_AMR_WB
@ GSM0808_SC_CFG_DEFAULT_FR_AMR_WB
Definition: gsm_08_08.h:501
A5_R1_MASK
#define A5_R1_MASK
Definition: a5.c:110
GSM0480_CTYPE_REJECT
#define GSM0480_CTYPE_REJECT
Definition: gsm_04_80.h:19
GSM48_REJECT_SRV_OPT_TMP_OUT_OF_ORDER
@ GSM48_REJECT_SRV_OPT_TMP_OUT_OF_ORDER
Definition: gsm_04_08.h:1783
osmo_lac_and_ci_id
Definition: gsm23003.h:35
NM_MT_REINIT
@ NM_MT_REINIT
Definition: gsm_12_21.h:172
lapd_stop_t200
static void lapd_stop_t200(struct lapd_datalink *dl)
Definition: lapd_core.c:218
BSS_MAP_MSG_CIRCUIT_GROUP_UNBLOCK
@ BSS_MAP_MSG_CIRCUIT_GROUP_UNBLOCK
Definition: gsm_08_08.h:116
lapdm_msg_ctx
LAPDm message context.
Definition: lapdm.h:19
lapdm_mode
lapdm_mode
LAPDm mode/role.
Definition: lapdm.h:11
GSM_CAUSE_COND_IE_ERR
@ GSM_CAUSE_COND_IE_ERR
Definition: gsm_04_08_gprs.h:258
mdl_error_ind_param::cause
uint8_t cause
generic cause value
Definition: lapd_core.h:48
gsm0503_mcs7_dl_hdr
const struct osmo_conv_code gsm0503_mcs7_dl_hdr
EDGE MCS-7 DL header convolutional code: 51 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G...
Definition: gsm0503_conv.c:1290
GSM411_CP_CAUSE_INV_TRANS_ID
@ GSM411_CP_CAUSE_INV_TRANS_ID
Definition: gsm_04_11.h:42
IPAC_IDTAG_UNIT
@ IPAC_IDTAG_UNIT
Definition: ipaccess.h:63
gsm0808_speech_codec_list::codec
struct gsm0808_speech_codec codec[SPEECH_CODEC_MAXLEN]
Definition: gsm_08_08.h:509
GSM411_SM_RL_REPORT_REQ
#define GSM411_SM_RL_REPORT_REQ
Definition: gsm0411_smr.h:13
s
uint8_t s
Definition: gsm_08_58.h:13
_kasumi_key_expand
void _kasumi_key_expand(const uint8_t *key, uint16_t *KLi1, uint16_t *KLi2, uint16_t *KOi1, uint16_t *KOi2, uint16_t *KOi3, uint16_t *KIi1, uint16_t *KIi2, uint16_t *KIi3)
Expand key into set of subkeys - see TS 135 202 for details.
Definition: kasumi.c:138
tch_afs_6_7_term_state
static const uint8_t tch_afs_6_7_term_state[]
Definition: gsm0503_conv.c:475
A5_R1_LEN
#define A5_R1_LEN
Definition: a5.c:105
os_free
#define os_free(x)
Definition: common.h:16
RSL_MT_CHAN_CONF
@ RSL_MT_CHAN_CONF
Definition: gsm_08_58.h:111
lapd_start_t203
static void lapd_start_t203(struct lapd_datalink *dl)
Definition: lapd_core.c:210
GSM0808_IE_CURRENT_CHANNEL_TYPE_1
@ GSM0808_IE_CURRENT_CHANNEL_TYPE_1
Definition: gsm_08_08.h:209
gsm411_rl_report_req
static int gsm411_rl_report_req(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:229
LAPDm_ADDR
#define LAPDm_ADDR(lpd, sapi, cr)
Definition: lapdm.c:58
gsm0808_cell_id_list2::id_discr
enum CELL_IDENT id_discr
Definition: gsm0808_utils.h:55
tch_ahs_7_4_term_state
static const uint8_t tch_ahs_7_4_term_state[]
Definition: gsm0503_conv.c:879
gsm_mncc_number::screen
int screen
Definition: mncc.h:37
NM_OC_BS11_TEST
@ NM_OC_BS11_TEST
Definition: gsm_12_21.h:307
N200
#define N200
Definition: lapdm.c:107
msgb_tv_fixed_put
static uint8_t * msgb_tv_fixed_put(struct msgb *msg, uint8_t tag, unsigned int len, const uint8_t *val)
put (append) a TVfixed field to a msgb
Definition: tlv.h:312
gprs_att_t_strs_
const struct value_string gprs_att_t_strs_[]
String names of GPRS Attach types according to 10.5.5.2.
Definition: gsm_04_08_gprs.c:175
PRIM_DL_DATA
@ PRIM_DL_DATA
DL-DATA.
Definition: lapd_core.h:20
__attribute__
static __attribute__((constructor))
Definition: gprs_gea.c:48
GSM0808_CAUSE_INT_HO_ENQUIRY_REJECT
@ GSM0808_CAUSE_INT_HO_ENQUIRY_REJECT
Definition: gsm_08_08.h:344
IPAC_MSGT_ID_GET
@ IPAC_MSGT_ID_GET
Definition: ipaccess.h:46
A51_R3_CLKBIT
#define A51_R3_CLKBIT
Definition: a5.c:165
c128v3_gen_vec
static int c128v3_gen_vec(struct osmo_auth_vector *vec, struct osmo_sub_auth_data *aud, const uint8_t *_rand)
Definition: auth_comp128v23.c:52
osmo_gsup_message::msisdn_enc
const uint8_t * msisdn_enc
Definition: gsup.h:197
GSM48_IE_FACILITY
#define GSM48_IE_FACILITY
Definition: gsm_04_08.h:1557
NM_ATT_CCCH_L_I_P
@ NM_ATT_CCCH_L_I_P
Definition: gsm_12_21.h:330
GSM0808_CHAN_SIGN
@ GSM0808_CHAN_SIGN
Definition: gsm_08_08.h:391
gprs_cipher_gen_input_ui
uint32_t gprs_cipher_gen_input_ui(uint32_t iov_ui, uint8_t sapi, uint32_t lfn, uint32_t oc)
Definition: gprs_cipher_core.c:127
GSM48_MT_RR_SYSINFO_18
#define GSM48_MT_RR_SYSINFO_18
Definition: gsm_04_08.h:1416
GSM48_MT_RR_CDMA2K_CLSM_CHG
#define GSM48_MT_RR_CDMA2K_CLSM_CHG
Definition: gsm_04_08.h:1392
gprs_cipher_impl::list
struct llist_head list
Definition: gprs_cipher.h:32
gsm0503_tch_ahs_5_15
const struct osmo_conv_code gsm0503_tch_ahs_5_15
TCH/AHS 5.15 kbits convolutional code.
Definition: gsm0503_conv.c:1038
GA_MT_CSR_HO_INFO
@ GA_MT_CSR_HO_INFO
Definition: gsm_44_318.h:48
GMM_CAUSE_SYNC_FAIL
@ GMM_CAUSE_SYNC_FAIL
Definition: gsm_04_08_gprs.h:214
gsm48_range_256::w5_hi
uint8_t w5_hi
Definition: gsm_04_08.h:275
send_rslms_rll_l3_ui
static int send_rslms_rll_l3_ui(struct lapdm_msg_ctx *mctx, struct msgb *msg)
Definition: lapdm.c:385
GSM48_MT_RR_NOTIF_RESP
#define GSM48_MT_RR_NOTIF_RESP
Definition: gsm_04_08.h:1389
GSM48_IE_SS_VERS
#define GSM48_IE_SS_VERS
Definition: gsm_04_08.h:1574
GSM48_MT_RR_SYSINFO_9
#define GSM48_MT_RR_SYSINFO_9
Definition: gsm_04_08.h:1410
GSM340_TP_VPF_NONE
#define GSM340_TP_VPF_NONE
Definition: gsm_04_11.h:133
GSM411_MT_RP_ERROR_MO
#define GSM411_MT_RP_ERROR_MO
Definition: gsm_04_11.h:56
GSM411_CPS_MM_CONN_PENDING
@ GSM411_CPS_MM_CONN_PENDING
Definition: gsm_04_11.h:12
gsm0503_sch
const struct osmo_conv_code gsm0503_sch
SCH convolutional code.
Definition: gsm0503_conv.c:122
NM_MT_OPSTART
@ NM_MT_OPSTART
Definition: gsm_12_21.h:169
gsm48_range_1024::w9
uint8_t w9
Definition: gsm_04_08.h:135
OSMO_AUTH_TYPE_UMTS
@ OSMO_AUTH_TYPE_UMTS
Definition: auth.h:19
gsm0808_encrypt_info::perm_algo
uint8_t perm_algo[ENCRY_INFO_PERM_ALGO_MAXLEN]
Definition: gsm_08_08.h:526
GSM0808_CAUSE_DIRECTED_RETRY
@ GSM0808_CAUSE_DIRECTED_RETRY
Definition: gsm_08_08.h:335
gsm411_rp_state_names
const struct value_string gsm411_rp_state_names[]
Definition: gsm0411_smr.c:495
GA_PDISC_RC
@ GA_PDISC_RC
Definition: gsm_44_318.h:10
gsm_rx_lev_qual::rx_lev
uint8_t rx_lev
Definition: meas_rep.h:10
BSS_MAP_MSG_HANDOVER_COMPLETE
@ BSS_MAP_MSG_HANDOVER_COMPLETE
Definition: gsm_08_08.h:62
abis_nm_severity
abis_nm_severity
Perceived Severity (Section: 9.4.63)
Definition: gsm_12_21.h:579
ABIS_OM_MDISC_FOM
#define ABIS_OM_MDISC_FOM
Message Discriminator for Formatted Object Messages.
Definition: gsm_12_21.h:49
GSM411_MT_RP_SMMA_MO
#define GSM411_MT_RP_SMMA_MO
Definition: gsm_04_11.h:58
NM_MT_DISC_TERR_TRAF_ACK
@ NM_MT_DISC_TERR_TRAF_ACK
Definition: gsm_12_21.h:117
NM_MT_LOAD_INIT_ACK
@ NM_MT_LOAD_INIT_ACK
Definition: gsm_12_21.h:88
gsm0503_mcs1
const struct osmo_conv_code gsm0503_mcs1
EDGE MCS-1 data convolutional code: 196 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G7 = ...
Definition: gsm0503_conv.c:1168
gsm48_req_ref::t3_low
uint8_t t3_low
Definition: gsm_04_08.h:650
IPAC_MSGT_PONG
@ IPAC_MSGT_PONG
Definition: ipaccess.h:45
GSM48_MT_CC_RECALL
#define GSM48_MT_CC_RECALL
Definition: gsm_04_08.h:1477
lapd_dl_flush_send
static void lapd_dl_flush_send(struct lapd_datalink *dl)
Definition: lapd_core.c:146
BSS_MAP_MSG_ASSIGMENT_RQST
@ BSS_MAP_MSG_ASSIGMENT_RQST
Definition: gsm_08_08.h:52
GSM48_MT_MM_INFO
#define GSM48_MT_MM_INFO
Definition: gsm_04_08.h:1465
BSS_MAP_MSG_UPLINK_SEIZED_CMD
@ BSS_MAP_MSG_UPLINK_SEIZED_CMD
Definition: gsm_08_08.h:149
BSS_MAP_MSG_HANDOVER_REQUIRED
@ BSS_MAP_MSG_HANDOVER_REQUIRED
Definition: gsm_08_08.h:59
BSS_MAP_MSG_LCLS_NOTIFICATION
@ BSS_MAP_MSG_LCLS_NOTIFICATION
Definition: gsm_08_08.h:157
GSM48_IE_CLIR_SUPP
#define GSM48_IE_CLIR_SUPP
Definition: gsm_04_08.h:1576
NM_OC_BS11_BPORT
@ NM_OC_BS11_BPORT
Definition: gsm_12_21.h:309
gsm0808_create_layer3_aoip
struct msgb * gsm0808_create_layer3_aoip(const struct msgb *msg_l3, uint16_t nc, uint16_t cc, int lac, uint16_t _ci, const struct gsm0808_speech_codec_list *scl) OSMO_DEPRECATED("Use gsm0808_create_layer3_2() instead
Create "Complete L3 Info" for AoIP, legacy implementation.
Definition: gsm0808.c:49
gsm0808_create_classmark_update
struct msgb * gsm0808_create_classmark_update(const uint8_t *cm2, uint8_t cm2_len, const uint8_t *cm3, uint8_t cm3_len)
Create BSSMAP Classmark Update message.
Definition: gsm0808.c:351
abis_nm_get_sw_conf
int abis_nm_get_sw_conf(const uint8_t *buf, size_t buf_len, struct abis_nm_sw_desc *sw, uint16_t sw_len)
Parse 3GPP TS 52.021 §9.4.61 SW Configuration from buffer.
Definition: abis_nm.c:892
L2DOWNSLLEN
#define L2DOWNSLLEN
Definition: lapd_core.c:2206
gsm48_range_128::w25
uint8_t w25
Definition: gsm_04_08.h:383
GSM0808_CAUSE_INCORRECT_VALUE
@ GSM0808_CAUSE_INCORRECT_VALUE
Definition: gsm_08_08.h:377
lapd_rx_i
static int lapd_rx_i(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1494
GSM_MI_TYPE_IMSI
#define GSM_MI_TYPE_IMSI
Definition: gsm_04_08.h:1539
tch_ahs_5_9_puncture
static const int tch_ahs_5_9_puncture[]
Definition: gsm0503_conv.c:981
GA_MT_CSR_CLEAR_REQ
@ GA_MT_CSR_CLEAR_REQ
Definition: gsm_44_318.h:43
BTS_FEAT_SPEECH_F_V1
@ BTS_FEAT_SPEECH_F_V1
Definition: bts_features.h:21
GSM0808_LCLS_STS_NOT_YET_LS
@ GSM0808_LCLS_STS_NOT_YET_LS
Definition: gsm_08_08.h:566
smrdatastate::name
const char * name
Definition: gsm0411_smr.c:432
gsm411_smr_recv
int gsm411_smr_recv(struct gsm411_smr_inst *inst, int msg_type, struct msgb *msg)
Definition: gsm0411_smr.c:464
osmo_gsup_message::freeze_ptmsi
int freeze_ptmsi
Definition: gsup.h:192
gsm48_range_1024::w4_lo
uint8_t w4_lo
Definition: gsm_04_08.h:126
ipaccess.h
GSM48_MT_RR_SYSINFO_16
#define GSM48_MT_RR_SYSINFO_16
Definition: gsm_04_08.h:1413
gsm341_ms_message::page
struct gsm341_ms_message::@16 page
GSM414_MT_CLOSE_TCH_LOOP_ACK
#define GSM414_MT_CLOSE_TCH_LOOP_ACK
Definition: gsm_04_14.h:22
OSMO_GSUP_MSGT_PROC_SS_ERROR
@ OSMO_GSUP_MSGT_PROC_SS_ERROR
Definition: gsup.h:122
tlv_parsed
result of the TLV parser
Definition: tlv.h:424
mi
uint8_t mi[0]
Definition: gsm_04_08.h:717
gsm0808_handover_complete
Definition: gsm0808.h:134
chan_desc
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:632
GSM48_MT_GMM_RA_UPD_ACK
#define GSM48_MT_GMM_RA_UPD_ACK
Definition: gsm_04_08_gprs.h:20
_kasumi_kgcore
void _kasumi_kgcore(uint8_t CA, uint8_t cb, uint32_t cc, uint8_t cd, const uint8_t *ck, uint8_t *co, uint16_t cl)
Implementation of the KGCORE algorithm (used by A5/3, A5/4, GEA3, GEA4 and ECSD)
Definition: kasumi.c:163
gsm411_tx_cp_error
static int gsm411_tx_cp_error(struct gsm411_smc_inst *inst, uint8_t cause)
Definition: gsm0411_smc.c:145
GSM0808_IE_PERIODICITY
@ GSM0808_IE_PERIODICITY
Definition: gsm_08_08.h:172
abis_nm_ipa_magic
const char abis_nm_ipa_magic[13]
Definition: abis_nm.c:40
NM_ATT_SOURCE
@ NM_ATT_SOURCE
Definition: gsm_12_21.h:367
gsm48_hdr
Definition: gsm_04_08.h:823
kasumi.h
gsm0808_channel_type::perm_spch
uint8_t perm_spch[CH_TYPE_PERM_SPCH_MAXLEN]
Definition: gsm_08_08.h:518
RSL_MT_UNIT_DATA_IND
@ RSL_MT_UNIT_DATA_IND
Definition: gsm_08_58.h:97
rsl.h
gsm0502_get_paging_group
static unsigned int gsm0502_get_paging_group(uint64_t imsi, unsigned int bs_cc_chans, int n_pag_blocks)
Definition: gsm0502.h:30
gsm48_rr_msg_name
const char * gsm48_rr_msg_name(uint8_t msgtype)
return string representation of RR Message Type
Definition: gsm48.c:391
GSM0808_IE_A_IF_SEL_FOR_RESET
@ GSM0808_IE_A_IF_SEL_FOR_RESET
Definition: gsm_08_08.h:276
osmo_dlsap_prim::error_ind
struct mdl_error_ind_param error_ind
Definition: lapd_core.h:60
BSS_MAP_MSG_VGCS_VBS_SETUP
@ BSS_MAP_MSG_VGCS_VBS_SETUP
Definition: gsm_08_08.h:136
gsm0808_handover_failure::cause
uint16_t cause
Definition: gsm0808.h:158
GSM48_PDISC_LOC
#define GSM48_PDISC_LOC
Definition: gsm_04_08.h:1248
gsm0808_cell_id_list::id_list_lac
uint16_t id_list_lac[CELL_ID_LIST_LAC_MAXLEN]
Definition: gsm_08_08.h:541
NM_MT_SET_CHAN_ATTR_NACK
@ NM_MT_SET_CHAN_ATTR_NACK
Definition: gsm_12_21.h:135
gsm48_range_1024::w14_lo
uint8_t w14_lo
Definition: gsm_04_08.h:144
NM_ATT_MANUF_THRESH
@ NM_ATT_MANUF_THRESH
Definition: gsm_12_21.h:348
GSM411_MNSMS_ERROR_IND
#define GSM411_MNSMS_ERROR_IND
Definition: gsm0411_smc.h:26
gsm0503_mcs1_ul_hdr
const struct osmo_conv_code gsm0503_mcs1_ul_hdr
EDGE MCS-1 UL header convolutional code: 45 bits blocks, rate 1/3, k = 7 G4 = 1 + D2 + D3 + D5 + D6 G...
Definition: gsm0503_conv.c:1152
NM_EVT_QOS_FAIL
@ NM_EVT_QOS_FAIL
Definition: gsm_12_21.h:572
lapdm_entity::lapdm_ch
struct lapdm_channel * lapdm_ch
pointer to lapdm_channel of which we're part
Definition: lapdm.h:64
NM_SEVER_MINOR
@ NM_SEVER_MINOR
Definition: gsm_12_21.h:583
GSM_MAX_SSVERSION
#define GSM_MAX_SSVERSION
Definition: mncc.h:8
GSM414_MT_DEACT_EMMI_CMD
#define GSM414_MT_DEACT_EMMI_CMD
Definition: gsm_04_14.h:58
aes_128_encrypt_block
int aes_128_encrypt_block(const u8 *key, const u8 *in, u8 *out)
aes_128_encrypt_block - Perform one AES 128-bit block operation @key: Key for AES @in: Input data (16...
Definition: aes-encblock.c:31
osmo_sub_auth_data
permanent (secret) subscriber auth data
Definition: auth.h:39
aes_i.h
GSM48_MT_RR_EXT_MEAS_REP_ORD
#define GSM48_MT_RR_EXT_MEAS_REP_ORD
Definition: gsm_04_08.h:1428
GSM48_MT_RR_SYSINFO_7
#define GSM48_MT_RR_SYSINFO_7
Definition: gsm_04_08.h:1403
_comp128_bitsfrombytes
static void _comp128_bitsfrombytes(uint8_t *x, uint8_t *bits)
Definition: comp128.c:172
lapd_datalink::v_ack
uint8_t v_ack
last frame ACKed by peer
Definition: lapd_core.h:142
LAPD_STATE_MF_EST
@ LAPD_STATE_MF_EST
Definition: lapd_core.h:80
NM_NACK_RES_NOTAVAIL
@ NM_NACK_RES_NOTAVAIL
Definition: gsm_12_21.h:617
GSM48_IE_CONN_SUB
#define GSM48_IE_CONN_SUB
Definition: gsm_04_08.h:1564
GSM0808_IE_VGCS_TALKER_MODE
@ GSM0808_IE_VGCS_TALKER_MODE
Definition: gsm_08_08.h:258
A5_R1_TAPS
#define A5_R1_TAPS
Definition: a5.c:115
osmo_auth_alg_parse
enum osmo_auth_algo osmo_auth_alg_parse(const char *name)
Parse human-readable name of authentication algorithm.
Definition: auth_core.c:227
msgb_tv_put
static uint8_t * msgb_tv_put(struct msgb *msg, uint8_t tag, uint8_t val)
put (append) a TV field to a msgb
Definition: tlv.h:304
lapd_state
lapd_state
LAPD state (Figure B.2/Q.921)
Definition: lapd_core.h:72
l2downstate::states
uint32_t states
Definition: lapd_core.c:2151
NM_ATT_IPACC_IP_GW_CFG
@ NM_ATT_IPACC_IP_GW_CFG
Definition: gsm_12_21.h:424
plmn_name
static void plmn_name(char *buf, size_t buflen, const struct osmo_plmn_id *plmn)
Definition: gsm23003.c:97
gsm340_vp_default
static unsigned long gsm340_vp_default(void)
Definition: gsm0411_utils.c:142
ENOTSUP
#define ENOTSUP
Definition: a5.c:44
GSM48_IE_KPD_FACILITY
#define GSM48_IE_KPD_FACILITY
Definition: gsm_04_08.h:1561
lapd_core.h
NM_CHANC_SDCCH_CBCH
@ NM_CHANC_SDCCH_CBCH
Definition: gsm_12_21.h:557
ra
uint8_t ra
Definition: gsm_04_08.h:632
GSM0808_LCLS_CFG_BOTH_WAY
@ GSM0808_LCLS_CFG_BOTH_WAY
Definition: gsm_08_08.h:547
ss_request::ussd_data_dcs
uint8_t ussd_data_dcs
Definition: gsm0480.h:89
osmo_mcc_name
const char * osmo_mcc_name(uint16_t mcc)
Return MCC string as standardized 3-digit with leading zeros.
Definition: gsm23003.c:78
tlli
uint32_t tlli
Definition: gsm_04_08.h:708
NM_NACK_TRXNR_UNKN
@ NM_NACK_TRXNR_UNKN
Definition: gsm_12_21.h:607
GA_MT_CSR_CHAN_MODE_MOD_ACK
@ GA_MT_CSR_CHAN_MODE_MOD_ACK
Definition: gsm_44_318.h:39
NM_ATT_MDROP_LINK
@ NM_ATT_MDROP_LINK
Definition: gsm_12_21.h:351
GSM0808_IE_APDU
@ GSM0808_IE_APDU
Definition: gsm_08_08.h:230
mi_type_names
static const struct value_string mi_type_names[]
Definition: gsm48.c:421
gsm0808_create_dtap
struct msgb * gsm0808_create_dtap(struct msgb *msg, uint8_t link_id)
Create BSSMAP DTAP message.
Definition: gsm0808.c:864
TLV_TYPE_TV
@ TLV_TYPE_TV
tag-value (8bit)
Definition: tlv.h:404
NM_ATT_IPACC_UNIT_ID
@ NM_ATT_IPACC_UNIT_ID
Definition: gsm_12_21.h:430
gsm48_range_128::w18_lo
uint8_t w18_lo
Definition: gsm_04_08.h:375
GA_MT_CSR_RELEASE
@ GA_MT_CSR_RELEASE
Definition: gsm_44_318.h:41
gsm48_range_128::w23
uint8_t w23
Definition: gsm_04_08.h:381
LAPDm_CTRL_is_I
#define LAPDm_CTRL_is_I(ctrl)
Definition: lapdm.c:70
TLVP_VAL
#define TLVP_VAL(x, y)
Definition: tlv.h:444
ipaccess_unit::site_id
uint16_t site_id
Definition: ipa.h:14
abis_nm_opstate_name
const char * abis_nm_opstate_name(uint8_t os)
Get human-readable string for OML Operational State.
Definition: abis_nm.c:628
gsm48_cc_state_name
const char * gsm48_cc_state_name(uint8_t state)
return string representation of CC State
Definition: gsm48.c:235
GSM411_RP_CAUSE_MSGTYPE_NOTEXIST
@ GSM411_RP_CAUSE_MSGTYPE_NOTEXIST
Definition: gsm_04_11.h:89
GSM48_MT_RR_NOTIF_FACCH
#define GSM48_MT_RR_NOTIF_FACCH
Definition: gsm_04_08.h:1388
NM_ATT_SW_DESCR
@ NM_ATT_SW_DESCR
Definition: gsm_12_21.h:384
gsm0503_tch_fr
const struct osmo_conv_code gsm0503_tch_fr
TCH/F convolutional code.
Definition: gsm0503_conv.c:747
gsm0808_create_ass_compl
struct msgb * gsm0808_create_ass_compl(uint8_t rr_cause, uint8_t chosen_channel, uint8_t encr_alg_id, uint8_t speech_mode, const struct sockaddr_storage *ss, const struct gsm0808_speech_codec *sc, const struct gsm0808_speech_codec_list *scl)
Create BSSMAP Assignment Completed message.
Definition: gsm0808.c:461
GSM411_MT_CP_ERROR
#define GSM411_MT_CP_ERROR
Definition: gsm_04_11.h:31
OSMO_GSUP_KC_IE
@ OSMO_GSUP_KC_IE
Definition: gsup.h:77
GSM411_MNSMS_DATA_IND
#define GSM411_MNSMS_DATA_IND
Definition: gsm0411_smc.h:23
lapdm_datalink::entity
struct lapdm_entity * entity
LAPDm entity we are part of.
Definition: lapdm.h:33
gsm0808_create_handover_complete
struct msgb * gsm0808_create_handover_complete(const struct gsm0808_handover_complete *params)
Create BSSMAP HANDOVER COMPLETE message, 3GPP TS 48.008 3.2.1.12.
Definition: gsm0808.c:788
GSM48_IE_F_CH_SEQ_AFTER
#define GSM48_IE_F_CH_SEQ_AFTER
Definition: gsm_04_08.h:1621
gsm0503_tch_afs_5_15
const struct osmo_conv_code gsm0503_tch_afs_5_15
TCH/AFS 5.15 kbits convolutional code: G1/G3 = 1 + D + D3 + D4 / 1 + D + D2 + D3 + D4 G1/G3 = 1 + D +...
Definition: gsm0503_conv.c:647
auth_alg_vals
static const struct value_string auth_alg_vals[]
Definition: auth_core.c:210
add_mod
static uint8_t add_mod(uint8_t x, uint8_t y, uint8_t m)
Definition: lapd_core.c:136
gprs_cipher_impl::run
int(* run)(uint8_t *out, uint16_t len, uint8_t *kc, uint32_t iv, enum gprs_cipher_direction direction)
Definition: gprs_cipher.h:40
GSM48_MT_RR_SYSINFO_2ter
#define GSM48_MT_RR_SYSINFO_2ter
Definition: gsm_04_08.h:1406
gsm48_ra_id
Definition: gsm_04_08.h:1988
NM_MT_STOP_TEST_ACK
@ NM_MT_STOP_TEST_ACK
Definition: gsm_12_21.h:145
gsm48_range_256::w9_lo
uint8_t w9_lo
Definition: gsm_04_08.h:283
GSM48_MT_MM_CM_SERV_REJ
#define GSM48_MT_MM_CM_SERV_REJ
Definition: gsm_04_08.h:1456
gsm0808_cell_id_u
Instead of this, use either struct gsm0808_cell_id or gsm0808_cell_id_list2.
Definition: gsm0808_utils.h:39
gsm48_decode_redirecting
int gsm48_decode_redirecting(struct gsm_mncc_number *redirecting, const uint8_t *lv)
Decode TS 04.08 Redirecting Number IE (10.5.4.21b)
Definition: gsm48_ie.c:571
OSMO_GSUP_MSGT_INSERT_DATA_ERROR
@ OSMO_GSUP_MSGT_INSERT_DATA_ERROR
Definition: gsup.h:110
gsm_mncc_bearer_cap::nr_data_bits
int nr_data_bits
Definition: mncc.h:24
lapdm_msg_ctx::dl
struct lapdm_datalink * dl
Definition: lapdm.h:20
osmo_gsup_message::session_id
uint32_t session_id
Unique session identifier and origination flag.
Definition: gsup.h:211
CELL_IDENT_UTRAN_PLMN_LAC_RNC
@ CELL_IDENT_UTRAN_PLMN_LAC_RNC
Definition: gsm_08_08.h:24
lapd_send_i
static int lapd_send_i(struct lapd_msg_ctx *lctx, int line)
Definition: lapd_core.c:1825
gsm48_var_bit::orig_arfcn_mid
uint8_t orig_arfcn_mid
Definition: gsm_04_08.h:404
gsm48_range_128::w5
uint8_t w5
Definition: gsm_04_08.h:360
lapdm.h
gsm_band_parse
enum gsm_band gsm_band_parse(const char *mhz)
Parse string name of a GSM band.
Definition: gsm_utils.c:679
GMM_CAUSE_LA_NOTALLOWED
@ GMM_CAUSE_LA_NOTALLOWED
Definition: gsm_04_08_gprs.h:207
OSMO_GSUP_SESSION_STATE_CONTINUE
@ OSMO_GSUP_SESSION_STATE_CONTINUE
Communication of an existing session.
Definition: gsup.h:152
GSM48_MT_GMM_ATTACH_COMPL
#define GSM48_MT_GMM_ATTACH_COMPL
Definition: gsm_04_08_gprs.h:14
gsm0808_handover_required::cil
struct gsm0808_cell_id_list2 cil
Definition: gsm0808.h:112
abis_om_fom_hdr::obj_inst
struct abis_om_obj_inst obj_inst
Object Instance.
Definition: gsm_12_21.h:77
gsm0808_cell_id_to_list
void gsm0808_cell_id_to_list(struct gsm0808_cell_id_list2 *dst, const struct gsm0808_cell_id *src)
Convert a single Cell Identifier to a Cell Identifier List with one entry.
Definition: gsm0808_utils.c:995
BSS_MAP_MSG_VGCS_VBS_SETUP_ACK
@ BSS_MAP_MSG_VGCS_VBS_SETUP_ACK
Definition: gsm_08_08.h:137
_a5_3
void _a5_3(const uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul, bool fn_correct)
Generate a GSM A5/3 cipher stream.
Definition: a5.c:93
GSM48_PDISC_PDSS1
#define GSM48_PDISC_PDSS1
Definition: gsm_04_08.h:1238
NM_EVT_PROC_FAIL
@ NM_EVT_PROC_FAIL
Definition: gsm_12_21.h:573
lapdm_cb_t
int(* lapdm_cb_t)(struct msgb *msg, struct lapdm_entity *le, void *ctx)
Definition: lapdm.h:43
TLLI_FOREIGN
@ TLLI_FOREIGN
Definition: gsm_utils.h:187
GSM411_RP_CAUSE_MO_NET_OUT_OF_ORDER
@ GSM411_RP_CAUSE_MO_NET_OUT_OF_ORDER
Definition: gsm_04_11.h:76
GSM411_SM_RL_DATA_IND
#define GSM411_SM_RL_DATA_IND
Definition: gsm0411_smr.h:10
GSM0480_MTYPE_FACILITY
#define GSM0480_MTYPE_FACILITY
Definition: gsm_04_80.h:8
OSMO_GSUP_AUTN_IE
@ OSMO_GSUP_AUTN_IE
Definition: gsup.h:81
gsm48_range_128::w14
uint8_t w14
Definition: gsm_04_08.h:370
gsm_mncc_bearer_cap::interm_rate
enum gsm48_bcap_interm_rate interm_rate
Definition: mncc.h:27
GSM48_MT_RR_ADD_ASS
#define GSM48_MT_RR_ADD_ASS
Definition: gsm_04_08.h:1350
OSMO_GSUP_PDP_TYPE_SIZE
#define OSMO_GSUP_PDP_TYPE_SIZE
Definition: gsup.h:57
NM_MT_FAILURE_EVENT_REP
@ NM_MT_FAILURE_EVENT_REP
Definition: gsm_12_21.h:149
RSL_MT_EST_IND
@ RSL_MT_EST_IND
Definition: gsm_08_58.h:92
_kasumi_kgcore
void _kasumi_kgcore(uint8_t CA, uint8_t cb, uint32_t cc, uint8_t cd, const uint8_t *ck, uint8_t *co, uint16_t cl)
Implementation of the KGCORE algorithm (used by A5/3, A5/4, GEA3, GEA4 and ECSD)
Definition: kasumi.c:163
osmo_cell_global_id::cell_identity
uint16_t cell_identity
Definition: gsm23003.h:30
same_cell_id_list_entries
static bool same_cell_id_list_entries(const struct gsm0808_cell_id_list2 *a, int ai, const struct gsm0808_cell_id_list2 *b, int bi)
Definition: gsm0808_utils.c:912
sms_alphabet
sms_alphabet
Definition: gsm_04_11.h:112
GSM48_MT_RR_STATUS
#define GSM48_MT_RR_STATUS
Definition: gsm_04_08.h:1421