libosmogsm  1.5.1
Osmocom GSM library
aes.h
Go to the documentation of this file.
1 
3 /*
4  * Copyright (c) 2003-2006, Jouni Malinen <j@w1.fi>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  *
10  * Alternatively, this software may be distributed under the terms of BSD
11  * license.
12  *
13  * SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
14  *
15  * See README and COPYING for more details.
16  */
17 
18 #pragma once
19 
20 #define AES_BLOCK_SIZE 16
21 
22 void * aes_encrypt_init(const u8 *key, size_t len);
23 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
24 void aes_encrypt_deinit(void *ctx);
25 void * aes_decrypt_init(const u8 *key, size_t len);
26 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
27 void aes_decrypt_deinit(void *ctx);
l2downstatelist
static const struct l2downstate l2downstatelist[]
osmo_cell_global_id_ps::rai
struct osmo_routing_area_id rai
Definition: gsm23003.h:34
gsm48_pdisc_msgtype_name_c
char * gsm48_pdisc_msgtype_name_c(const void *ctx, uint8_t pdisc, uint8_t msg_type)
Compose a string naming the message type for given protocol, in a dynamically-allocated buffer.
Definition: gsm48.c:1643
gsm0808_cell_id_u::lac_and_ci
struct osmo_lac_and_ci_id lac_and_ci
Definition: gsm0808_utils.h:43
GSM48_REJECT_INVALID_MANDANTORY_INF
@ GSM48_REJECT_INVALID_MANDANTORY_INF
Definition: gsm_04_08.h:1901
osmo_gad_enc_lon
uint32_t osmo_gad_enc_lon(int32_t deg_1e6)
Encode a longitude value according to 3GPP TS 23.032.
Definition: gad.c:102
msgb::list
struct llist_head list
GSM48_IE_CHANMODE_7
#define GSM48_IE_CHANMODE_7
Definition: gsm_04_08.h:1706
GSM_CAUSE_NET_FAIL
@ GSM_CAUSE_NET_FAIL
Definition: gsm_04_08_gprs.h:259
gsm0808_cell_id_from_cgi
void gsm0808_cell_id_from_cgi(struct gsm0808_cell_id *cid, enum CELL_IDENT id_discr, const struct osmo_cell_global_id *cgi)
Copy information from a CGI to form a Cell Identifier of the specified kind.
Definition: gsm0808_utils.c:1795
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
osmo_nri_ranges_to_str_c
char * osmo_nri_ranges_to_str_c(void *ctx, const struct osmo_nri_ranges *nri_ranges)
Compose a human readable representation of a list of NRI ranges in a talloc buffer,...
Definition: gsm23236.c:426
GSM48_MT_CC_CALL_PROC
#define GSM48_MT_CC_CALL_PROC
Definition: gsm_04_08.h:1563
cc_msg_names
static const struct value_string cc_msg_names[]
Definition: gsm48.c:272
PRIM_DL_REL
@ PRIM_DL_REL
DL-RLEEASE.
Definition: lapd_core.h:25
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:656
bssmap_le_perform_loc_req::lcs_client_type
enum bssmap_le_lcs_client_type lcs_client_type
Definition: gsm_49_031.h:166
osmo_plugin_load_all
int osmo_plugin_load_all(const char *directory)
gprs_ra_id::rac
uint8_t rac
Definition: gsm48.h:29
GSM0808_CAUSE_CALL_CONTROL
@ GSM0808_CAUSE_CALL_CONTROL
Definition: gsm_08_08.h:369
cbsp_channel_ind
cbsp_channel_ind
Definition: gsm_48_049.h:114
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:633
GSM48_MT_MM_AUTH_REJ
#define GSM48_MT_MM_AUTH_REJ
Definition: gsm_04_08.h:1539
GSM48_IE_MA_AFTER
#define GSM48_IE_MA_AFTER
Definition: gsm_04_08.h:1728
osmo_gsm48_si_selection_params::cell_resel_off
uint16_t cell_resel_off
Definition: gsm48_rest_octets.h:63
CELL_IDENT_UTRAN_RNC
@ CELL_IDENT_UTRAN_RNC
Definition: gsm_08_08.h:26
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:125
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:582
NM_MT_CHG_ADM_STATE_ACK
@ NM_MT_CHG_ADM_STATE_ACK
Definition: gsm_12_21.h:157
gsm48_classmark3::ucs2_treatment
bool ucs2_treatment
Definition: gsm_04_08.h:78
GSM48_MT_CC_CONNECT_ACK
#define GSM48_MT_CC_CONNECT_ACK
Definition: gsm_04_08.h:1565
gsm411_smr_send
int gsm411_smr_send(struct gsm411_smr_inst *inst, int msg_type, struct msgb *msg)
Definition: gsm0411_smr.c:400
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:1449
EGPRS_MCS8
EGPRS_MCS8
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:626
GSM411_RP_CAUSE_MT_MEM_EXCEEDED
@ GSM411_RP_CAUSE_MT_MEM_EXCEEDED
Definition: gsm_04_11.h:84
osmo_gsm48_range_enc_filter_arfcns
int osmo_gsm48_range_enc_filter_arfcns(int *arfcns, const int size, const int f0, int *f0_included)
Definition: gsm48_arfcn_range_encode.c:301
CELL_IDENT_LAI
@ CELL_IDENT_LAI
Definition: gsm_08_08.h:22
parse_ss
static int parse_ss(const struct gsm48_hdr *hdr, uint16_t len, struct ss_request *req)
Definition: gsm0480.c:377
GSM48_MT_RR_SYSINFO_2bis
#define GSM48_MT_RR_SYSINFO_2bis
Definition: gsm_04_08.h:1498
_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:24
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:1577
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:506
BSSMAP_LE_IEI_RET_ERR_CAUSE
@ BSSMAP_LE_IEI_RET_ERR_CAUSE
Definition: gsm_49_031.h:99
GSM48_IE_GPRS_RESUMPT
#define GSM48_IE_GPRS_RESUMPT
Definition: gsm_04_08.h:1740
gsm0808_bssap_names
static const struct value_string gsm0808_bssap_names[]
Definition: gsm0808.c:1686
gsm0808_handover_required_reject::cause
uint16_t cause
Definition: gsm0808.h:154
osmo_gsm48_si_dtm_support::max_lapdm
uint8_t max_lapdm
Definition: gsm48_rest_octets.h:40
gsm0808_handover_request_ack::chosen_speech_version
enum gsm0808_permitted_speech chosen_speech_version
Definition: gsm0808.h:218
GSM48_MT_CC_RETR
#define GSM48_MT_CC_RETR
Definition: gsm_04_08.h:1581
cbsp_dec_keep_alive_compl
static int cbsp_dec_keep_alive_compl(struct osmo_cbsp_keep_alive_complete *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:1103
GSM48_CC_CAUSE_INC_BARRED_CUG
@ GSM48_CC_CAUSE_INC_BARRED_CUG
Definition: gsm_04_08.h:1854
OSMO_GSUP_ACCESS_POINT_NAME_IE
@ OSMO_GSUP_ACCESS_POINT_NAME_IE
Definition: gsup.h:77
GSM48_MT_GMM_ATTACH_ACK
#define GSM48_MT_GMM_ATTACH_ACK
Definition: gsm_04_08_gprs.h:14
ms_class_gmsk_dbm
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:511
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:63
LAPD_STATE_TIMER_RECOV
@ LAPD_STATE_TIMER_RECOV
Definition: lapd_core.h:84
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:1449
GSM_0480_ERROR_CODE_TAG
#define GSM_0480_ERROR_CODE_TAG
Definition: gsm_04_80.h:33
osmo_cbsp_failure
Definition: cbsp.h:234
tch_afs_10_2_puncture
static const int tch_afs_10_2_puncture[]
Definition: gsm0503_conv.c:295
osmo_gsm48_si6_ro_info::pch_nch_info
struct osmo_gsm48_si_pch_nch_info pch_nch_info
Definition: gsm48_rest_octets.h:49
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:1103
NM_ATT_OSMO_NS_LINK_CFG
@ NM_ATT_OSMO_NS_LINK_CFG
Definition: gsm_12_21.h:514
len
uint8_t len
Definition: gsm_04_11.h:0
avail_names
static const struct value_string avail_names[]
Definition: abis_nm.c:644
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:270
GSM48_RR_CAUSE_LOW_LEVEL_FAIL
@ GSM48_RR_CAUSE_LOW_LEVEL_FAIL
Definition: gsm_04_08.h:1815
GSM411_CP_CAUSE_PROTOCOL_ERR
@ GSM411_CP_CAUSE_PROTOCOL_ERR
Definition: gsm_04_11.h:48
cbsp_dec_reset
static int cbsp_dec_reset(struct osmo_cbsp_reset *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:1036
A52_R4_CLKBIT2
#define A52_R4_CLKBIT2
Definition: a5.c:277
osmo_prim_cb
int(* osmo_prim_cb)(struct osmo_prim_hdr *oph, void *ctx)
bsslap_ta_response::ta
uint8_t ta
Definition: gsm_48_071.h:90
osmo_lcls::control
enum gsm0808_lcls_control control
§3.2.2.117 Connection Status Control.
Definition: gsm0808_utils.h:66
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:60
lapd_rx_s
static int lapd_rx_s(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1299
osmo_bssmap_le_dec_conn_oriented_info
static int osmo_bssmap_le_dec_conn_oriented_info(struct bssmap_le_conn_oriented_info *params, enum bssmap_le_msgt msgt, struct osmo_bssmap_le_err **err, void *err_ctx, const struct tlv_parsed *tp)
Definition: bssmap_le.c:585
gsm341_ms_message::serial
struct gsm341_ms_message::@24 serial
GSM48_MT_RR_HANDO_INFO
#define GSM48_MT_RR_HANDO_INFO
Definition: gsm_04_08.h:1466
osmo_nri_ranges::entries
struct llist_head entries
Definition: gsm23236.h:37
osmo_macaddr_parse
int osmo_macaddr_parse(uint8_t *out, const char *in)
GSM48_REJECT_IMSI_UNKNOWN_IN_HLR
@ GSM48_REJECT_IMSI_UNKNOWN_IN_HLR
Definition: gsm_04_08.h:1885
gsm_mncc_facility
Definition: mncc.h:62
osmo_i460_subchan_demux::out_cb_bits
out_cb_bits_t out_cb_bits
callback to be called once we have received out_bitbuf_size bits
Definition: i460_mux.h:54
BSS_MAP_MSG_VGCS_VBS_QUEUING_INDICATION
@ BSS_MAP_MSG_VGCS_VBS_QUEUING_INDICATION
Definition: gsm_08_08.h:167
GSM48_MT_CC_DISCONNECT
#define GSM48_MT_CC_DISCONNECT
Definition: gsm_04_08.h:1585
GSM48_MT_CC_CONG_CTRL
#define GSM48_MT_CC_CONG_CTRL
Definition: gsm_04_08.h:1589
lapd_cr_ent::resp
uint8_t resp
Definition: lapd_core.h:117
gsm48_classmark3::assoc_radio_cap_1
uint8_t assoc_radio_cap_1
Definition: gsm_04_08.h:65
osmo_gsup_message::sm_rp_oa_type
enum osmo_gsup_sms_sm_rp_oda_t sm_rp_oa_type
SM-RP-OA (see 3GPP TS 29.002, 7.6.8.2), Originating Address.
Definition: gsup.h:342
GAD_TYPE_ELL_POINT_UNC_ELLIPSE
@ GAD_TYPE_ELL_POINT_UNC_ELLIPSE
Ellipsoid point with uncertainty ellipse.
Definition: gsm_23_032.h:38
GMM_CAUSE_NO_PDP_ACTIVATED
@ GMM_CAUSE_NO_PDP_ACTIVATED
Definition: gsm_04_08_gprs.h:229
gsm0502.h
osmo_bsslap_ie_enc_cause
static void osmo_bsslap_ie_enc_cause(struct msgb *msg, enum bsslap_cause cause)
Definition: bsslap.c:125
LAPDm_FMT_B4
@ LAPDm_FMT_B4
Definition: lapdm.c:114
GSM48_CC_CAUSE_NORM_CALL_CLEAR
@ GSM48_CC_CAUSE_NORM_CALL_CLEAR
Definition: gsm_04_08.h:1832
GSM48_IE_MOBILE_ID
#define GSM48_IE_MOBILE_ID
Definition: gsm_04_08.h:1651
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:306
gsm0808_cause_ext
static bool gsm0808_cause_ext(enum gsm0808_cause cause)
Definition: gsm0808_utils.h:153
EGPRS_HDR_TYPE1
EGPRS_HDR_TYPE1
gprs_rlc.h
osmo_mme_id::code
uint8_t code
Definition: gsm23003.h:94
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:1462
OSMO_GSM48_ARFCN_RANGE_128
@ OSMO_GSM48_ARFCN_RANGE_128
Definition: gsm48_arfcn_range_encode.h:9
_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
sgsap_ismi_det_noneps_type_names
const struct value_string sgsap_ismi_det_noneps_type_names[]
Definition: gsm29118.c:109
GSM48_CC_CAUSE_SERV_OPT_UNIMPL
@ GSM48_CC_CAUSE_SERV_OPT_UNIMPL
Definition: gsm_04_08.h:1862
BSS_MAP_MSG_HANDOVER_FAILURE
@ BSS_MAP_MSG_HANDOVER_FAILURE
Definition: gsm_08_08.h:89
cbsp_dec_reset_fail
static int cbsp_dec_reset_fail(struct osmo_cbsp_reset_failure *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:1066
osmo_cbsp_load_query
Definition: cbsp.h:158
OSMO_GSUP_AUTH_TUPLE_IE
@ OSMO_GSUP_AUTH_TUPLE_IE
Definition: gsup.h:67
MDL_CAUSE_UFRM_INC_PARAM
#define MDL_CAUSE_UFRM_INC_PARAM
Definition: lapd_core.h:40
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:116
osmo_gsup_message::cancel_type
enum osmo_gsup_cancel_type cancel_type
Definition: gsup.h:306
GSM48_MT_MM_LOC_UPD_ACCEPT
#define GSM48_MT_MM_LOC_UPD_ACCEPT
Definition: gsm_04_08.h:1535
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
osmo_gad_to_str_c
char * osmo_gad_to_str_c(void *ctx, const struct osmo_gad *gad)
Return a human readable representation of GAD (location estimate) values.
Definition: gad.c:486
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:148
lapdm_entity::last_tx_dequeue
int last_tx_dequeue
last entity that was dequeued
Definition: lapdm.h:53
GSM0808_IE_GERAN_CLASSMARK
@ GSM0808_IE_GERAN_CLASSMARK
Definition: gsm_08_08.h:271
NM_IPACC_TESTNO_BCCCH_MONITOR
@ NM_IPACC_TESTNO_BCCCH_MONITOR
Definition: gsm_12_21.h:723
OSMO_RAT_UTRAN_IU
@ OSMO_RAT_UTRAN_IU
Definition: gsm_utils.h:250
SGSAP_MSGT_UE_UNREACHABLE
@ SGSAP_MSGT_UE_UNREACHABLE
Definition: gsm_29_118.h:36
gsm411_smc_clear
void gsm411_smc_clear(struct gsm411_smc_inst *inst)
Definition: gsm0411_smc.c:100
GSM0808_IE_TRACE_REFERENCE
@ GSM0808_IE_TRACE_REFERENCE
Definition: gsm_08_08.h:228
gsm0808_create_handover_command
struct msgb * gsm0808_create_handover_command(const struct gsm0808_handover_command *params)
Create BSSMAP HANDOVER COMMAND message, 3GPP TS 48.008 3.2.1.11.
Definition: gsm0808.c:1059
osmo_routing_area_id
Definition: gsm23003.h:22
GSM48_CC_CAUSE_IE_NOTEXIST
@ GSM48_CC_CAUSE_IE_NOTEXIST
Definition: gsm_04_08.h:1871
msgb::l3h
unsigned char * l3h
NM_ATT_CCCH_L_T
@ NM_ATT_CCCH_L_T
Definition: gsm_12_21.h:331
bitvec::data
uint8_t * data
tch_afs_6_7_puncture
static const int tch_afs_6_7_puncture[]
Definition: gsm0503_conv.c:485
bit64gen.h
BSSMAP_LE_IEI_CELL_ID
@ BSSMAP_LE_IEI_CELL_ID
Definition: gsm_49_031.h:103
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:1731
gsm0808_handover_required_reject
3GPP TS 48.008 §3.2.1.37 HANDOVER REQUIRED REJECT
Definition: gsm0808.h:153
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:723
GSM_PCHAN_TCH_H
@ GSM_PCHAN_TCH_H
Definition: gsm_utils.h:209
osmo_gsm48_si_ro_info::lsa_params
struct osmo_gsm48_lsa_params lsa_params
Definition: gsm48_rest_octets.h:101
gsm0808_channel_type::ch_indctr
uint8_t ch_indctr
Definition: gsm_08_08.h:610
BSSMAP_LE_MSGT_RESET_ACK
@ BSSMAP_LE_MSGT_RESET_ACK
Definition: gsm_49_031.h:79
GSM0808_SCT_FR5
@ GSM0808_SCT_FR5
FR AMR-WB.
Definition: gsm_08_08.h:507
GSM411_RP_CAUSE_MO_REQ_FAC_NOTSUBSCR
@ GSM411_RP_CAUSE_MO_REQ_FAC_NOTSUBSCR
Definition: gsm_04_11.h:80
encode_wperiod
static int encode_wperiod(uint32_t secs)
Definition: cbsp.c:126
BSSMAP_LE_IEI_MS_SYNC_ACC
@ BSSMAP_LE_IEI_MS_SYNC_ACC
Definition: gsm_49_031.h:115
NM_MT_CHG_ADM_STATE_REQ_ACK
@ NM_MT_CHG_ADM_STATE_REQ_ACK
Definition: gsm_12_21.h:160
bssmap_le_perform_loc_req::imei
struct osmo_mobile_identity imei
Definition: gsm_49_031.h:169
GSM48_TMSI_LEN
#define GSM48_TMSI_LEN
Definition: gsm_04_08.h:2098
SGSAP_SGS_CAUSE_MSG_INCOMP_STATE
@ SGSAP_SGS_CAUSE_MSG_INCOMP_STATE
Definition: gsm_29_118.h:133
GSM48_MT_MM_AUTH_FAIL
#define GSM48_MT_MM_AUTH_FAIL
Definition: gsm_04_08.h:1542
osmo_cbsp_loading_ent::list
struct llist_head list
Definition: cbsp.h:64
gsm0808_handover_performed::lcls_bss_status
enum gsm0808_lcls_status lcls_bss_status
Definition: gsm0808.h:300
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
BTS_FEAT_ETWS_PN
@ BTS_FEAT_ETWS_PN
Definition: bts_features.h:26
tlvp_val16be
static uint16_t tlvp_val16be(const struct tlv_parsed *tp, int pos)
Retrieve (possibly unaligned) TLV element and convert to host byte order.
Definition: tlv.h:629
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:297
GSM0808_IE_SPEECH_VERSION
@ GSM0808_IE_SPEECH_VERSION
Definition: gsm_08_08.h:240
GSM48_MT_RR_APP_INFO
#define GSM48_MT_RR_APP_INFO
Definition: gsm_04_08.h:1531
GSM0808_CAUSE_RQSTED_TERRESTRIAL_RESOURCE_UNAVAILABLE
@ GSM0808_CAUSE_RQSTED_TERRESTRIAL_RESOURCE_UNAVAILABLE
Definition: gsm_08_08.h:386
gsm_mncc_number::plan
int plan
Definition: mncc.h:35
osmo_cbsp_decode
struct osmo_cbsp_decoded * osmo_cbsp_decode(void *ctx, struct msgb *in)
Decode a CBSP message from wire formwat to pased structure.
Definition: cbsp.c:1181
GSM48_MT_RR_SYSINFO_4
#define GSM48_MT_RR_SYSINFO_4
Definition: gsm_04_08.h:1493
gsm_chan_t
gsm_chan_t
Definition: gsm_utils.h:221
RSL_IE_ACCESS_DELAY
@ RSL_IE_ACCESS_DELAY
Definition: gsm_08_58.h:304
GSM_PCHAN_UNKNOWN
@ GSM_PCHAN_UNKNOWN
Definition: gsm_utils.h:213
gsm0808_lcls_config
gsm0808_lcls_config
Definition: gsm_08_08.h:640
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:159
GSM0808_CAUSE_REDUNDANCY_LEVEL_NOT_ADEQUATE
@ GSM0808_CAUSE_REDUNDANCY_LEVEL_NOT_ADEQUATE
Definition: gsm_08_08.h:383
comp128v23.h
OSMO_GSUP_SESSION_STATE_NONE
@ OSMO_GSUP_SESSION_STATE_NONE
Undefined session state.
Definition: gsup.h:241
ph_rach_ind_param::fn
uint32_t fn
GSM Frame Number at time of RA.
Definition: l1sap.h:64
SGSAP_SGS_CAUSE_MISSING_MAND_IE
@ SGSAP_SGS_CAUSE_MISSING_MAND_IE
Definition: gsm_29_118.h:134
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:397
gsm_03_40.h
BSS_MAP_MSG_HANDOVER_CANDIDATE_RESPONSE
@ BSS_MAP_MSG_HANDOVER_CANDIDATE_RESPONSE
Definition: gsm_08_08.h:92
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:646
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
_NUM_OSMO_GPRS_CS
_NUM_OSMO_GPRS_CS
GSM48_IE_MUL_RATE_CFG
#define GSM48_IE_MUL_RATE_CFG
Definition: gsm_04_08.h:1696
osmo_cbsp_num_compl_list
Definition: cbsp.h:57
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:138
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:691
new_rp_state
static void new_rp_state(struct gsm411_smr_inst *inst, enum gsm411_rp_state state)
Definition: gsm0411_smr.c:141
gsm0808_lcls_config_names
const struct value_string gsm0808_lcls_config_names[]
Definition: gsm0808.c:1878
milenage_alg
static struct osmo_auth_impl milenage_alg
Definition: auth_milenage.c:171
GSM48_CC_CAUSE_ACC_INF_DISCARD
@ GSM48_CC_CAUSE_ACC_INF_DISCARD
Definition: gsm_04_08.h:1849
osmo_gprs_cell_options::egprs_supported
uint8_t egprs_supported
OSMO_PRIM_HDR
#define OSMO_PRIM_HDR(oph)
osmo_bssmap_le_enc_conn_oriented_info
static int osmo_bssmap_le_enc_conn_oriented_info(struct msgb *msg, const struct bssmap_le_conn_oriented_info *params)
Definition: bssmap_le.c:579
osmo_bsslap_ie_dec_cell_id
static int osmo_bsslap_ie_dec_cell_id(uint16_t *cell_id, enum bsslap_msgt msgt, enum bsslap_iei iei, struct osmo_bsslap_err **err, void *err_ctx, const uint8_t *data, size_t len)
Definition: bsslap.c:97
tall_lapd_ctx
void * tall_lapd_ctx
Definition: lapd_core.c:257
SGSAP_IE_EUTRAN_CGI
@ SGSAP_IE_EUTRAN_CGI
Definition: gsm_29_118.h:72
GSM48_MT_GMM_DETACH_ACK
#define GSM48_MT_GMM_DETACH_ACK
Definition: gsm_04_08_gprs.h:18
gsm29118_paging_req::vlr_name
char vlr_name[SGS_VLR_NAME_MAXLEN+1]
Definition: gsm29118.h:36
cbsp_enc_load_query_compl
static int cbsp_enc_load_query_compl(struct msgb *msg, const struct osmo_cbsp_load_query_complete *in)
Definition: cbsp.c:278
GSM411_RPS_WAIT_FOR_RETRANS_T
@ GSM411_RPS_WAIT_FOR_RETRANS_T
Definition: gsm_04_11.h:22
osmo_cbsp_write_replace_complete::new_serial_nr
uint16_t new_serial_nr
Definition: cbsp.h:112
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
gprs_det_t_mt_strs
const struct value_string * gprs_det_t_mt_strs
Definition: gsm_04_08_gprs.c:213
osmo_cbsp_keep_alive
Definition: cbsp.h:218
endian.h
greatest_power_of_2_lesser_or_equal_to
static int greatest_power_of_2_lesser_or_equal_to(int index)
Definition: gsm48_arfcn_range_encode.c:30
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:792
LAPDm_FMT_Bbis
@ LAPDm_FMT_Bbis
Definition: lapdm.c:112
osmo_gsm48_range_enc_1024
int osmo_gsm48_range_enc_1024(uint8_t *chan_list, int f0, int f0_incl, int *w)
Definition: gsm48_arfcn_range_encode.c:293
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:1913
sres
uint8_t sres[4]
Definition: gsm_04_08.h:0
time
char time[12]
Definition: ipaccess.h:7
msgb_put_cbsp_num_compl_list
static void msgb_put_cbsp_num_compl_list(struct msgb *msg, const struct osmo_cbsp_num_compl_list *cl)
Definition: cbsp.c:107
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:231
bit16gen.h
osmo_gsup_message::msisdn_enc_len
size_t msisdn_enc_len
Definition: gsup.h:314
GSM_CAUSE_SERV_OPT_NOTSUPP
@ GSM_CAUSE_SERV_OPT_NOTSUPP
Definition: gsm_04_08_gprs.h:253
osmo_gsm48_range_enc_filter_arfcns
int osmo_gsm48_range_enc_filter_arfcns(int *arfcns, const int sze, const int f0, int *f0_included)
Definition: gsm48_arfcn_range_encode.c:301
Td3
const u32 Td3[256]
BSSMAP_MSG_SIZE
#define BSSMAP_MSG_SIZE
Definition: gsm0808.h:33
link_id
uint8_t link_id
Definition: gsm_08_08.h:2
osmo_i460_timeslot
Definition: i460_mux.h:76
gsm_freq_range
Definition: gsm_utils.c:784
SGSAP_EPS_LUT_IMSI_ATTACH
@ SGSAP_EPS_LUT_IMSI_ATTACH
Definition: gsm_29_118.h:85
cbsp_category_names
const struct value_string cbsp_category_names[]
Definition: gsm48049.c:77
CBSP_IEI_NUM_OF_PAGES
@ CBSP_IEI_NUM_OF_PAGES
Definition: gsm_48_049.h:41
SGSAP_IE_NAS_MSG_CONTAINER
@ SGSAP_IE_NAS_MSG_CONTAINER
Definition: gsm_29_118.h:61
ROUND
#define ROUND(i, d, s)
rn_table
static const uint8_t rn_table[114]
Definition: gsm0502.c:208
GSM48_CC_CAUSE_INTERWORKING
@ GSM48_CC_CAUSE_INTERWORKING
Definition: gsm_04_08.h:1876
GSM48_MT_RR_DTM_ASS_FAIL
#define GSM48_MT_RR_DTM_ASS_FAIL
Definition: gsm_04_08.h:1447
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:384
OSMO_GPRS_CS4
OSMO_GPRS_CS4
append_gprs_cell_opt
static int append_gprs_cell_opt(struct bitvec *bv, const struct osmo_gprs_cell_options *gco)
Definition: gsm48_rest_octets.c:979
SGSAP_SERV_IND_CS_CALL
@ SGSAP_SERV_IND_CS_CALL
Definition: gsm_29_118.h:117
gsm0808_create_clear_command
struct msgb * gsm0808_create_clear_command(uint8_t cause)
Create BSSMAP Clear Command message with BSSAP header before l3h and BSSMAP in l3h.
Definition: gsm0808.c:195
NM_SEVER_CRITICAL
@ NM_SEVER_CRITICAL
Definition: gsm_12_21.h:582
tlv_p_entry::val
const uint8_t * val
pointer to value
Definition: tlv.h:494
osmo_cbsp_decoded::write_replace
struct osmo_cbsp_write_replace write_replace
Definition: cbsp.h:253
osmo_gsup_message::cause_bssap
enum gsm0808_cause cause_bssap
0 is a valid cause
Definition: gsup.h:380
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:1574
gsm0480.h
gsm48_range_512
Definition: gsm_04_08.h:304
osmo_mobile_identity_to_str_buf
int osmo_mobile_identity_to_str_buf(char *buf, size_t buflen, const struct osmo_mobile_identity *mi)
Return a human readable representation of a struct osmo_mobile_identity.
Definition: gsm48.c:912
SGSAP_UE_EMM_MODE_CONNECTED
@ SGSAP_UE_EMM_MODE_CONNECTED
Definition: gsm_29_118.h:150
osmo_i460_mux_out
int osmo_i460_mux_out(struct osmo_i460_timeslot *ts, uint8_t *out, size_t out_len)
Data from E1 timeslot into de-multiplexer.
Definition: i460_mux.c:275
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:1340
osmo_gad_dec_lat
int32_t osmo_gad_dec_lat(uint32_t lat)
Decode a latitude value according to 3GPP TS 23.032.
Definition: gad.c:81
SGSAP_MSGT_ALERT_REQ
@ SGSAP_MSGT_ALERT_REQ
Definition: gsm_29_118.h:18
GSM48_RR_CAUSE_CHAN_MODE_UNACCT
@ GSM48_RR_CAUSE_CHAN_MODE_UNACCT
Definition: gsm_04_08.h:1812
GSM48_IE_MSLOT_DESC
#define GSM48_IE_MSLOT_DESC
Definition: gsm_04_08.h:1698
rsl_tlv_parse
#define rsl_tlv_parse(dec, buf, len)
Parse RSL TLV structure using tlv_parse.
Definition: rsl.h:19
GSM48_CC_CAUSE_USER_NOT_IN_CUG
@ GSM48_CC_CAUSE_USER_NOT_IN_CUG
Definition: gsm_04_08.h:1864
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
osmo_earfcn_si2q::thresh_lo_valid
bool thresh_lo_valid
Definition: sysinfo.h:66
gsm29118_paging_req::lai
struct osmo_location_area_id lai
Definition: gsm29118.h:40
smrdownstate
Definition: gsm0411_smr.c:378
osmo_gprs_power_ctrl_pars::t_avg_w
uint8_t t_avg_w
gsm0808_att_tlvdef
const struct tlv_definition * gsm0808_att_tlvdef(void)
Definition: gsm0808.c:1569
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:189
NM_CHANC_TCHFull
@ NM_CHANC_TCHFull
Definition: gsm_12_21.h:547
osmo_lcls::gcr
struct osmo_gcr_parsed gcr
§3.2.2.115 Global Call Reference.
Definition: gsm0808_utils.h:67
GSM48_MT_CC_ESTAB_CONF
#define GSM48_MT_CC_ESTAB_CONF
Definition: gsm_04_08.h:1569
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:1678
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:810
NM_OPSTATE_NULL
@ NM_OPSTATE_NULL
Definition: gsm_12_21.h:542
osmo_cgi_name_c
char * osmo_cgi_name_c(const void *ctx, const struct osmo_cell_global_id *cgi)
Return MCC-MNC-LAC-CI as string, in a talloc-allocated output buffer.
Definition: gsm23003.c:325
NM_OC_BS11_ENVABTSE
@ NM_OC_BS11_ENVABTSE
Definition: gsm_12_21.h:308
gsm0808_handover_request_ack::l3_info_len
uint8_t l3_info_len
Definition: gsm0808.h:208
rijndaelEncrypt
static void rijndaelEncrypt(const u32 rk[], const u8 pt[16], u8 ct[16])
Definition: aes-internal-enc.c:33
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:1504
ipa_ccm_send_pong
int ipa_ccm_send_pong(int fd)
Definition: ipa.c:451
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:208
GA_MT_CSR_ACT_CHAN
@ GA_MT_CSR_ACT_CHAN
Definition: gsm_44_318.h:35
osmo_gsm48_rest_octets_si13_encode
int osmo_gsm48_rest_octets_si13_encode(uint8_t *data, const struct osmo_gsm48_si13_info *si13)
Definition: gsm48_rest_octets.c:1064
gsm_03_41.h
bitvec_get_bit_high
int bitvec_get_bit_high(struct bitvec *bv)
osmo_ubit2pbit
int osmo_ubit2pbit(pbit_t *out, const ubit_t *in, unsigned int num_bits)
OSMO_GSUP_SOURCE_NAME_IE
@ OSMO_GSUP_SOURCE_NAME_IE
Definition: gsup.h:113
BSSMAP_LE_IEI_RANDOM_ID
@ BSSMAP_LE_IEI_RANDOM_ID
Definition: gsm_49_031.h:119
GSM414_MT_OPEN_MSLOT_LOOP_CMD
#define GSM414_MT_OPEN_MSLOT_LOOP_CMD
Definition: gsm_04_14.h:51
bssmap_le_conn_oriented_info
Definition: gsm_49_031.h:186
smcdownstate::name
const char * name
Definition: gsm0411_smc.c:425
GSM48_MT_CC_START_DTMF
#define GSM48_MT_CC_START_DTMF
Definition: gsm_04_08.h:1593
GSM0808_IE_CIRCUIT_POOL_LIST
@ GSM0808_IE_CIRCUIT_POOL_LIST
Definition: gsm_08_08.h:235
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:1050
cbsp_dec_failure
static int cbsp_dec_failure(struct osmo_cbsp_failure *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:1130
GSM48_CC_CAUSE_MSG_INCOMP_STATE
@ GSM48_CC_CAUSE_MSG_INCOMP_STATE
Definition: gsm_04_08.h:1873
abis_nm_sw_desc::file_version_len
uint8_t file_version_len
Definition: gsm_12_21.h:805
LAPD_MODE_NETWORK
@ LAPD_MODE_NETWORK
behave like network
Definition: lapd_core.h:71
GSM_CAUSE_FEATURE_NOTSUPP
@ GSM_CAUSE_FEATURE_NOTSUPP
Definition: gsm_04_08_gprs.h:261
RLL_CAUSE_SABM_INFO_NOTALL
#define RLL_CAUSE_SABM_INFO_NOTALL
Definition: gsm_08_58.h:542
OSMO_GSUP_IMSI_IE
@ OSMO_GSUP_IMSI_IE
Definition: gsup.h:65
GSM23003_TMSI_NUM_BYTES
#define GSM23003_TMSI_NUM_BYTES
Definition: gsm_23_003.h:12
smr_state_names
static const char * smr_state_names[]
Definition: gsm0411_smr.c:104
BSSMAP_LE_IEI_MLAT_TA
@ BSSMAP_LE_IEI_MLAT_TA
Definition: gsm_49_031.h:114
rslms_rx_rll_udata_req
static int rslms_rx_rll_udata_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:1028
osmo_mobile_identity_to_str_c
char * osmo_mobile_identity_to_str_c(void *ctx, const struct osmo_mobile_identity *mi)
Like osmo_mobile_identity_to_str_buf(), but return the string in a talloc buffer.
Definition: gsm48.c:942
append_eutran_neib_cell
static bool append_eutran_neib_cell(struct bitvec *bv, const struct osmo_earfcn_si2q *e, size_t *e_offset, uint8_t budget)
Definition: gsm48_rest_octets.c:63
gsm411_rp_hdr::len
uint8_t len
Definition: gsm_04_11.h:105
osmo_char2bcd
uint8_t osmo_char2bcd(char c)
CBSP_MSGT_WRITE_REPLACE
@ CBSP_MSGT_WRITE_REPLACE
Definition: gsm_48_049.h:51
table_3
static const uint8_t table_3[64]
Definition: comp128.c:134
lapd_msg_ctx::length
int length
Definition: lapd_core.h:111
gsm411_cp_cause_strs
const struct value_string gsm411_cp_cause_strs[]
Definition: gsm0411_smc.c:123
GSM0808_IE_OSMO_OSMUX_CID
@ GSM0808_IE_OSMO_OSMUX_CID
Definition: gsm_08_08.h:333
gsm411_smc_inst::mn_recv
int(* mn_recv)(struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg)
Definition: gsm0411_smc.h:32
gsm29118_paging_req::imsi
char imsi[GSM48_MI_SIZE]
Definition: gsm29118.h:35
BSS_MAP_MSG_RESET_IP_RSRC
@ BSS_MAP_MSG_RESET_IP_RSRC
Definition: gsm_08_08.h:131
osmo_gprs_power_ctrl_pars::t_avg_t
uint8_t t_avg_t
NM_OPSTATE_DISABLED
@ NM_OPSTATE_DISABLED
Definition: gsm_12_21.h:540
LOGL_FATAL
#define LOGL_FATAL
gsm0808_cause_class_names
static const struct value_string gsm0808_cause_class_names[]
Definition: gsm0808.c:1805
BSSLAP_IEI_ENCR_KEY
@ BSSLAP_IEI_ENCR_KEY
Definition: gsm_48_071.h:74
CELL_IDENT_CI
@ CELL_IDENT_CI
Definition: gsm_08_08.h:20
gsm48_mr_cfg_from_gsm0808_sc_cfg
int gsm48_mr_cfg_from_gsm0808_sc_cfg(struct gsm48_multi_rate_conf *cfg, uint16_t s15_s0)
Determine a GSM 04.08 AMR configuration struct from a set of speech codec configuration bits (S0-S15)
Definition: gsm0808_utils.c:1559
RSL_MT_REL_CONF
@ RSL_MT_REL_CONF
Definition: gsm_08_58.h:166
lapd_history::more
int more
Definition: lapd_core.h:122
ipa_ccm_tlv_to_unitdata
int ipa_ccm_tlv_to_unitdata(struct ipaccess_unit *ud, const struct tlv_parsed *tp)
Definition: ipa.c:270
PRIM_DL_SUSP
@ PRIM_DL_SUSP
DL-SUSPEND.
Definition: lapd_core.h:26
cbsp_enc_kill_fail
static int cbsp_enc_kill_fail(struct msgb *msg, const struct osmo_cbsp_kill_failure *in)
Definition: cbsp.c:255
OSMO_GPRS_MCS8
OSMO_GPRS_MCS8
LAPDM_ENT_F_POLLING_ONLY
#define LAPDM_ENT_F_POLLING_ONLY
Definition: lapdm.h:47
tch_ahs_5_15_term_state
static const uint8_t tch_ahs_5_15_term_state[]
Definition: gsm0503_conv.c:1014
osmo_bssmap_le_enc_perform_loc_req
static int osmo_bssmap_le_enc_perform_loc_req(struct msgb *msg, const struct bssmap_le_perform_loc_req *params)
Definition: bssmap_le.c:470
GSM48_MT_RR_SYSINFO_5ter
#define GSM48_MT_RR_SYSINFO_5ter
Definition: gsm_04_08.h:1502
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:2105
GMM_CAUSE_NOT_AUTH_FOR_CSG
@ GMM_CAUSE_NOT_AUTH_FOR_CSG
Definition: gsm_04_08_gprs.h:227
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:158
GSM0808_ALG_ID_A5_5
@ GSM0808_ALG_ID_A5_5
Definition: gsm_08_08.h:526
GSM48_IE_ALERT
#define GSM48_IE_ALERT
Definition: gsm_04_08.h:1662
OSMO_GSUP_SESSION_STATE_BEGIN
@ OSMO_GSUP_SESSION_STATE_BEGIN
Initiation of a new session.
Definition: gsup.h:243
GPRS_DET_T_MO_COMBINED
#define GPRS_DET_T_MO_COMBINED
Definition: gsm_04_08_gprs.h:62
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:446
osmo_tmsi_nri_v_get
int osmo_tmsi_nri_v_get(int16_t *nri_v, uint32_t tmsi, uint8_t nri_bitlen)
Retrieve the Network Resource Indicator bits from a TMSI or p-TMSI.
Definition: gsm23236.c:151
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:265
gsm_mncc_bearer_cap::async
int async
Definition: mncc.h:22
OSMO_GSUP_MSGT_MO_FORWARD_SM_REQUEST
@ OSMO_GSUP_MSGT_MO_FORWARD_SM_REQUEST
Definition: gsup.h:166
OSMO_GSUP_MSGT_E_ABORT
@ OSMO_GSUP_MSGT_E_ABORT
Definition: gsup.h:198
decode_lai
static void decode_lai(const uint8_t *data, struct osmo_location_area_id *decoded)
Definition: gsm0808_utils.c:197
gsm48_arfcn_range_encode.h
GSM0808_CAUSE_RELOCATION_TRIGGERED
@ GSM0808_CAUSE_RELOCATION_TRIGGERED
Definition: gsm_08_08.h:378
tch_axs_sid_update_state
static const uint8_t tch_axs_sid_update_state[][2]
Definition: gsm0503_conv.c:1129
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_LUPD_PERIODIC
#define GSM48_LUPD_PERIODIC
Definition: gsm_04_08.h:1634
osmo_gad::ell_point_unc_circle
struct osmo_gad_ell_point_unc_circle ell_point_unc_circle
Definition: gad.h:154
GSM0808_IE_CHANNEL_TYPE
@ GSM0808_IE_CHANNEL_TYPE
Definition: gsm_08_08.h:200
GSM0808_CAUSE_HANDOVER_SUCCESSFUL
@ GSM0808_CAUSE_HANDOVER_SUCCESSFUL
Definition: gsm_08_08.h:371
LAPDM_MODE_MS
@ LAPDM_MODE_MS
behave like a MS (mobile phone)
Definition: lapdm.h:13
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:237
osmo_cbsp_cell_ent::list
struct llist_head list
Definition: cbsp.h:42
NM_MT_PERF_TEST
@ NM_MT_PERF_TEST
Definition: gsm_12_21.h:137
TCH_REPEAT_LENGTH
#define TCH_REPEAT_LENGTH
Definition: gsm0502.c:54
i460_mux.h
GSM48_MT_CC_MODIFY_COMPL
#define GSM48_MT_CC_MODIFY_COMPL
Definition: gsm_04_08.h:1575
lapdm_entity::mode
enum lapdm_mode mode
are we in BTS mode or MS mode
Definition: lapdm.h:55
gsm48_hdr::proto_discr
uint8_t proto_discr
Definition: gsm_04_08.h:892
osmo_bssmap_le_iei_names
const struct value_string osmo_bssmap_le_iei_names[]
Definition: bssmap_le.c:783
NM_CHANC_BCCHComb
@ NM_CHANC_BCCHComb
Definition: gsm_12_21.h:554
tch_afs_7_4_term_state
static const uint8_t tch_afs_7_4_term_state[]
Definition: gsm0503_conv.c:428
osmo_earfcn_si2q::thresh_hi
uint8_t thresh_hi
Definition: sysinfo.h:57
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:289
GSM0808_IE_LOCATION_ESTIMATE
@ GSM0808_IE_LOCATION_ESTIMATE
Definition: gsm_08_08.h:255
OSMO_GSUP_MESSAGE_CLASS_USSD
@ OSMO_GSUP_MESSAGE_CLASS_USSD
Definition: gsup.h:282
gprs_ra_id::mnc
uint16_t mnc
Definition: gsm48.h:26
gsm_mncc_bearer_cap::radio
int radio
Definition: mncc.h:16
GSM48_CC_CAUSE_NONSE_USER_CLR
@ GSM48_CC_CAUSE_NONSE_USER_CLR
Definition: gsm_04_08.h:1839
GSM_CAUSE_SERV_OPT_TEMP_OOO
@ GSM_CAUSE_SERV_OPT_TEMP_OOO
Definition: gsm_04_08_gprs.h:255
OSMO_GSUP_SM_RP_MMS_IE
@ OSMO_GSUP_SM_RP_MMS_IE
Definition: gsup.h:105
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:1393
smrdatastate::rout
int(* rout)(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:434
GSM48_MT_RR_ASS_COMPL
#define GSM48_MT_RR_ASS_COMPL
Definition: gsm_04_08.h:1460
gsm48_classmark3::tighter_capability
uint8_t tighter_capability
Definition: gsm_04_08.h:214
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:1693
OSMO_GSUP_IMEI_IE
@ OSMO_GSUP_IMEI_IE
Definition: gsup.h:108
gsm0808_handover_command::l3_info
const uint8_t * l3_info
Definition: gsm0808.h:231
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:326
osmo_rol16
static uint16_t osmo_rol16(uint16_t in, unsigned shift)
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:641
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:77
GSM_CAUSE_NSAPI_IN_USE
@ GSM_CAUSE_NSAPI_IN_USE
Definition: gsm_04_08_gprs.h:256
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:262
OSMO_DEPRECATED
#define OSMO_DEPRECATED(text)
gsm48_hdr::data
uint8_t data[0]
Definition: gsm_04_08.h:894
rsl_rll_error
static int rsl_rll_error(uint8_t cause, struct lapdm_msg_ctx *mctx)
Definition: lapdm.c:546
get_value_string
const char * get_value_string(const struct value_string *vs, uint32_t val)
BSSMAP_LE_LOC_INFO_CURRENT_GEOGRAPHIC
@ BSSMAP_LE_LOC_INFO_CURRENT_GEOGRAPHIC
Definition: gsm_49_031.h:133
gsm0808_create_handover_request
struct msgb * gsm0808_create_handover_request(const struct gsm0808_handover_request *params)
Create BSSMAP HANDOVER REQUEST message, 3GPP TS 48.008 3.2.1.8.
Definition: gsm0808.c:903
BSSLAP_IEI_MEAS_REP
@ BSSLAP_IEI_MEAS_REP
Definition: gsm_48_071.h:63
abis_rsl_cchan_hdr::c
struct abis_rsl_common_hdr c
Definition: gsm_08_58.h:110
ipa_ccm_id_get_parse
int ipa_ccm_id_get_parse(struct tlv_parsed *dec, const uint8_t *buf, unsigned int len)
Parse the payload part of an IPA CCM ID GET, return tlv_parsed format.
Definition: ipa.c:163
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:42
NM_MT_DISC_MDROP_LINK_ACK
@ NM_MT_DISC_MDROP_LINK_ACK
Definition: gsm_12_21.h:124
GSM48_LUPD_NORMAL
#define GSM48_LUPD_NORMAL
Definition: gsm_04_08.h:1633
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:271
msgb_put_cbsp_fail_list
static void msgb_put_cbsp_fail_list(struct msgb *msg, const struct llist_head *fl)
Definition: cbsp.c:68
lapdm_entity::tx_power
uint8_t tx_power
Definition: lapdm.h:68
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:1378
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:136
GMM_CAUSE_SEM_INCORR_MSG
@ GMM_CAUSE_SEM_INCORR_MSG
Definition: gsm_04_08_gprs.h:230
bsslap_ta_layer3::ta
uint8_t ta
Definition: gsm_48_071.h:96
osmo_gcr_parsed::node
uint16_t node
length (3-5 octets) of gsm29205_gcr::net
Definition: gsm29205.h:36
gsm48_classmark2
Definition: gsm_04_08.h:31
GSM48_CMSERV_VGCS
@ GSM48_CMSERV_VGCS
Definition: gsm_04_08.h:1615
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
alloc_bitbuf
static int alloc_bitbuf(void *ctx, struct osmo_i460_subchan *schan, size_t num_bits)
Definition: i460_mux.c:294
osmo_pbit2ubit
int osmo_pbit2ubit(ubit_t *out, const pbit_t *in, unsigned int num_bits)
GSM0808_CAUSE_UNKNOWN_INFORMATION_ELEMENT
@ GSM0808_CAUSE_UNKNOWN_INFORMATION_ELEMENT
Definition: gsm_08_08.h:417
BSS_MAP_MSG_CIRCUIT_GROUP_BLOCK
@ BSS_MAP_MSG_CIRCUIT_GROUP_BLOCK
Definition: gsm_08_08.h:139
FACCH_F_REPEAT_LENGTH
#define FACCH_F_REPEAT_LENGTH
Definition: gsm0502.c:55
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:1239
GA_MT_RC_REGISTER_REQUEST
@ GA_MT_RC_REGISTER_REQUEST
Definition: gsm_44_318.h:23
CBSP_MSGT_WRITE_REPLACE_COMPL
@ CBSP_MSGT_WRITE_REPLACE_COMPL
Definition: gsm_48_049.h:52
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:171
GMM_CAUSE_MSG_INCOMP_P_STATE
@ GMM_CAUSE_MSG_INCOMP_P_STATE
Definition: gsm_04_08_gprs.h:236
range1024_p
static unsigned range1024_p(unsigned n)
Definition: gsm48_rest_octets.c:311
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:260
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:263
cause
uint8_t cause
Definition: gsm_04_08.h:2
GPRS_ALGO_GEA4
@ GPRS_ALGO_GEA4
Definition: gprs_cipher.h:18
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:428
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:199
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:62
GSM48_CC_CAUSE_NO_CIRCUIT_CHAN
@ GSM48_CC_CAUSE_NO_CIRCUIT_CHAN
Definition: gsm_04_08.h:1845
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:400
BSSMAP_LE_IEI_CLASSMARK3_INFO
@ BSSMAP_LE_IEI_CLASSMARK3_INFO
Definition: gsm_49_031.h:101
gprs_ra_id::mnc_3_digits
bool mnc_3_digits
Definition: gsm48.h:27
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:159
osmo_cbsp_kill_complete::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:142
SGSAP_IE_TMSI
@ SGSAP_IE_TMSI
Definition: gsm_29_118.h:47
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:651
gsm0480_gen_return_error
struct msgb * gsm0480_gen_return_error(uint8_t invoke_id, uint8_t error_code)
Generate a ReturnError component (see section 3.6.1) and given error code (see section 3....
Definition: gsm0480.c:850
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:76
osmo_lai_name_c
char * osmo_lai_name_c(const void *ctx, const struct osmo_location_area_id *lai)
Return MCC-MNC-LAC as string, in a talloc-allocated output buffer.
Definition: gsm23003.c:242
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
BSSLAP_IEI_LAC
@ BSSLAP_IEI_LAC
Definition: gsm_48_071.h:69
gsm0808_speech_codec::tf
bool tf
Definition: gsm_08_08.h:544
LAPDm_U_UI
#define LAPDm_U_UI
Definition: lapdm.c:86
osmo_i460_schan_desc
description of a sub-channel; passed by caller
Definition: i460_mux.h:81
GSM0808_LCLS_STS_NOT_POSSIBLE_LS
@ GSM0808_LCLS_STS_NOT_POSSIBLE_LS
Definition: gsm_08_08.h:663
GSM0808_CAUSE_TERRESTRIAL_CIRCUIT_ALREADY_ALLOCATED
@ GSM0808_CAUSE_TERRESTRIAL_CIRCUIT_ALREADY_ALLOCATED
Definition: gsm_08_08.h:412
osmo_gad_enc_unc
uint8_t osmo_gad_enc_unc(uint32_t mm)
Encode an uncertainty circle value according to 3GPP TS 23.032.
Definition: gad.c:190
CBSP_IEI_CHANNEL_IND
@ CBSP_IEI_CHANNEL_IND
Definition: gsm_48_049.h:40
OSMO_GSUP_MSGT_DELETE_DATA_REQUEST
@ OSMO_GSUP_MSGT_DELETE_DATA_REQUEST
Definition: gsup.h:154
GSM48_MT_CC_STATUS_ENQ
#define GSM48_MT_CC_STATUS_ENQ
Definition: gsm_04_08.h:1592
GSM48_MT_GMM_PTMSI_REALL_COMPL
#define GSM48_MT_GMM_PTMSI_REALL_COMPL
Definition: gsm_04_08_gprs.h:26
smcdatastate
Definition: gsm0411_smc.c:483
gsm48_rr_msgtype_names
const struct value_string gsm48_rr_msgtype_names[]
TS 04.08 RR Message Type names.
Definition: gsm48.c:1357
GSM411_MMSMS_DATA_REQ
#define GSM411_MMSMS_DATA_REQ
Definition: gsm0411_smc.h:15
gsm48_classmark3::dtm_enhancements_cap
bool dtm_enhancements_cap
Definition: gsm_04_08.h:181
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:1448
smrdownstate::rout
int(* rout)(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:382
n
write Write running configuration to or terminal n Write configuration to the copy running config startup Copy configuration n Copy running config to n Copy running config to startup write Write running configuration to or terminal n Write to terminal n
osmo_cbsp_decoded::load_query_compl
struct osmo_cbsp_load_query_complete load_query_compl
Definition: cbsp.h:262
T200_SACCH_TCH_SAPI3
@ T200_SACCH_TCH_SAPI3
Definition: gsm_12_21.h:654
gsm48_classmark3::gsm_750_assoc_radio_cap
struct gsm48_classmark3::@43 gsm_750_assoc_radio_cap
bssmap_le_msgt
bssmap_le_msgt
Definition: gsm_49_031.h:69
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:36
SGSAP_MSGT_EPS_DET_ACK
@ SGSAP_MSGT_EPS_DET_ACK
Definition: gsm_29_118.h:23
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:587
GSM0808_LCLS_STS_NA
@ GSM0808_LCLS_STS_NA
Definition: gsm_08_08.h:667
lapdm_msg_ctx::lapdm_fmt
int lapdm_fmt
Definition: lapdm.h:22
NM_MT_SET_CHAN_ATTR
@ NM_MT_SET_CHAN_ATTR
Definition: gsm_12_21.h:133
smcdatastate::type
int type
Definition: gsm0411_smc.c:485
NM_MT_GET_ATTR
@ NM_MT_GET_ATTR
Definition: gsm_12_21.h:187
BSSAP_LE_MSG_SIZE
#define BSSAP_LE_MSG_SIZE
Definition: bssmap_le.c:43
GSM0808_IE_CHANNEL_NEEDED
@ GSM0808_IE_CHANNEL_NEEDED
Definition: gsm_08_08.h:225
GSM48_IE_NAME_SHORT
#define GSM48_IE_NAME_SHORT
Definition: gsm_04_08.h:1653
osmo_lcls::corr_needed
bool corr_needed
§3.2.2.118 Correlation-Not-Needed.
Definition: gsm0808_utils.h:69
GSM0808_LCLS_CSC_NA
@ GSM0808_LCLS_CSC_NA
Definition: gsm_08_08.h:657
osmo_cbsp_fail_ent::cause
uint8_t cause
Definition: cbsp.h:78
gsm48_classmark3::sms_value
uint8_t sms_value
Definition: gsm_04_08.h:83
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:2143
GSM48_CC_CAUSE_SERV_OPT_UNAVAIL
@ GSM48_CC_CAUSE_SERV_OPT_UNAVAIL
Definition: gsm_04_08.h:1857
GSM48_MT_MM_NULL
#define GSM48_MT_MM_NULL
Definition: gsm_04_08.h:1556
osmo_gsm48_si_power_offset::power_offset
uint8_t power_offset
Definition: gsm48_rest_octets.h:69
osmo_cgi_ps_name2
const char * osmo_cgi_ps_name2(const struct osmo_cell_global_id_ps *cgi_ps)
Same as osmo_cgi_ps_name(), but uses a different static buffer.
Definition: gsm23003.c:358
BSSMAP_LE_IEI_LCS_CLIENT_TYPE
@ BSSMAP_LE_IEI_LCS_CLIENT_TYPE
Definition: gsm_49_031.h:92
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:137
GA_MT_RC_REGISTER_UPDATE_DL
@ GA_MT_RC_REGISTER_UPDATE_DL
Definition: gsm_44_318.h:29
OSMO_GSUP_MSGT_E_PREPARE_HANDOVER_RESULT
@ OSMO_GSUP_MSGT_E_PREPARE_HANDOVER_RESULT
Definition: gsup.h:184
GSM0808_CAUSE_REQ_A_IF_TYPE_UNAVAIL
@ GSM0808_CAUSE_REQ_A_IF_TYPE_UNAVAIL
Definition: gsm_08_08.h:402
lapd_res_req
static int lapd_res_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1998
IPAC_IDTAG_SWVERSION
@ IPAC_IDTAG_SWVERSION
Definition: ipaccess.h:66
NM_MT_SET_BTS_ATTR_ACK
@ NM_MT_SET_BTS_ATTR_ACK
Definition: gsm_12_21.h:128
g
struct osmo_tdef_group * g
sgsap_iei_names
const struct value_string sgsap_iei_names[]
Definition: gsm29118.c:60
BSS_MAP_MSG_NOTIFICATION_DATA
@ BSS_MAP_MSG_NOTIFICATION_DATA
Definition: gsm_08_08.h:176
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:1363
Te0
const u32 Te0[256]
Definition: aes-internal.c:74
EGPRS_MCS4
EGPRS_MCS4
osmo_cbsp_msg_status_query_complete::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:187
GSM0808_CAUSE_DTM_HO_SGSN_FAILURE
@ GSM0808_CAUSE_DTM_HO_SGSN_FAILURE
Definition: gsm_08_08.h:394
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:419
gsm0808_lcls_status
gsm0808_lcls_status
Definition: gsm_08_08.h:661
gprs_tlli_type
int gprs_tlli_type(uint32_t tlli)
Determine GPRS TLLI Type (TS 23.003 Chapter 2.6)
Definition: gsm_utils.c:956
GSM0808_CAUSE_REQ_CODEC_TYPE_OR_CONFIG_NOT_SUPP
@ GSM0808_CAUSE_REQ_CODEC_TYPE_OR_CONFIG_NOT_SUPP
Definition: gsm_08_08.h:409
OSMO_GSUP_MSGT_E_FORWARD_ACCESS_SIGNALLING_REQUEST
@ OSMO_GSUP_MSGT_E_FORWARD_ACCESS_SIGNALLING_REQUEST
Definition: gsup.h:195
gan_pdisc_vals
const struct value_string gan_pdisc_vals[]
Definition: gan.c:75
CBSP_IEI_OLD_SERIAL_NR
@ CBSP_IEI_OLD_SERIAL_NR
Definition: gsm_48_049.h:24
RSL_MT_REL_REQ
@ RSL_MT_REL_REQ
Definition: gsm_08_58.h:165
lapdm_format
lapdm_format
Definition: lapdm.c:109
tch_axs_sid_update_term_output
static const uint8_t tch_axs_sid_update_term_output[]
Definition: gsm0503_conv.c:1148
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
osmo_cbsp_decoded
Definition: cbsp.h:250
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:705
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:659
gsm48_classmark3::vamos_level
uint8_t vamos_level
Definition: gsm_04_08.h:213
lapd_msg_ctx::n_send
uint8_t n_send
Definition: lapd_core.h:107
smrdownstate::name
const char * name
Definition: gsm0411_smr.c:381
gsm0808_handover_complete::rr_cause_present
bool rr_cause_present
Definition: gsm0808.h:248
ipaccess_head::proto
uint8_t proto
Definition: ipaccess.h:12
GSM48_REJECT_ILLEGAL_MS
@ GSM48_REJECT_ILLEGAL_MS
Definition: gsm_04_08.h:1886
osmo_cbsp_kill_failure::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:154
osmo_apn_qualify_from_imsi_buf
char * osmo_apn_qualify_from_imsi_buf(char *buf, size_t buf_len, const char *imsi, const char *ni, int have_3dig_mnc)
Definition: apn.c:57
append_uarfcns
static void append_uarfcns(struct bitvec *bv, const uint16_t *uarfcn_list, size_t *u_offset, size_t uarfcn_length, uint16_t *scramble_list, uint8_t budget)
Definition: gsm48_rest_octets.c:405
OSMO_ASSERT
#define OSMO_ASSERT(exp)
create_simple_msg
static struct msgb * create_simple_msg(enum sgsap_msg_type msg_type, const char *imsi)
Definition: gsm29118.c:239
NM_MT_SET_CHAN_ATTR_ACK
@ NM_MT_SET_CHAN_ATTR_ACK
Definition: gsm_12_21.h:134
osmo_cbsp_decoded_alloc
struct osmo_cbsp_decoded * osmo_cbsp_decoded_alloc(void *ctx, enum cbsp_msg_type msg_type)
Dynamically allocate and initialize decoded CBSP structure.
Definition: cbsp.c:1373
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:1006
BSSLAP_IEI_PACKET_CHAN_DESC
@ BSSLAP_IEI_PACKET_CHAN_DESC
Definition: gsm_48_071.h:79
BSS_MAP_MSG_UNEQUIPPED_CIRCUIT
@ BSS_MAP_MSG_UNEQUIPPED_CIRCUIT
Definition: gsm_08_08.h:143
BSSMAP_LE_IEI_COVERAGE_CLASS
@ BSSMAP_LE_IEI_COVERAGE_CLASS
Definition: gsm_49_031.h:121
osmo_gprs_cell_options::ctrl_ack_type_use_block
bool ctrl_ack_type_use_block
GA_MT_CSR_PAGING_REQ
@ GA_MT_CSR_PAGING_REQ
Definition: gsm_44_318.h:53
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:880
lapdm_channel_reset
void lapdm_channel_reset(struct lapdm_channel *lc)
Reset a LAPDm channel with all its entities.
Definition: lapdm.c:1491
lapd_rx_u_frmr
static int lapd_rx_u_frmr(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1257
cbsp_enc_restart
static int cbsp_enc_restart(struct msgb *msg, const struct osmo_cbsp_restart *in)
Definition: cbsp.c:371
DEBUGP
#define DEBUGP(ss, fmt, args...)
GA_MT_CSR_HO_ACCESS
@ GA_MT_CSR_HO_ACCESS
Definition: gsm_44_318.h:46
GSM48_IE_REALTIME_DIFF
#define GSM48_IE_REALTIME_DIFF
Definition: gsm_04_08.h:1734
gsm0808_msgb_put_cell_id_u
void gsm0808_msgb_put_cell_id_u(struct msgb *msg, enum CELL_IDENT id_discr, const union gsm0808_cell_id_u *u)
Definition: gsm0808_utils.c:894
subchan_reset
static void subchan_reset(struct osmo_i460_subchan *schan, bool first_time)
Definition: i460_mux.c:321
osmo_prim_hdr
MAX_SMS_RETRY
#define MAX_SMS_RETRY
Definition: gsm0411_smc.c:74
aes_encrypt_init
void * aes_encrypt_init(const u8 *key, size_t len)
Definition: aes-internal-enc.c:101
OSMO_GSUP_SUPPORTED_RAT_TYPES_IE
@ OSMO_GSUP_SUPPORTED_RAT_TYPES_IE
Definition: gsup.h:90
LAPD_STATE_IDLE
@ LAPD_STATE_IDLE
Definition: lapd_core.h:80
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:1363
gsm0808_handover_request
3GPP TS 48.008 §3.2.1.8 HANDOVER REQUEST
Definition: gsm0808.h:162
osmo_i460_subchan_mux::user_data
void * user_data
Definition: i460_mux.h:65
CBSP_IEI_CELL_LIST
@ CBSP_IEI_CELL_LIST
Definition: gsm_48_049.h:26
GSM0808_IE_REROUTE_REJ_CAUSE
@ GSM0808_IE_REROUTE_REJ_CAUSE
Definition: gsm_08_08.h:309
osmo_cbsp_write_replace::u
union osmo_cbsp_write_replace::@0 u
GSM48_MT_MM_LOC_UPD_REJECT
#define GSM48_MT_MM_LOC_UPD_REJECT
Definition: gsm_04_08.h:1536
gsm48_classmark3::ms_pos_method_cap
struct gsm48_classmark3::@35 ms_pos_method_cap
GSM0808_IE_RESOURCE_INDICATION_METHOD
@ GSM0808_IE_RESOURCE_INDICATION_METHOD
Definition: gsm_08_08.h:217
osmo_cbsp_write_replace_complete::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:116
gsm411_cp_state
gsm411_cp_state
Definition: gsm_04_11.h:10
bssmap_le.h
GSM0808_LCLS_CSC_BICAST_UL_AT_HANDOVER
@ GSM0808_LCLS_CSC_BICAST_UL_AT_HANDOVER
Definition: gsm_08_08.h:655
GSM414_MT_ACT_EMMI_CMD
#define GSM414_MT_ACT_EMMI_CMD
Definition: gsm_04_14.h:53
cbsp_enc_kill_compl
static int cbsp_enc_kill_compl(struct msgb *msg, const struct osmo_cbsp_kill_complete *in)
Definition: cbsp.c:241
osmo_cbsp_write_replace_complete
Definition: cbsp.h:110
gsm29118_create_reset_ack
struct msgb * gsm29118_create_reset_ack(struct gsm29118_reset_msg *params)
Definition: gsm29118.c:356
lapdm_rx_not_permitted
static int lapdm_rx_not_permitted(const struct lapdm_entity *le, const struct lapd_msg_ctx *lctx)
Definition: lapdm.c:672
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:620
gsm411_send_release
static int gsm411_send_release(struct gsm411_smr_inst *inst)
Definition: gsm0411_smr.c:187
BSSMAP_LE_LCS_CTYPE_EMERG_SVC_UNSPECIFIED
@ BSSMAP_LE_LCS_CTYPE_EMERG_SVC_UNSPECIFIED
Definition: gsm_49_031.h:157
osmo_prim_init
static void osmo_prim_init(struct osmo_prim_hdr *oph, unsigned int sap, unsigned int primitive, enum osmo_prim_operation operation, struct msgb *msg)
msgb_put
static unsigned char * msgb_put(struct msgb *msgb, unsigned int len)
osmo_gad_raw_read
int osmo_gad_raw_read(union gad_raw *gad_raw, struct osmo_gad_err **err, void *err_ctx, const uint8_t *data, uint8_t len)
Read a GAD PDU and validate structure.
Definition: gad.c:350
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:1804
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:1146
c128v1_alg
static struct osmo_auth_impl c128v1_alg
Definition: auth_comp128v1.c:43
bitvec_set_bit
int bitvec_set_bit(struct bitvec *bv, enum bit_value bit)
GSM48_MT_MM_LOC_UPD_REQUEST
#define GSM48_MT_MM_LOC_UPD_REQUEST
Definition: gsm_04_08.h:1537
BSS_MAP_MSG_RESET_CIRCUIT_ACKNOWLEDGE
@ BSS_MAP_MSG_RESET_CIRCUIT_ACKNOWLEDGE
Definition: gsm_08_08.h:127
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
gsm48_classmark3::dtm_gprs_multislot_cap
struct gsm48_classmark3::@41 dtm_gprs_multislot_cap
cbsp_att_tlvdef
const struct tlv_definition cbsp_att_tlvdef
Definition: gsm48049.c:84
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:336
Te1
const u32 Te1[256]
GSM48_DTX_MAY_BE_USED
@ GSM48_DTX_MAY_BE_USED
Definition: gsm_04_08.h:948
osmo_nri_v_matches_ranges
bool osmo_nri_v_matches_ranges(int16_t nri_v, const struct osmo_nri_ranges *nri_ranges)
Return true when the given NRI value appears in the list of NRI ranges.
Definition: gsm23236.c:84
OSMO_GSUP_SESSION_STATE_IE
@ OSMO_GSUP_SESSION_STATE_IE
Definition: gsup.h:94
GSM48_CC_CAUSE_INV_NR_FORMAT
@ GSM48_CC_CAUSE_INV_NR_FORMAT
Definition: gsm_04_08.h:1841
GSM48_IE_CHANMODE_2
#define GSM48_IE_CHANMODE_2
Definition: gsm_04_08.h:1699
GSM48_IE_CELL_CH_DESC
#define GSM48_IE_CELL_CH_DESC
Definition: gsm_04_08.h:1723
gsm48_loc_area_id::digits
uint8_t digits[3]
Definition: gsm_04_08.h:849
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
osmo_bssmap_le_ie_dec_location_type
int osmo_bssmap_le_ie_dec_location_type(struct bssmap_le_location_type *lt, enum bssmap_le_msgt msgt, enum bssmap_le_iei iei, struct osmo_bssmap_le_err **err, void *err_ctx, const uint8_t *elem, uint8_t len)
Decode BSSMAP-LE Location Type IE value part.
Definition: bssmap_le.c:182
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:571
NM_ATT_ADD_TEXT
@ NM_ATT_ADD_TEXT
Definition: gsm_12_21.h:322
gsm0808_handover_request::call_id_present
bool call_id_present
Definition: gsm0808.h:191
GSM0808_IE_IMSI
@ GSM0808_IE_IMSI
Definition: gsm_08_08.h:197
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
OSMO_RAT_COUNT
@ OSMO_RAT_COUNT
Definition: gsm_utils.h:254
osmo_cbsp_loading_list::id_discr
enum CELL_IDENT id_discr
Definition: cbsp.h:69
NM_ATT_IPACC_BVCI
@ NM_ATT_IPACC_BVCI
Definition: gsm_12_21.h:443
gsm0808_cell_id_u_match
static bool gsm0808_cell_id_u_match(enum CELL_IDENT discr1, const union gsm0808_cell_id_u *u1, enum CELL_IDENT discr2, const union gsm0808_cell_id_u *u2, bool exact_match)
Return true if the common information between the two Cell Identifiers match.
Definition: gsm0808_utils.c:1697
osmo_nri_ranges_del
int osmo_nri_ranges_del(struct osmo_nri_ranges *nri_ranges, const struct osmo_nri_range *del)
Remove a range of NRI values from a list of nri_range structs.
Definition: gsm23236.c:351
GSM48_CC_CAUSE_PRE_EMPTION
@ GSM48_CC_CAUSE_PRE_EMPTION
Definition: gsm_04_08.h:1838
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:656
osmo_nri_ranges_to_str_buf
int osmo_nri_ranges_to_str_buf(char *buf, size_t buflen, const struct osmo_nri_ranges *nri_ranges)
Compose a human readable representation of a list of NRI ranges in a buffer, like "23....
Definition: gsm23236.c:406
GSM48_CMODE_DATA_12k0
@ GSM48_CMODE_DATA_12k0
Definition: gsm_04_08.h:749
NM_ATT_SW_CONFIG
@ NM_ATT_SW_CONFIG
Definition: gsm_12_21.h:383
gad_raw::ell_point_alt_unc_ell
struct gad_raw_ell_point_alt_unc_ell ell_point_alt_unc_ell
Definition: gsm_23_032.h:246
OSMO_GSUP_MESSAGE_CLASS_INTER_MSC
@ OSMO_GSUP_MESSAGE_CLASS_INTER_MSC
Definition: gsup.h:283
OSMO_NRI_BITLEN_MIN
#define OSMO_NRI_BITLEN_MIN
Definition: gsm23236.h:12
gsm0808_dec_gcr
static int gsm0808_dec_gcr(struct osmo_gcr_parsed *gcr, const struct tlv_parsed *tp)
Decode BSSMAP Global Call Reference, 3GPP TS 29.205 Table B 2.1.9.1.
Definition: gsm0808_utils.c:562
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:1724
BSS_MAP_MSG_UPLINK_RELEASE_INDICATION
@ BSS_MAP_MSG_UPLINK_RELEASE_INDICATION
Definition: gsm_08_08.h:171
osmo_auth_vector::sres
uint8_t sres[4]
authentication result for GSM
Definition: auth.h:68
utils.h
facch_f_remap_table
static struct fn_remap_table facch_f_remap_table
Definition: gsm0502.c:113
gsm48_classmark3::extended_earfcn_val_range
bool extended_earfcn_val_range
Definition: gsm_04_08.h:227
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:101
gsm48_classmark3::assoc_radio_cap_2
uint8_t assoc_radio_cap_2
Definition: gsm_04_08.h:66
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
bssap_le_pdu
Definition: gsm_49_031.h:204
gsm0808_handover_complete::lcls_bss_status_present
bool lcls_bss_status_present
Definition: gsm0808.h:262
msgb::data
unsigned char * data
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:42
osmo_cbsp_write_replace_failure::old_serial_nr
uint16_t * old_serial_nr
Definition: cbsp.h:123
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:1914
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:33
GSM_RESERVED_TMSI
#define GSM_RESERVED_TMSI
Definition: gsm48.h:17
gsm0480_comp_type_names
const struct value_string gsm0480_comp_type_names[]
Definition: gsm0480.c:40
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:307
cbsp_enc_keep_alive
static int cbsp_enc_keep_alive(struct msgb *msg, const struct osmo_cbsp_keep_alive *in)
Definition: cbsp.c:353
gsm0503_coding.h
osmo_gsm48_rest_octets_si3_encode
int osmo_gsm48_rest_octets_si3_encode(uint8_t *data, const struct osmo_gsm48_si_ro_info *si3)
Definition: gsm48_rest_octets.c:574
NM_MT_STOP_TEST_NACK
@ NM_MT_STOP_TEST_NACK
Definition: gsm_12_21.h:146
SGSAP_IE_MME_NAME
@ SGSAP_IE_MME_NAME
Definition: gsm_29_118.h:53
gsm411_rp_hdr::msg_ref
uint8_t msg_ref
Definition: gsm_04_11.h:107
osmo_gsm48_si13_info::si_change_field
uint8_t si_change_field
Definition: gsm48_rest_octets.h:116
osmo_cbsp_cell_ent
Definition: cbsp.h:41
GSM48_REJECT_NETWORK_FAILURE
@ GSM48_REJECT_NETWORK_FAILURE
Definition: gsm_04_08.h:1893
gsm0808_create_sapi_reject_cause
struct msgb * gsm0808_create_sapi_reject_cause(uint8_t link_id, uint16_t cause)
Create BSSMAP SAPI N Reject message.
Definition: gsm0808.c:452
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:1166
GSM23003_IMEI_NUM_DIGITS_NO_CHK
#define GSM23003_IMEI_NUM_DIGITS_NO_CHK
Definition: gsm_23_003.h:35
osmo_cbsp_load_query_complete::loading_list
struct osmo_cbsp_loading_list loading_list
Definition: cbsp.h:165
NM_OC_BASEB_TRANSC
@ NM_OC_BASEB_TRANSC
Definition: gsm_12_21.h:293
gsm0411_smc.h
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:825
SGSAP_MSGT_RESET_ACK
@ SGSAP_MSGT_RESET_ACK
Definition: gsm_29_118.h:27
_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:20
lapd_recv_dlsap
int lapd_recv_dlsap(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:2202
CBSP_MSGT_ERROR_IND
@ CBSP_MSGT_ERROR_IND
Definition: gsm_48_049.h:71
osmo_cbsp_write_replace_failure::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:126
GSM0808_SC_CFG_DEFAULT_AMR_6_70
@ GSM0808_SC_CFG_DEFAULT_AMR_6_70
Definition: gsm_08_08.h:579
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:807
GSM48_CC_CAUSE_USER_NOTRESPOND
@ GSM48_CC_CAUSE_USER_NOTRESPOND
Definition: gsm_04_08.h:1834
gsm411_smr_inst::mn_send
int(* mn_send)(struct gsm411_smr_inst *inst, int msg_type, struct msgb *msg)
Definition: gsm0411_smr.h:21
osmo_gsm48_si_vbs_vgcs_options::present
bool present
Definition: gsm48_rest_octets.h:32
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:45
osmo_cbsp_msg_status_query::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:180
GSM0808_IE_SRC_ENB_TO_TGT_ENB_TRANSP
@ GSM0808_IE_SRC_ENB_TO_TGT_ENB_TRANSP
Definition: gsm_08_08.h:320
gsm0411_smr.h
GMM_CAUSE_CONGESTION
@ GMM_CAUSE_CONGESTION
Definition: gsm_04_08_gprs.h:225
NM_ATT_FILE_VERSION
@ NM_ATT_FILE_VERSION
Definition: gsm_12_21.h:338
cbsp_decode_num_compl_list
static int cbsp_decode_num_compl_list(struct osmo_cbsp_num_compl_list *cl, void *ctx, const uint8_t *buf, unsigned int len)
Definition: cbsp.c:588
osmo_cbsp_kill::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:134
PUTU32
#define PUTU32(ct, st)
Definition: aes_i.h:115
OSMO_GSUP_NUM_VECTORS_REQ_IE
@ OSMO_GSUP_NUM_VECTORS_REQ_IE
Definition: gsup.h:110
gsm0808_handover_required::cause
uint16_t cause
Definition: gsm0808.h:135
CBSP_MSGT_MSG_STATUS_QUERY_COMPL
@ CBSP_MSGT_MSG_STATUS_QUERY_COMPL
Definition: gsm_48_049.h:61
osmo_auth_load
int osmo_auth_load(const char *path)
Load all available authentication plugins from the given path.
Definition: auth_core.c:73
osmo_i460_mux_enqueue
void osmo_i460_mux_enqueue(struct osmo_i460_subchan *schan, struct msgb *msg)
enqueue a to-be-transmitted message buffer containing unpacked bits
Definition: i460_mux.c:166
gsm48_classmark3::present
bool present
Definition: gsm_04_08.h:69
BSSLAP_IEI_RRLP
@ BSSLAP_IEI_RRLP
Definition: gsm_48_071.h:66
osmo_dlsap_prim::u
union osmo_dlsap_prim::@17 u
request-specific data
OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST
@ OSMO_GSUP_MSGT_SEND_AUTH_INFO_REQUEST
Definition: gsup.h:140
ALL_STATES
#define ALL_STATES
Definition: gsm_04_08.h:1985
osmo_gsm48_si_selection_params
Definition: gsm48_rest_octets.h:60
osmo_bsslap_ie_dec_ta
static int osmo_bsslap_ie_dec_ta(uint8_t *ta, enum bsslap_msgt msgt, enum bsslap_iei iei, struct osmo_bsslap_err **err, void *err_ctx, const uint8_t *data, size_t len)
Definition: bsslap.c:114
lapd_t203_cb
static void lapd_t203_cb(void *data)
Definition: lapd_core.c:715
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:723
GSM48_IE_NET_TIME_TZ
#define GSM48_IE_NET_TIME_TZ
Definition: gsm_04_08.h:1655
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:868
gsm0808_cell_id::id_discr
enum CELL_IDENT id_discr
Definition: gsm0808_utils.h:52
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:1739
osmo_cell_global_id_ps
Definition: gsm23003.h:33
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:44
CHANNEL_TYPE_ELEMENT_MAXLEN
#define CHANNEL_TYPE_ELEMENT_MAXLEN
Definition: gsm0808_utils.c:38
gsm_band
gsm_band
Definition: gsm_utils.h:52
CBSP_MSGT_MSG_STATUS_QUERY
@ CBSP_MSGT_MSG_STATUS_QUERY
Definition: gsm_48_049.h:60
osmo_gen_home_network_domain
int osmo_gen_home_network_domain(char *out, const struct osmo_plmn_id *plmn)
Generate TS 23.003 Section 19.2 Home Network Realm/Domain (text form)
Definition: gsm23003.c:623
osmo_imei_str_valid
bool osmo_imei_str_valid(const char *imei, bool with_15th_digit)
Determine whether the given IMEI is valid according to 3GPP TS 23.003, Section 6.2....
Definition: gsm23003.c:84
osmo_cell_global_id
Definition: gsm23003.h:28
OSMO_GSUP_MSGT_INSERT_DATA_RESULT
@ OSMO_GSUP_MSGT_INSERT_DATA_RESULT
Definition: gsup.h:152
gsm_mncc_bearer_cap::nr_stop_bits
int nr_stop_bits
Definition: mncc.h:23
OSMO_GSUP_MESSAGE_CLASS_IE
@ OSMO_GSUP_MESSAGE_CLASS_IE
Definition: gsup.h:74
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:170
osmo_gsup_message::sm_rp_ui
const uint8_t * sm_rp_ui
SM-RP-UI (see 3GPP TS 29.002, 7.6.8.4), SMS TPDU.
Definition: gsup.h:346
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:678
GSM0808_CAUSE_CLASS_NORM0
@ GSM0808_CAUSE_CLASS_NORM0
Definition: gsm_08_08.h:427
SGSAP_IE_SERVICE_INDICATOR
@ SGSAP_IE_SERVICE_INDICATOR
Definition: gsm_29_118.h:68
gsm48_classmark3::dtm_gprs_high_multislot_cap
struct gsm48_classmark3::@47 dtm_gprs_high_multislot_cap
GSM23003_IMEI_NUM_DIGITS
#define GSM23003_IMEI_NUM_DIGITS
Definition: gsm_23_003.h:30
gsm_sysinfo_freq::mask
uint8_t mask
Definition: gsm48_ie.h:116
SBIT
#define SBIT(a)
Definition: lapd_core.c:109
osmo_lai_cmp
int osmo_lai_cmp(const struct osmo_location_area_id *a, const struct osmo_location_area_id *b)
Definition: gsm23003.c:556
config
write Write running configuration to or terminal n Write configuration to the copy running config startup config
gsm48_classmark3::sm_value
uint8_t sm_value
Definition: gsm_04_08.h:84
GSM0808_IE_ASSIGNMENT_REQUIREMENT
@ GSM0808_IE_ASSIGNMENT_REQUIREMENT
Definition: gsm_08_08.h:241
rslms_sendmsg
static int rslms_sendmsg(struct msgb *msg, struct lapdm_entity *le)
Definition: lapdm.c:344
OSMO_EARFCN_INVALID
#define OSMO_EARFCN_INVALID
Definition: sysinfo.h:11
BSSMAP_LE_IEI_LCS_PRIORITY
@ BSSMAP_LE_IEI_LCS_PRIORITY
Definition: gsm_49_031.h:84
osmo_cbsp_write_replace_failure::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:125
gsm0808_create_ass2
struct msgb * gsm0808_create_ass2(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, const uint8_t *kc, const struct osmo_lcls *lcls)
Create BSSMAP Assignment Request message, 3GPP TS 48.008 §3.2.1.1.
Definition: gsm0808.c:488
osmo_cbsp_error_ind
Definition: cbsp.h:240
osmo_i460_subchan_count
static int osmo_i460_subchan_count(struct osmo_i460_timeslot *ts)
Definition: i460_mux.c:32
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:159
TLVP_PRES_LEN
#define TLVP_PRES_LEN(tp, tag, min_len)
Definition: tlv.h:550
gsm29118_create_eps_det_ack
struct msgb * gsm29118_create_eps_det_ack(const char *imsi)
Definition: gsm29118.c:271
osmo_gsm48_si13_info::prio_acc_thr
uint8_t prio_acc_thr
Definition: gsm48_rest_octets.h:120
osmo_cbsp_decoded::write_replace_fail
struct osmo_cbsp_write_replace_failure write_replace_fail
Definition: cbsp.h:255
GSM0808_IE_LCLS_BREAK_REQ
@ GSM0808_IE_LCLS_BREAK_REQ
Definition: gsm_08_08.h:317
osmo_gsm48_range_enc_256
int osmo_gsm48_range_enc_256(uint8_t *chan_list, int f0, int *w)
Definition: gsm48_arfcn_range_encode.c:275
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:183
BSSMAP_LE_LCS_CTYPE_VALUE_ADDED_UNSPECIFIED
@ BSSMAP_LE_LCS_CTYPE_VALUE_ADDED_UNSPECIFIED
Definition: gsm_49_031.h:151
BSSLAP_IEI_CELL_ID_LIST
@ BSSLAP_IEI_CELL_ID_LIST
Definition: gsm_48_071.h:67
gsm341_ms_message::dcs
struct gsm341_ms_message::@25 dcs
BSS_MAP_MSG_CIRCUIT_GROUP_BLOCKING_ACKNOWLEDGE
@ BSS_MAP_MSG_CIRCUIT_GROUP_BLOCKING_ACKNOWLEDGE
Definition: gsm_08_08.h:140
osmo_cbsp_kill_failure
Definition: cbsp.h:148
gsm0808_cell_id_list2::id_list
union gsm0808_cell_id_u id_list[GSM0808_CELL_ID_LIST2_MAXLEN]
Definition: gsm0808_utils.h:59
BSS_MAP_MSG_CLEAR_RQST
@ BSS_MAP_MSG_CLEAR_RQST
Definition: gsm_08_08.h:103
lapdm_msg_ctx::ta_ind
uint8_t ta_ind
Definition: lapdm.h:25
gsm0808_channel_type::perm_spch_len
unsigned int perm_spch_len
Definition: gsm_08_08.h:613
OSMO_GSUP_CAUSE_IE
@ OSMO_GSUP_CAUSE_IE
Definition: gsup.h:66
msgb_alloc_headroom
static struct msgb * msgb_alloc_headroom(int size, int headroom, const char *name)
BSSLAP_MSGT_UTDOA_RESP
@ BSSLAP_MSGT_UTDOA_RESP
Definition: gsm_48_071.h:42
DEC_IE_OPTIONAL_FLAG
#define DEC_IE_OPTIONAL_FLAG(MSG_TYPE, IEI, DEC_FUN, DEC_FUN_ARG, PRESENCE_FLAG)
Definition: bssmap_le.c:125
lapd_dl_exit
void lapd_dl_exit(struct lapd_datalink *dl)
Definition: lapd_core.c:361
GSM48_MT_GMM_AUTH_CIPH_FAIL
#define GSM48_MT_GMM_AUTH_CIPH_FAIL
Definition: gsm_04_08_gprs.h:30
bsslap_ta_response::cell_id
uint16_t cell_id
Definition: gsm_48_071.h:89
gad_raw
GAD PDU in network-byte-order according to 3GPP TS 23.032 GAD: Universal Geographical Area Descriptio...
Definition: gsm_23_032.h:239
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:562
GSM48_IE_CHDES_2_AFTER
#define GSM48_IE_CHDES_2_AFTER
Definition: gsm_04_08.h:1725
NM_ATT_IPACC_SEC_POSSIBLE
@ NM_ATT_IPACC_SEC_POSSIBLE
Definition: gsm_12_21.h:459
osmo_cbsp_fail_ent::cell_id
union gsm0808_cell_id_u cell_id
Definition: cbsp.h:77
GSM48_REJECT_ROAMING_NOT_ALLOWED
@ GSM48_REJECT_ROAMING_NOT_ALLOWED
Definition: gsm_04_08.h:1892
SMRDOWNSLLEN
#define SMRDOWNSLLEN
Definition: gsm0411_smr.c:396
GSM0808_IE_TALKER_FLAG
@ GSM0808_IE_TALKER_FLAG
Definition: gsm_08_08.h:242
GSM0808_IE_LAYER_3_INFORMATION
@ GSM0808_IE_LAYER_3_INFORMATION
Definition: gsm_08_08.h:212
GSM0808_PERM_FR2
@ GSM0808_PERM_FR2
GSM EFR.
Definition: gsm_08_08.h:486
NM_ATT_IPACC_NSVCI
@ NM_ATT_IPACC_NSVCI
Definition: gsm_12_21.h:444
gsm0808_channel_type_name_buf
char * gsm0808_channel_type_name_buf(char *buf, size_t buf_len, const struct gsm0808_channel_type *ct)
Definition: gsm0808_utils.c:2019
GSM0480_OP_CODE_PROCESS_USS_REQ
#define GSM0480_OP_CODE_PROCESS_USS_REQ
Definition: gsm_04_80.h:80
osmo_rai_name2_c
char * osmo_rai_name2_c(const void *ctx, const struct osmo_routing_area_id *rai)
Return MCC-MNC-LAC-RAC as string, in a talloc-allocated output buffer.
Definition: gsm23003.c:279
GSM48_MT_RR_NOTIF_NCH
#define GSM48_MT_RR_NOTIF_NCH
Definition: gsm_04_08.h:1480
OSMO_GSUP_HLR_NUMBER_IE
@ OSMO_GSUP_HLR_NUMBER_IE
Definition: gsup.h:73
osmo_bssmap_le_ie_dec_imei
static int osmo_bssmap_le_ie_dec_imei(struct osmo_mobile_identity *imei, enum bssmap_le_msgt msgt, enum bssmap_le_iei iei, struct osmo_bssmap_le_err **err, void *err_ctx, const uint8_t *elem, uint8_t len)
Definition: bssmap_le.c:395
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:155
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:509
gsm0808_lcls_config_name
static const char * gsm0808_lcls_config_name(enum gsm0808_lcls_config val)
Definition: gsm0808.h:334
RSL_MT_DATA_IND
@ RSL_MT_DATA_IND
Definition: gsm_08_58.h:160
gsm_mncc_number::type
int type
Definition: mncc.h:34
osmo_cbsp_error_ind::cause
enum cbsp_cell_id_cause cause
Definition: cbsp.h:241
osmo_bssmap_le_msgt
enum bssmap_le_msgt osmo_bssmap_le_msgt(const uint8_t *data, uint8_t len)
Return the BSSMAP-LE msg_type from a BSSAP-LE PDU, e.g.
Definition: bssmap_le.c:436
osmo_gsm48_rest_octets_si4_decode
void osmo_gsm48_rest_octets_si4_decode(struct osmo_gsm48_si_ro_info *si4, const uint8_t *data, int len)
Definition: gsm48_rest_octets.c:1189
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:1695
GSM0808_CAUSE_ALT_CHAN_CONFIG_REQUESTED
@ GSM0808_CAUSE_ALT_CHAN_CONFIG_REQUESTED
Definition: gsm_08_08.h:380
osmo_c4
void osmo_c4(uint8_t *ck, const uint8_t *kc)
Definition: auth_core.c:114
BSSMAP_LE_IEI_RET_ERR_REQ
@ BSSMAP_LE_IEI_RET_ERR_REQ
Definition: gsm_49_031.h:98
osmo_gen_mme_domain
int osmo_gen_mme_domain(char *out, const struct osmo_gummei *gummei)
Generate TS 23.003 Section 19.4.2.4 MME Domain (text form)
Definition: gsm23003.c:653
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:70
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:89
GSM48_CC_CAUSE_UNASSIGNED_NR
@ GSM48_CC_CAUSE_UNASSIGNED_NR
Definition: gsm_04_08.h:1828
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:993
osmo_auth_impl::algo
enum osmo_auth_algo algo
algorithm we implement
Definition: auth.h:75
abis_nm_dump_foh_buf
char * abis_nm_dump_foh_buf(char *buf, size_t buf_len, const struct abis_om_fom_hdr *foh)
Definition: abis_nm.c:932
osmo_earfcn_si2q::meas_bw
uint8_t * meas_bw
Definition: sysinfo.h:53
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:26
lapd_msg_ctx::format
uint8_t format
Definition: lapd_core.h:105
smod
static int32_t smod(int32_t n, int32_t m)
Definition: gsm48_ie.c:853
GSM48_DTX_SHALL_NOT_BE_USED
@ GSM48_DTX_SHALL_NOT_BE_USED
Definition: gsm_04_08.h:950
osmo_i460_schan_desc::mux
struct osmo_i460_schan_desc::@10 mux
lapd_msg_ctx::s_u
uint8_t s_u
Definition: lapd_core.h:109
NM_MT_BS11_END_DB_TX_NACK
@ NM_MT_BS11_END_DB_TX_NACK
Definition: gsm_12_21.h:204
osmo_mcc_name_buf
char * osmo_mcc_name_buf(char *buf, size_t buf_len, uint16_t mcc)
Return MCC string as standardized 3-digit with leading zeros.
Definition: gsm23003.c:98
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:1726
GSM48_RR_CAUSE_PREMPTIVE_REL
@ GSM48_RR_CAUSE_PREMPTIVE_REL
Definition: gsm_04_08.h:1809
osmo_cbsp_kill_complete::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:141
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:309
PRIM_OP_INDICATION
PRIM_OP_INDICATION
osmo_bts_features
osmo_bts_features
Definition: bts_features.h:11
range_encode
static int range_encode(enum osmo_gsm48_range r, int *arfcns, int arfcns_used, int *w, int f0, uint8_t *chan_list)
Definition: gsm48_rest_octets.c:271
osmo_cbsp_write_replace_complete::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:114
OSMO_GSUP_RAND_IE
@ OSMO_GSUP_RAND_IE
Definition: gsup.h:80
BSSMAP_MSG_HEADROOM
#define BSSMAP_MSG_HEADROOM
Definition: gsm0808.h:34
GSM48_IE_CLASSMARK3
#define GSM48_IE_CLASSMARK3
Definition: gsm_04_08.h:1719
osmo_cbsp_content::user_len
uint8_t user_len
Definition: cbsp.h:36
GSM0808_PERM_HR6
@ GSM0808_PERM_HR6
OHR AMR.
Definition: gsm_08_08.h:494
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:958
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
CBSP_MSGT_KILL_COMPL
@ CBSP_MSGT_KILL_COMPL
Definition: gsm_48_049.h:55
lapd_rx_u_disc
static int lapd_rx_u_disc(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1086
gsm0808_handover_request::old_bss_to_new_bss_info_present
bool old_bss_to_new_bss_info_present
Pass either old_bss_to_new_bss_info or old_bss_to_new_bss_info_raw.
Definition: gsm0808.h:178
gsm0808_handover_required::speech_version_used
enum gsm0808_permitted_speech speech_version_used
Definition: gsm0808.h:142
NM_MT_REST_EVENT_REP
@ NM_MT_REST_EVENT_REP
Definition: gsm_12_21.h:153
gsm0808_cause_class
gsm0808_cause_class
Definition: gsm_08_08.h:426
GSM411_RP_CAUSE_INV_MAND_INF
@ GSM411_RP_CAUSE_INV_MAND_INF
Definition: gsm_04_11.h:88
osmo_cbsp_decoded::msg_type
enum cbsp_msg_type msg_type
Definition: cbsp.h:251
gad_raw::ell_point_alt
struct gad_raw_ell_point_alt ell_point_alt
Definition: gsm_23_032.h:245
osmo_cbsp_decoded::write_replace_compl
struct osmo_cbsp_write_replace_complete write_replace_compl
Definition: cbsp.h:254
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:764
SGSAP_MSGT_RELEASE_REQ
@ SGSAP_MSGT_RELEASE_REQ
Definition: gsm_29_118.h:32
bitvec::data_len
unsigned int data_len
gsm0808_create_common_id
struct msgb * gsm0808_create_common_id(const char *imsi, const struct osmo_plmn_id *selected_plmn_id, const struct osmo_plmn_id *last_used_eutran_plnm_id)
Create BSSMAP COMMON ID message, 3GPP TS 48.008 3.2.1.68.
Definition: gsm0808.c:1245
osmo_gsup_an_apdu::data
const uint8_t * data
Definition: gsup.h:297
fn_remap_table::cycle
unsigned int cycle
Definition: gsm0502.c:103
DEBUGPC
#define DEBUGPC(ss, fmt, args...)
msgb.h
gsm0808_handover_request::cause
enum gsm0808_cause cause
Definition: gsm0808.h:168
gsm0808_create_perform_location_response
struct msgb * gsm0808_create_perform_location_response(const struct gsm0808_perform_location_response *params)
Definition: gsm0808.c:1367
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)
Same as gsm0808_create_handover_request_ack2() but with less parameters.
Definition: gsm0808.c:1042
osmo_plmn_id
Definition: gsm23003.h:9
OSMO_GSM48_ARFCN_RANGE_512
@ OSMO_GSM48_ARFCN_RANGE_512
Definition: gsm48_arfcn_range_encode.h:11
gsm0808_msgt_names
static const struct value_string gsm0808_msgt_names[]
Definition: gsm0808.c:1580
GMM_CAUSE_MSC_TEMP_NOTREACH
@ GMM_CAUSE_MSC_TEMP_NOTREACH
Definition: gsm_04_08_gprs.h:221
BSSMAP_LE_IEI_SHORT_BSS_ID
@ BSSMAP_LE_IEI_SHORT_BSS_ID
Definition: gsm_49_031.h:118
GSM23003_IMEISV_NUM_DIGITS
#define GSM23003_IMEISV_NUM_DIGITS
Definition: gsm_23_003.h:32
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:1904
RSL_IE_REQ_REFERENCE
@ RSL_IE_REQ_REFERENCE
Definition: gsm_08_58.h:306
includes.h
bssmap_le_perform_loc_req::apdu_present
bool apdu_present
Definition: gsm_49_031.h:171
OSMO_GSUP_SMS_SM_RP_ODA_IMSI
@ OSMO_GSUP_SMS_SM_RP_ODA_IMSI
Definition: gsup_sms.h:18
GSM0808_SC_CFG_AMR_7_40
@ GSM0808_SC_CFG_AMR_7_40
Definition: gsm_08_08.h:594
CBSP_MSGT_RESET
@ CBSP_MSGT_RESET
Definition: gsm_48_049.h:66
osmo_decode_big_endian
uint64_t osmo_decode_big_endian(const uint8_t *data, size_t data_len)
_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:1598
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
BSSLAP_IEI_ENH_MEAS_REP
@ BSSLAP_IEI_ENH_MEAS_REP
Definition: gsm_48_071.h:68
GSM48_CC_CAUSE_DEST_OOO
@ GSM48_CC_CAUSE_DEST_OOO
Definition: gsm_04_08.h:1840
gsm0808_handover_request::call_id
uint32_t call_id
Definition: gsm0808.h:192
OSMO_GSUP_SESSION_STATE_END
@ OSMO_GSUP_SESSION_STATE_END
Indication of the session end.
Definition: gsup.h:247
osmo_sub_auth_data::u
union osmo_sub_auth_data::@105 u
CBSP_MSGT_KEEP_ALIVE
@ CBSP_MSGT_KEEP_ALIVE
Definition: gsm_48_049.h:72
osmo_gsup_pdp_info::apn_enc
const uint8_t * apn_enc
APN information, still in encoded form.
Definition: gsup.h:263
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:25
LAPD_STATE_ASS_TEI_WAIT
@ LAPD_STATE_ASS_TEI_WAIT
Definition: lapd_core.h:78
osmo_bssmap_le_ie_dec_imsi
static int osmo_bssmap_le_ie_dec_imsi(struct osmo_mobile_identity *imsi, enum bssmap_le_msgt msgt, enum bssmap_le_iei iei, struct osmo_bssmap_le_err **err, void *err_ctx, const uint8_t *elem, uint8_t len)
Definition: bssmap_le.c:382
GSM0808_ALG_ID_A5_7
@ GSM0808_ALG_ID_A5_7
Definition: gsm_08_08.h:528
gsm411_smc_inst
Definition: gsm0411_smc.h:29
NM_NACK_RES_NOTIMPL
@ NM_NACK_RES_NOTIMPL
Definition: gsm_12_21.h:617
msgb_pull_u8
static uint8_t msgb_pull_u8(struct msgb *msgb)
osmo_mobile_identity_encode_msgb
int osmo_mobile_identity_encode_msgb(struct msgb *msg, const struct osmo_mobile_identity *mi, bool allow_hex)
Encode Mobile Identity type and BCD digits, appended to a msgb.
Definition: gsm48.c:774
TLVP_LEN
#define TLVP_LEN(x, y)
Definition: tlv.h:547
lapdm_entity::l3_ctx
void * l3_ctx
context for layer3 instance
Definition: lapdm.h:59
GSM0808_IE_APP_DATA_INFO
@ GSM0808_IE_APP_DATA_INFO
Definition: gsm_08_08.h:298
osmo_mobile_identity_encoded_len
int osmo_mobile_identity_encoded_len(const struct osmo_mobile_identity *mi, int *mi_digits)
Return the number of encoded Mobile Identity octets, without actually encoding.
Definition: gsm48.c:665
OSMO_GSUP_CN_DOMAIN_IE
@ OSMO_GSUP_CN_DOMAIN_IE
Definition: gsup.h:89
BSSLAP_IEI_CHAN_DESC
@ BSSLAP_IEI_CHAN_DESC
Definition: gsm_48_071.h:62
N201_Bbis
#define N201_Bbis
Definition: lapdm.c:92
osmo_gsm48_si6_ro_info::vbs_vgcs_options
struct osmo_gsm48_si_vbs_vgcs_options vbs_vgcs_options
Definition: gsm48_rest_octets.h:50
osmo_mi_name_buf
char * osmo_mi_name_buf(char *buf, size_t buf_len, const uint8_t *mi, uint8_t mi_len)
Deprecated, see osmo_mobile_identity instead.
Definition: gsm48.c:473
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:1453
msg
uint8_t msg[0]
Definition: gsm_08_08.h:8
PRIM_DL_UNIT_DATA
@ PRIM_DL_UNIT_DATA
DL-UNIT-DATA.
Definition: lapd_core.h:22
SGSAP_SGS_CAUSE_COND_IE_ERROR
@ SGSAP_SGS_CAUSE_COND_IE_ERROR
Definition: gsm_29_118.h:136
osmo_cbsp_msg_status_query_failure::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:197
GSM48_CC_CAUSE_REQ_FAC_NOTIMPL
@ GSM48_CC_CAUSE_REQ_FAC_NOTIMPL
Definition: gsm_04_08.h:1860
SGSAP_MSGT_ALERT_ACK
@ SGSAP_MSGT_ALERT_ACK
Definition: gsm_29_118.h:19
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
osmo_gsup_message::sm_rp_oa_len
size_t sm_rp_oa_len
Definition: gsup.h:343
GPRS_ATT_T_ATT_WHILE_IMSI
#define GPRS_ATT_T_ATT_WHILE_IMSI
Definition: gsm_04_08_gprs.h:53
llist_for_each_entry_safe
#define llist_for_each_entry_safe(pos, n, head, member)
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:389
mod
static int mod(int data, int range)
Definition: gsm48_arfcn_range_encode.c:42
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:377
gsm_fn2gsmtime
void gsm_fn2gsmtime(struct gsm_time *time, uint32_t fn)
Parse GSM Frame Number into struct gsm_time.
Definition: gsm_utils.c:868
IPAC_MSGT_PING
@ IPAC_MSGT_PING
Definition: ipaccess.h:45
osmo_cbsp_error_ind::msg_id
uint16_t * msg_id
Definition: cbsp.h:242
BTS_FEAT_OML_ALERTS
@ BTS_FEAT_OML_ALERTS
Definition: bts_features.h:18
GSM48_CC_CAUSE_BEARER_CAP_UNAUTH
@ GSM48_CC_CAUSE_BEARER_CAP_UNAUTH
Definition: gsm_04_08.h:1855
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:1054
GSM0808_CAUSE_CLASS_SRV_OPT_NIMPL
@ GSM0808_CAUSE_CLASS_SRV_OPT_NIMPL
Definition: gsm_08_08.h:431
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_cbsp_failure::bcast_msg_type
uint8_t bcast_msg_type
Definition: cbsp.h:236
osmo_lac_and_ci_id::lac
uint16_t lac
Definition: gsm23003.h:51
GSM0808_IE_LAST_USED_EUTRAN_PLMN_ID
@ GSM0808_IE_LAST_USED_EUTRAN_PLMN_ID
Definition: gsm_08_08.h:324
BSSLAP_MSGT_MS_POS_RESP
@ BSSLAP_MSGT_MS_POS_RESP
Definition: gsm_48_071.h:40
IP_V6_ADDR_LEN
#define IP_V6_ADDR_LEN
Definition: gsm0808_utils.c:35
osmo_i460_subchan::bit_offset
uint8_t bit_offset
Definition: i460_mux.h:71
osmo_cbsp_kill_failure::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:152
GSM_CAUSE_MSG_INCOMP_P_STATE
@ GSM_CAUSE_MSG_INCOMP_P_STATE
Definition: gsm_04_08_gprs.h:269
BSS_MAP_MSG_COMMON_ID
@ BSS_MAP_MSG_COMMON_ID
Definition: gsm_08_08.h:117
osmo_auth_vector::res_len
uint8_t res_len
length (in bytes) of res
Definition: auth.h:66
NM_ATT_HW_CONF_CHG
@ NM_ATT_HW_CONF_CHG
Definition: gsm_12_21.h:387
PRIM_OP_REQUEST
PRIM_OP_REQUEST
GSM48_IE_SYNC_IND
#define GSM48_IE_SYNC_IND
Definition: gsm_04_08.h:1741
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:422
abis_om_obj_inst::ts_nr
uint8_t ts_nr
Timeslot Number.
Definition: gsm_12_21.h:70
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:686
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:31
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:208
aes_encrypt_deinit
void aes_encrypt_deinit(void *ctx)
Definition: aes-internal-enc.c:120
osmo_rai_name_buf
char * osmo_rai_name_buf(char *buf, size_t buf_len, const struct gprs_ra_id *rai)
Return MCC-MNC-LAC-RAC as string, in a caller-provided output buffer.
Definition: gsm48.c:196
osmo_bssap_le_header::length
uint8_t length
Definition: bssmap_le.c:428
get_string_value
int get_string_value(const struct value_string *vs, const char *str)
gsm48_generate_mid
uint8_t gsm48_generate_mid(uint8_t *buf, const char *id, uint8_t mi_type)
Deprecated, see osmo_mobile_identity instead.
Definition: gsm48.c:1154
TLV_TYPE_FIXED
@ TLV_TYPE_FIXED
fixed-length value-only
Definition: tlv.h:500
NM_CHANC_SDCCH
@ NM_CHANC_SDCCH
Definition: gsm_12_21.h:552
lapd_dl_newstate
static void lapd_dl_newstate(struct lapd_datalink *dl, uint32_t state)
Definition: lapd_core.c:236
smcdatastate::states
uint32_t states
Definition: gsm0411_smc.c:484
GSM_BAND_810
@ GSM_BAND_810
Definition: gsm_utils.h:60
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:1730
lapd_send_rnr
static int lapd_send_rnr(struct lapd_msg_ctx *lctx, uint8_t f_bit, uint8_t cmd)
Definition: lapd_core.c:500
osmo_gsm48_si_ro_info
Definition: gsm48_rest_octets.h:87
OSMO_GPRS_CS2
OSMO_GPRS_CS2
llist_head::next
struct llist_head * next
osmo_bssap_le_pdu_to_str_buf
int osmo_bssap_le_pdu_to_str_buf(char *buf, size_t buflen, const struct bssap_le_pdu *bssap_le)
Return a human readable string describing a BSSAP-LE PDU.
Definition: bssmap_le.c:833
A5_R2_LEN
#define A5_R2_LEN
Definition: a5.c:106
gsm48_multi_rate_conf
Definition: gsm_04_08.h:597
GSM0808_IE_SNA_ACCESS_INFO
@ GSM0808_IE_SNA_ACCESS_INFO
Definition: gsm_08_08.h:275
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:423
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:493
osmo_gsm48_range_enc_128
int osmo_gsm48_range_enc_128(uint8_t *chan_list, int f0, int *w)
Definition: gsm48_arfcn_range_encode.c:266
GSM48_MT_RR_PAG_REQ_1
#define GSM48_MT_RR_PAG_REQ_1
Definition: gsm_04_08.h:1476
msgb_v_put
static uint8_t * msgb_v_put(struct msgb *msg, uint8_t val)
put (append) a V field to a Message buffers
Definition: tlv.h:391
GSM0808_IE_SOURCE_RNC_TO_TARGET_RNC_TRANSPARENT_UMTS
@ GSM0808_IE_SOURCE_RNC_TO_TARGET_RNC_TRANSPARENT_UMTS
Definition: gsm_08_08.h:267
tch_afs_12_2_term_state
static const uint8_t tch_afs_12_2_term_state[]
Definition: gsm0503_conv.c:235
gsm48_classmark3::dl_advanced_rx_perf
uint8_t dl_advanced_rx_perf
Definition: gsm_04_08.h:180
GSM48_IE_CHANMODE_5
#define GSM48_IE_CHANMODE_5
Definition: gsm_04_08.h:1704
osmo_dlsap_prim::oph
struct osmo_prim_hdr oph
generic primitive header
Definition: lapd_core.h:61
demux_subchan_append_bit
static void demux_subchan_append_bit(struct osmo_i460_subchan *schan, uint8_t bit)
Definition: i460_mux.c:61
osmo_nri_ranges_free
void osmo_nri_ranges_free(struct osmo_nri_ranges *nri_ranges)
Free a struct osmo_nri_ranges.
Definition: gsm23236.c:271
N200_TR_FACCH_HR
#define N200_TR_FACCH_HR
Definition: lapdm.c:105
lapd_dl_reset
void lapd_dl_reset(struct lapd_datalink *dl)
Definition: lapd_core.c:340
osmo_gsm48_rest_octets_si4_encode
int osmo_gsm48_rest_octets_si4_encode(uint8_t *data, const struct osmo_gsm48_si_ro_info *si4, int len)
Definition: gsm48_rest_octets.c:635
GSM0808_CAUSE_JOINED_GROUP_CALL_CHANNEL
@ GSM0808_CAUSE_JOINED_GROUP_CALL_CHANNEL
Definition: gsm_08_08.h:374
bsslap_iei
bsslap_iei
Definition: gsm_48_071.h:59
osmo_talloc_replace_string
static void osmo_talloc_replace_string(void *ctx, char **dst, const char *newstr)
OSMO_GSUP_CURRENT_RAT_TYPE_IE
@ OSMO_GSUP_CURRENT_RAT_TYPE_IE
Definition: gsup.h:91
osmo_enc_gcr
uint8_t osmo_enc_gcr(struct msgb *msg, const struct osmo_gcr_parsed *g) OSMO_DEPRECATED_OUTSIDE_LIBOSMOCORE
Create Global Call Reference.
Definition: gsm29205.c:44
SGSAP_MSGT_IMSI_DET_ACK
@ SGSAP_MSGT_IMSI_DET_ACK
Definition: gsm_29_118.h:25
DLLAPD
#define DLLAPD
osmo_i460_subchan_demux::out_bitbuf
uint8_t * out_bitbuf
bit-buffer for output bits
Definition: i460_mux.h:48
gsm_freq_range::arfcn_first
uint16_t arfcn_first
Definition: gsm_utils.c:785
bsslap_pdu
Definition: gsm_48_071.h:110
Te2
const u32 Te2[256]
GSM48_IE_LOWL_COMPAT
#define GSM48_IE_LOWL_COMPAT
Definition: gsm_04_08.h:1677
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:1675
GSM48_MT_CC_STATUS
#define GSM48_MT_CC_STATUS
Definition: gsm_04_08.h:1591
GSM0808_IE_CELL_ID_LIST_SEG_CELLS_TBE
@ GSM0808_IE_CELL_ID_LIST_SEG_CELLS_TBE
Definition: gsm_08_08.h:290
gsm0808_cell_id_size
int gsm0808_cell_id_size(enum CELL_IDENT discr)
Definition: gsm0808_utils.c:817
cbsp_dec_msg_status_query_fail
static int cbsp_dec_msg_status_query_fail(struct osmo_cbsp_msg_status_query_failure *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:1005
GA_MT_CSR_PAGING_RESP
@ GA_MT_CSR_PAGING_RESP
Definition: gsm_44_318.h:54
DEC_IE_OPTIONAL
#define DEC_IE_OPTIONAL(MSG_TYPE, IEI, DEC_FUN, DEC_FUN_ARG)
Definition: bssmap_le.c:136
GSM48_MT_RR_PDCH_ASS_CMD
#define GSM48_MT_RR_PDCH_ASS_CMD
Definition: gsm_04_08.h:1470
osmo_gsm48_si6_ro_info
Definition: gsm48_rest_octets.h:48
BSSLAP_IEI_CELL_ID
@ BSSLAP_IEI_CELL_ID
Definition: gsm_48_071.h:61
GSM414_MT_CLOSE_MSLOT_LOOP_ACK
#define GSM414_MT_CLOSE_MSLOT_LOOP_ACK
Definition: gsm_04_14.h:38
GSM_MI_TYPE_TMSI
#define GSM_MI_TYPE_TMSI
Definition: gsm_04_08.h:1648
osmo_cbsp_load_query_complete
Definition: cbsp.h:164
TLLI_G_RNTI
@ TLLI_G_RNTI
Definition: gsm_utils.h:194
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_gsm48_si_ro_info::where
uint8_t where
Definition: gsm48_rest_octets.h:93
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:314
BSSMAP_LE_IEI_GEO_LOCATION
@ BSSMAP_LE_IEI_GEO_LOCATION
Definition: gsm_49_031.h:87
OSMO_EVT_MIN_PAG_TAB_FULL
@ OSMO_EVT_MIN_PAG_TAB_FULL
Definition: gsm_12_21.h:272
osmo_gprs_power_ctrl_pars::alpha
uint8_t alpha
GSM48_MT_MM_AUTH_REQ
#define GSM48_MT_MM_AUTH_REQ
Definition: gsm_04_08.h:1540
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:1085
msgb_tailroom
static int msgb_tailroom(const struct msgb *msgb)
osmo_gsup_pdp_info::pdp_charg_enc
const uint8_t * pdp_charg_enc
PDP Charging Characteristics, still in encoded form.
Definition: gsup.h:273
SMRDATASLLEN
#define SMRDATASLLEN
Definition: gsm0411_smr.c:459
gsm0808_handover_request::aoip_transport_layer
const struct sockaddr_storage * aoip_transport_layer
Definition: gsm0808.h:187
osmo_plmn_to_bcd
void osmo_plmn_to_bcd(uint8_t *bcd_dst, const struct osmo_plmn_id *plmn)
Definition: gsm23003.c:434
osmo_gsup_message::auts
const uint8_t * auts
Definition: gsup.h:317
lapdm_entity::flags
unsigned int flags
Definition: lapdm.h:56
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:356
rslms_rx_rll
static int rslms_rx_rll(struct msgb *msg, struct lapdm_channel *lc)
Definition: lapdm.c:1269
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:27
GSM0808_IE_LSA_INFORMATION
@ GSM0808_IE_LSA_INFORMATION
Definition: gsm_08_08.h:250
GA_PDISC_PSR
@ GA_PDISC_PSR
Definition: gsm_44_318.h:13
BSSMAP_LE_IEI_LCS_CAPABILITY
@ BSSMAP_LE_IEI_LCS_CAPABILITY
Definition: gsm_49_031.h:106
GSM0808_FE_IE_CURRENT_CHANNEL_TYPE_2
@ GSM0808_FE_IE_CURRENT_CHANNEL_TYPE_2
Definition: gsm_08_08.h:339
osmo_gsup_an_apdu::data_len
size_t data_len
Definition: gsup.h:298
cbsp_iei_names
const struct value_string cbsp_iei_names[]
Definition: gsm48049.c:49
osmo_plmn_name_buf
char * osmo_plmn_name_buf(char *buf, size_t buf_len, const struct osmo_plmn_id *plmn)
Return MCC-MNC string as standardized 3-digit-dash-2/3-digit with leading zeros.
Definition: gsm23003.c:171
OSMO_GCR_MIN_LEN
#define OSMO_GCR_MIN_LEN
Definition: gsm29205.h:30
NM_MT_PERF_TEST_NACK
@ NM_MT_PERF_TEST_NACK
Definition: gsm_12_21.h:139
SGSAP_ID_EPS_T_UE_INITIATED
@ SGSAP_ID_EPS_T_UE_INITIATED
Definition: gsm_29_118.h:96
egprs_cps
GSM411_CP_CAUSE_SEMANT_INC_MSG
@ GSM411_CP_CAUSE_SEMANT_INC_MSG
Definition: gsm_04_11.h:43
gad_raw::ell_point_unc_ellipse
struct gad_raw_ell_point_unc_ellipse ell_point_unc_ellipse
Definition: gsm_23_032.h:243
FN_REMAP_FACCH_H0
@ FN_REMAP_FACCH_H0
Definition: gsm0502.h:68
GSM48_CC_CAUSE_MSGTYPE_INCOMPAT
@ GSM48_CC_CAUSE_MSGTYPE_INCOMPAT
Definition: gsm_04_08.h:1870
osmo_auth_impl
Definition: auth.h:73
msgb_tv16_put
static uint8_t * msgb_tv16_put(struct msgb *msg, uint8_t tag, uint16_t val)
put (append) a TV16 field (network order) to the given msgb
Definition: tlv.h:411
osmo_bssmap_le_ie_dec_apdu
static int osmo_bssmap_le_ie_dec_apdu(struct bsslap_pdu *bsslap, enum bssmap_le_msgt msgt, enum bssmap_le_iei iei, struct osmo_bssmap_le_err **err, void *err_ctx, const uint8_t *data, size_t len)
Definition: bssmap_le.c:336
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:1246
GSM_CAUSE_UNKNOWN_PDP
@ GSM_CAUSE_UNKNOWN_PDP
Definition: gsm_04_08_gprs.h:249
NM_OC_BTS
@ NM_OC_BTS
Definition: gsm_12_21.h:290
osmo_gprs_cell_options::nmo
enum osmo_gprs_nmo nmo
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:590
gsm_band_name
const char * gsm_band_name(enum gsm_band band)
Return string name of a given GSM Band.
Definition: gsm_utils.c:673
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
_range_enc_arfcns
static int _range_enc_arfcns(enum osmo_gsm48_range range, const int *arfcns, int size, int *out, const int index)
Definition: gsm48_arfcn_range_encode.c:76
GSM0808_CAUSE_UPLINK_QUALITY
@ GSM0808_CAUSE_UPLINK_QUALITY
Definition: gsm_08_08.h:362
BSS_MAP_MSG_RESOURCE_RQST
@ BSS_MAP_MSG_RESOURCE_RQST
Definition: gsm_08_08.h:148
osmo_gsm48_si3_gprs_ind
Definition: gsm48_rest_octets.h:73
osmo_gsup_message::imei_enc
const uint8_t * imei_enc
Definition: gsup.h:355
BSS_MAP_MSG_BSS_INVOKE_TRACE
@ BSS_MAP_MSG_BSS_INVOKE_TRACE
Definition: gsm_08_08.h:129
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:466
GSM411_CP_CAUSE_NET_FAIL
@ GSM411_CP_CAUSE_NET_FAIL
Definition: gsm_04_11.h:40
osmo_cbsp_decoded::reset_fail
struct osmo_cbsp_reset_failure reset_fail
Definition: cbsp.h:273
cbsp_enc_keep_alive_compl
static int cbsp_enc_keep_alive_compl(struct msgb *msg, const struct osmo_cbsp_keep_alive_complete *in)
Definition: cbsp.c:365
GSM_LCHAN_TCH_H
@ GSM_LCHAN_TCH_H
Definition: gsm_utils.h:225
GSM0808_CAUSE_CLASS_INVAL
@ GSM0808_CAUSE_CLASS_INVAL
Definition: gsm_08_08.h:432
osmo_cbsp_encode
struct msgb * osmo_cbsp_encode(void *ctx, const struct osmo_cbsp_decoded *in)
Encode a CBSP message from the decoded/parsed structure representation to binary PDU.
Definition: cbsp.c:406
OSMO_GSUP_SMS_SM_RP_ODA_NONE
@ OSMO_GSUP_SMS_SM_RP_ODA_NONE
Definition: gsup_sms.h:17
osmo_gprs_cell_options
GSM48_CC_CAUSE_INCOMPAT_DEST
@ GSM48_CC_CAUSE_INCOMPAT_DEST
Definition: gsm_04_08.h:1865
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:1684
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:429
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:1820
GSM48_PDISC_MASK
#define GSM48_PDISC_MASK
Definition: gsm_04_08.h:1344
GSM48_CMSERV_LOC_SERV
@ GSM48_CMSERV_LOC_SERV
Definition: gsm_04_08.h:1617
SGSAP_MSGT_LOC_UPD_REJ
@ SGSAP_MSGT_LOC_UPD_REJ
Definition: gsm_29_118.h:16
lapd_msgb_alloc
struct msgb * lapd_msgb_alloc(int length, const char *name)
Definition: lapd_core.c:119
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:257
lcs_cause
lcs_cause
3GPP TS 49.031 10.13 LCS Cause, also in 3GPP TS 48.008 3.2.2.66, which simply refers to the former.
Definition: gsm_49_031.h:38
mncc.h
BSSMAP_LE_IEI_IMEI
@ BSSMAP_LE_IEI_IMEI
Definition: gsm_49_031.h:109
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
osmo_gad_dec
int osmo_gad_dec(struct osmo_gad *gad, struct osmo_gad_err **err, void *err_ctx, const union gad_raw *gad_raw)
Decode GAD raw PDU to values with consistent units.
Definition: gad.c:394
GSM_PCHAN_TCH_F
@ GSM_PCHAN_TCH_F
Definition: gsm_utils.h:208
A5_R2_MASK
#define A5_R2_MASK
Definition: a5.c:111
osmo_gsm48_si_dtm_support::rac
uint8_t rac
Definition: gsm48_rest_octets.h:39
MDL_CAUSE_FRM_UNIMPL
#define MDL_CAUSE_FRM_UNIMPL
Definition: lapd_core.h:44
CBSP_MSGT_KILL_FAIL
@ CBSP_MSGT_KILL_FAIL
Definition: gsm_48_049.h:56
GSM0808_CAUSE_NO_RADIO_RESOURCE_AVAILABLE
@ GSM0808_CAUSE_NO_RADIO_RESOURCE_AVAILABLE
Definition: gsm_08_08.h:385
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:1668
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:626
gsm0808_cell_id_matches_list
int gsm0808_cell_id_matches_list(const struct gsm0808_cell_id *id, const struct gsm0808_cell_id_list2 *list, unsigned int match_nr, bool exact_match)
Find an index in a Cell Identifier list that matches a given single Cell Identifer.
Definition: gsm0808_utils.c:1775
GSM411_RP_CAUSE_MO_INTERWORKING
@ GSM411_RP_CAUSE_MO_INTERWORKING
Definition: gsm_04_11.h:82
osmo_cbsp_loading_list::list
struct llist_head list
Definition: cbsp.h:70
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:94
gsm_septet_pack
int gsm_septet_pack(uint8_t *result, const uint8_t *rdata, size_t septet_len, uint8_t padding)
GSM Default Alphabet 7bit to octet packing.
Definition: gsm_utils.c:327
osmo_routing_area_id::rac
uint8_t rac
Definition: gsm23003.h:24
TLV_TYPE_T
@ TLV_TYPE_T
tag-only
Definition: tlv.h:501
NM_CHANC_OSMO_TCHFull_TCHHalf_PDCH
@ NM_CHANC_OSMO_TCHFull_TCHHalf_PDCH
Definition: gsm_12_21.h:567
IPAC_MSGT_ID_ACK
@ IPAC_MSGT_ID_ACK
Definition: ipaccess.h:49
osmo_gsm48_classmark::classmark2
struct gsm48_classmark2 classmark2
Definition: gsm_04_08.h:234
update_pending_frames
static int update_pending_frames(struct lapd_msg_ctx *lctx)
Definition: lapdm.c:652
GA_MT_RC_REGISTER_ACCEPT
@ GA_MT_RC_REGISTER_ACCEPT
Definition: gsm_44_318.h:24
GSM48_IE_REDIR_SUB
#define GSM48_IE_REDIR_SUB
Definition: gsm_04_08.h:1676
page
struct @29 page
OSMO_GSUP_SM_RP_CAUSE_IE
@ OSMO_GSUP_SM_RP_CAUSE_IE
Definition: gsup.h:104
GSM48_MT_CC_RETR_ACK
#define GSM48_MT_CC_RETR_ACK
Definition: gsm_04_08.h:1582
gprs_ra_id
Definition: gsm48.h:24
MDL_CAUSE_T200_EXPIRED
#define MDL_CAUSE_T200_EXPIRED
Definition: lapd_core.h:33
tlv_parse2
int tlv_parse2(struct tlv_parsed *dec, int dec_multiples, const struct tlv_definition *def, const uint8_t *buf, int buf_len, uint8_t lv_tag, uint8_t lv_tag2)
Like tlv_parse(), but capable of decoding multiple occurences of the same IE.
Definition: tlv_parser.c:359
gsm0808_handover_command::new_bss_to_old_bss_info_raw_len
size_t new_bss_to_old_bss_info_raw_len
Definition: gsm0808.h:237
GSM48_MT_RR_INIT_REQ
#define GSM48_MT_RR_INIT_REQ
Definition: gsm_04_08.h:1442
gsm0808_handover_request::classmark_information
struct osmo_gsm48_classmark classmark_information
Definition: gsm0808.h:165
GSM0808_IE_LCLS_CORR_NOT_NEEDED
@ GSM0808_IE_LCLS_CORR_NOT_NEEDED
Definition: gsm_08_08.h:315
gsm0808_handover_performed::cause
uint16_t cause
Definition: gsm0808.h:284
GSM0480_OP_CODE_REGISTER_PASSWORD
#define GSM0480_OP_CODE_REGISTER_PASSWORD
Definition: gsm_04_80.h:76
msgb_push_tl
static unsigned char * msgb_push_tl(struct msgb *msgb, uint8_t tag)
GSM0808_IE_CELL_ID_LIST_SEG_NE_CELLS
@ GSM0808_IE_CELL_ID_LIST_SEG_NE_CELLS
Definition: gsm_08_08.h:292
gsm_freq_range::freq_ul_first
uint16_t freq_ul_first
Definition: gsm_utils.c:787
GSM0808_LCLS_CSC_RELEASE_LCLS
@ GSM0808_LCLS_CSC_RELEASE_LCLS
Definition: gsm_08_08.h:654
gsm0503_tch_axs_sid_update
const struct osmo_conv_code gsm0503_tch_axs_sid_update
TCH/AFS and TCH/AHS SID UPDATE convolutional code: G1/G3 = 1 + D + D3 + D4 / 1 + D + D2 + D3 + D4 G2/...
Definition: gsm0503_conv.c:1160
EGPRS_MCS7
EGPRS_MCS7
osmo_gsup_message::auth_vectors
struct osmo_auth_vector auth_vectors[OSMO_GSUP_MAX_NUM_AUTH_INFO]
Definition: gsup.h:309
CELL_IDENT_LAC_AND_CI
@ CELL_IDENT_LAC_AND_CI
Definition: gsm_08_08.h:19
GSM0808_CAUSE_PROCESSOR_OVERLOAD
@ GSM0808_CAUSE_PROCESSOR_OVERLOAD
Definition: gsm_08_08.h:388
gsm411_mnsms_error_ind_rx
static int gsm411_mnsms_error_ind_rx(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:353
GSM0808_IE_MOBILE_IDENTITY
@ GSM0808_IE_MOBILE_IDENTITY
Definition: gsm_08_08.h:230
NM_MT_SET_RADIO_ATTR
@ NM_MT_SET_RADIO_ATTR
Definition: gsm_12_21.h:130
smcdownstate
Definition: gsm0411_smc.c:422
OSMO_GSUP_AUTS_IE
@ OSMO_GSUP_AUTS_IE
Definition: gsup.h:87
RSL_MT_REL_IND
@ RSL_MT_REL_IND
Definition: gsm_08_58.h:167
NM_CHANC_IPAC_TCHFull_PDCH
@ NM_CHANC_IPAC_TCHFull_PDCH
Definition: gsm_12_21.h:564
lapdm_rslms_recvmsg
int lapdm_rslms_recvmsg(struct msgb *msg, struct lapdm_channel *lc)
Receive a RSLms Message buffers from Layer 3.
Definition: lapdm.c:1394
INIT_LLIST_HEAD
#define INIT_LLIST_HEAD(ptr)
osmo_gsm48_si_dtm_support::present
bool present
Definition: gsm48_rest_octets.h:38
BTS_FEAT_HOPPING
@ BTS_FEAT_HOPPING
Definition: bts_features.h:16
gsm0808_speech_codec::pi
bool pi
Definition: gsm_08_08.h:542
NM_MT_CONN_TERR_SIGN_NACK
@ NM_MT_CONN_TERR_SIGN_NACK
Definition: gsm_12_21.h:109
osmo_rai_cmp
int osmo_rai_cmp(const struct osmo_routing_area_id *a, const struct osmo_routing_area_id *b)
Definition: gsm23003.c:573
OSMO_GPRS_MCS5
OSMO_GPRS_MCS5
osmo_cbsp_write_replace_complete::old_serial_nr
uint16_t * old_serial_nr
Definition: cbsp.h:113
BSSLAP_MSGT_UTDOA_REQ
@ BSSLAP_MSGT_UTDOA_REQ
Definition: gsm_48_071.h:41
abis_nm_debugp_foh
void abis_nm_debugp_foh(int ss, struct abis_om_fom_hdr *foh)
Definition: abis_nm.c:959
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:229
GSM48_MT_RR_SYSINFO_5bis
#define GSM48_MT_RR_SYSINFO_5bis
Definition: gsm_04_08.h:1501
tch_h0_remap_table
static struct fn_remap_table tch_h0_remap_table
Definition: gsm0502.c:111
SGSAP_IE_IMSI_DET_EPS_TYPE
@ SGSAP_IE_IMSI_DET_EPS_TYPE
Definition: gsm_29_118.h:58
osmo_strlcpy
size_t osmo_strlcpy(char *dst, const char *src, size_t siz)
SGSAP_MSGT_MM_INFO_REQ
@ SGSAP_MSGT_MM_INFO_REQ
Definition: gsm_29_118.h:31
__attribute__
static __attribute__((constructor))
Definition: auth_milenage.c:179
osmo_ntohs
#define osmo_ntohs(x)
gsm48_classmark3::extended_dtm_egprs_multislot_cap
struct gsm48_classmark3::@44::@53 extended_dtm_egprs_multislot_cap
SI2Q_MAX_LEN
#define SI2Q_MAX_LEN
Definition: gsm48_rest_octets.h:11
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:1033
SGSAP_UE_EMM_MODE_IDLE
@ SGSAP_UE_EMM_MODE_IDLE
Definition: gsm_29_118.h:149
GSM0808_CAUSE_REQ_REDUND_LVL_NOT_SUPP
@ GSM0808_CAUSE_REQ_REDUND_LVL_NOT_SUPP
Definition: gsm_08_08.h:411
GSM0808_CAUSE_ACCESS_RESTRICTED_DUE_TO_SHARED_NETWORKS
@ GSM0808_CAUSE_ACCESS_RESTRICTED_DUE_TO_SHARED_NETWORKS
Definition: gsm_08_08.h:408
BSSLAP_IEI_TBF_START_TIME
@ BSSLAP_IEI_TBF_START_TIME
Definition: gsm_48_071.h:82
GSM0808_PERM_FR5
@ GSM0808_PERM_FR5
FR AMR-WB.
Definition: gsm_08_08.h:489
SGSAP_MSGT_PAGING_REJ
@ SGSAP_MSGT_PAGING_REJ
Definition: gsm_29_118.h:9
GSM48_MT_RR_CLSM_CHG
#define GSM48_MT_RR_CLSM_CHG
Definition: gsm_04_08.h:1518
gsm29205.h
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:1507
EGPRS_CPS_P3
EGPRS_CPS_P3
T200_FACCH_H
@ T200_FACCH_H
Definition: gsm_12_21.h:650
gsm411_rp_state
gsm411_rp_state
Definition: gsm_04_11.h:18
osmo_gsup_message::imei_result
enum osmo_gsup_imei_result imei_result
Definition: gsup.h:357
gsm48_classmark3::cs_ps_srvcc_geran_eutra
uint8_t cs_ps_srvcc_geran_eutra
Definition: gsm_04_08.h:219
BSSMAP_LE_MSGT_PERFORM_LOC_ABORT
@ BSSMAP_LE_MSGT_PERFORM_LOC_ABORT
Definition: gsm_49_031.h:72
ipa_send
int ipa_send(int fd, const void *msg, size_t msglen)
Definition: ipa.c:437
osmo_cbsp_kill_complete
Definition: cbsp.h:139
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:153
gad_raw_polygon::h
struct gad_raw_polygon::@92 h
osmo_gprs_cell_options::pfc_supported
uint8_t pfc_supported
append_selection_params
static void append_selection_params(struct bitvec *bv, const struct osmo_gsm48_si_selection_params *sp)
Definition: gsm48_rest_octets.c:533
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
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:1903
osmo_plmn_to_bcd
void osmo_plmn_to_bcd(uint8_t *bcd_dst, const struct osmo_plmn_id *plmn)
Definition: gsm23003.c:434
GSM48_MT_GMM_RA_UPD_REQ
#define GSM48_MT_GMM_RA_UPD_REQ
Definition: gsm_04_08_gprs.h:20
osmo_i460_has_single_64k_schan
static bool osmo_i460_has_single_64k_schan(struct osmo_i460_timeslot *ts)
Definition: i460_mux.c:45
gsm0808_create_clear_complete
struct msgb * gsm0808_create_clear_complete(void)
Create BSSMAP Clear Complete message.
Definition: gsm0808.c:175
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:488
GSM48_RR_CAUSE_FREQ_NOT_IMPL
@ GSM48_RR_CAUSE_FREQ_NOT_IMPL
Definition: gsm_04_08.h:1813
OSMO_GSUP_MSGT_DELETE_DATA_RESULT
@ OSMO_GSUP_MSGT_DELETE_DATA_RESULT
Definition: gsup.h:156
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:984
GAD_TYPE_ELL_POINT_ALT
@ GAD_TYPE_ELL_POINT_ALT
Ellipsoid point with altitude.
Definition: gsm_23_032.h:41
gsm0808_handover_request::chosen_encryption_algorithm_serving
uint8_t chosen_encryption_algorithm_serving
Definition: gsm0808.h:175
osmo_lcls
LCLS-related parameters from 3GPP TS 48.008.
Definition: gsm0808_utils.h:64
u8
uint8_t u8
Definition: common.h:18
NM_ATT_MEAS_RES
@ NM_ATT_MEAS_RES
Definition: gsm_12_21.h:390
osmo_gsm48_si_ro_info::si2quater_indicator
bool si2quater_indicator
Definition: gsm48_rest_octets.h:99
GSM48_MT_RR_SYSINFO_2quater
#define GSM48_MT_RR_SYSINFO_2quater
Definition: gsm_04_08.h:1500
GSM_BAND_480
@ GSM_BAND_480
Definition: gsm_utils.h:58
osmo_gummei_name
const char * osmo_gummei_name(const struct osmo_gummei *gummei)
Return string representation of GUMMEI in static output buffer.
Definition: gsm23003.c:402
NM_IPACC_TESTNO_FREQ_SYNC
@ NM_IPACC_TESTNO_FREQ_SYNC
Definition: gsm_12_21.h:719
osmo_cbsp_content::data
uint8_t data[82]
Definition: cbsp.h:37
gsm48_generate_mid_from_tmsi
int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi)
Deprecated, see osmo_mobile_identity instead.
Definition: gsm48.c:1136
osmo_gsm48_si_ro_info::early_cm_restrict_3g
bool early_cm_restrict_3g
Definition: gsm48_rest_octets.h:98
A52_R4_CLKBIT1
#define A52_R4_CLKBIT1
Definition: a5.c:276
gsm0808_cause_class_name
const char * gsm0808_cause_class_name(enum gsm0808_cause_class class)
Return string name of BSSMAP Cause Class name.
Definition: gsm0808.c:1818
osmo_gad_ell_point_unc_circle::unc
uint32_t unc
Uncertainty circle radius in millimeters (m * 1e3), 0 .
Definition: gad.h:48
gsm48_classmark3::method
uint8_t method
Definition: gsm_04_08.h:89
smrdownstate::type
int type
Definition: gsm0411_smr.c:380
gsm0808_channel_type
Definition: gsm_08_08.h:609
bit32gen.h
container_of
#define container_of(ptr, type, member)
osmo_cbsp_decoded::msg_status_query
struct osmo_cbsp_msg_status_query msg_status_query
Definition: cbsp.h:265
OSMO_GSUP_SESSION_ID_IE
@ OSMO_GSUP_SESSION_ID_IE
Definition: gsup.h:93
GSM48_CC_CAUSE_SEMANTIC_INCORR
@ GSM48_CC_CAUSE_SEMANTIC_INCORR
Definition: gsm_04_08.h:1867
GSM48_MT_RR_FREQ_REDEF
#define GSM48_MT_RR_FREQ_REDEF
Definition: gsm_04_08.h:1516
GSM_PCHAN_CCCH
@ GSM_PCHAN_CCCH
Definition: gsm_utils.h:206
GSM48_MT_CC_CONNECT
#define GSM48_MT_CC_CONNECT
Definition: gsm_04_08.h:1564
GSM48_MT_RR_CHAN_REL
#define GSM48_MT_RR_CHAN_REL
Definition: gsm_04_08.h:1472
CBSP_MSGT_RESTART
@ CBSP_MSGT_RESTART
Definition: gsm_48_049.h:69
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:378
CBSP_MSGT_RESET_FAIL
@ CBSP_MSGT_RESET_FAIL
Definition: gsm_48_049.h:68
GSM48_CC_CAUSE_NO_ROUTE
@ GSM48_CC_CAUSE_NO_ROUTE
Definition: gsm_04_08.h:1829
GSM48_MT_RR_HANDO_FAIL
#define GSM48_MT_RR_HANDO_FAIL
Definition: gsm_04_08.h:1464
osmo_i460_subchan_demux
Definition: i460_mux.h:46
osmo_gsup_pdp_info::qos_enc
const uint8_t * qos_enc
QoS information, still in encoded form.
Definition: gsup.h:268
msgb::len
uint16_t len
osmo_bssmap_le_dec_perform_loc_abort
static int osmo_bssmap_le_dec_perform_loc_abort(struct lcs_cause_ie *params, enum bssmap_le_msgt msgt, struct osmo_bssmap_le_err **err, void *err_ctx, const struct tlv_parsed *tp)
Definition: bssmap_le.c:568
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:598
NM_EVT_ENV_FAIL
@ NM_EVT_ENV_FAIL
Definition: gsm_12_21.h:576
OSMO_GSUP_MSGT_READY_FOR_SM_REQUEST
@ OSMO_GSUP_MSGT_READY_FOR_SM_REQUEST
Definition: gsup.h:174
GSM0808_PERM_FR4
@ GSM0808_PERM_FR4
OFR AMR-WB.
Definition: gsm_08_08.h:488
osmo_i460_schan_desc::out_cb_bytes
out_cb_bytes_t out_cb_bytes
out_cb_bytes call-back function called whenever we received num_bits.
Definition: i460_mux.h:95
cbsp_enc_msg_status_query_fail
static int cbsp_enc_msg_status_query_fail(struct msgb *msg, const struct osmo_cbsp_msg_status_query_failure *in)
Definition: cbsp.c:317
gsm_mncc_number::number
char number[33]
Definition: mncc.h:38
SGSAP_IE_IMSI
@ SGSAP_IE_IMSI
Definition: gsm_29_118.h:45
GSM0808_SC_CFG_AMR_4_75_5_90_7_40_12_20
@ GSM0808_SC_CFG_AMR_4_75_5_90_7_40_12_20
Definition: gsm_08_08.h:591
bsslap_msgt
bsslap_msgt
Definition: gsm_48_071.h:32
GSM_CAUSE_MISSING_APN
@ GSM_CAUSE_MISSING_APN
Definition: gsm_04_08_gprs.h:248
BSSLAP_IEI_CHAN_MODE
@ BSSLAP_IEI_CHAN_MODE
Definition: gsm_48_071.h:76
osmo_gsup_message::sm_rp_mr
const uint8_t * sm_rp_mr
SM-RP-MR (see 3GPP TS 29.002, 7.6.1.1), Message Reference.
Definition: gsup.h:336
gsm48_generate_mid_from_imsi
int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi)
Deprecated, see osmo_mobile_identity instead.
Definition: gsm48.c:1186
chcomb4pchan
static enum abis_nm_chan_comb chcomb4pchan[]
Definition: abis_nm.c:690
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:1490
gsm0808_create_ass_compl2
struct msgb * gsm0808_create_ass_compl2(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, enum gsm0808_lcls_status lcls_bss_status)
Create BSSMAP Assignment Completed message as per 3GPP TS 48.008 §3.2.1.2.
Definition: gsm0808.c:573
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:393
osmo_gsup_message::sm_rp_cause
const uint8_t * sm_rp_cause
SM-RP-Cause value (1 oct.) as per GSM TS 04.11, section 8.2.5.4.
Definition: gsup.h:349
NM_ATT_IPACC_GPRS_PAGING_CFG
@ NM_ATT_IPACC_GPRS_PAGING_CFG
Definition: gsm_12_21.h:441
SGSAP_SGS_CAUSE_MT_CSFB_REJ_USER
@ SGSAP_SGS_CAUSE_MT_CSFB_REJ_USER
Definition: gsm_29_118.h:139
GSM411_CP_CAUSE_INV_MAND_INF
@ GSM411_CP_CAUSE_INV_MAND_INF
Definition: gsm_04_11.h:44
IPAC_IDTAG_EQUIPVERS
@ IPAC_IDTAG_EQUIPVERS
Definition: ipaccess.h:65
GMM_CAUSE_IMEI_NOT_ACCEPTED
@ GMM_CAUSE_IMEI_NOT_ACCEPTED
Definition: gsm_04_08_gprs.h:210
osmo_i460_subchan_demux::out_bitbuf_size
unsigned int out_bitbuf_size
size of out_bitbuf in bytes
Definition: i460_mux.h:50
GSM0808_IE_CIRCUIT_POOL
@ GSM0808_IE_CIRCUIT_POOL
Definition: gsm_08_08.h:234
cbsp_enc_error_ind
static int cbsp_enc_error_ind(struct msgb *msg, const struct osmo_cbsp_error_ind *in)
Definition: cbsp.c:388
sub_mod
static uint8_t sub_mod(uint8_t x, uint8_t y, uint8_t m)
Definition: lapd_core.c:142
GSM0808_SCT_CSD
@ GSM0808_SCT_CSD
CSData (see also TS 26.103)
Definition: gsm_08_08.h:512
osmo_cbsp_decoded::load_query
struct osmo_cbsp_load_query load_query
Definition: cbsp.h:261
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 Message buffers
Definition: tlv.h:453
osmo_gsup_message::session_state
enum osmo_gsup_session_state session_state
Session state osmo_gsup_session_state.
Definition: gsup.h:324
OSMO_RAT_EUTRAN_SGS
@ OSMO_RAT_EUTRAN_SGS
Definition: gsm_utils.h:251
osmo_gsup_pdp_info::pdp_charg_enc_len
size_t pdp_charg_enc_len
length (in octets) of pdp_charg_enc
Definition: gsup.h:275
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
osmo_rai_name2_buf
char * osmo_rai_name2_buf(char *buf, size_t buf_len, const struct osmo_routing_area_id *rai)
Return MCC-MNC-LAC-RAC as string, in caller-provided output buffer.
Definition: gsm23003.c:256
NM_MT_CONN_TERR_TRAF_ACK
@ NM_MT_CONN_TERR_TRAF_ACK
Definition: gsm_12_21.h:114
flags
uint16_t flags
NM_ATT_PROB_CAUSE
@ NM_ATT_PROB_CAUSE
Definition: gsm_12_21.h:360
osmo_gsm48_si_pch_nch_info::present
bool present
Definition: gsm48_rest_octets.h:23
osmo_cell_global_id_ps::cell_identity
uint16_t cell_identity
Definition: gsm23003.h:35
BSS_MAP_MSG_VGCS_VBS_ASSIGNMENT_RQST
@ BSS_MAP_MSG_VGCS_VBS_ASSIGNMENT_RQST
Definition: gsm_08_08.h:164
gsm0808_handover_failure::rr_cause
uint8_t rr_cause
Definition: gsm0808.h:274
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:415
tch_ahs_7_95_output
static const uint8_t tch_ahs_7_95_output[][2]
Definition: gsm0503_conv.c:824
SGSAP_IE_LCS_INDICATOR
@ SGSAP_IE_LCS_INDICATOR
Definition: gsm_29_118.h:66
osmo_i460_schan_desc::num_bits
size_t num_bits
Definition: i460_mux.h:86
f0_helper
static int f0_helper(int *sc, size_t length, uint8_t *chan_list)
Definition: gsm48_rest_octets.c:303
gsm0808_handover_request_ack::l3_info
const uint8_t * l3_info
Definition: gsm0808.h:207
req_ref
struct gsm48_req_ref req_ref
Definition: gsm_04_08.h:5
PRIM_PH_RTS
@ PRIM_PH_RTS
PH-RTS.
Definition: l1sap.h:13
write_all_wn
static void write_all_wn(uint8_t *chan_list, int bit_offs, int *w, int w_size, int w1_len)
Definition: gsm48_arfcn_range_encode.c:196
gsm0480_create_ussd_notify
struct msgb * gsm0480_create_ussd_notify(int level, const char *text)
Definition: gsm0480.c:904
GA_MT_CSR_CHAN_MODE_MOD
@ GA_MT_CSR_CHAN_MODE_MOD
Definition: gsm_44_318.h:39
GSM48_MT_RR_VGCS_UPL_GRANT
#define GSM48_MT_RR_VGCS_UPL_GRANT
Definition: gsm_04_08.h:1525
osmo_gsup_encode
int osmo_gsup_encode(struct msgb *msg, const struct osmo_gsup_message *gsup_msg)
Encode a GSUP message.
Definition: gsup.c:698
osmo_gsup_message::cause_bssap_set
bool cause_bssap_set
whether cause_bssap is set
Definition: gsup.h:381
GSM411_ALLOC_SIZE
#define GSM411_ALLOC_SIZE
Definition: gsm0411_utils.c:47
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:894
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:612
gsm0808_handover_request::cell_identifier_serving
struct gsm0808_cell_id cell_identifier_serving
Definition: gsm0808.h:166
BSSLAP_IEI_MR_CONFIG
@ BSSLAP_IEI_MR_CONFIG
Definition: gsm_48_071.h:77
rsl_msg_name
const char * rsl_msg_name(uint8_t err)
Get human-readable string for RSL Message Type.
Definition: rsl.c:402
gsm29118_create_status
struct msgb * gsm29118_create_status(const char *imsi, enum sgsap_sgs_cause cause, const struct msgb *err_msg)
Definition: gsm29118.c:402
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:316
GSM48_CC_CAUSE_USER_BUSY
@ GSM48_CC_CAUSE_USER_BUSY
Definition: gsm_04_08.h:1833
rr_cause
uint8_t rr_cause
Definition: gsm_04_08.h:0
OSMO_NAME_C_IMPL
#define OSMO_NAME_C_IMPL(CTX, INITIAL_BUFSIZE, ON_ERROR, FUNC_BUF, FUNC_BUF_ARGS...)
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:256
gsm0480_wrap_invoke
int gsm0480_wrap_invoke(struct msgb *msg, int op, int link_id)
Definition: gsm0480.c:78
BSSMAP_LE_APDU_PROT_SMLCPP
@ BSSMAP_LE_APDU_PROT_SMLCPP
Definition: gsm_49_031.h:129
osmo_gad_ell_point_unc_circle::lon
int32_t lon
Longitude in micro degrees (degrees * 1e6), -180'000'000 (W) .
Definition: gad.h:46
OSMO_GSUP_MSGT_CHECK_IMEI_RESULT
@ OSMO_GSUP_MSGT_CHECK_IMEI_RESULT
Definition: gsup.h:180
osmo_cbsp_loading_ent
Definition: cbsp.h:63
cbsp_dec_write_repl_compl
static int cbsp_dec_write_repl_compl(struct osmo_cbsp_write_replace_complete *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:722
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:231
osmo_nri_range::last
int16_t last
Last value of the NRI range, i.e.
Definition: gsm23236.h:25
GSM48_RR_CAUSE_MSG_TYPE_N
@ GSM48_RR_CAUSE_MSG_TYPE_N
Definition: gsm_04_08.h:1819
osmo_nri_v_validate
int osmo_nri_v_validate(int16_t nri_v, uint8_t nri_bitlen)
Validate that the given NRI is valid for a given nri_bitlen range.
Definition: gsm23236.c:38
BSS_MAP_MSG_CHAN_MOD_RQST
@ BSS_MAP_MSG_CHAN_MOD_RQST
Definition: gsm_08_08.h:80
type
uint8_t type
Definition: gsm_08_08.h:0
ipaccess_unit::mac_addr
uint8_t mac_addr[6]
Definition: ipa.h:20
osmo_nri_parse
static int osmo_nri_parse(int16_t *dst, const char *str)
Parse a string to an NRI value, allowing both decimal and hexadecimal formats; useful for VTY config ...
Definition: gsm23236.c:437
sgsap_ue_emm_mode_names
const struct value_string sgsap_ue_emm_mode_names[]
Definition: gsm29118.c:144
cbsp_dec_load_query_fail
static int cbsp_dec_load_query_fail(struct osmo_cbsp_load_query_failure *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:933
tch_afs_5_15_term_output
static const uint8_t tch_afs_5_15_term_output[]
Definition: gsm0503_conv.c:621
osmo_gsm48_si_ro_info::scheduling
struct osmo_gsm48_si_ro_info::@8 scheduling
osmo_nri_range::first
int16_t first
First value of the NRI range, i.e.
Definition: gsm23236.h:23
BSS_MAP_MSG_PERFORM_LOCATION_ABORT
@ BSS_MAP_MSG_PERFORM_LOCATION_ABORT
Definition: gsm_08_08.h:116
NM_MT_LOAD_INIT_NACK
@ NM_MT_LOAD_INIT_NACK
Definition: gsm_12_21.h:89
tlvp_val8
static uint8_t tlvp_val8(const struct tlv_parsed *tp, uint8_t tag, uint8_t default_val)
Obtain 1-byte TLV element.
Definition: tlv.h:590
NM_STATE_LOCKED
@ NM_STATE_LOCKED
Definition: gsm_12_21.h:521
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:1298
gsm48_classmark1
Definition: gsm_04_08.h:17
OSMO_I460_RATE_32k
@ OSMO_I460_RATE_32k
Definition: i460_mux.h:34
gsm0808_create_handover_succeeded
struct msgb * gsm0808_create_handover_succeeded()
Create BSSMAP HANDOVER SUCCEEDED message, 3GPP TS 48.008 3.2.1.13.
Definition: gsm0808.c:1108
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) OSMO_DEPRECATED("Use lapdm_entity_init3() instead")
initialize a LAPDm entity and all datalinks inside
Definition: lapdm.c:162
GSM0808_IE_VGCS_FEATURE_FLAGS
@ GSM0808_IE_VGCS_FEATURE_FLAGS
Definition: gsm_08_08.h:281
NM_IPACC_TESTNO_BCCH_CHAN_USAGE
@ NM_IPACC_TESTNO_BCCH_CHAN_USAGE
Definition: gsm_12_21.h:718
__attribute__
enum gsmtap_um_voice_type __attribute__
l2downstate::name
const char * name
Definition: lapd_core.c:2146
length
uint8_t length
Definition: gsm_08_08.h:1
GSM0808_IE_CELL_IDENTIFIER
@ GSM0808_IE_CELL_IDENTIFIER
Definition: gsm_08_08.h:194
bssmap_le_location_type
Definition: gsm_49_031.h:145
abis_rsl_common_hdr
RSL common header.
Definition: gsm_08_58.h:75
GSM_MACBLOCK_PADDING
#define GSM_MACBLOCK_PADDING
Definition: gsm_04_08.h:2112
gsm0808_lcls_control_names
const struct value_string gsm0808_lcls_control_names[]
Definition: gsm0808.c:1894
network
write Write running configuration to network
SGSAP_SERV_IND_SMS
@ SGSAP_SERV_IND_SMS
Definition: gsm_29_118.h:118
GSM0808_CAUSE_REQUESTED_OPT_NOT_AUTHORISED
@ GSM0808_CAUSE_REQUESTED_OPT_NOT_AUTHORISED
Definition: gsm_08_08.h:379
NM_ATT_OSMO_REDUCEPOWER
@ NM_ATT_OSMO_REDUCEPOWER
Definition: gsm_12_21.h:515
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:1590
gsm340_gen_scts
void gsm340_gen_scts(uint8_t *scts, time_t time)
Generate 03.40 TP-SCTS.
Definition: gsm0411_utils.c:91
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:239
dcs
struct @28 dcs
Definition: gsm_23_041.h:3
severity_names
static const struct value_string severity_names[]
Definition: abis_nm.c:239
BSSMAP_LE_IEI_REQ_GANSS_ASS_D
@ BSSMAP_LE_IEI_REQ_GANSS_ASS_D
Definition: gsm_49_031.h:96
rslms_rx_rll_data_req
static int rslms_rx_rll_data_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:1094
osmo_gsm48_si_pch_nch_info::call_priority_present
bool call_priority_present
Definition: gsm48_rest_octets.h:26
GSM48_MT_RR_CIPH_M_CMD
#define GSM48_MT_RR_CIPH_M_CMD
Definition: gsm_04_08.h:1452
l2_ph_chan_conf
static int l2_ph_chan_conf(struct msgb *msg, struct lapdm_entity *le, uint32_t frame_nr)
Definition: lapdm.c:1245
GSM_LCHAN_PDTCH
@ GSM_LCHAN_PDTCH
Definition: gsm_utils.h:228
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
osmo_lcls_dump_buf
char * osmo_lcls_dump_buf(char *buf, size_t buf_len, const struct osmo_lcls *lcls)
Dump LCLS parameters (GCR excluded) into string for printing.
Definition: gsm0808_utils.c:632
GSM48_MT_CC_SETUP
#define GSM48_MT_CC_SETUP
Definition: gsm_04_08.h:1572
osmo_bsslap_ie_dec_chan_desc
static int osmo_bsslap_ie_dec_chan_desc(struct gsm48_chan_desc *chan_desc, enum bsslap_msgt msgt, enum bsslap_iei iei, struct osmo_bsslap_err **err, void *err_ctx, const uint8_t *data, size_t len)
Definition: bsslap.c:150
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:1347
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 Message buffers
Definition: tlv.h:358
SGSAP_SGS_CAUSE_IMSI_IMPL_DET_NON_EPS
@ SGSAP_SGS_CAUSE_IMSI_IMPL_DET_NON_EPS
Definition: gsm_29_118.h:131
GSM0808_CAUSE_RADIO_INTERFACE_MESSAGE_FAILURE
@ GSM0808_CAUSE_RADIO_INTERFACE_MESSAGE_FAILURE
Definition: gsm_08_08.h:360
CBSP_IEI_NUM_BCAST_COMPL_LIST
@ CBSP_IEI_NUM_BCAST_COMPL_LIST
Definition: gsm_48_049.h:30
GSM48_CMODE_DATA_6k0
@ GSM48_CMODE_DATA_6k0
Definition: gsm_04_08.h:750
gsm0808_handover_request_ack::aoip_transport_layer
const struct sockaddr_storage * aoip_transport_layer
Definition: gsm0808.h:223
gprs_cipher_impl::algo
enum gprs_ciph_algo algo
Definition: gprs_cipher.h:33
BTS_FEAT_CCN
@ BTS_FEAT_CCN
Definition: bts_features.h:30
cbsp_dec_keep_alive
static int cbsp_dec_keep_alive(struct osmo_cbsp_keep_alive *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:1088
_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
tlv_p_entry
Entry in a TLV parser array.
Definition: tlv.h:492
osmo_bsslap_err::rc
int rc
Definition: bsslap.h:37
GMM_CAUSE_COND_IE_ERR
@ GMM_CAUSE_COND_IE_ERR
Definition: gsm_04_08_gprs.h:235
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:70
osmo_cbsp_kill_complete::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:143
gsm48_cc_msgtype_names
const struct value_string gsm48_cc_msgtype_names[]
TS 04.08 CC Message Type names.
Definition: gsm48.c:1480
GA_MT_CSR_UL_QUAL_IND
@ GA_MT_CSR_UL_QUAL_IND
Definition: gsm_44_318.h:48
GSM48_IE_PROGR_IND
#define GSM48_IE_PROGR_IND
Definition: gsm_04_08.h:1664
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:421
osmo_cbsp_msg_status_query_complete::msg_id
uint16_t msg_id
Definition: cbsp.h:186
tlv_parsed::lv
struct tlv_p_entry lv[256]
Definition: tlv.h:523
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:862
ipa_ccm_idtag_parse_off
int ipa_ccm_idtag_parse_off(struct tlv_parsed *dec, unsigned char *buf, int len, const int len_offset)
Parse the payload part of an IPA CCM ID GET, return tlv_parsed format.
Definition: ipa.c:116
osmo_gummei
Definition: gsm23003.h:98
GSM0808_IE_IMEI
@ GSM0808_IE_IMEI
Definition: gsm_08_08.h:279
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:218
osmo_gcr_dump_buf
char * osmo_gcr_dump_buf(char *buf, size_t buf_len, const struct osmo_lcls *lcls)
Dump GCR struct into string for printing.
Definition: gsm0808_utils.c:668
msgb_l1
#define msgb_l1(m)
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:320
_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:1711
GSM0808_IE_CAUSE
@ GSM0808_IE_CAUSE
Definition: gsm_08_08.h:193
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:338
osmo_gad_ell_point::lat
int32_t lat
Latitude in micro degrees (degrees * 1e6), -90'000'000 (S) .
Definition: gad.h:37
msgb_length
uint16_t msgb_length(const struct msgb *msg)
osmo_bssmap_le_enc_reset
static int osmo_bssmap_le_enc_reset(struct msgb *msg, enum gsm0808_cause cause)
Definition: bssmap_le.c:446
GAD_TYPE_ELL_POINT_UNC_CIRCLE
@ GAD_TYPE_ELL_POINT_UNC_CIRCLE
Ellipsoid point with uncertainty circle.
Definition: gsm_23_032.h:36
lapdm_channel
the two lapdm_entities that form a GSM logical channel (ACCH + DCCH)
Definition: lapdm.h:72
GSM0808_IE_REDIR_ATTEMPT_FLAG
@ GSM0808_IE_REDIR_ATTEMPT_FLAG
Definition: gsm_08_08.h:308
GSM48_REJECT_SRV_OPT_NOT_SUPPORTED
@ GSM48_REJECT_SRV_OPT_NOT_SUPPORTED
Definition: gsm_04_08.h:1896
llist_del
static void llist_del(struct llist_head *entry)
gsm48_classmark3
Definition: gsm_04_08.h:62
osmo_strbuf::chars_needed
size_t chars_needed
SGSAP_SGS_CAUSE_IMSI_DET_NON_EPS
@ SGSAP_SGS_CAUSE_IMSI_DET_NON_EPS
Definition: gsm_29_118.h:130
GMM_CAUSE_SMS_VIA_GPRS_IN_RA
@ GMM_CAUSE_SMS_VIA_GPRS_IN_RA
Definition: gsm_04_08_gprs.h:228
DL_SAPI0
@ DL_SAPI0
SAPI 0.
Definition: lapdm.h:39
gsm29118_reset_msg::mme_name
char mme_name[SGS_MME_NAME_LEN+1]
Definition: gsm29118.h:48
gsm411_push_rp_header
int gsm411_push_rp_header(struct msgb *msg, uint8_t rp_msg_type, uint8_t rp_msg_ref)
Prefix Message buffers with a RP header.
Definition: gsm0411_utils.c:331
SGSAP_IE_TMSI_STATUS
@ SGSAP_IE_TMSI_STATUS
Definition: gsm_29_118.h:51
CBSP_IEI_FAILURE_LIST
@ CBSP_IEI_FAILURE_LIST
Definition: gsm_48_049.h:31
tch_h1_remap_table
static struct fn_remap_table tch_h1_remap_table
Definition: gsm0502.c:112
GSM_MNCC_BCAP_SPEECH
@ GSM_MNCC_BCAP_SPEECH
Definition: mncc.h:78
GSM_BAND_450
@ GSM_BAND_450
Definition: gsm_utils.h:57
osmo_plmn_name_c
char * osmo_plmn_name_c(const void *ctx, const struct osmo_plmn_id *plmn)
Return MCC-MNC string as standardized 3-digit-dash-2/3-digit with leading zeros, into a dynamically-a...
Definition: gsm23003.c:206
BSSAP_MSG_DTAP
@ BSSAP_MSG_DTAP
Definition: gsm_08_08.h:38
BSS_MAP_MSG_HANDOVER_SUCCEEDED
@ BSS_MAP_MSG_HANDOVER_SUCCEEDED
Definition: gsm_08_08.h:88
gsm29118_create_release_req
struct msgb * gsm29118_create_release_req(const char *imsi, const uint8_t sgs_cause)
Definition: gsm29118.c:424
LOGDL
#define LOGDL(dl, level, fmt, args...)
Definition: lapd_core.h:17
DEC_IE_MANDATORY
#define DEC_IE_MANDATORY(IEI, DEC_FUN, DEC_FUN_ARG)
osmo_gsup_decode_an_apdu
int osmo_gsup_decode_an_apdu(struct osmo_gsup_message *gsup_msg, const uint8_t *data, size_t data_len)
Decode AN-apdu (see 3GPP TS 29.002 7.6.9.1).
Definition: gsup.c:276
SMC_LOG_STR
#define SMC_LOG_STR
Definition: gsm0411_smc.c:76
level
uint8_t level
proto
uint8_t proto
Definition: ipaccess.h:1
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:60
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:64
ph_data_param::link_id
uint8_t link_id
Link Identifier (Like RSL)
Definition: l1sap.h:76
cbsp_decode_loading_list
static int cbsp_decode_loading_list(struct osmo_cbsp_loading_list *ll, void *ctx, const uint8_t *buf, unsigned int len)
Definition: cbsp.c:558
BSSLAP_IEI_RRLP_FLAG
@ BSSLAP_IEI_RRLP_FLAG
Definition: gsm_48_071.h:65
GSM0808_SC_CFG_DEFAULT_AMR_4_75
@ GSM0808_SC_CFG_DEFAULT_AMR_4_75
Definition: gsm_08_08.h:576
gsm48_gsm_cause_names
const struct value_string * gsm48_gsm_cause_names
Definition: gsm_04_08_gprs.c:120
lapd_send_resend
static int lapd_send_resend(struct lapd_datalink *dl)
Definition: lapd_core.c:544
GSM48_IE_MODE_SEC_CH
#define GSM48_IE_MODE_SEC_CH
Definition: gsm_04_08.h:1726
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:1752
ipaccess_unit::trx_id
uint16_t trx_id
Definition: ipa.h:16
osmo_i460_subchan::mux
struct osmo_i460_subchan_mux mux
Definition: i460_mux.h:73
gsm411_mnsms_error_ind_tx
static int gsm411_mnsms_error_ind_tx(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:342
OSMO_RAT_UNKNOWN
@ OSMO_RAT_UNKNOWN
Definition: gsm_utils.h:248
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
osmo_lu_type_names
const struct value_string osmo_lu_type_names[]
Definition: gsm48.c:1704
osmo_earfcn_si2q::thresh_lo
uint8_t thresh_lo
Definition: sysinfo.h:59
GSM0808_IE_SMS_TO_VGCS
@ GSM0808_IE_SMS_TO_VGCS
Definition: gsm_08_08.h:286
GSM0808_CAUSE_RADIO_INTERFACE_FAILURE
@ GSM0808_CAUSE_RADIO_INTERFACE_FAILURE
Definition: gsm_08_08.h:361
GSM23003_MSISDN_MAX_DIGITS
#define GSM23003_MSISDN_MAX_DIGITS
Definition: gsm_23_003.h:25
GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL
@ GSM0808_LCLS_CFG_BOTH_WAY_AND_BICAST_UL
Definition: gsm_08_08.h:642
msg_ref
uint8_t msg_ref
Definition: gsm_04_11.h:2
osmo_mi_name_c
char * osmo_mi_name_c(const void *ctx, const uint8_t *mi, uint8_t mi_len)
Deprecated, see osmo_mobile_identity instead.
Definition: gsm48.c:525
GSM48_MT_GMM_AUTH_CIPH_REQ
#define GSM48_MT_GMM_AUTH_CIPH_REQ
Definition: gsm_04_08_gprs.h:27
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:316
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:540
BSS_MAP_MSG_VGCS_ADDL_INFO
@ BSS_MAP_MSG_VGCS_ADDL_INFO
Definition: gsm_08_08.h:175
encode_drx_timer
static int encode_drx_timer(unsigned int drx)
Definition: gsm48_rest_octets.c:934
smcdownstate::type
int type
Definition: gsm0411_smc.c:424
osmo_cgi_name_buf
char * osmo_cgi_name_buf(char *buf, size_t buf_len, const struct osmo_cell_global_id *cgi)
Return MCC-MNC-LAC-CI as string, in caller-provided output buffer.
Definition: gsm23003.c:293
TLV_TYPE_TLV
@ TLV_TYPE_TLV
tag-length-value
Definition: tlv.h:503
gsm0808_cause_name
const char * gsm0808_cause_name(enum gsm0808_cause cause)
Return string name of BSSMAP Cause name.
Definition: gsm0808.c:1824
GAD_TYPE_ELL_POINT
@ GAD_TYPE_ELL_POINT
Ellipsoid point.
Definition: gsm_23_032.h:34
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
osmo_gad_dec_lon
int32_t osmo_gad_dec_lon(uint32_t lon)
Decode a longitude value according to 3GPP TS 23.032.
Definition: gad.c:128
GSM411_TMR_TR1M
#define GSM411_TMR_TR1M
Definition: gsm_04_11.h:96
osmo_mnc_name_buf
char * osmo_mnc_name_buf(char *buf, size_t buf_len, uint16_t mnc, bool mnc_3_digits)
Return MNC string as standardized 2- or 3-digit with leading zeros.
Definition: gsm23003.c:134
GSM0808_CAUSE_INVALID_CSG_CELL
@ GSM0808_CAUSE_INVALID_CSG_CELL
Definition: gsm_08_08.h:403
osmo_cbsp_num_compl_list::id_discr
enum CELL_IDENT id_discr
Definition: cbsp.h:58
gsm48_classmark3::dtm_egprs_high_multislot_cap
struct gsm48_classmark3::@47::@54 dtm_egprs_high_multislot_cap
gsm48_mm_att_tlvdef
const struct tlv_definition gsm48_mm_att_tlvdef
TLV parser definitions for TS 04.08 MM.
Definition: gsm48.c:143
GSM48_IE_CHANMODE_4
#define GSM48_IE_CHANMODE_4
Definition: gsm_04_08.h:1703
NM_NACK_REQ_NOT_GRANT
@ NM_NACK_REQ_NOT_GRANT
Definition: gsm_12_21.h:631
gprs_cs_desc::uplink
struct gprs_cs_desc::@108 uplink
ipa_ccm_send_id_ack
int ipa_ccm_send_id_ack(int fd)
Definition: ipa.c:456
osmo_gsm48_si3_gprs_ind::si13_position
uint8_t si13_position
Definition: gsm48_rest_octets.h:74
gsm0808_dec_osmux_cid
int gsm0808_dec_osmux_cid(uint8_t *cid, const uint8_t *elem, uint8_t len)
osmo_prim_hdr::operation
enum osmo_prim_operation operation
NM_STATE_SHUTDOWN
@ NM_STATE_SHUTDOWN
Definition: gsm_12_21.h:523
GSM414_MT_OPEN_MSLOT_LOOP_ACK
#define GSM414_MT_OPEN_MSLOT_LOOP_ACK
Definition: gsm_04_14.h:52
osmo_cbsp_decoded::load_query_fail
struct osmo_cbsp_load_query_failure load_query_fail
Definition: cbsp.h:263
gsm0808_cell_id_u::global_ps
struct osmo_cell_global_id_ps global_ps
Definition: gsm0808_utils.h:47
lon
uint8_t lon[3]
Definition: gsm_23_032.h:2
cbsp_dec_restart
static int cbsp_dec_restart(struct osmo_cbsp_restart *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:1110
rslms_rx_com_chan
static int rslms_rx_com_chan(struct msgb *msg, struct lapdm_channel *lc)
Definition: lapdm.c:1366
CBSP_CATEG_NORMAL
@ CBSP_CATEG_NORMAL
Definition: gsm_48_049.h:80
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
BTS_FEAT_CBCH
@ BTS_FEAT_CBCH
Definition: bts_features.h:20
gsm48_classmark3::add_pos_cap
bool add_pos_cap
Definition: gsm_04_08.h:206
gsm0808_cell_id_u::ci
uint16_t ci
Definition: gsm0808_utils.h:44
GSM48_IE_USER_USER
#define GSM48_IE_USER_USER
Definition: gsm_04_08.h:1679
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)
GSM23003_MSISDN_MIN_DIGITS
#define GSM23003_MSISDN_MIN_DIGITS
Definition: gsm_23_003.h:26
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
osmo_cbsp_kill_failure::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:153
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:1177
BSS_MAP_MSG_RESUME
@ BSS_MAP_MSG_RESUME
Definition: gsm_08_08.h:111
gsm0808_old_bss_to_new_bss_info::ue_prob
bool ue_prob
Definition: gsm0808.h:120
gsm48_range_256
Definition: gsm_04_08.h:359
gsm411_rp_cause_strs
const struct value_string gsm411_rp_cause_strs[]
Definition: gsm0411_smr.c:112
ipaccess_unit::equipvers
char * equipvers
Definition: ipa.h:18
GSM48_BCAP_ITCAP_FAX_G3
@ GSM48_BCAP_ITCAP_FAX_G3
Definition: gsm_04_08.h:1996
facch_h1_remap_table
static struct fn_remap_table facch_h1_remap_table
Definition: gsm0502.c:115
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:171
GSM0808_IE_GERAN_BSC_CONTAINER
@ GSM0808_IE_GERAN_BSC_CONTAINER
Definition: gsm_08_08.h:272
GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE
@ GSM48_REJECT_MS_IDENTITY_NOT_DERVIVABLE
Definition: gsm_04_08.h:1912
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:220
nack_cause_names
static const struct value_string nack_cause_names[]
Definition: abis_nm.c:178
EGPRS_MCS2
EGPRS_MCS2
lapdm_channel_init3
int lapdm_channel_init3(struct lapdm_channel *lc, enum lapdm_mode mode, const int *t200_ms_dcch, const int *t200_ms_acch, enum gsm_chan_t chan_t, const char *name_pfx)
initialize a LAPDm channel and all its channels
Definition: lapdm.c:262
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
BSSMAP_LE_POS_METHOD_MOBILE_ASSISTED_E_OTD
@ BSSMAP_LE_POS_METHOD_MOBILE_ASSISTED_E_OTD
Definition: gsm_49_031.h:140
gsm0808_create_handover_performed
struct msgb * gsm0808_create_handover_performed(const struct gsm0808_handover_performed *params)
Create BSSMAP HANDOVER PERFORMED message, 3GPP TS 48.008 3.2.1.25.
Definition: gsm0808.c:1197
GSM0808_IE_LCLS_BSS_STATUS
@ GSM0808_IE_LCLS_BSS_STATUS
Definition: gsm_08_08.h:316
GSM_MNCC_BCAP_UNR_DIG
@ GSM_MNCC_BCAP_UNR_DIG
Definition: mncc.h:79
GSM_MI_TYPE_IMEISV
#define GSM_MI_TYPE_IMEISV
Definition: gsm_04_08.h:1647
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:1124
GSM0808_IE_GPS_ASSISTANCE_DATA
@ GSM0808_IE_GPS_ASSISTANCE_DATA
Definition: gsm_08_08.h:261
gsm0808_channel_type::ch_rate_type
uint8_t ch_rate_type
Definition: gsm_08_08.h:611
OSMO_GSUP_MSGT_E_CLOSE
@ OSMO_GSUP_MSGT_E_CLOSE
Definition: gsup.h:197
GSM0480_OP_CODE_BUILD_MPTY
#define GSM0480_OP_CODE_BUILD_MPTY
Definition: gsm_04_80.h:87
osmo_gsup_message::sm_rp_da_len
size_t sm_rp_da_len
Definition: gsup.h:339
data
uint8_t data[0]
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
GSM48_CC_CAUSE_RESOURCE_UNAVAIL
@ GSM48_CC_CAUSE_RESOURCE_UNAVAIL
Definition: gsm_04_08.h:1851
GSM414_MT_GPRS_TEST_MODE_CMD
#define GSM414_MT_GPRS_TEST_MODE_CMD
Definition: gsm_04_14.h:63
GSM_PCHAN_PDCH
@ GSM_PCHAN_PDCH
Definition: gsm_utils.h:211
OSMO_GSUP_PDP_TYPE_IE
@ OSMO_GSUP_PDP_TYPE_IE
Definition: gsup.h:76
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:1644
OSMO_GSUP_MSGT_CHECK_IMEI_ERROR
@ OSMO_GSUP_MSGT_CHECK_IMEI_ERROR
Definition: gsup.h:179
GSM48_RR_CAUSE_SEMANT_INCORR
@ GSM48_RR_CAUSE_SEMANT_INCORR
Definition: gsm_04_08.h:1817
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:1273
osmo_cbsp_msg_status_query_failure::msg_id
uint16_t msg_id
Definition: cbsp.h:194
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:321
FACCH_H_REPEAT_LENGTH
#define FACCH_H_REPEAT_LENGTH
Definition: gsm0502.c:56
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:762
gsm0808_encrypt_info::perm_algo_len
unsigned int perm_algo_len
Definition: gsm_08_08.h:621
test_names
static const struct value_string test_names[]
Definition: abis_nm.c:663
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:1729
OSMO_GSUP_MESSAGE_CLASS_UNSET
@ OSMO_GSUP_MESSAGE_CLASS_UNSET
Definition: gsup.h:279
gsm_gsmtime2fn
uint32_t gsm_gsmtime2fn(struct gsm_time *time)
Encode decoded gsm_time to Frame Number.
Definition: gsm_utils.c:891
GA_MT_CSR_REQUEST_ACCEPT
@ GA_MT_CSR_REQUEST_ACCEPT
Definition: gsm_44_318.h:67
osmo_bssmap_le_dec_perform_loc_req
static int osmo_bssmap_le_dec_perform_loc_req(struct bssmap_le_perform_loc_req *params, enum bssmap_le_msgt msgt, struct osmo_bssmap_le_err **err, void *err_ctx, const struct tlv_parsed *tp)
Definition: bssmap_le.c:503
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
decode_t3192
static unsigned int decode_t3192(unsigned int t3192)
Definition: gsm48_rest_octets.c:753
gsm48_decode_bcd_number2
int gsm48_decode_bcd_number2(char *output, size_t output_len, const uint8_t *bcd_lv, size_t input_len, size_t h_len)
Decode a 'called/calling/connect party BCD number' as in 10.5.4.7.
Definition: gsm48_ie.c:80
CBSP_MSGT_LOAD_QUERY
@ CBSP_MSGT_LOAD_QUERY
Definition: gsm_48_049.h:57
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:1098
gsm_freq_range::arfcn_last
uint16_t arfcn_last
Definition: gsm_utils.c:786
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:1294
gsm29118_paging_req::serv_ind
uint8_t serv_ind
Definition: gsm29118.h:37
EGPRS_MCS6
EGPRS_MCS6
GSM_CAUSE_MSGT_INCOMP_P_STATE
@ GSM_CAUSE_MSGT_INCOMP_P_STATE
Definition: gsm_04_08_gprs.h:266
tlv_definition
Definition of All 256 IE / TLV.
Definition: tlv.h:517
osmo_gummei_name_buf
char * osmo_gummei_name_buf(char *buf, size_t buf_len, const struct osmo_gummei *gummei)
Return string representation of GUMMEI in caller-provided output buffer.
Definition: gsm23003.c:390
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:458
name
char name[32]
BSS_MAP_MSG_OVERLOAD
@ BSS_MAP_MSG_OVERLOAD
Definition: gsm_08_08.h:124
BSS_MAP_MSG_ASSIGMENT_COMPLETE
#define BSS_MAP_MSG_ASSIGMENT_COMPLETE
Definition: gsm_08_08.h:186
OSMO_GSUP_MSGT_E_SEND_END_SIGNAL_RESULT
@ OSMO_GSUP_MSGT_E_SEND_END_SIGNAL_RESULT
Definition: gsup.h:192
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:46
osmo_gsm48_range_enc_determine_range
int osmo_gsm48_range_enc_determine_range(const int *arfcns, const int size, int *f0)
This implements the range determination as described in GSM 04.08 J4.
Definition: gsm48_arfcn_range_encode.c:165
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:48
GSM0808_IE_CONFIG_EVO_INDI
@ GSM0808_IE_CONFIG_EVO_INDI
Definition: gsm_08_08.h:246
tch_axs_sid_update_output
static const uint8_t tch_axs_sid_update_output[][2]
Definition: gsm0503_conv.c:1136
BSSLAP_IEI_PWRUP_START_TIME
@ BSSLAP_IEI_PWRUP_START_TIME
Definition: gsm_48_071.h:83
GSM0808_CAUSE_TRAFFIC_LOAD
@ GSM0808_CAUSE_TRAFFIC_LOAD
Definition: gsm_08_08.h:392
BSSLAP_IEI_TLLI
@ BSSLAP_IEI_TLLI
Definition: gsm_48_071.h:80
gsm_arfcn2band
enum gsm_band gsm_arfcn2band(uint16_t arfcn)
Resolve GSM band from ARFCN, aborts process on invalid ARFCN.
Definition: gsm_utils.c:774
osmo_gad::ell_point
struct osmo_gad_ell_point ell_point
Definition: gad.h:153
tch_afs_12_2_state
static const uint8_t tch_afs_12_2_state[][2]
Definition: gsm0503_conv.c:221
msgb
msgb_push
static unsigned char * msgb_push(struct msgb *msgb, unsigned int len)
GSM411_RP_CAUSE_MO_RES_UNAVAIL
@ GSM411_RP_CAUSE_MO_RES_UNAVAIL
Definition: gsm_04_11.h:79
SGSAP_MSGT_SERVICE_REQ
@ SGSAP_MSGT_SERVICE_REQ
Definition: gsm_29_118.h:11
gsm48_ra_id::rac
uint8_t rac
Definition: gsm_04_08.h:2106
BTS_FEAT_SPEECH_F_AMR
@ BTS_FEAT_SPEECH_F_AMR
Definition: bts_features.h:24
gsm0808_create_perform_location_abort
struct msgb * gsm0808_create_perform_location_abort(const struct lcs_cause_ie *lcs_cause)
Definition: gsm0808.c:1414
OSMO_GSUP_SMS_SM_RP_ODA_NULL
@ OSMO_GSUP_SMS_SM_RP_ODA_NULL
Special value for noSM-RP-DA and noSM-RP-OA.
Definition: gsup_sms.h:22
GSM_CAUSE_MSGT_NOTEXIST_NOTIMPL
@ GSM_CAUSE_MSGT_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:265
CBSP_MSGT_LOAD_QUERY_FAIL
@ CBSP_MSGT_LOAD_QUERY_FAIL
Definition: gsm_48_049.h:59
sgsap_sgs_cause
sgsap_sgs_cause
Definition: gsm_29_118.h:126
aes_decrypt
void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain)
gsm48_range_1024
Definition: gsm_04_08.h:249
tch_ahs_4_75_term_state
static const uint8_t tch_ahs_4_75_term_state[]
Definition: gsm0503_conv.c:1087
GSM48_IE_CHANMODE_8
#define GSM48_IE_CHANMODE_8
Definition: gsm_04_08.h:1707
NM_IPACC_TESTNO_SYSINFO_MONITOR
@ NM_IPACC_TESTNO_SYSINFO_MONITOR
Definition: gsm_12_21.h:722
GA_MT_CSR_HO_CMD
@ GA_MT_CSR_HO_CMD
Definition: gsm_44_318.h:50
osmo_gsup_an_apdu::access_network_proto
enum osmo_gsup_access_network_protocol access_network_proto
Definition: gsup.h:296
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:568
GSM_CAUSE_ACT_REJ_UNSPEC
@ GSM_CAUSE_ACT_REJ_UNSPEC
Definition: gsm_04_08_gprs.h:252
SGSAP_IE_SGS_CAUSE
@ SGSAP_IE_SGS_CAUSE
Definition: gsm_29_118.h:52
osmo_bssap_le_header::type
uint8_t type
Definition: bssmap_le.c:427
gsm411_smc_inst::cp_timer
struct osmo_timer_list cp_timer
Definition: gsm0411_smc.h:38
osmo_cbsp_cell_list::id_discr
enum CELL_IDENT id_discr
Definition: cbsp.h:46
gsm0808_speech_codec_list
Definition: gsm_08_08.h:602
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:126
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
LOGL_INFO
#define LOGL_INFO
GSM_LCHAN_TCH_F
@ GSM_LCHAN_TCH_F
Definition: gsm_utils.h:224
mode
uint8_t mode
Definition: gsm_04_08.h:1
rcon
const u32 rcon[10]
abis_rsl_rll_hdr
Definition: gsm_08_58.h:82
osmo_apn_qualify_from_imsi_c
char * osmo_apn_qualify_from_imsi_c(const void *ctx, const char *imsi, const char *ni, int have_3dig_mnc)
Definition: apn.c:81
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:1717
GSM48_MT_MM_ID_RESP
#define GSM48_MT_MM_ID_RESP
Definition: gsm_04_08.h:1544
osmo_gsup_message::pdp_infos
struct osmo_gsup_pdp_info pdp_infos[OSMO_GSUP_MAX_NUM_PDP_INFO]
Definition: gsup.h:311
osmo_gsm48_classmark_supports_a5
int osmo_gsm48_classmark_supports_a5(const struct osmo_gsm48_classmark *cm, uint8_t a5)
Determine if the given Classmark (1/2/3) value permits a given A5/n cipher.
Definition: gsm48.c:1834
DLMI
#define DLMI
GSM0480_OP_CODE_PROCESS_USS_DATA
#define GSM0480_OP_CODE_PROCESS_USS_DATA
Definition: gsm_04_80.h:78
gsm48_classmark3::umts_1_28_mcps_tdd_rat_cap
bool umts_1_28_mcps_tdd_rat_cap
Definition: gsm_04_08.h:153
GSM0480_OP_CODE_RETRIEVE_MPTY
#define GSM0480_OP_CODE_RETRIEVE_MPTY
Definition: gsm_04_80.h:85
osmo_gprs_cell_options::drx_timer_max
uint32_t drx_timer_max
GA_MT_CSR_RELEASE_COMPL
@ GA_MT_CSR_RELEASE_COMPL
Definition: gsm_44_318.h:43
osmo_gsm48_range_enc_find_index
int osmo_gsm48_range_enc_find_index(enum osmo_gsm48_range range, const int *freqs, const int size)
Determine at which index to split the ARFCNs to create an equally size partition for the given range.
Definition: gsm48_arfcn_range_encode.c:55
gsm0808_speech_codec
3GPP TS 48.008 3.2.2.104 Speech Codec
Definition: gsm_08_08.h:540
gsm341_ms_message::data
uint8_t data[0]
Definition: gsm_03_41.h:52
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
OSMO_I460_RATE_NONE
@ OSMO_I460_RATE_NONE
Definition: i460_mux.h:32
GSM0808_IE_CS_TO_PS_SRVCC
@ GSM0808_IE_CS_TO_PS_SRVCC
Definition: gsm_08_08.h:319
gsm29118_create_alert_req
struct msgb * gsm29118_create_alert_req(const char *imsi)
Definition: gsm29118.c:250
osmo_gsup_pdp_info
parsed/decoded PDP context information
Definition: gsup.h:256
gsm0808_encrypt_info::key
uint8_t key[ENCRY_INFO_KEY_MAXLEN]
Definition: gsm_08_08.h:622
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
osmo_cbsp_num_compl_ent
Definition: cbsp.h:51
GSM48_MT_RR_CELL_CHG_ORDER
#define GSM48_MT_RR_CELL_CHG_ORDER
Definition: gsm_04_08.h:1469
IPAC_IDTAG_SERNR
@ IPAC_IDTAG_SERNR
Definition: ipaccess.h:61
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
gsm0502_tch_h0_traffic_block_map
static const uint8_t gsm0502_tch_h0_traffic_block_map[3][4]
Definition: gsm0502.c:64
gsm0808_encrypt_info::key_len
unsigned int key_len
Definition: gsm_08_08.h:623
rxlev2dbm
int rxlev2dbm(uint8_t rxlev)
Convert TS 05.08 RxLev to dBm (TS 05.08 Chapter 8.1.4)
Definition: gsm_utils.c:649
osmo_mi_name
const char * osmo_mi_name(const uint8_t *mi, uint8_t mi_len)
Deprecated, see osmo_mobile_identity instead.
Definition: gsm48.c:511
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:280
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:1697
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:318
osmo_cbsp_decoded::kill_compl
struct osmo_cbsp_kill_complete kill_compl
Definition: cbsp.h:258
MDL_CAUSE_SFRM_INC_PARAM
#define MDL_CAUSE_SFRM_INC_PARAM
Definition: lapd_core.h:41
msgb_sgsap_name_put
static int msgb_sgsap_name_put(struct msgb *msg, enum sgsap_iei iei, const char *name)
Definition: gsm29118.c:197
OSMO_CMP
#define OSMO_CMP(a, b)
GSM48_MT_CC_START_DTMF_ACK
#define GSM48_MT_CC_START_DTMF_ACK
Definition: gsm_04_08.h:1596
decode_auth_info
static int decode_auth_info(uint8_t *data, size_t data_len, struct osmo_auth_vector *auth_vector)
Definition: gsup.c:178
osmo_cbsp_msg_status_query_complete::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:188
GSM0808_IE_SEND_SEQ_NUM
@ GSM0808_IE_SEND_SEQ_NUM
Definition: gsm_08_08.h:310
GSM48_MT_GMM_ATTACH_REJ
#define GSM48_MT_GMM_ATTACH_REJ
Definition: gsm_04_08_gprs.h:16
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:836
GSM48_CMSERV_EMERGENCY
@ GSM48_CMSERV_EMERGENCY
Definition: gsm_04_08.h:1612
OSMO_MILENAGE_IND_BITLEN_MAX
#define OSMO_MILENAGE_IND_BITLEN_MAX
Definition: auth.h:13
SGSAP_MSGT_UL_UD
@ SGSAP_MSGT_UL_UD
Definition: gsm_29_118.h:13
osmo_gad_ell_point_unc_circle
Definition: gad.h:42
BTS_FEAT_GPRS
@ BTS_FEAT_GPRS
Definition: bts_features.h:13
osmo_cbsp_write_replace_failure
Definition: cbsp.h:120
GSM0808_CAUSE_INVALID_MESSAGE_CONTENTS
@ GSM0808_CAUSE_INVALID_MESSAGE_CONTENTS
Definition: gsm_08_08.h:413
GSM0808_IE_NEW_BSS_TO_OLD_BSS_INFO
@ GSM0808_IE_NEW_BSS_TO_OLD_BSS_INFO
Definition: gsm_08_08.h:273
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:707
GSM411_RP_CAUSE_SEMANT_INC_MSG
@ GSM411_RP_CAUSE_SEMANT_INC_MSG
Definition: gsm_04_11.h:87
osmo_gsm48_range_enc_512
int osmo_gsm48_range_enc_512(uint8_t *chan_list, int f0, int *w)
Definition: gsm48_arfcn_range_encode.c:284
osmo_auth_vector::res
uint8_t res[16]
authentication result
Definition: auth.h:65
msgb_l3len
static unsigned int msgb_l3len(const struct msgb *msgb)
gsm0502_tch_h1_traffic_block_map
static const uint8_t gsm0502_tch_h1_traffic_block_map[3][4]
Definition: gsm0502.c:70
OSMO_GSUP_CAUSE_BSSAP_IE
@ OSMO_GSUP_CAUSE_BSSAP_IE
Definition: gsup.h:117
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:774
GSM0808_SC_CFG_AMR_4_75
@ GSM0808_SC_CFG_AMR_4_75
Definition: gsm_08_08.h:590
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:1301
osmo_gcr_parsed::net
uint8_t net[5]
Definition: gsm29205.h:34
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:801
IPA_STRING_MAX
#define IPA_STRING_MAX
Definition: ipa.c:314
rslms_rx_chan_rqd
static int rslms_rx_chan_rqd(struct lapdm_channel *lc, struct msgb *msg)
Definition: lapdm.c:1205
SGSAP_MSGT_SERVICE_ABORT_REQ
@ SGSAP_MSGT_SERVICE_ABORT_REQ
Definition: gsm_29_118.h:28
gsm48_reject_value_names
const struct value_string gsm48_reject_value_names[]
Definition: gsm48.c:1651
gsm_mncc_bearer_cap::speech_ctm
int speech_ctm
Definition: mncc.h:17
GA_MT_CSR_HO_FAIL
@ GA_MT_CSR_HO_FAIL
Definition: gsm_44_318.h:51
GA_PDISC_CSR
@ GA_PDISC_CSR
Definition: gsm_44_318.h:12
GSM0808_IE_PAGING_INFO
@ GSM0808_IE_PAGING_INFO
Definition: gsm_08_08.h:278
osmo_gprs_cell_options::ext_info
struct osmo_gprs_cell_options::@24 ext_info
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:702
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_classmark3::e_utra_mult_band_ind_supp
bool e_utra_mult_band_ind_supp
Definition: gsm_04_08.h:225
GSM48_MT_RR_TALKER_IND
#define GSM48_MT_RR_TALKER_IND
Definition: gsm_04_08.h:1529
osmo_gprs_cs
osmo_gprs_cs
GSM0808_IE_PRIORITY
@ GSM0808_IE_PRIORITY
Definition: gsm_08_08.h:195
BSS_MAP_MSG_LCLS_CONNECT_CTRL_ACK
@ BSS_MAP_MSG_LCLS_CONNECT_CTRL_ACK
Definition: gsm_08_08.h:181
gprs_ra_id::mcc
uint16_t mcc
Definition: gsm48.h:25
osmo_mobile_identity_encode_buf
int osmo_mobile_identity_encode_buf(uint8_t *buf, size_t buflen, const struct osmo_mobile_identity *mi, bool allow_hex)
Encode Mobile Identity from uint32_t (TMSI) or digits string (all others) (3GPP TS 24....
Definition: gsm48.c:712
GSM48_IE_MOB_OVSERV_DIF
#define GSM48_IE_MOB_OVSERV_DIF
Definition: gsm_04_08.h:1732
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:46
osmo_cgi_ps_name_buf
char * osmo_cgi_ps_name_buf(char *buf, size_t buf_len, const struct osmo_cell_global_id_ps *cgi_ps)
Return MCC-MNC-LAC-RAC-CI as string, in caller-provided output buffer.
Definition: gsm23003.c:337
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:644
GSM411_MMSMS_REL_REQ
#define GSM411_MMSMS_REL_REQ
Definition: gsm0411_smc.h:13
BSSLAP_IEI_SERVING_CELL_ID
@ BSSLAP_IEI_SERVING_CELL_ID
Definition: gsm_48_071.h:73
A51_R1_CLKBIT
#define A51_R1_CLKBIT
Definition: a5.c:163
GSM48_CC_CAUSE_REQ_FAC_NOT_SUBSC
@ GSM48_CC_CAUSE_REQ_FAC_NOT_SUBSC
Definition: gsm_04_08.h:1853
gsm0808_create_clear_rqst
struct msgb * gsm0808_create_clear_rqst(uint8_t cause)
Create BSSMAP Clear Request message.
Definition: gsm0808.c:708
LAPDM_MODE_BTS
@ LAPDM_MODE_BTS
behave like a BTS (network)
Definition: lapdm.h:14
GSM0808_SC_CFG_DEFAULT_AMR_7_40
@ GSM0808_SC_CFG_DEFAULT_AMR_7_40
Definition: gsm_08_08.h:580
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:276
NM_ATT_IPACC_NS_LINK_CFG
@ NM_ATT_IPACC_NS_LINK_CFG
Definition: gsm_12_21.h:447
GSM_MNCC_BCAP_FAX_G3
@ GSM_MNCC_BCAP_FAX_G3
Definition: mncc.h:81
osmo_cbsp_recv_buffered
int osmo_cbsp_recv_buffered(void *ctx, int fd, struct msgb **rmsg, struct msgb **tmp_msg)
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:545
gsm0808_create_handover_request_ack2
struct msgb * gsm0808_create_handover_request_ack2(const struct gsm0808_handover_request_ack *params)
Create BSSMAP HANDOVER REQUEST ACKNOWLEDGE message, 3GPP TS 48.008 3.2.1.10.
Definition: gsm0808.c:1003
gsm_ranges
static struct gsm_freq_range gsm_ranges[]
Definition: gsm_utils.c:792
osmo_cbsp_content
Definition: cbsp.h:34
NM_NACK_TEST_NOTINIT
@ NM_NACK_TEST_NOTINIT
Definition: gsm_12_21.h:623
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:17
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:496
GA_MT_CSR_CIPH_MODE_COMPL
@ GA_MT_CSR_CIPH_MODE_COMPL
Definition: gsm_44_318.h:33
osmo_bssmap_le_ie_enc_apdu
static int osmo_bssmap_le_ie_enc_apdu(struct msgb *msg, const struct bsslap_pdu *bsslap)
Definition: bssmap_le.c:321
BSS_MAP_MSG_PERFORM_LOCATION_RQST
@ BSS_MAP_MSG_PERFORM_LOCATION_RQST
Definition: gsm_08_08.h:113
gsm48_classmark3::value
uint8_t value
Definition: gsm_04_08.h:103
gsm48_classmark3::mult_band_supp
uint8_t mult_band_supp
Definition: gsm_04_08.h:64
GSM0808_IE_TRANSACTIONID
@ GSM0808_IE_TRANSACTIONID
Definition: gsm_08_08.h:229
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
BSS_MAP_MSG_HANDOVER_CMD
@ BSS_MAP_MSG_HANDOVER_CMD
Definition: gsm_08_08.h:86
GSM48_MT_RR_PART_REL_COMP
#define GSM48_MT_RR_PART_REL_COMP
Definition: gsm_04_08.h:1474
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:948
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
osmo_gsup_message::supported_rat_types_len
size_t supported_rat_types_len
Definition: gsup.h:388
abis_nm_osmo_magic
const char abis_nm_osmo_magic[12]
Definition: abis_nm.c:41
osmo_gen_mme_group_domain
int osmo_gen_mme_group_domain(char *out, uint16_t mmegi, const struct osmo_plmn_id *plmn)
Generate TS 23.003 Section 19.4.2.4 MME Group Domain (text form)
Definition: gsm23003.c:687
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:1705
comp128v2
int comp128v2(const uint8_t *ki, const uint8_t *rand, uint8_t *sres, uint8_t *kc)
Perform COMP128v2 algorithm.
Definition: comp128v23.c:171
BSSMAP_LE_LCS_CTYPE_PLMN_OPER_UNSPECIFIED
@ BSSMAP_LE_LCS_CTYPE_PLMN_OPER_UNSPECIFIED
Definition: gsm_49_031.h:152
GPRS_DET_T_MO_GPRS
#define GPRS_DET_T_MO_GPRS
Definition: gsm_04_08_gprs.h:60
SGSAP_IE_GLOBAL_CN_ID
@ SGSAP_IE_GLOBAL_CN_ID
Definition: gsm_29_118.h:55
GSM0808_CAUSE_RQSTED_TRANSCODING_RATE_ADAPTION_UNAVAILABLE
@ GSM0808_CAUSE_RQSTED_TRANSCODING_RATE_ADAPTION_UNAVAILABLE
Definition: gsm_08_08.h:396
osmo_cbsp_write_replace_complete::msg_id
uint16_t msg_id
Definition: cbsp.h:111
dl_rel_req_param::mode
uint8_t mode
release mode
Definition: lapd_core.h:56
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:1415
GSM48_MT_RR_PAG_RESP
#define GSM48_MT_RR_PAG_RESP
Definition: gsm_04_08.h:1479
bssmap_le_perform_loc_resp::location_estimate
union gad_raw location_estimate
Definition: gsm_49_031.h:179
GSM48_MT_CC_PROGRESS
#define GSM48_MT_CC_PROGRESS
Definition: gsm_04_08.h:1567
gsm_7bit_decode_ussd
int gsm_7bit_decode_ussd(char *text, const uint8_t *user_data, uint8_t length)
Definition: gsm_utils.c:1006
gsm411_mmsms_cp_ack
static int gsm411_mmsms_cp_ack(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:255
SGSAP_SGS_CAUSE_INVALID_MAND_IE
@ SGSAP_SGS_CAUSE_INVALID_MAND_IE
Definition: gsm_29_118.h:135
SGSAP_MSGT_UE_ACT_IND
@ SGSAP_MSGT_UE_ACT_IND
Definition: gsm_29_118.h:21
gsm29118_create_reset_ind
struct msgb * gsm29118_create_reset_ind(struct gsm29118_reset_msg *params)
Definition: gsm29118.c:378
gsm48_classmark3::single_slot_dtm
bool single_slot_dtm
Definition: gsm_04_08.h:136
osmo_gsm48_si_selection_params::temp_offs
uint16_t temp_offs
Definition: gsm48_rest_octets.h:62
GSM0808_CAUSE_O_AND_M_INTERVENTION
@ GSM0808_CAUSE_O_AND_M_INTERVENTION
Definition: gsm_08_08.h:367
GSM48_CC_CAUSE_PROTO_ERR
@ GSM48_CC_CAUSE_PROTO_ERR
Definition: gsm_04_08.h:1875
OSMO_STRLCPY_ARRAY
#define OSMO_STRLCPY_ARRAY(array, src)
OSMO_EVT_MAJ_UNSUP_ATTR
@ OSMO_EVT_MAJ_UNSUP_ATTR
Definition: gsm_12_21.h:269
gsm48_classmark3::mslot_class
uint8_t mslot_class
Definition: gsm_04_08.h:75
GSM48_CMSERV_MO_CALL_PACKET
@ GSM48_CMSERV_MO_CALL_PACKET
Definition: gsm_04_08.h:1611
IPAC_MSGT_ID_RESP
@ IPAC_MSGT_ID_RESP
Definition: ipaccess.h:48
GSM0808_CAUSE_CLASS_RES_UNAVAIL
@ GSM0808_CAUSE_CLASS_RES_UNAVAIL
Definition: gsm_08_08.h:429
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:12
gsm0808_cause
gsm0808_cause
Definition: gsm_08_08.h:359
osmo_gsm48_si_power_offset::present
uint8_t present
Definition: gsm48_rest_octets.h:70
DEC_ERR
#define DEC_ERR(RC, MSG_TYPE, IEI, CAUSE, fmt, args...)
Definition: bsslap.c:71
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
bsslap_pdu::ta_layer3
struct bsslap_ta_layer3 ta_layer3
Definition: gsm_48_071.h:118
NM_ATT_TEST_REPORT
@ NM_ATT_TEST_REPORT
Definition: gsm_12_21.h:374
osmo_gsm48_si_pch_nch_info::paging_channel_restructuring
bool paging_channel_restructuring
Definition: gsm48_rest_octets.h:24
gsm0808_old_bss_to_new_bss_info::current_channel_type_2_present
bool current_channel_type_2_present
Definition: gsm0808.h:123
osmo_mobile_identity_decode_from_l3
int osmo_mobile_identity_decode_from_l3(struct osmo_mobile_identity *mi, struct msgb *msg, bool allow_hex)
Extract Mobile Identity from a Complete Layer 3 message.
Definition: gsm48.c:793
N200_TR_FACCH_FR
#define N200_TR_FACCH_FR
Definition: lapdm.c:103
osmo_bssmap_le_ie_dec_lcs_client_type
static int osmo_bssmap_le_ie_dec_lcs_client_type(enum bssmap_le_lcs_client_type *client_type, enum bssmap_le_msgt msgt, enum bssmap_le_iei iei, struct osmo_bssmap_le_err **err, void *err_ctx, const uint8_t *elem, uint8_t len)
Definition: bssmap_le.c:241
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:1969
RSL_MT_RECON_REQ
@ RSL_MT_RECON_REQ
Definition: gsm_08_58.h:173
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:245
osmo_cbsp_msg_status_query_failure::num_compl_list
struct osmo_cbsp_num_compl_list num_compl_list
Definition: cbsp.h:198
cbsp_dec_reset_compl
static int cbsp_dec_reset_compl(struct osmo_cbsp_reset_complete *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:1051
GSM0480_CTYPE_RETURN_RESULT
#define GSM0480_CTYPE_RETURN_RESULT
Definition: gsm_04_80.h:17
osmo_parse_home_network_domain
int osmo_parse_home_network_domain(struct osmo_plmn_id *out, const char *in)
Parse a TS 23.003 Section 19.2 Home Network Realm/Domain (text form) into a osmo_plmn_id.
Definition: gsm23003.c:636
gsm0808_handover_complete::rr_cause
uint8_t rr_cause
Definition: gsm0808.h:249
SGSAP_SGS_CAUSE_SEMANT_INCORR_MSG
@ SGSAP_SGS_CAUSE_SEMANT_INCORR_MSG
Definition: gsm_29_118.h:137
GSM_0480_SEQUENCE_TAG
#define GSM_0480_SEQUENCE_TAG
Definition: gsm_04_80.h:29
gsm0808_handover_request_ack::speech_codec_chosen
struct gsm0808_speech_codec speech_codec_chosen
Definition: gsm0808.h:221
GSM_CAUSE_AUTH_FAILED
@ GSM_CAUSE_AUTH_FAILED
Definition: gsm_04_08_gprs.h:250
lapd_cr_ent::cmd
uint8_t cmd
Definition: lapd_core.h:116
osmo_gprs_power_ctrl_pars
gsm0808_handover_complete::lcls_bss_status
enum gsm0808_lcls_status lcls_bss_status
Definition: gsm0808.h:263
gsm_chan_t_names
const struct value_string gsm_chan_t_names[]
Definition: gsm48.c:438
LAPD_U_SABM
#define LAPD_U_SABM
Definition: lapd_core.c:89
gsm0808_cell_id_u::lac
uint16_t lac
Definition: gsm0808_utils.h:46
osmo_gsm48_si13_info::net_ctrl_ord
uint8_t net_ctrl_ord
Definition: gsm48_rest_octets.h:119
gsm411_mnsms_abort_req
static int gsm411_mnsms_abort_req(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:401
gad_raw::ha_ell_point_alt_unc_ell
struct gad_raw_ha_ell_point_alt_unc_ell ha_ell_point_alt_unc_ell
Definition: gsm_23_032.h:249
BSS_MAP_MSG_CIPHER_MODE_CMD
@ BSS_MAP_MSG_CIPHER_MODE_CMD
Definition: gsm_08_08.h:151
lapd_ph_data_ind
int lapd_ph_data_ind(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1700
GSM0808_CAUSE_INFORMATION_ELEMENT_OR_FIELD_MISSING
@ GSM0808_CAUSE_INFORMATION_ELEMENT_OR_FIELD_MISSING
Definition: gsm_08_08.h:414
GSM48_MT_RR_ASS_FAIL
#define GSM48_MT_RR_ASS_FAIL
Definition: gsm_04_08.h:1461
osmo_bssap_le_header::data
uint8_t data[0]
Definition: bssmap_le.c:429
GA_MT_CSR_CM_CHANGE
@ GA_MT_CSR_CM_CHANGE
Definition: gsm_44_318.h:61
SGSAP_IE_MO_FALLBACK_VALUE
@ SGSAP_IE_MO_FALLBACK_VALUE
Definition: gsm_29_118.h:76
GSM48_DTX_SHALL_BE_USED
@ GSM48_DTX_SHALL_BE_USED
Definition: gsm_04_08.h:949
IPAC_IDTAG_IPADDR
@ IPAC_IDTAG_IPADDR
Definition: ipaccess.h:67
GSM0808_ALG_ID_A5_0
@ GSM0808_ALG_ID_A5_0
Definition: gsm_08_08.h:521
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
OSMO_GSUP_MESSAGE_CLASS_SUBSCRIBER_MANAGEMENT
@ OSMO_GSUP_MESSAGE_CLASS_SUBSCRIBER_MANAGEMENT
Definition: gsup.h:280
NM_ATT_IPACC_SEC_OML_CFG
@ NM_ATT_IPACC_SEC_OML_CFG
Definition: gsm_12_21.h:422
lapd_dl_init2
void lapd_dl_init2(struct lapd_datalink *dl, uint8_t k, uint8_t v_range, int maxf, const char *name)
Initialize LAPD datalink instance and allocate history.
Definition: lapd_core.c:265
osmo_gsm48_si_selection_params::penalty_time
uint16_t penalty_time
Definition: gsm48_rest_octets.h:61
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
OSMO_GSM48_ARFCN_RANGE_256
@ OSMO_GSM48_ARFCN_RANGE_256
Definition: gsm48_arfcn_range_encode.h:10
osmo_cbsp_restart::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:228
append_gprs_ind
static void append_gprs_ind(struct bitvec *bv, const struct osmo_gsm48_si3_gprs_ind *gi)
Definition: gsm48_rest_octets.c:560
osmo_bsslap_tlvdef
static const struct tlv_definition osmo_bsslap_tlvdef
Definition: bsslap.c:40
osmo_cbsp_write_replace_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:124
LAPD_STATE_TEI_UNASS
@ LAPD_STATE_TEI_UNASS
Definition: lapd_core.h:77
NM_NACK_OBJINST_UNKN
@ NM_NACK_OBJINST_UNKN
Definition: gsm_12_21.h:609
GA_MT_RC_REGISTER_UPDATE_UL
@ GA_MT_RC_REGISTER_UPDATE_UL
Definition: gsm_44_318.h:28
DCS_7BIT_DEFAULT
@ DCS_7BIT_DEFAULT
Definition: gsm_04_11.h:114
CBSP_IEI_WARN_SEC_INFO
@ CBSP_IEI_WARN_SEC_INFO
Definition: gsm_48_049.h:39
osmo_panic
void osmo_panic(const char *fmt,...)
osmo_gsm48_si_power_offset
Definition: gsm48_rest_octets.h:68
SGSAP_ID_NONEPS_T_EXPLICIT_UE_NONEPS
@ SGSAP_ID_NONEPS_T_EXPLICIT_UE_NONEPS
Definition: gsm_29_118.h:106
GSM48_REJECT_MSG_TYPE_NOT_IMPLEMENTED
@ GSM48_REJECT_MSG_TYPE_NOT_IMPLEMENTED
Definition: gsm_04_08.h:1902
osmo_gad
Definition: gad.h:150
gsm_sysinfo_freq
Definition: gsm48_ie.h:114
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
GAD_TYPE_ELL_POINT_ALT_UNC_ELL
@ GAD_TYPE_ELL_POINT_ALT_UNC_ELL
Ellipsoid point with altitude and uncertainty ellipsoid.
Definition: gsm_23_032.h:43
NM_MT_STOP_TEST
@ NM_MT_STOP_TEST
Definition: gsm_12_21.h:144
osmo_tmsi_nri_v_set
int osmo_tmsi_nri_v_set(uint32_t *tmsi, int16_t nri_v, uint8_t nri_bitlen)
Write Network Resource Indicator bits into a TMSI or p-TMSI.
Definition: gsm23236.c:180
osmo_gsm48_si_ro_info::present
uint8_t present
Definition: gsm48_rest_octets.h:94
GSM48_CMODE_DATA_3k6
@ GSM48_CMODE_DATA_3k6
Definition: gsm_04_08.h:751
gsm0808_old_bss_to_new_bss_info::prec
bool prec
Definition: gsm0808.h:118
LAPD_STATE_NULL
@ LAPD_STATE_NULL
Definition: lapd_core.h:76
gsm0808_handover_performed::cell_id
struct gsm0808_cell_id cell_id
Definition: gsm0808.h:285
GSM_LCHAN_CCCH
@ GSM_LCHAN_CCCH
Definition: gsm_utils.h:227
osmo_cgi_ps_cmp
int osmo_cgi_ps_cmp(const struct osmo_cell_global_id_ps *a, const struct osmo_cell_global_id_ps *b)
Definition: gsm23003.c:607
GPRS_ATT_T_ATTACH
#define GPRS_ATT_T_ATTACH
Definition: gsm_04_08_gprs.h:52
gsm0808_cell_id_list::id_list_len
unsigned int id_list_len
Definition: gsm_08_08.h:636
gsm0808_handover_request_ack::chosen_encr_alg
uint8_t chosen_encr_alg
For A5/N set chosen_encr_alg = N+1, e.g.
Definition: gsm0808.h:215
gsm_mncc_bearer_cap::transfer
int transfer
Definition: mncc.h:13
NM_NACK_FILE_NOTAVAIL
@ NM_NACK_FILE_NOTAVAIL
Definition: gsm_12_21.h:629
gsm_arfcn2band_rc
int gsm_arfcn2band_rc(uint16_t arfcn, enum gsm_band *band)
Resolve GSM band from ARFCN.
Definition: gsm_utils.c:732
msgb_free
void msgb_free(struct msgb *m)
GMM_CAUSE_NO_GPRS_PLMN
@ GMM_CAUSE_NO_GPRS_PLMN
Definition: gsm_04_08_gprs.h:219
GSM48_RR_CAUSE_ABNORMAL_TIMER
@ GSM48_RR_CAUSE_ABNORMAL_TIMER
Definition: gsm_04_08.h:1807
GSM48_RR_CAUSE_LEAVE_GROUP_CA
@ GSM48_RR_CAUSE_LEAVE_GROUP_CA
Definition: gsm_04_08.h:1814
gsm0502_get_n_pag_blocks
static unsigned int gsm0502_get_n_pag_blocks(struct gsm48_control_channel_descr *chan_desc)
Definition: gsm0502.h:36
RSL_BCCH_CCCH_CONF_1_C
#define RSL_BCCH_CCCH_CONF_1_C
Definition: gsm_08_58.h:656
macaddr.h
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)
Deprecated, use gsm0480_create_release_complete() instead.
Definition: gsm0480.c:924
ASN1_OCTET_STRING_TAG
#define ASN1_OCTET_STRING_TAG
Definition: gsm_04_80.h:118
get_n200_dcch
static int get_n200_dcch(enum gsm_chan_t chan_t)
Definition: lapdm.c:210
GSM48_MT_RR_IMM_ASS
#define GSM48_MT_RR_IMM_ASS
Definition: gsm_04_08.h:1444
aes.h
DCS_8BIT_DATA
@ DCS_8BIT_DATA
Definition: gsm_04_11.h:116
Te3
const u32 Te3[256]
OSMO_GSUP_MESSAGE_CLASS_SMS
@ OSMO_GSUP_MESSAGE_CLASS_SMS
Definition: gsup.h:281
GSM0808_IE_LSA_IDENTIFIER_LIST
@ GSM0808_IE_LSA_IDENTIFIER_LIST
Definition: gsm_08_08.h:249
GSM48_CMSERV_SMS
@ GSM48_CMSERV_SMS
Definition: gsm_04_08.h:1613
GSM_CAUSE_DEACT_REGULAR
@ GSM_CAUSE_DEACT_REGULAR
Definition: gsm_04_08_gprs.h:257
GSM48_MT_RR_HANDO_COMPL
#define GSM48_MT_RR_HANDO_COMPL
Definition: gsm_04_08.h:1463
PRIM_MDL_ERROR
@ PRIM_MDL_ERROR
MDL-ERROR.
Definition: lapd_core.h:29
osmo_gprs_power_ctrl_pars::n_avg_i
uint8_t n_avg_i
EGPRS_CPS_P1
EGPRS_CPS_P1
GA_MT_CSR_REQUEST
@ GA_MT_CSR_REQUEST
Definition: gsm_44_318.h:66
GSM0808_LCLS_STS_REQ_LCLS_NOT_SUPP
@ GSM0808_LCLS_STS_REQ_LCLS_NOT_SUPP
Definition: gsm_08_08.h:665
GSM0808_CAUSE_CLASS_INTW
@ GSM0808_CAUSE_CLASS_INTW
Definition: gsm_08_08.h:434
osmo_sub_auth_type_names
const struct value_string osmo_sub_auth_type_names[]
Definition: auth_core.c:232
BSSMAP_LE_LCS_CTYPE_PLMN_OPER_TGT_MS_SVC
@ BSSMAP_LE_LCS_CTYPE_PLMN_OPER_TGT_MS_SVC
Definition: gsm_49_031.h:156
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:1685
gsm_septets2octets
int gsm_septets2octets(uint8_t *result, const uint8_t *rdata, uint8_t septet_len, uint8_t padding)
Backwards compatibility wrapper for gsm_septets_pack(), deprecated.
Definition: gsm_utils.c:373
osmo_cbsp_msg_status_query
Definition: cbsp.h:177
FN_REMAP_TCH_H0
@ FN_REMAP_TCH_H0
Definition: gsm0502.h:65
osmo_i460_subchan_mux::in_cb_queue_empty
in_cb_queue_empty_t in_cb_queue_empty
Definition: i460_mux.h:64
osmo_plmn_from_bcd
void osmo_plmn_from_bcd(const uint8_t *bcd_src, struct osmo_plmn_id *plmn)
Definition: gsm23003.c:461
CONV_TERM_TAIL_BITING
CONV_TERM_TAIL_BITING
gsm0808_handover_required::old_bss_to_new_bss_info_present
bool old_bss_to_new_bss_info_present
Definition: gsm0808.h:144
BSSMAP_LE_IEI_POSITIONING_DATA
@ BSSMAP_LE_IEI_POSITIONING_DATA
Definition: gsm_49_031.h:88
gsm48_classmark3::geran_feature_package
bool geran_feature_package
Definition: gsm_04_08.h:154
BSSLAP_IEI_POLLING_REPETITION
@ BSSLAP_IEI_POLLING_REPETITION
Definition: gsm_48_071.h:78
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:460
OSMO_GSUP_SRES_IE
@ OSMO_GSUP_SRES_IE
Definition: gsup.h:81
byteswap.h
osmo_gsup_pdp_info::apn_enc_len
size_t apn_enc_len
length (in octets) of apn_enc
Definition: gsup.h:265
BTS_FEAT_IPV6_NSVC
@ BTS_FEAT_IPV6_NSVC
Definition: bts_features.h:28
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:34
GSM48_IE_MORE_DATA
#define GSM48_IE_MORE_DATA
Definition: gsm_04_08.h:1681
CBSP_MSGT_KILL
@ CBSP_MSGT_KILL
Definition: gsm_48_049.h:54
lapdm_pad_msgb
static void lapdm_pad_msgb(struct msgb *msg, uint8_t n201)
Definition: lapdm.c:328
gsm29118_msgb_alloc
struct msgb * gsm29118_msgb_alloc(void)
Definition: gsm29118.c:189
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:1517
BSS_MAP_MSG_VGCS_VBS_SETUP_REFUSE
@ BSS_MAP_MSG_VGCS_VBS_SETUP_REFUSE
Definition: gsm_08_08.h:163
BSS_MAP_MSG_LSA_INFORMATION
@ BSS_MAP_MSG_LSA_INFORMATION
Definition: gsm_08_08.h:114
NM_CHANC_BCCH_CBCH
@ NM_CHANC_BCCH_CBCH
Definition: gsm_12_21.h:557
GSM411_RP_CAUSE_MO_CALL_BARRED
@ GSM411_RP_CAUSE_MO_CALL_BARRED
Definition: gsm_04_11.h:70
Te4
const u32 Te4[256]
osmo_gsup_message::destination_name
const uint8_t * destination_name
For messages routed via another GSUP entity (via HLR), the IPA name of the entity that should ultimat...
Definition: gsup.h:370
osmo_gsm48_range_enc_128
int osmo_gsm48_range_enc_128(uint8_t *chan_list, int f0, int *w)
Definition: gsm48_arfcn_range_encode.c:266
gsm0808_handover_performed::chosen_channel
uint8_t chosen_channel
Definition: gsm0808.h:288
osmo_cbsp_kill_failure::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:150
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:116
FN_REMAP_MAX
@ FN_REMAP_MAX
Definition: gsm0502.h:70
LAPD_S_REJ
#define LAPD_S_REJ
Definition: lapd_core.c:99
OSMO_GSUP_MSGT_MT_FORWARD_SM_RESULT
@ OSMO_GSUP_MSGT_MT_FORWARD_SM_RESULT
Definition: gsup.h:172
osmo_bssmap_le_enc_perform_loc_resp
static int osmo_bssmap_le_enc_perform_loc_resp(struct msgb *msg, const struct bssmap_le_perform_loc_resp *params)
Definition: bssmap_le.c:524
osmo_cbsp_loading_ent::cell_id
union gsm0808_cell_id_u cell_id
Definition: cbsp.h:65
osmo_gprs_cell_options::use_egprs_p_ch_req
uint8_t use_egprs_p_ch_req
GSM0480_OP_CODE_REGISTER_SS
#define GSM0480_OP_CODE_REGISTER_SS
Definition: gsm_04_80.h:70
CBSP_IEI_MSG_CONTENT
@ CBSP_IEI_MSG_CONTENT
Definition: gsm_48_049.h:23
GSM_CAUSE_OPER_DET_BARR
@ GSM_CAUSE_OPER_DET_BARR
Definition: gsm_04_08_gprs.h:244
SMCDOWNSLLEN
#define SMCDOWNSLLEN
Definition: gsm0411_smc.c:450
osmo_bssap_le_err
Definition: bssmap_le.h:46
osmo_gad_err
Definition: gad.h:165
rr_msg_names
static const struct value_string rr_msg_names[]
Definition: gsm48.c:318
osmo_gsup_message_type
osmo_gsup_message_type
GSUP message type Make sure that new messages follow this scheme:
Definition: gsup.h:135
GSM48_PDISC_SMS
#define GSM48_PDISC_SMS
Definition: gsm_04_08.h:1338
SGSAP_MSGT_MO_CSFB_IND
@ SGSAP_MSGT_MO_CSFB_IND
Definition: gsm_29_118.h:29
osmo_cbsp_reset_complete
Definition: cbsp.h:207
GSM48_PDISC_CC
#define GSM48_PDISC_CC
Definition: gsm_04_08.h:1332
osmo_gsm48_si_ro_info::gprs_ind
struct osmo_gsm48_si3_gprs_ind gprs_ind
Definition: gsm48_rest_octets.h:96
GSM48_MT_MM_CM_SERV_ACC
#define GSM48_MT_MM_CM_SERV_ACC
Definition: gsm_04_08.h:1548
gsm0808_handover_performed::speech_version_chosen_present
bool speech_version_chosen_present
Definition: gsm0808.h:293
__attribute__
struct osmo_bssap_le_header __attribute__((packed))
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:32
GSM_PCHAN_SDCCH8_SACCH8C_CBCH
@ GSM_PCHAN_SDCCH8_SACCH8C_CBCH
Definition: gsm_utils.h:215
osmo_gsm48_si_ro_info::cell_id
uint16_t cell_id
Definition: gsm48_rest_octets.h:102
GSM0808_SC_CFG_DEFAULT_AMR_5_90
@ GSM0808_SC_CFG_DEFAULT_AMR_5_90
Definition: gsm_08_08.h:578
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:1461
osmo_bssmap_le_ie_enc_location_type
uint8_t osmo_bssmap_le_ie_enc_location_type(struct msgb *msg, const struct bssmap_le_location_type *location_type)
Encode full BSSMAP-LE Location Type IE, including IEI tag and length.
Definition: bssmap_le.c:151
gsm_mncc_number::present
int present
Definition: mncc.h:36
GSM48_LUPD_RESERVED
#define GSM48_LUPD_RESERVED
Definition: gsm_04_08.h:1636
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_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:1081
GSM_LCHAN_NONE
@ GSM_LCHAN_NONE
Definition: gsm_utils.h:222
osmo_hexdump_c
char * osmo_hexdump_c(const void *ctx, const unsigned char *buf, int len)
osmo_cbsp_msg_status_query_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:196
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:690
osmo_gad_type_names
const struct value_string osmo_gad_type_names[]
Definition: gad.c:36
BSSMAP_LE_LCS_CTYPE_LI_UNSPECIFIED
@ BSSMAP_LE_LCS_CTYPE_LI_UNSPECIFIED
Definition: gsm_49_031.h:158
NM_ATT_OVERL_PERIOD
@ NM_ATT_OVERL_PERIOD
Definition: gsm_12_21.h:356
osmo_cbsp_init_struct
void osmo_cbsp_init_struct(struct osmo_cbsp_decoded *cbsp, enum cbsp_msg_type msg_type)
Definition: cbsp.c:1299
CR_USER2NET_RESP
#define CR_USER2NET_RESP
Definition: lapd_core.c:102
osmo_bsslap_ie_dec_cause
static int osmo_bsslap_ie_dec_cause(enum bsslap_cause *cause, enum bsslap_msgt msgt, enum bsslap_iei iei, struct osmo_bsslap_err **err, void *err_ctx, const uint8_t *data, size_t len)
Definition: bsslap.c:131
GSM0808_CAUSE_RADIO_INTERFACE_FAILURE_REVERSION
@ GSM0808_CAUSE_RADIO_INTERFACE_FAILURE_REVERSION
Definition: gsm_08_08.h:370
osmo_lai_name_buf
char * osmo_lai_name_buf(char *buf, size_t buf_len, const struct osmo_location_area_id *lai)
Return MCC-MNC-LAC as string, in caller-provided output buffer.
Definition: gsm23003.c:220
smrdatastatelist
static const struct smrdatastate smrdatastatelist[]
GSM0808_PERM_HR2
@ GSM0808_PERM_HR2
(deprecated)
Definition: gsm_08_08.h:491
osmo_mcc_name_c
const char * osmo_mcc_name_c(const void *ctx, uint16_t mcc)
Return MCC string as standardized 3-digit with leading zeros, into a talloc-allocated buffer.
Definition: gsm23003.c:119
GSM48_CC_CAUSE_BEARERSERV_UNIMPL
@ GSM48_CC_CAUSE_BEARERSERV_UNIMPL
Definition: gsm_04_08.h:1858
SGSAP_IE_EPS_LU_TYPE
@ SGSAP_IE_EPS_LU_TYPE
Definition: gsm_29_118.h:54
cbsp_dec_msg_status_query_compl
static int cbsp_dec_msg_status_query_compl(struct osmo_cbsp_msg_status_query_complete *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:982
CBSP_IEI_RR_LOADING_LIST
@ CBSP_IEI_RR_LOADING_LIST
Definition: gsm_48_049.h:32
lapd_est_req
static int lapd_est_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1746
bssmap_le_perform_loc_req::location_type
struct bssmap_le_location_type location_type
Definition: gsm_49_031.h:162
GSM0808_IE_CIRCUIT_IDENTITY_CODE
@ GSM0808_IE_CIRCUIT_IDENTITY_CODE
Definition: gsm_08_08.h:190
GSM48_CMODE_SPEECH_EFR
@ GSM48_CMODE_SPEECH_EFR
Definition: gsm_04_08.h:746
gsm_48_049.h
TLLI_RESERVED
@ TLLI_RESERVED
Definition: gsm_utils.h:193
GMM_CAUSE_IE_NOTEXIST_NOTIMPL
@ GMM_CAUSE_IE_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:234
BSS_MAP_MSG_SUSPEND
@ BSS_MAP_MSG_SUSPEND
Definition: gsm_08_08.h:110
_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:159
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:1513
osmo_nri_range_overlaps_ranges
bool osmo_nri_range_overlaps_ranges(const struct osmo_nri_range *range, const struct osmo_nri_ranges *nri_ranges)
Return true when the given NRI range has at least one NRI value that appears in a list of other NRI r...
Definition: gsm23236.c:243
osmo_gad_raw_write
int osmo_gad_raw_write(struct msgb *msg, const union gad_raw *gad_raw)
Append a GAD PDU to the msgb.
Definition: gad.c:327
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:606
bsslap_pdu::reset
struct bsslap_reset reset
Definition: gsm_48_071.h:116
osmo_mnc_name_c
char * osmo_mnc_name_c(const void *ctx, uint16_t mnc, bool mnc_3_digits)
Return MNC string as standardized 2- or 3-digit with leading zeros, into a talloc-allocated buffer.
Definition: gsm23003.c:146
GSM414_MT_TEST_INTERFACE
#define GSM414_MT_TEST_INTERFACE
Definition: gsm_04_14.h:56
nri_range_touches
static bool nri_range_touches(const struct osmo_nri_range *a, const struct osmo_nri_range *b)
Return true if the ranges overlap or are directly adjacent to each other.
Definition: gsm23236.c:63
TLV_TYPE_TL16V
@ TLV_TYPE_TL16V
tag, 16 bit length, value
Definition: tlv.h:504
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_GSUP_MSGT_MO_FORWARD_SM_ERROR
@ OSMO_GSUP_MSGT_MO_FORWARD_SM_ERROR
Definition: gsup.h:167
gsm48_classmark3::gsm_1900_assoc_radio_cap
struct gsm48_classmark3::@40 gsm_1900_assoc_radio_cap
osmo_auth_c3
void osmo_auth_c3(uint8_t kc[], const uint8_t ck[], const uint8_t ik[])
Definition: auth_core.c:245
sgsap_ismi_det_eps_type_names
const struct value_string sgsap_ismi_det_eps_type_names[]
Definition: gsm29118.c:102
bsslap_reset::ta
uint8_t ta
Definition: gsm_48_071.h:103
osmo_auth_vector::ik
uint8_t ik[OSMO_A5_MAX_KEY_LEN_BYTES]
integrity key
Definition: auth.h:64
GA_MT_CSR_STATUS
@ GA_MT_CSR_STATUS
Definition: gsm_44_318.h:58
gsm48_classmark3::e_utra_fdd_supp
bool e_utra_fdd_supp
Definition: gsm_04_08.h:207
GSM_BAND_900
@ GSM_BAND_900
Definition: gsm_utils.h:54
GMM_CAUSE_ILLEGAL_MS
@ GMM_CAUSE_ILLEGAL_MS
Definition: gsm_04_08_gprs.h:209
SGSAP_IE_UE_TIMEZONE
@ SGSAP_IE_UE_TIMEZONE
Definition: gsm_29_118.h:69
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:1561
GSM48_MT_RR_SYSINFO_2
#define GSM48_MT_RR_SYSINFO_2
Definition: gsm_04_08.h:1491
NM_NACK_TEST_NOSUCH
@ NM_NACK_TEST_NOSUCH
Definition: gsm_12_21.h:625
gan_msgt_vals
const struct value_string gan_msgt_vals[]
Definition: gan.c:29
gsm0808_handover_command::l3_info_len
uint8_t l3_info_len
Definition: gsm0808.h:232
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:1224
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:48
GSM48_PDISC_MM
#define GSM48_PDISC_MM
Definition: gsm_04_08.h:1335
gsm48_mm_msgtype_names
const struct value_string gsm48_mm_msgtype_names[]
TS 04.08 MM Message Type names.
Definition: gsm48.c:1450
gsm48_classmark3::prio_resel_supp
bool prio_resel_supp
Definition: gsm_04_08.h:210
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:1519
GSM48_RR_CAUSE_HNDOVER_IMP
@ GSM48_RR_CAUSE_HNDOVER_IMP
Definition: gsm_04_08.h:1811
smrdownstate::states
uint32_t states
Definition: gsm0411_smr.c:379
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:1594
gsm0808_utils.h
BSSMAP_LE_IEI_REQ_GPS_ASS_D
@ BSSMAP_LE_IEI_REQ_GPS_ASS_D
Definition: gsm_49_031.h:95
gsm411_mnsms_data_req
static int gsm411_mnsms_data_req(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:310
NM_STATE_UNLOCKED
@ NM_STATE_UNLOCKED
Definition: gsm_12_21.h:522
cbsp_msg_type
cbsp_msg_type
Definition: gsm_48_049.h:50
gsm0808_old_bss_to_new_bss_info::lcs
bool lcs
Definition: gsm0808.h:119
GSM411_CPS_MM_ESTABLISHED
@ GSM411_CPS_MM_ESTABLISHED
Definition: gsm_04_11.h:14
GSM48_CC_CAUSE_NORMAL_UNSPEC
@ GSM48_CC_CAUSE_NORMAL_UNSPEC
Definition: gsm_04_08.h:1844
GSM0808_SC_CFG_AMR_7_95
@ GSM0808_SC_CFG_AMR_7_95
Definition: gsm_08_08.h:595
NM_NACK_ATTRID_NOTSUPP
@ NM_NACK_ATTRID_NOTSUPP
Definition: gsm_12_21.h:611
abis_om_fom_hdr
OML FOM header.
Definition: gsm_12_21.h:74
_NR_DL_SAPI
@ _NR_DL_SAPI
Definition: lapdm.h:41
tlv_definition::def
struct tlv_def def[256]
Definition: tlv.h:518
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
BSSMAP_LE_LOC_INFO_ASSIST_TARGET_MS
@ BSSMAP_LE_LOC_INFO_ASSIST_TARGET_MS
Definition: gsm_49_031.h:134
GSM48_REJECT_CONDTIONAL_IE_ERROR
@ GSM48_REJECT_CONDTIONAL_IE_ERROR
Definition: gsm_04_08.h:1905
value_string::str
const char * str
osmo_gsup_message::rand
const uint8_t * rand
Definition: gsup.h:318
value_string::value
int value
gsm48.h
GSM0808_IE_LSA_IDENTIFIER
@ GSM0808_IE_LSA_IDENTIFIER
Definition: gsm_08_08.h:248
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:1470
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:61
gsm411_mnsms_est_ind
static int gsm411_mnsms_est_ind(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:241
osmo_cbsp_msg_status_query_failure
Definition: cbsp.h:193
GSM48_IE_VGCS_TARGET
#define GSM48_IE_VGCS_TARGET
Definition: gsm_04_08.h:1693
OSMO_GSUP_MSGT_PROC_SS_REQUEST
@ OSMO_GSUP_MSGT_PROC_SS_REQUEST
Definition: gsup.h:162
tch_afs_12_2_term_output
static const uint8_t tch_afs_12_2_term_output[]
Definition: gsm0503_conv.c:240
OSMO_RAT_GERAN_A
@ OSMO_RAT_GERAN_A
Definition: gsm_utils.h:249
BSSMAP_LE_MSGT_PERFORM_LOC_RESP
@ BSSMAP_LE_MSGT_PERFORM_LOC_RESP
Definition: gsm_49_031.h:71
osmo_phsap_prim::data
struct ph_data_param data
Definition: l1sap.h:161
NM_ATT_IPACC_DST_IP_PORT
@ NM_ATT_IPACC_DST_IP_PORT
Definition: gsm_12_21.h:414
SGSAP_MSGT_LOC_UPD_REQ
@ SGSAP_MSGT_LOC_UPD_REQ
Definition: gsm_29_118.h:14
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:155
NM_ATT_ABIS_CHANNEL
@ NM_ATT_ABIS_CHANNEL
Definition: gsm_12_21.h:320
gsm48_imsi_detach_ind::mi
uint8_t mi[0]
Definition: gsm_04_08.h:1137
ipa_msg_recv_buffered
int ipa_msg_recv_buffered(int fd, struct msgb **rmsg, struct msgb **tmp_msg)
osmo_cbsp_num_compl_ent::num_bcast_info
uint8_t num_bcast_info
Definition: cbsp.h:55
smcdownstate::states
uint32_t states
Definition: gsm0411_smc.c:423
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:282
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:158
lapd_msg_ctx::p_f
uint8_t p_f
Definition: lapd_core.h:106
GA_MT_CSR_DL_DIRECT_XFER
@ GA_MT_CSR_DL_DIRECT_XFER
Definition: gsm_44_318.h:57
BSS_MAP_MSG_CLASSMARK_RQST
@ BSS_MAP_MSG_CLASSMARK_RQST
Definition: gsm_08_08.h:156
TLLI_AUXILIARY
@ TLLI_AUXILIARY
Definition: gsm_utils.h:192
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
SGSAP_MSGT_STATUS
@ SGSAP_MSGT_STATUS
Definition: gsm_29_118.h:34
gsm48_classmark3::repeated_acch_capability
bool repeated_acch_capability
Definition: gsm_04_08.h:193
CBSP_IEI_WARNING_PERIOD
@ CBSP_IEI_WARNING_PERIOD
Definition: gsm_48_049.h:45
OSMO_GSUP_MSGT_E_PROCESS_ACCESS_SIGNALLING_REQUEST
@ OSMO_GSUP_MSGT_E_PROCESS_ACCESS_SIGNALLING_REQUEST
Definition: gsup.h:194
GSM48_MT_RR_DTM_ASS_CMD
#define GSM48_MT_RR_DTM_ASS_CMD
Definition: gsm_04_08.h:1467
MDL_CAUSE_UNSOL_DM_RESP_MF
#define MDL_CAUSE_UNSOL_DM_RESP_MF
Definition: lapd_core.h:37
osmo_i460_subchan_add
struct osmo_i460_subchan * osmo_i460_subchan_add(void *ctx, struct osmo_i460_timeslot *ts, const struct osmo_i460_schan_desc *chd)
add a new sub-channel to the given timeslot
Definition: i460_mux.c:358
gsm48_classmark3::ciphering_mode_setting_cap
bool ciphering_mode_setting_cap
Definition: gsm_04_08.h:205
msgb_pull_to_l3
static unsigned char * msgb_pull_to_l3(struct msgb *msg)
NM_MT_CHG_ADM_STATE
@ NM_MT_CHG_ADM_STATE
Definition: gsm_12_21.h:156
gsm48_classmark3::mod_cap
bool mod_cap
Definition: gsm_04_08.h:99
GSM0808_IE_LSA_ACCESS_CTRL_SUPPR
@ GSM0808_IE_LSA_ACCESS_CTRL_SUPPR
Definition: gsm_08_08.h:252
iei
uint8_t iei
Definition: gsm_08_58.h:2
gsm_time::t1
uint16_t t1
Definition: gsm_utils.h:46
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:788
tch_ahs_5_9_output
static const uint8_t tch_ahs_5_9_output[][2]
Definition: gsm0503_conv.c:964
gad_raw::ha_ell_point_unc_ell
struct gad_raw_ha_ell_point_unc_ell ha_ell_point_unc_ell
Definition: gsm_23_032.h:248
osmo_timer_schedule
void osmo_timer_schedule(struct osmo_timer_list *timer, int seconds, int microseconds)
msgb_alloc_headroom_c
static struct msgb * msgb_alloc_headroom_c(const void *ctx, int size, int headroom, const char *name)
A5_R4_MASK
#define A5_R4_MASK
Definition: a5.c:113
GSM0808_SC_CFG_AMR_5_90
@ GSM0808_SC_CFG_AMR_5_90
Definition: gsm_08_08.h:592
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
osmo_gcr_eq
bool osmo_gcr_eq(const struct osmo_gcr_parsed *gcr1, const struct osmo_gcr_parsed *gcr2)
Compare two GCR structs.
Definition: gsm29205.c:102
GSM0480_IE_FACILITY
#define GSM0480_IE_FACILITY
Definition: gsm_04_80.h:12
lapd_history
Definition: lapd_core.h:120
GSM48_REJECT_CONGESTION
@ GSM48_REJECT_CONGESTION
Definition: gsm_04_08.h:1895
gsm0808_enc_lcs_cause
int gsm0808_enc_lcs_cause(struct msgb *msg, const struct lcs_cause_ie *lcs_cause)
Definition: gsm0808.c:1404
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:1483
CBSP_IEI_NEW_SERIAL_NR
@ CBSP_IEI_NEW_SERIAL_NR
Definition: gsm_48_049.h:25
OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR
@ OSMO_GSUP_MSGT_SEND_AUTH_INFO_ERROR
Definition: gsup.h:141
SGSAP_IE_REJECT_CAUSE
@ SGSAP_IE_REJECT_CAUSE
Definition: gsm_29_118.h:57
gsm411_smc_inst::cp_tc1
int cp_tc1
Definition: gsm0411_smc.h:43
comp128.h
GSM340_TYPE_ALPHA_NUMERIC
@ GSM340_TYPE_ALPHA_NUMERIC
Definition: gsm_03_40.h:20
GSM_BAND_1900
@ GSM_BAND_1900
Definition: gsm_utils.h:56
GSM48_REJECT_IMEI_NOT_ACCEPTED
@ GSM48_REJECT_IMEI_NOT_ACCEPTED
Definition: gsm_04_08.h:1888
CELL_IDENT_WHOLE_GLOBAL
@ CELL_IDENT_WHOLE_GLOBAL
Definition: gsm_08_08.h:18
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)
Like gsm48_decode_bcd_number2() but with less airtight bounds checking.
Definition: gsm48_ie.c:55
GSM411_CPS_WAIT_CP_ACK
@ GSM411_CPS_WAIT_CP_ACK
Definition: gsm_04_11.h:13
gsm48_classmark3::dtm_egprs_multislot_cap
struct gsm48_classmark3::@41::@52 dtm_egprs_multislot_cap
GSM48_MT_MM_STATUS
#define GSM48_MT_MM_STATUS
Definition: gsm_04_08.h:1557
NM_ATT_CONN_FAIL_CRIT
@ NM_ATT_CONN_FAIL_CRIT
Definition: gsm_12_21.h:333
GSM48_CC_CAUSE_REQ_CHAN_UNAVAIL
@ GSM48_CC_CAUSE_REQ_CHAN_UNAVAIL
Definition: gsm_04_08.h:1850
GSM0808_IE_RETURN_ERROR_RQST
@ GSM0808_IE_RETURN_ERROR_RQST
Definition: gsm_08_08.h:263
lapd_rx_u_sabm
static int lapd_rx_u_sabm(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:818
gsm_utils.h
GMM_CAUSE_MAC_FAIL
@ GMM_CAUSE_MAC_FAIL
Definition: gsm_04_08_gprs.h:223
NM_NACK_PHYSCFG_NOTPERFORM
@ NM_NACK_PHYSCFG_NOTPERFORM
Definition: gsm_12_21.h:622
osmo_cbsp_reset_failure::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:214
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:146
gsm48_classmark3::er_band_support
bool er_band_support
Definition: gsm_04_08.h:223
osmo_gsm48_classmark::classmark1
struct gsm48_classmark1 classmark1
Definition: gsm_04_08.h:232
DLCI_SAPI_SMS
@ DLCI_SAPI_SMS
Definition: gsm_08_08.h:67
osmo_cbsp_reset::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:203
osmo_cbsp_write_replace::emergency
struct osmo_cbsp_write_replace::@0::@2 emergency
osmo_auth_vector::rand
uint8_t rand[16]
random challenge
Definition: auth.h:61
osmo_gsm48_classmark_update
void osmo_gsm48_classmark_update(struct osmo_gsm48_classmark *dst, const struct osmo_gsm48_classmark *src)
Overwrite dst with the Classmark information present in src.
Definition: gsm48.c:1809
NM_NACK_MEAS_NOTSUPP
@ NM_NACK_MEAS_NOTSUPP
Definition: gsm_12_21.h:634
GSM48_IE_GROUP_CIP_SEQ
#define GSM48_IE_GROUP_CIP_SEQ
Definition: gsm_04_08.h:1738
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:454
GSM48_MT_GMM_RA_UPD_REJ
#define GSM48_MT_GMM_RA_UPD_REJ
Definition: gsm_04_08_gprs.h:23
BSSMAP_LE_IEI_GANSS_LOCATION_TYPE
@ BSSMAP_LE_IEI_GANSS_LOCATION_TYPE
Definition: gsm_49_031.h:86
GSM411_MNSMS_ABORT_REQ
#define GSM411_MNSMS_ABORT_REQ
Definition: gsm0411_smc.h:21
__attribute__
static __attribute__((constructor))
Definition: gsm0502.c:138
gprs_upd_t_strs
const struct value_string * gprs_upd_t_strs
Definition: gsm_04_08_gprs.c:193
osmo_lcls::gcr_available
bool gcr_available
Definition: gsm0808_utils.h:68
is_n_digits
static bool is_n_digits(const char *str, int min_digits, int max_digits)
Definition: gsm23003.c:36
gsm0808_handover_complete::speech_codec_chosen_present
bool speech_codec_chosen_present
Definition: gsm0808.h:251
osmo_gsup_message::sm_rp_oa
const uint8_t * sm_rp_oa
Definition: gsup.h:344
osmo_cbsp_decoded::msg_status_query_compl
struct osmo_cbsp_msg_status_query_complete msg_status_query_compl
Definition: cbsp.h:266
osmo_cbsp_write_replace_failure::new_serial_nr
uint16_t new_serial_nr
Definition: cbsp.h:122
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
OSMO_GPRS_CS3
OSMO_GPRS_CS3
GSM0808_IE_NETWORK_ELEMENT_IDENTITY
@ GSM0808_IE_NETWORK_ELEMENT_IDENTITY
Definition: gsm_08_08.h:260
NM_ATT_IPACC_CGI
@ NM_ATT_IPACC_CGI
Definition: gsm_12_21.h:438
LCS_CAUSE_UNSPECIFIED
@ LCS_CAUSE_UNSPECIFIED
Definition: gsm_49_031.h:39
GSM0808_IE_CELL_ID_LIST_SEGMENT
@ GSM0808_IE_CELL_ID_LIST_SEGMENT
Definition: gsm_08_08.h:285
cell_id_to_cgi
static void cell_id_to_cgi(struct osmo_cell_global_id *dst, enum CELL_IDENT discr, const union gsm0808_cell_id_u *u)
Definition: gsm0808_utils.c:776
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:396
osmo_htonl
#define osmo_htonl(x)
NM_OC_BS11_BTSE
@ NM_OC_BS11_BTSE
Definition: gsm_12_21.h:304
smcdatastate::cp_type
int cp_type
Definition: gsm0411_smc.c:485
GSM0808_CAUSE_INC_RELOC_NOT_SUPP_DT_PUESBINE_FEATURE
@ GSM0808_CAUSE_INC_RELOC_NOT_SUPP_DT_PUESBINE_FEATURE
Definition: gsm_08_08.h:407
osmo_cbsp_content::list
struct llist_head list
Definition: cbsp.h:35
NM_CHANC_mainBCCH
@ NM_CHANC_mainBCCH
Definition: gsm_12_21.h:553
bssmap_le_perform_loc_req::lcs_client_type_present
bool lcs_client_type_present
Definition: gsm_49_031.h:165
GSM48_MT_CC_RELEASE
#define GSM48_MT_CC_RELEASE
Definition: gsm_04_08.h:1586
gsm411_msgb_alloc
struct msgb * gsm411_msgb_alloc(void)
Allocate a message buffer for use as TS 04.11 message.
Definition: gsm0411_utils.c:52
OSMO_GSUP_AN_APDU_IE
@ OSMO_GSUP_AN_APDU_IE
Definition: gsup.h:115
SGSAP_IE_CHAN_NEEDED
@ SGSAP_IE_CHAN_NEEDED
Definition: gsm_29_118.h:49
osmo_gsup_message::hlr_enc
const uint8_t * hlr_enc
Definition: gsup.h:315
osmo_cbsp_restart::recovery_ind
uint8_t recovery_ind
Definition: cbsp.h:230
GSM0808_IE_SERVICE_HANDOVER
@ GSM0808_IE_SERVICE_HANDOVER
Definition: gsm_08_08.h:266
bitvec.h
BSSMAP_LE_IEI_MLAT_METHOD
@ BSSMAP_LE_IEI_MLAT_METHOD
Definition: gsm_49_031.h:113
cbsp_att_tlvdef
const struct tlv_definition cbsp_att_tlvdef
Definition: gsm48049.c:84
osmo_routing_area_id::lac
struct osmo_location_area_id lac
Definition: gsm23003.h:23
GSM0808_CAUSE_TRAFFIC
@ GSM0808_CAUSE_TRAFFIC
Definition: gsm_08_08.h:375
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:247
gad_raw_ell_point_unc_circle
Definition: gsm_23_032.h:68
gsm0808_channel_type_name
const char * gsm0808_channel_type_name(const struct gsm0808_channel_type *ct)
Definition: gsm0808_utils.c:2027
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:1545
osmo_gsm48_si_ro_info::selection_params
struct osmo_gsm48_si_selection_params selection_params
Definition: gsm48_rest_octets.h:88
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 Message buffers
Definition: tlv.h:366
GSM0808_CAUSE_CIPHERING_ALGORITHM_NOT_SUPPORTED
@ GSM0808_CAUSE_CIPHERING_ALGORITHM_NOT_SUPPORTED
Definition: gsm_08_08.h:405
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:50
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:613
lapdm_entity::tx_pending
int tx_pending
currently a pending frame not confirmed by L1
Definition: lapdm.h:54
NM_NACK_SPEC_IMPL_NOTSUPP
@ NM_NACK_SPEC_IMPL_NOTSUPP
Definition: gsm_12_21.h:614
lapdm_msg_ctx::link_id
uint8_t link_id
Definition: lapdm.h:24
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
lapd_rx_u_dm
static int lapd_rx_u_dm(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:965
SGSAP_MSGT_ALERT_REJ
@ SGSAP_MSGT_ALERT_REJ
Definition: gsm_29_118.h:20
osmo_int_to_float_str_buf
int osmo_int_to_float_str_buf(char *buf, size_t buflen, int64_t val, unsigned int precision)
bssmap_le_perform_loc_resp::lcs_cause
struct lcs_cause_ie lcs_cause
Definition: gsm_49_031.h:181
gsm_arfcn2freq10
uint16_t gsm_arfcn2freq10(uint16_t arfcn, int uplink)
Convert an ARFCN to the frequency in MHz * 10.
Definition: gsm_utils.c:809
lcs_cause_ie
3GPP TS 49.031 10.13 LCS Cause, also in 3GPP TS 48.008 3.2.2.66, which simply refers to the former.
Definition: gsm_49_031.h:58
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:566
RSL_MT_DATA_REQ
@ RSL_MT_DATA_REQ
Definition: gsm_08_58.h:159
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:905
osmo_cbsp_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:235
NM_ATT_INTAVE_PARAM
@ NM_ATT_INTAVE_PARAM
Definition: gsm_12_21.h:343
osmo_gsm48_si_gprs_ms_txpwr_max_ccch::max_txpwr
uint8_t max_txpwr
Definition: gsm48_rest_octets.h:45
osmo_bssmap_le_dec_perform_loc_resp
static int osmo_bssmap_le_dec_perform_loc_resp(struct bssmap_le_perform_loc_resp *params, enum bssmap_le_msgt msgt, struct osmo_bssmap_le_err **err, void *err_ctx, const struct tlv_parsed *tp)
Definition: bssmap_le.c:544
osmo_gsup_message::message_class
enum osmo_gsup_message_class message_class
Indicate the message class to trivially dispatch incoming GSUP messages to the right code paths.
Definition: gsup.h:362
GSM0808_LCLS_CSC_DO_NOT_CONNECT
@ GSM0808_LCLS_CSC_DO_NOT_CONNECT
Definition: gsm_08_08.h:653
BSS_MAP_MSG_MSC_INVOKE_TRACE
@ BSS_MAP_MSG_MSC_INVOKE_TRACE
Definition: gsm_08_08.h:128
osmo_gsm48_range_enc_arfcns
int osmo_gsm48_range_enc_arfcns(enum osmo_gsm48_range range, const int *arfcns, int size, int *out, const int index)
Range encode the ARFCN list.
Definition: gsm48_arfcn_range_encode.c:132
BSSMAP_LE_IEI_PKT_MEAS_REP
@ BSSMAP_LE_IEI_PKT_MEAS_REP
Definition: gsm_49_031.h:107
NM_CHANC_IPAC_PDCH
@ NM_CHANC_IPAC_PDCH
Definition: gsm_12_21.h:563
gsm0808_cell_id::id
union gsm0808_cell_id_u id
Definition: gsm0808_utils.h:53
msgb_l1len
static unsigned int msgb_l1len(const struct msgb *msgb)
GSM48_IE_CALLED_BCD
#define GSM48_IE_CALLED_BCD
Definition: gsm_04_08.h:1673
NM_MT_LOAD_END_NACK
@ NM_MT_LOAD_END_NACK
Definition: gsm_12_21.h:95
gsm_mncc_cccap::dtmf
int dtmf
Definition: mncc.h:73
osmo_bsslap_ie_enc_cell_id
static void osmo_bsslap_ie_enc_cell_id(struct msgb *msg, uint16_t cell_id)
Definition: bsslap.c:91
gsm0808_cell_id_list
DEPRECATED: This definition of the cell identifier list is insufficient.
Definition: gsm_08_08.h:633
gsm_mncc_bearer_cap::transp
enum gsm48_bcap_transp transp
Definition: mncc.h:28
BSSMAP_LE_LCS_CTYPE_PLMN_OPER_ANON_STATS
@ BSSMAP_LE_LCS_CTYPE_PLMN_OPER_ANON_STATS
Definition: gsm_49_031.h:155
gsm0808_cell_id_list_name_c
char * gsm0808_cell_id_list_name_c(const void *ctx, const struct gsm0808_cell_id_list2 *cil)
Definition: gsm0808_utils.c:2007
osmo_gsup_message::ss_info
uint8_t * ss_info
ASN.1 encoded MAP payload for Supplementary Services.
Definition: gsup.h:330
GA_MT_RC_REGISTER_REJECT
@ GA_MT_RC_REGISTER_REJECT
Definition: gsm_44_318.h:26
OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT
@ OSMO_GSUP_MSGT_SEND_AUTH_INFO_RESULT
Definition: gsup.h:142
osmo_gsm48_rest_octets_si1_encode
int osmo_gsm48_rest_octets_si1_encode(uint8_t *data, uint8_t *nch_pos, int is1800_net)
Definition: gsm48_rest_octets.c:38
osmo_cgi_ps_name
const char * osmo_cgi_ps_name(const struct osmo_cell_global_id_ps *cgi_ps)
Return MCC-MNC-LAC-RAC-CI as string, in a static buffer.
Definition: gsm23003.c:347
gsm0808_diagnostics_octet_location_str
const char * gsm0808_diagnostics_octet_location_str(uint8_t pointer)
Definition: gsm0808.c:1845
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:434
osmo_gsup_sms_decode_sm_rp_da
int osmo_gsup_sms_decode_sm_rp_da(struct osmo_gsup_message *gsup_msg, uint8_t *data, size_t data_len)
Decode SM-RP-DA IE (see 7.6.8.1), Destination Address.
Definition: gsup_sms.c:90
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:309
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:79
OSMO_GSUP_PDP_CONTEXT_ID_IE
@ OSMO_GSUP_PDP_CONTEXT_ID_IE
Definition: gsup.h:75
gsm48_imsi_detach_ind::mi_len
uint8_t mi_len
Definition: gsm_04_08.h:1136
GA_MT_CSR_REQUEST_REJECT
@ GA_MT_CSR_REQUEST_REJECT
Definition: gsm_44_318.h:68
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:144
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:606
GSM0808_IE_RETURN_ERROR_CAUSE
@ GSM0808_IE_RETURN_ERROR_CAUSE
Definition: gsm_08_08.h:264
gsm29118_paging_req::lai_present
bool lai_present
Definition: gsm29118.h:39
cbsp_dec_write_repl_fail
static int cbsp_dec_write_repl_fail(struct osmo_cbsp_write_replace_failure *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:757
aes_encrypt_deinit
void aes_encrypt_deinit(void *ctx)
Definition: aes-internal-enc.c:120
osmo_gsup_message::sm_rp_mms
const uint8_t * sm_rp_mms
SM-RP-MMS (More Messages to Send), section 7.6.8.7.
Definition: gsup.h:351
ABIS_RSL_MDISC_RLL
#define ABIS_RSL_MDISC_RLL
Definition: gsm_08_58.h:140
lapdm_entity::l1_ctx
void * l1_ctx
context for layer1 instance
Definition: lapdm.h:58
GSM48_MT_RR_UPLINK_RELEASE
#define GSM48_MT_RR_UPLINK_RELEASE
Definition: gsm_04_08.h:1526
gsm0808_cell_id_list2
Parsed representation of a Cell Identifier List IE (3GPP TS 48.008 3.2.2.27).
Definition: gsm0808_utils.h:57
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:745
GSM48_MT_RR_PART_REL
#define GSM48_MT_RR_PART_REL
Definition: gsm_04_08.h:1473
gsm0808_cell_ids_match
bool gsm0808_cell_ids_match(const struct gsm0808_cell_id *id1, const struct gsm0808_cell_id *id2, bool exact_match)
Return true if the common information between the two Cell Identifiers match.
Definition: gsm0808_utils.c:1758
append_earfcn
static void append_earfcn(struct bitvec *bv, const struct osmo_earfcn_si2q *e, size_t *e_offset, uint8_t budget)
Definition: gsm48_rest_octets.c:165
GSM48_REJECT_IMSI_UNKNOWN_IN_VLR
@ GSM48_REJECT_IMSI_UNKNOWN_IN_VLR
Definition: gsm_04_08.h:1887
BSSMAP_LE_IEI_LCS_QoS
@ BSSMAP_LE_IEI_LCS_QoS
Definition: gsm_49_031.h:83
TLV_TYPE_SINGLE_TV
@ TLV_TYPE_SINGLE_TV
tag and value (both 4 bit) in 1 byte
Definition: tlv.h:506
header
struct gsm48_system_information_type_header header
Definition: gsm_04_08.h:0
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:291
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:478
xor_gen_vec_auts
static int xor_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_xor.c:131
MDL_CAUSE_UNSOL_SPRV_RESP
#define MDL_CAUSE_UNSOL_SPRV_RESP
Definition: lapd_core.h:38
gsm48_mcc_mnc_from_bcd
void gsm48_mcc_mnc_from_bcd(uint8_t *bcd_src, uint16_t *mcc, uint16_t *mnc)
Definition: gsm48.c:1019
NM_NACK_FILE_NOTACTIVATE
@ NM_NACK_FILE_NOTACTIVATE
Definition: gsm_12_21.h:630
SGSAP_MSGT_PAGING_REQ
@ SGSAP_MSGT_PAGING_REQ
Definition: gsm_29_118.h:8
mux_subchan_provide_bits
static uint8_t mux_subchan_provide_bits(struct osmo_i460_subchan *schan, uint8_t *mask)
provide one byte with the subchan-specific bits of given sub-channel.
Definition: i460_mux.c:205
GSM0808_CAUSE_CLASS_NORM1
@ GSM0808_CAUSE_CLASS_NORM1
Definition: gsm_08_08.h:428
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:1822
mux_timeslot_provide_bits
static uint8_t mux_timeslot_provide_bits(struct osmo_i460_timeslot *ts)
Definition: i460_mux.c:249
osmo_cbsp_num_compl_ent::list
struct llist_head list
Definition: cbsp.h:52
GSM_PCHAN_CCCH_SDCCH4_CBCH
@ GSM_PCHAN_CCCH_SDCCH4_CBCH
Definition: gsm_utils.h:214
GSM48_IE_CH_DESC_1_BEFORE
#define GSM48_IE_CH_DESC_1_BEFORE
Definition: gsm_04_08.h:1713
osmo_apn_qualify
char * osmo_apn_qualify(unsigned int mcc, unsigned int mnc, const char *ni)
Definition: apn.c:44
GSM48_RR_CAUSE_ABNORMAL_UNSPEC
@ GSM48_RR_CAUSE_ABNORMAL_UNSPEC
Definition: gsm_04_08.h:1805
BSS_MAP_MSG_COMPLETE_LAYER_3
@ BSS_MAP_MSG_COMPLETE_LAYER_3
Definition: gsm_08_08.h:155
GSM48_IE_LSA_IDENT
#define GSM48_IE_LSA_IDENT
Definition: gsm_04_08.h:1656
gsm411_mmsms_cp_error
static int gsm411_mmsms_cp_error(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:357
lapd_msg_ctx::n201
int n201
Definition: lapd_core.h:98
osmo_i460_subchan_demux::out_cb_bytes
out_cb_bytes_t out_cb_bytes
Definition: i460_mux.h:55
CBSP_MSGT_SET_DRX_COMPL
@ CBSP_MSGT_SET_DRX_COMPL
Definition: gsm_48_049.h:64
lapd_send_dm
static int lapd_send_dm(struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:457
NM_ATT_TEST_NO
@ NM_ATT_TEST_NO
Definition: gsm_12_21.h:373
OSMO_GPRS_MCS6
OSMO_GPRS_MCS6
BSSMAP_LE_LCS_CTYPE_PLMN_OPER_OAM
@ BSSMAP_LE_LCS_CTYPE_PLMN_OPER_OAM
Definition: gsm_49_031.h:154
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:268
SGSAP_SGS_CAUSE_IMSI_DET_EPS
@ SGSAP_SGS_CAUSE_IMSI_DET_EPS
Definition: gsm_29_118.h:127
ENCRY_INFO_PERM_ALGO_MAXLEN
#define ENCRY_INFO_PERM_ALGO_MAXLEN
Definition: gsm_08_08.h:618
GSM0808_IE_SPEECH_CODEC
@ GSM0808_IE_SPEECH_CODEC
Definition: gsm_08_08.h:302
GAD_TYPE_HA_ELL_POINT_UNC_ELLIPSE
@ GAD_TYPE_HA_ELL_POINT_UNC_ELLIPSE
High accuracy ellipsoid point with uncertainty ellipse.
Definition: gsm_23_032.h:47
GSM0808_IE_TRACE_TYPE
@ GSM0808_IE_TRACE_TYPE
Definition: gsm_08_08.h:226
abis_nm_chan_comb
abis_nm_chan_comb
Definition: gsm_12_21.h:546
smcdownstatelist
static const struct smcdownstate smcdownstatelist[]
N200_TR_SDCCH
#define N200_TR_SDCCH
Definition: lapdm.c:102
GSM0808_CAUSE_DISTANCE
@ GSM0808_CAUSE_DISTANCE
Definition: gsm_08_08.h:366
ussd_request::invoke_id
uint8_t invoke_id
Definition: gsm0480.h:46
encode_t3192
static int encode_t3192(unsigned int t3192)
Definition: gsm48_rest_octets.c:910
gsm340_validity_period
unsigned long gsm340_validity_period(uint8_t sms_vpf, uint8_t *sms_vp)
decode validity period.
Definition: gsm0411_utils.c:213
NM_NACK_FILE_INCOMPLETE
@ NM_NACK_FILE_INCOMPLETE
Definition: gsm_12_21.h:628
gsm29118_create_imsi_det_ack
struct msgb * gsm29118_create_imsi_det_ack(const char *imsi)
Definition: gsm29118.c:279
OSMO_STRBUF_APPEND
#define OSMO_STRBUF_APPEND(STRBUF, func, args...)
osmo_cbsp_write_replace::old_serial_nr
uint16_t * old_serial_nr
Definition: cbsp.h:86
gsm48_classmark3::geran_feature_package_2
bool geran_feature_package_2
Definition: gsm_04_08.h:170
GSM48_IE_CHANMODE_3
#define GSM48_IE_CHANMODE_3
Definition: gsm_04_08.h:1702
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:74
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:843
GSM0808_CAUSE_SWITCH_CIRCUIT_POOL
@ GSM0808_CAUSE_SWITCH_CIRCUIT_POOL
Definition: gsm_08_08.h:398
GSM_PCHAN_CCCH_SDCCH4
@ GSM_PCHAN_CCCH_SDCCH4
Definition: gsm_utils.h:207
GSM0808_IE_INTERFERENCE_BAND_TO_USE
@ GSM0808_IE_INTERFERENCE_BAND_TO_USE
Definition: gsm_08_08.h:209
osmo_gad_type_name
static const char * osmo_gad_type_name(enum gad_type val)
Definition: gad.h:172
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:231
OSMO_GSUP_MSGT_E_PREPARE_SUBSEQUENT_HANDOVER_RESULT
@ OSMO_GSUP_MSGT_E_PREPARE_SUBSEQUENT_HANDOVER_RESULT
Definition: gsup.h:188
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
osmo_earfcn_si2q::qrxlm
uint8_t qrxlm
Definition: sysinfo.h:63
BSSMAP_LE_POS_METHOD_OMITTED
@ BSSMAP_LE_POS_METHOD_OMITTED
Definition: gsm_49_031.h:139
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:50
GSM23003_HOME_NETWORK_DOMAIN_LEN
#define GSM23003_HOME_NETWORK_DOMAIN_LEN
Definition: gsm_23_003.h:39
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 Message buffers with a 04.08/04.11 CP header.
Definition: gsm0411_utils.c:352
gsm0502_tch_f_facch_block_map
static const uint8_t gsm0502_tch_f_facch_block_map[3][8]
Definition: gsm0502.c:76
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:288
lapd_dl_set_name
void lapd_dl_set_name(struct lapd_datalink *dl, const char *name)
Definition: lapd_core.c:332
gsm48_chan_mode_names
const struct value_string gsm48_chan_mode_names[]
Definition: gsm48.c:426
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:66
osmo_plmn_name2
const char * osmo_plmn_name2(const struct osmo_plmn_id *plmn)
Same as osmo_plmn_name(), but returning in a different static buffer.
Definition: gsm23003.c:194
BSS_MAP_MSG_CONNECTIONLESS_INFORMATION
@ BSS_MAP_MSG_CONNECTIONLESS_INFORMATION
Definition: gsm_08_08.h:130
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:1089
GSM48_IE_CH_DESC_2_BEFORE
#define GSM48_IE_CH_DESC_2_BEFORE
Definition: gsm_04_08.h:1715
LAPD_STATE_EST_TEI_WAIT
@ LAPD_STATE_EST_TEI_WAIT
Definition: lapd_core.h:79
mcs_state
static const uint8_t mcs_state[][2]
Definition: gsm0503_conv.c:40
osmo_i460_subchan::demux
struct osmo_i460_subchan_demux demux
Definition: i460_mux.h:72
OSMO_GSUP_CANCEL_TYPE_IE
@ OSMO_GSUP_CANCEL_TYPE_IE
Definition: gsup.h:70
GA_MT_CSR_UL_DIRECT_XFER
@ GA_MT_CSR_UL_DIRECT_XFER
Definition: gsm_44_318.h:56
gsm0808_handover_request::encryption_information
struct gsm0808_encrypt_info encryption_information
Definition: gsm0808.h:164
osmo_cbsp_cell_list::list
struct llist_head list
Definition: cbsp.h:47
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:747
osmo_i460_ts_init
void osmo_i460_ts_init(struct osmo_i460_timeslot *ts)
initialize an I.460 timeslot
Definition: i460_mux.c:341
osmo_gsup_iei
osmo_gsup_iei
Information Element Identifiers for GSUP IEs.
Definition: gsup.h:64
GSM48_MI_SIZE
#define GSM48_MI_SIZE
Definition: gsm_04_08.h:2100
GSM0808_IE_SELECTED_PLMN_ID
@ GSM0808_IE_SELECTED_PLMN_ID
Definition: gsm_08_08.h:323
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:395
gsm48_push_l3hdr_tid
#define gsm48_push_l3hdr_tid(msg, pdisc, tid, msg_type)
Definition: gsm48.h:119
osmo_gad::type
enum gad_type type
Definition: gad.h:151
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:403
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:137
BSSMAP_LE_IEI_SHORT_ID_SET
@ BSSMAP_LE_IEI_SHORT_ID_SET
Definition: gsm_49_031.h:116
GSM0808_ALG_ID_A5_2
@ GSM0808_ALG_ID_A5_2
Definition: gsm_08_08.h:523
GSM48_MT_RR_CFG_CHG_ACK
#define GSM48_MT_RR_CFG_CHG_ACK
Definition: gsm_04_08.h:1456
osmo_bssmap_le_msgt_name
static const char * osmo_bssmap_le_msgt_name(enum bssmap_le_msgt val)
Definition: bssmap_le.h:56
OSMO_GPRS_MCS1
OSMO_GPRS_MCS1
ts
struct @6 ts
BSSMAP_LE_MSGT_CONN_ORIENTED_INFO
@ BSSMAP_LE_MSGT_CONN_ORIENTED_INFO
Definition: gsm_49_031.h:76
PRIM_DL_RECON
@ PRIM_DL_RECON
DL-RECONNECT.
Definition: lapd_core.h:28
osmo_gad_dec_unc
uint32_t osmo_gad_dec_unc(uint8_t unc)
Decode an uncertainty circle value according to 3GPP TS 23.032.
Definition: gad.c:178
osmo_gad_raw_to_str_buf
int osmo_gad_raw_to_str_buf(char *buf, size_t buflen, const union gad_raw *raw)
Return a human readable representation of a raw GAD PDU.
Definition: gad.c:415
decode_wperiod
static uint32_t decode_wperiod(uint8_t in)
Definition: cbsp.c:618
cbsp_enc_reset
static int cbsp_enc_reset(struct msgb *msg, const struct osmo_cbsp_reset *in)
Definition: cbsp.c:330
xor_gen_vec
static int xor_gen_vec(struct osmo_auth_vector *vec, struct osmo_sub_auth_data *aud, const uint8_t *_rand)
Definition: auth_xor.c:49
GSM48_MT_CC_CALL_CONF
#define GSM48_MT_CC_CALL_CONF
Definition: gsm_04_08.h:1562
gsm29118_create_service_abort_req
struct msgb * gsm29118_create_service_abort_req(const char *imsi)
Definition: gsm29118.c:437
GSM48_MT_RR_CHAN_MODE_MODIF_ACK
#define GSM48_MT_RR_CHAN_MODE_MODIF_ACK
Definition: gsm_04_08.h:1515
osmo_cbsp_errstr
const __thread char * osmo_cbsp_errstr
Definition: cbsp.c:37
APPEND_CELL_ID_U
#define APPEND_CELL_ID_U(DISCR, U)
Definition: gsm0808_utils.c:1917
CBSP_MSGT_FAILURE
@ CBSP_MSGT_FAILURE
Definition: gsm_48_049.h:70
SGSAP_EPS_LUT_NORMAL
@ SGSAP_EPS_LUT_NORMAL
Definition: gsm_29_118.h:86
osmo_bssap_le_pdu_to_str_c
char * osmo_bssap_le_pdu_to_str_c(void *ctx, const struct bssap_le_pdu *bssap_le)
Return a human readable string describing a BSSAP-LE PDU.
Definition: bssmap_le.c:871
gsm0808_create_handover_required
struct msgb * gsm0808_create_handover_required(const struct gsm0808_handover_required *params)
Create BSSMAP HANDOVER REQUIRED message.
Definition: gsm0808.c:843
cbsp_enc_load_query_fail
static int cbsp_enc_load_query_fail(struct msgb *msg, const struct osmo_cbsp_load_query_failure *in)
Definition: cbsp.c:286
MDL_CAUSE_IFRM_INC_LEN
#define MDL_CAUSE_IFRM_INC_LEN
Definition: lapd_core.h:43
bsslap_reset::chan_desc
struct gsm48_chan_desc chan_desc
Definition: gsm_48_071.h:104
msgb_sgsap_imsi_put
static void msgb_sgsap_imsi_put(struct msgb *msg, const char *imsi)
Definition: gsm29118.c:220
ipa_ccm_rcvmsg_bts_base
int ipa_ccm_rcvmsg_bts_base(struct msgb *msg, struct osmo_fd *bfd)
Definition: ipa.c:505
OSMO_GPRS_MCS4
OSMO_GPRS_MCS4
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:321
gsm0808_create_cipher_reject_ext
struct msgb * gsm0808_create_cipher_reject_ext(enum gsm0808_cause_class class, uint8_t ext)
Create BSSMAP Cipher Mode Reject message.
Definition: gsm0808.c:321
GSM48_REJECT_ILLEGAL_ME
@ GSM48_REJECT_ILLEGAL_ME
Definition: gsm_04_08.h:1889
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:730
gsm29118_create_lu_ack
struct msgb * gsm29118_create_lu_ack(const char *imsi, const struct osmo_location_area_id *lai, const uint8_t *new_id, unsigned int new_id_len)
8.9 SGsAP-LOCATION-UPDATE-ACCEPT.
Definition: gsm29118.c:290
BSS_MAP_MSG_REROUTE_COMPLETE
@ BSS_MAP_MSG_REROUTE_COMPLETE
Definition: gsm_08_08.h:119
dbuf
static __thread char dbuf[256]
Definition: gsm0808_utils.c:625
gsm48_loc_area_id::lac
uint16_t lac
Definition: gsm_04_08.h:850
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:1669
GSM0808_IE_OMCID
@ GSM0808_IE_OMCID
Definition: gsm_08_08.h:231
OSMO_GSUP_PDP_INFO_COMPL_IE
@ OSMO_GSUP_PDP_INFO_COMPL_IE
Definition: gsup.h:68
LAPD_U_SABME
#define LAPD_U_SABME
Definition: lapd_core.c:90
gsm_04_08.h
gsm48_pdisc_msgtype_name_buf
char * gsm48_pdisc_msgtype_name_buf(char *buf, size_t buf_len, uint8_t pdisc, uint8_t msg_type)
Compose a string naming the message type for given protocol, in a caller-provided buffer.
Definition: gsm48.c:1593
gsm0808_lcls_status_names
const struct value_string gsm0808_lcls_status_names[]
Definition: gsm0808.c:1904
osmo_gsm48_si_selection_params::cbq
uint16_t cbq
Definition: gsm48_rest_octets.h:64
NM_ATT_IPACC_ALM_THRESH_LIST
@ NM_ATT_IPACC_ALM_THRESH_LIST
Definition: gsm_12_21.h:449
osmo_cbsp_error_ind::old_serial_nr
uint16_t * old_serial_nr
Definition: cbsp.h:244
GAD_TYPE_HA_ELL_POINT_ALT_UNC_ELL
@ GAD_TYPE_HA_ELL_POINT_ALT_UNC_ELL
High accuracy ellipsoid point with altitude and uncertainty ellipsoid.
Definition: gsm_23_032.h:49
cbsp_enc_write_repl_fail
static int cbsp_enc_write_repl_fail(struct msgb *msg, const struct osmo_cbsp_write_replace_failure *in)
Definition: cbsp.c:212
osmo_cbsp_kill_complete::msg_id
uint16_t msg_id
Definition: cbsp.h:140
GPRS_DET_T_MO_IMSI
#define GPRS_DET_T_MO_IMSI
Definition: gsm_04_08_gprs.h:61
osmo_nri_range::entry
struct llist_head entry
Definition: gsm23236.h:20
osmo_gcr_parsed::cr
uint8_t cr[5]
Node ID.
Definition: gsm29205.h:37
BSS_MAP_MSG_INT_HANDOVER_REQUIRED
@ BSS_MAP_MSG_INT_HANDOVER_REQUIRED
Definition: gsm_08_08.h:95
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:1510
OSMO_GSUP_MSGT_MT_FORWARD_SM_REQUEST
@ OSMO_GSUP_MSGT_MT_FORWARD_SM_REQUEST
Definition: gsup.h:170
gsm48_classmark3::gmsk_multislot_power_prof
uint8_t gmsk_multislot_power_prof
Definition: gsm_04_08.h:171
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
osmo_gsup_message
parsed/decoded GSUP protocol message
Definition: gsup.h:302
osmo_bcd2str
int osmo_bcd2str(char *dst, size_t dst_size, const uint8_t *bcd, int start_nibble, int end_nibble, bool allow_hex)
gsm411_send_abort
static int gsm411_send_abort(struct gsm411_smr_inst *inst)
Definition: gsm0411_smr.c:197
CBSP_IEI_RECOVERY_IND
@ CBSP_IEI_RECOVERY_IND
Definition: gsm_48_049.h:35
BSS_MAP_MSG_PERFORM_LOCATION_RESPONSE
@ BSS_MAP_MSG_PERFORM_LOCATION_RESPONSE
Definition: gsm_08_08.h:115
GSM0808_LCLS_CSC_CONNECT
@ GSM0808_LCLS_CSC_CONNECT
Definition: gsm_08_08.h:652
GSM48_CC_CAUSE_USER_ALERTING_NA
@ GSM48_CC_CAUSE_USER_ALERTING_NA
Definition: gsm_04_08.h:1835
GSM48_MT_RR_IMM_ASS_EXT
#define GSM48_MT_RR_IMM_ASS_EXT
Definition: gsm_04_08.h:1445
GSM0808_ALG_ID_A5_3
@ GSM0808_ALG_ID_A5_3
Definition: gsm_08_08.h:524
BSSLAP_MSGT_MS_POS_CMD
@ BSSLAP_MSGT_MS_POS_CMD
Definition: gsm_48_071.h:39
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
osmo_cbsp_reset_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:213
bssmap_le_pdu::perform_loc_resp
struct bssmap_le_perform_loc_resp perform_loc_resp
Definition: gsm_49_031.h:198
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:219
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:94
gsm48_classmark3::e_utra_wb_rsrq_meas_supp
bool e_utra_wb_rsrq_meas_supp
Definition: gsm_04_08.h:222
GSM0808_CAUSE_RESP_TO_INT_HO_ENQ_MSG
@ GSM0808_CAUSE_RESP_TO_INT_HO_ENQ_MSG
Definition: gsm_08_08.h:381
lapd_history::msg
struct msgb * msg
Definition: lapd_core.h:121
osmo_bssmap_le_ie_enc_lcs_client_type
static uint8_t osmo_bssmap_le_ie_enc_lcs_client_type(struct msgb *msg, enum bssmap_le_lcs_client_type client_type)
Encode full BSSMAP-LE LCS Client Type IE, including IEI tag and length.
Definition: bssmap_le.c:231
talloc.h
_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:1
NM_PCAUSE_T_MANUF
@ NM_PCAUSE_T_MANUF
Definition: gsm_12_21.h:593
osmo_mcc_name
const char * osmo_mcc_name(uint16_t mcc)
Return MCC string as standardized 3-digit with leading zeros.
Definition: gsm23003.c:108
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:153
gsm0480_create_release_complete
struct msgb * gsm0480_create_release_complete(uint8_t trans_id)
Create a GSM 04.80 Release complete (see 2.5) message, prefixed by GSM 04.08 L3 header with a given t...
Definition: gsm0480.c:945
gsm0411_utils.h
BTS_FEAT_PAGING_COORDINATION
@ BTS_FEAT_PAGING_COORDINATION
Definition: bts_features.h:27
osmo_gsup_message::cause_rr_set
bool cause_rr_set
whether cause_rr is set
Definition: gsup.h:378
LAPD_FORM_U
@ LAPD_FORM_U
Definition: lapd_core.h:92
gsm0808_enc_gcr
static uint8_t gsm0808_enc_gcr(struct msgb *msg, const struct osmo_gcr_parsed *g)
Create BSSMAP Global Call Reference, 3GPP TS 48.008 §3.2.2.115.
Definition: gsm0808_utils.c:546
GSM48_CMODE_DATA_14k5
@ GSM48_CMODE_DATA_14k5
Definition: gsm_04_08.h:748
rr_cause_names
static const struct value_string rr_cause_names[]
Definition: gsm48.c:160
gsm29118_create_paging_req
struct msgb * gsm29118_create_paging_req(struct gsm29118_paging_req *params)
Definition: gsm29118.c:335
osmo_bssmap_le_ie_dec_cell_id
static int osmo_bssmap_le_ie_dec_cell_id(struct gsm0808_cell_id *cell_id, enum bssmap_le_msgt msgt, enum bssmap_le_iei iei, struct osmo_bssmap_le_err **err, void *err_ctx, const uint8_t *elem, uint8_t len)
Definition: bssmap_le.c:369
abis_nm_sw_desc::file_id_len
uint8_t file_id_len
Definition: gsm_12_21.h:802
N200_EST_REL
#define N200_EST_REL
Definition: lapdm.c:99
GSM0808_IE_OSMO_OSMUX_SUPPORT
@ GSM0808_IE_OSMO_OSMUX_SUPPORT
Definition: gsm_08_08.h:332
osmo_gsm48_classmark::classmark3_len
uint8_t classmark3_len
Definition: gsm_04_08.h:235
osmo_prim_hdr::msg
struct msgb * msg
CBSP_MSGT_MSG_STATUS_QUERY_FAIL
@ CBSP_MSGT_MSG_STATUS_QUERY_FAIL
Definition: gsm_48_049.h:62
GSM0808_CAUSE_EQUIPMENT_FAILURE
@ GSM0808_CAUSE_EQUIPMENT_FAILURE
Definition: gsm_08_08.h:384
res
uint8_t res
GSM411_RP_CAUSE_MSG_INCOMP_STATE
@ GSM411_RP_CAUSE_MSG_INCOMP_STATE
Definition: gsm_04_11.h:90
cc_state_names
static const char * cc_state_names[32]
Definition: gsm48.c:228
osmo_gsm48_si_ro_info::power_offset
struct osmo_gsm48_si_power_offset power_offset
Definition: gsm48_rest_octets.h:89
SGSAP_IE_ERR_MSG
@ SGSAP_IE_ERR_MSG
Definition: gsm_29_118.h:63
NM_ATT_TSC
@ NM_ATT_TSC
Definition: gsm_12_21.h:382
BTS_FEAT_ACCH_REP
@ BTS_FEAT_ACCH_REP
Definition: bts_features.h:29
GSM0480_OP_CODE_ERASE_SS
#define GSM0480_OP_CODE_ERASE_SS
Definition: gsm_04_80.h:71
osmo_cbsp_decoded::reset
struct osmo_cbsp_reset reset
Definition: cbsp.h:271
data
uint8_t data[0]
Definition: bssmap_le.c:2
lapdm_datalink_for_sapi
struct lapdm_datalink * lapdm_datalink_for_sapi(struct lapdm_entity *le, uint8_t sapi)
Definition: lapdm.c:315
tch_afs_5_9_state
static const uint8_t tch_afs_5_9_state[][2]
Definition: gsm0503_conv.c:517
BSSMAP_LE_IEI_RANDOM_ID_SET
@ BSSMAP_LE_IEI_RANDOM_ID_SET
Definition: gsm_49_031.h:117
h
struct gad_raw_head h
type = GAD_TYPE_ELL_POINT
Definition: gsm_23_032.h:0
osmo_gsup_message::cause_sm
enum gsm48_gsm_cause cause_sm
Session Management cause as of 3GPP TS 24.008 10.5.6.6 / Table 10.5.157.
Definition: gsup.h:384
GSM0808_IE_SPEECH_CODEC_LIST
@ GSM0808_IE_SPEECH_CODEC_LIST
Definition: gsm_08_08.h:301
gprs_ciph_algo
gprs_ciph_algo
Definition: gprs_cipher.h:13
BSSLAP_MSGT_TA_RESPONSE
@ BSSLAP_MSGT_TA_RESPONSE
Definition: gsm_48_071.h:34
BSSLAP_IEI_CIPH_MODE_SET
@ BSSLAP_IEI_CIPH_MODE_SET
Definition: gsm_48_071.h:75
GSM48_REJECT_CALL_CAN_NOT_BE_IDENTIFIED
@ GSM48_REJECT_CALL_CAN_NOT_BE_IDENTIFIED
Definition: gsm_04_08.h:1899
msgb_put_cbsp_cell_list
static void msgb_put_cbsp_cell_list(struct msgb *msg, const struct osmo_cbsp_cell_list *cl)
Definition: cbsp.c:50
NM_MT_REINIT_NACK
@ NM_MT_REINIT_NACK
Definition: gsm_12_21.h:174
gsm48_mi_to_string
int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len)
Deprecated, see osmo_mobile_identity instead.
Definition: gsm48.c:1204
osmo_bsslap_ie_enc_chan_desc
static void osmo_bsslap_ie_enc_chan_desc(struct msgb *msg, const struct gsm48_chan_desc *chan_desc)
Definition: bsslap.c:142
lapd_rx_u
static int lapd_rx_u(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1273
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:666
GA_MT_RC_KEEPALIVE
@ GA_MT_RC_KEEPALIVE
Definition: gsm_44_318.h:59
osmo_cbsp_kill::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:133
NM_EVT_EQUIP_FAIL
@ NM_EVT_EQUIP_FAIL
Definition: gsm_12_21.h:575
gsm0480_decode_ss_request
int gsm0480_decode_ss_request(const struct gsm48_hdr *hdr, uint16_t len, struct ss_request *req)
Definition: gsm0480.c:354
gsm48_classmark3::assoc_radio_cap
uint8_t assoc_radio_cap
Definition: gsm_04_08.h:116
GSM0808_PERM_HR4
@ GSM0808_PERM_HR4
OHR AMR-WB.
Definition: gsm_08_08.h:493
osmo_gsup_message::cause_rr
uint8_t cause_rr
0 is a valid cause
Definition: gsup.h:377
GSM411_MT_RP_ACK_MT
#define GSM411_MT_RP_ACK_MT
Definition: gsm_04_11.h:55
OSMO_GSUP_MSGT_READY_FOR_SM_ERROR
@ OSMO_GSUP_MSGT_READY_FOR_SM_ERROR
Definition: gsup.h:175
TLLI_LOCAL
@ TLLI_LOCAL
Definition: gsm_utils.h:189
GSM48_REJECT_MSG_NOT_COMPATIBLE
@ GSM48_REJECT_MSG_NOT_COMPATIBLE
Definition: gsm_04_08.h:1906
ph_rach_req_param::offset
uint16_t offset
Timing Offset.
Definition: l1sap.h:48
gsm_04_60.h
xor_alg
static struct osmo_auth_impl xor_alg
Definition: auth_xor.c:174
fn_remap_table_from_traffic_block_map
#define fn_remap_table_from_traffic_block_map(table, map, rows, cols, repeat)
Definition: gsm0502.c:126
NM_MT_DISC_TERR_SIGN_ACK
@ NM_MT_DISC_TERR_SIGN_ACK
Definition: gsm_12_21.h:111
osmo_gsup_encode_an_apdu
int osmo_gsup_encode_an_apdu(struct msgb *msg, const struct osmo_gsup_message *gsup_msg)
Encode AN-apdu (see 3GPP TS 29.002 7.6.9.1).
Definition: gsup.c:669
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:303
osmo_cbsp_decoded::restart
struct osmo_cbsp_restart restart
Definition: cbsp.h:275
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:1662
gsm0808_handover_performed
Definition: gsm0808.h:283
GSM0808_CAUSE_PREEMPTION
@ GSM0808_CAUSE_PREEMPTION
Definition: gsm_08_08.h:393
GSM48_MT_RR_UPLINK_FREE
#define GSM48_MT_RR_UPLINK_FREE
Definition: gsm_04_08.h:1527
osmo_bssmap_le_err
Definition: bssmap_le.h:36
SGSAP_SGS_CAUSE_IMSI_UNKNOWN
@ SGSAP_SGS_CAUSE_IMSI_UNKNOWN
Definition: gsm_29_118.h:129
GSM411_MNSMS_REL_REQ
#define GSM411_MNSMS_REL_REQ
Definition: gsm0411_smc.h:27
abis_nm.h
GSM48_CC_CAUSE_RESP_STATUS_INQ
@ GSM48_CC_CAUSE_RESP_STATUS_INQ
Definition: gsm_04_08.h:1843
asc_to_bcd
static int asc_to_bcd(const char asc)
convert a single ASCII character to call-control BCD
Definition: gsm48_ie.c:130
bsslap_pdu::abort
enum bsslap_cause abort
Definition: gsm_48_071.h:117
NM_NACK_CAPACITY_RESTR
@ NM_NACK_CAPACITY_RESTR
Definition: gsm_12_21.h:621
gsm0808_old_bss_to_new_bss_info::extra_information_present
bool extra_information_present
Definition: gsm0808.h:116
osmo_gsup_message::cn_domain
enum osmo_gsup_cn_domain cn_domain
Definition: gsup.h:319
gsm48_classmark3::rf_pwr_cap_1
struct gsm48_classmark3::@37::@50 rf_pwr_cap_1
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:1327
gsm340_vp_relative
static unsigned long gsm340_vp_relative(uint8_t *sms_vp)
Definition: gsm0411_utils.c:150
BSSMAP_LE_MSGT_PERFORM_LOC_INFO
@ BSSMAP_LE_MSGT_PERFORM_LOC_INFO
Definition: gsm_49_031.h:73
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:546
OSMO_CGI_PART_CI
@ OSMO_CGI_PART_CI
Definition: gsm23003.h:44
NM_NACK_ATTRLIST_INCONSISTENT
@ NM_NACK_ATTRLIST_INCONSISTENT
Definition: gsm_12_21.h:613
NM_CHANC_TCHHalf
@ NM_CHANC_TCHHalf
Definition: gsm_12_21.h:548
osmo_rai_name_c
char * osmo_rai_name_c(const void *ctx, const struct gprs_ra_id *rai)
Return MCC-MNC-LAC-RAC as string, in dynamically-allocated output buffer.
Definition: gsm48.c:219
GSM48_MT_RR_UPLINK_BUSY
#define GSM48_MT_RR_UPLINK_BUSY
Definition: gsm_04_08.h:1528
osmo_bsslap_err
Definition: bsslap.h:36
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:480
ph_data_param::chan_nr
uint8_t chan_nr
Channel Number (Like RSL)
Definition: l1sap.h:77
ipa_prepend_header
void ipa_prepend_header(struct msgb *msg, int proto)
Definition: ipa.c:538
table_uncertainty_1e3
static uint32_t table_uncertainty_1e3[128]
Definition: gad.c:158
SGSAP_ID_NONEPS_T_COMBINED_UE_EPS_NONEPS
@ SGSAP_ID_NONEPS_T_COMBINED_UE_EPS_NONEPS
Definition: gsm_29_118.h:107
BSS_MAP_MSG_UPLINK_REJECT_CMD
@ BSS_MAP_MSG_UPLINK_REJECT_CMD
Definition: gsm_08_08.h:172
__attribute__
static __attribute__((constructor))
Definition: auth_comp128v23.c:69
NM_NACK_WAIT
@ NM_NACK_WAIT
Definition: gsm_12_21.h:632
GSM48_MT_CC_START_DTMF_REJ
#define GSM48_MT_CC_START_DTMF_REJ
Definition: gsm_04_08.h:1597
osmo_gprs_cell_options::bep_period
uint8_t bep_period
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:226
bssmap_le_lcs_client_type
bssmap_le_lcs_client_type
Definition: gsm_49_031.h:150
GSM_MI_TYPE_MASK
#define GSM_MI_TYPE_MASK
Definition: gsm_04_08.h:1643
GSM48_CC_CAUSE_CALL_REJECTED
@ GSM48_CC_CAUSE_CALL_REJECTED
Definition: gsm_04_08.h:1836
OSMO_GSUP_SM_RP_OA_IE
@ OSMO_GSUP_SM_RP_OA_IE
Definition: gsup.h:102
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:1316
RSL_MT_UNIT_DATA_REQ
@ RSL_MT_UNIT_DATA_REQ
Definition: gsm_08_58.h:168
GSM414_MT_EGPRS_ST_RB_LOOP_CMD
#define GSM414_MT_EGPRS_ST_RB_LOOP_CMD
Definition: gsm_04_14.h:82
DEC_ERR
#define DEC_ERR(RC, MSG_TYPE, IEI, CAUSE, fmt, args...)
Definition: bssmap_le.c:110
llist_head
lapd_start_t200
static void lapd_start_t200(struct lapd_datalink *dl)
Definition: lapd_core.c:203
GSM0480_CTYPE_INVOKE
#define GSM0480_CTYPE_INVOKE
Definition: gsm_04_80.h:16
osmo_gsm48_range_enc_arfcns
int osmo_gsm48_range_enc_arfcns(enum osmo_gsm48_range rng, const int *arfcns, int sze, int *out, int idx)
Range encode the ARFCN list.
Definition: gsm48_arfcn_range_encode.c:132
gsm0808_handover_request::global_call_reference_len
uint8_t global_call_reference_len
Definition: gsm0808.h:195
GSM_LCHAN_SDCCH
@ GSM_LCHAN_SDCCH
Definition: gsm_utils.h:223
gsm0808_perform_location_request::location_type
struct bssmap_le_location_type location_type
Definition: gsm0808_lcs.h:34
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 Message buffers
Definition: tlv.h:250
TLLI_RAND_G_RNTI
@ TLLI_RAND_G_RNTI
Definition: gsm_utils.h:195
gsm48_classmark3::utra_csg_cells_rep
bool utra_csg_cells_rep
Definition: gsm_04_08.h:211
BSS_MAP_MSG_HANDOVER_RQST_ACKNOWLEDGE
@ BSS_MAP_MSG_HANDOVER_RQST_ACKNOWLEDGE
Definition: gsm_08_08.h:85
GSM48_MT_CC_MODIFY_REJECT
#define GSM48_MT_CC_MODIFY_REJECT
Definition: gsm_04_08.h:1576
GSM48_MT_RR_CFG_CHG_REJ
#define GSM48_MT_RR_CFG_CHG_REJ
Definition: gsm_04_08.h:1457
BSS_MAP_MSG_CONFUSION
@ BSS_MAP_MSG_CONFUSION
Definition: gsm_08_08.h:107
NM_ATT_IPACC_SUPP_FEATURES
@ NM_ATT_IPACC_SUPP_FEATURES
Definition: gsm_12_21.h:452
SGSAP_SGS_CAUSE_IMSI_DET_EPS_NONEPS
@ SGSAP_SGS_CAUSE_IMSI_DET_EPS_NONEPS
Definition: gsm_29_118.h:128
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:682
NM_MT_CONN_MDROP_LINK_NACK
@ NM_MT_CONN_MDROP_LINK_NACK
Definition: gsm_12_21.h:122
SGSAP_IE_MOBILE_ID
@ SGSAP_IE_MOBILE_ID
Definition: gsm_29_118.h:56
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:1933
rslms_rx_rll_susp_req
static int rslms_rx_rll_susp_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:1122
GSM48_CC_CAUSE_RECOVERY_TIMER
@ GSM48_CC_CAUSE_RECOVERY_TIMER
Definition: gsm_04_08.h:1874
BSS_MAP_MSG_LCLS_CONNECT_CTRL
@ BSS_MAP_MSG_LCLS_CONNECT_CTRL
Definition: gsm_08_08.h:180
GSM48_PDISC_PDSS2
#define GSM48_PDISC_PDSS2
Definition: gsm_04_08.h:1333
gsm0808_cell_id
Parsed representation of Cell Identifier IE (3GPP TS 48.008 3.2.2.17)
Definition: gsm0808_utils.h:51
GSM0808_SCT_FR3
@ GSM0808_SCT_FR3
FR AMR.
Definition: gsm_08_08.h:505
cbsp_msg_type_names
const struct value_string cbsp_msg_type_names[]
Definition: gsm48049.c:22
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:1208
NM_NACK_INCORR_STRUCT
@ NM_NACK_INCORR_STRUCT
Definition: gsm_12_21.h:603
osmo_bsslap_msgt_name
static const char * osmo_bsslap_msgt_name(enum bsslap_msgt val)
Definition: bsslap.h:45
OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT
@ OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT
Definition: gsup.h:138
if
if(vty->type==VTY_SHELL_SERV)
gsm0808_cause_names
static const struct value_string gsm0808_cause_names[]
Definition: gsm0808.c:1738
GSM0808_CAUSE_DOWNLINK_QUALITY
@ GSM0808_CAUSE_DOWNLINK_QUALITY
Definition: gsm_08_08.h:364
GSM_LCHAN_UNKNOWN
@ GSM_LCHAN_UNKNOWN
Definition: gsm_utils.h:226
NM_ATT_LIST_REQ_ATTR
@ NM_ATT_LIST_REQ_ATTR
Definition: gsm_12_21.h:345
gsm0808_handover_request::cell_identifier_target
struct gsm0808_cell_id cell_identifier_target
Definition: gsm0808.h:167
GSM0808_CAUSE_INVALID_CELL
@ GSM0808_CAUSE_INVALID_CELL
Definition: gsm_08_08.h:391
osmo_nri_parse_range
static int osmo_nri_parse_range(struct osmo_nri_range *nri_range, const char *first_str, const char *last_str)
Parse string arguments to a struct osmo_nri_range; useful for VTY config implementations.
Definition: gsm23236.c:472
gsm_mncc_ssversion
Definition: mncc.h:67
bsslap_reset::cause
enum bsslap_cause cause
Definition: gsm_48_071.h:105
ipaccess_head_ext::proto
uint8_t proto
Definition: ipaccess.h:17
gsm0808_handover_performed::speech_codec_chosen
struct gsm0808_speech_codec speech_codec_chosen
Definition: gsm0808.h:297
GPRS_UPD_T_RA_LA_IMSI_ATT
#define GPRS_UPD_T_RA_LA_IMSI_ATT
Definition: gsm_04_08_gprs.h:74
GSM48_CMSERV_VBS
@ GSM48_CMSERV_VBS
Definition: gsm_04_08.h:1616
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:363
NM_ATT_IPACC_UNIT_NAME
@ NM_ATT_IPACC_UNIT_NAME
Definition: gsm_12_21.h:432
BSSAP_LE_DEC_ERR
#define BSSAP_LE_DEC_ERR(RC, fmt, args...)
append_power_offset
static void append_power_offset(struct bitvec *bv, const struct osmo_gsm48_si_power_offset *po)
Definition: gsm48_rest_octets.c:548
inc_mod
static uint8_t inc_mod(uint8_t x, uint8_t m)
Definition: lapd_core.c:132
osmo_cbsp_decoded::keep_alive_compl
struct osmo_cbsp_keep_alive_complete keep_alive_compl
Definition: cbsp.h:282
gsm48_classmark3::psk8_multislot_power_prof
uint8_t psk8_multislot_power_prof
Definition: gsm_04_08.h:172
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:209
GSM0808_IE_TMSI
@ GSM0808_IE_TMSI
Definition: gsm_08_08.h:198
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:145
BSSMAP_LE_IEI_LCS_CAUSE
@ BSSMAP_LE_IEI_LCS_CAUSE
Definition: gsm_49_031.h:91
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:292
gsm411_smr_clear
void gsm411_smr_clear(struct gsm411_smr_inst *inst)
Definition: gsm0411_smr.c:96
gsm29118_paging_req
3GPP TS 3GPP TS 29.018 8.14 SGsAP-PAGING-REQUEST.
Definition: gsm29118.h:34
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:1712
bsslap_reset::cell_id
uint16_t cell_id
Definition: gsm_48_071.h:102
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
osmo_bssap_le_header
Definition: bssmap_le.c:426
osmo_cbsp_cell_ent::cell_id
union gsm0808_cell_id_u cell_id
Definition: cbsp.h:43
osmo_bsslap_iei_names
const struct value_string osmo_bsslap_iei_names[]
Definition: bsslap.c:299
NM_MT_CONN_TERR_SIGN
@ NM_MT_CONN_TERR_SIGN
Definition: gsm_12_21.h:107
osmo_gprs_power_ctrl_pars::pc_meas_chan
uint8_t pc_meas_chan
GA_MT_CSR_ACT_CHAN_FAIL
@ GA_MT_CSR_ACT_CHAN_FAIL
Definition: gsm_44_318.h:38
osmo_cbsp_msg_status_query::msg_id
uint16_t msg_id
Definition: cbsp.h:178
OSMO_GSUP_MSGT_ROUTING_ERROR
@ OSMO_GSUP_MSGT_ROUTING_ERROR
Definition: gsup.h:200
GMM_CAUSE_GPRS_OTHER_NOTALLOWED
@ GMM_CAUSE_GPRS_OTHER_NOTALLOWED
Definition: gsm_04_08_gprs.h:213
osmo_bssap_le_dec
int osmo_bssap_le_dec(struct bssap_le_pdu *pdu, struct osmo_bssap_le_err **err, void *err_ctx, struct msgb *msg)
Decode BSSAP-LE PDU (3GPP TS 49.031).
Definition: bssmap_le.c:723
GSM48_IE_CAUSE
#define GSM48_IE_CAUSE
Definition: gsm_04_08.h:1660
TE414
#define TE414(i)
Definition: aes_i.h:90
osmo_cbsp_fail_ent::id_discr
enum CELL_IDENT id_discr
Definition: cbsp.h:76
GSM48_RR_CAUSE_ABNORMAL_UNACCT
@ GSM48_RR_CAUSE_ABNORMAL_UNACCT
Definition: gsm_04_08.h:1806
GSM0480_OP_CODE_USS_NOTIFY
#define GSM0480_OP_CODE_USS_NOTIFY
Definition: gsm_04_80.h:82
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:220
osmo_i460_subchan_mux::tx_queue
struct llist_head tx_queue
list of to-be-transmitted message buffers
Definition: i460_mux.h:63
SGSAP_IE_VLR_NAME
@ SGSAP_IE_VLR_NAME
Definition: gsm_29_118.h:46
gsm48_control_channel_descr
Definition: gsm_04_08.h:928
OSMO_GPRS_MCS2
OSMO_GPRS_MCS2
osmo_rat_type_name
static const char * osmo_rat_type_name(enum osmo_rat_type val)
Definition: gsm_utils.h:258
cbsp_decode_fail_list
static int cbsp_decode_fail_list(struct llist_head *fl, void *ctx, const uint8_t *buf, unsigned int len)
Definition: cbsp.c:534
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:467
gsm48_pdisc_names
const struct value_string gsm48_pdisc_names[]
TS 04.08 Protocol Descriptor names.
Definition: gsm48.c:1338
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:133
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:1446
nri_range_overlaps_range
static bool nri_range_overlaps_range(const struct osmo_nri_range *a, const struct osmo_nri_range *b)
Return true if the ranges overlap, i.e.
Definition: gsm23236.c:56
GSM0808_IE_CALL_ID_LIST
@ GSM0808_IE_CALL_ID_LIST
Definition: gsm_08_08.h:304
GSM0808_IE_POSITIONING_DATA
@ GSM0808_IE_POSITIONING_DATA
Definition: gsm_08_08.h:256
msgb_push_u8
static void msgb_push_u8(struct msgb *msg, uint8_t word)
abis_rsl_rll_hdr::chan_nr
uint8_t chan_nr
Definition: gsm_08_58.h:86
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
l
int gsm48_generate_mid_from_tmsi *(uint8_t *buf, uint32_t tmsi) OSMO_DEPRECATED_OUTSIDE("Instead us l)
Definition: gsm48.h:55
NM_ATT_AVAIL_STATUS
@ NM_ATT_AVAIL_STATUS
Definition: gsm_12_21.h:326
facch_h0_remap_table
static struct fn_remap_table facch_h0_remap_table
Definition: gsm0502.c:114
OSMO_GSUP_MSGT_E_SEND_END_SIGNAL_REQUEST
@ OSMO_GSUP_MSGT_E_SEND_END_SIGNAL_REQUEST
Definition: gsup.h:190
BSS_MAP_MSG_HANDOVER_RQST
@ BSS_MAP_MSG_HANDOVER_RQST
Definition: gsm_08_08.h:83
SGSAP_ID_NONEPS_T_IMPLICIT_UE_EPS_NONEPS
@ SGSAP_ID_NONEPS_T_IMPLICIT_UE_EPS_NONEPS
Definition: gsm_29_118.h:108
GSM48_PDISC_MM_GPRS
#define GSM48_PDISC_MM_GPRS
Definition: gsm_04_08.h:1337
gsm341_ms_message::page
struct gsm341_ms_message::@26 page
BSS_MAP_MSG_UPLINK_RQST
@ BSS_MAP_MSG_UPLINK_RQST
Definition: gsm_08_08.h:168
sgsap_sgs_cause_names
const struct value_string sgsap_sgs_cause_names[]
Definition: gsm29118.c:125
GSM48_REJECT_SERVICES_NOT_ALLOWED
@ GSM48_REJECT_SERVICES_NOT_ALLOWED
Definition: gsm_04_08.h:1911
osmo_timer_pending
int osmo_timer_pending(struct osmo_timer_list *timer)
gsm48_classmark3::extended_tsc_set_cap_supp
bool extended_tsc_set_cap_supp
Definition: gsm_04_08.h:226
gsm48_pdisc_name
static const char * gsm48_pdisc_name(uint8_t val)
Definition: gsm_04_08.h:1347
GSM48_MT_CC_START_CC
#define GSM48_MT_CC_START_CC
Definition: gsm_04_08.h:1571
T200_SACCH_SDCCH
@ T200_SACCH_SDCCH
Definition: gsm_12_21.h:652
GSM48_REJECT_LOC_NOT_ALLOWED
@ GSM48_REJECT_LOC_NOT_ALLOWED
Definition: gsm_04_08.h:1891
append_utran_fdd_length
static int append_utran_fdd_length(uint16_t u, const int *sc, size_t sc_len, size_t length)
Definition: gsm48_rest_octets.c:336
GSM48_CC_CAUSE_BEARER_CA_UNAVAIL
@ GSM48_CC_CAUSE_BEARER_CA_UNAVAIL
Definition: gsm_04_08.h:1856
msgb_trim
static int msgb_trim(struct msgb *msg, int len)
gsm48_rr_att_tlvdef
const struct tlv_definition gsm48_rr_att_tlvdef
TLV parser definitions for TS 04.08 RR.
Definition: gsm48.c:98
osmo_gsm48_si3_gprs_ind::ra_colour
uint8_t ra_colour
Definition: gsm48_rest_octets.h:75
GSM411_SM_RL_DATA_REQ
#define GSM411_SM_RL_DATA_REQ
Definition: gsm0411_smr.h:9
osmo_sub_auth_data::umts
struct osmo_sub_auth_data::@105::@106 umts
osmo_gsm48_si6_ro_info::gprs_ms_txpwr_max_ccch
struct osmo_gsm48_si_gprs_ms_txpwr_max_ccch gprs_ms_txpwr_max_ccch
Definition: gsm48_rest_octets.h:53
gsm_mncc_progress::coding
int coding
Definition: mncc.h:57
osmo_gprs_cell_options::ccn_active
bool ccn_active
OSMO_GSUP_MSGT_E_PREPARE_SUBSEQUENT_HANDOVER_REQUEST
@ OSMO_GSUP_MSGT_E_PREPARE_SUBSEQUENT_HANDOVER_REQUEST
Definition: gsup.h:186
table0
static const uint8_t table0[256]
Definition: comp128v23.c:39
osmo_cbsp_loading_ent::load
uint8_t load[2]
Definition: cbsp.h:66
BSSAP_LE_MSG_DISCR_BSSMAP_LE
@ BSSAP_LE_MSG_DISCR_BSSMAP_LE
Definition: gsm_49_031.h:66
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_i460_subchan_demux::out_idx
unsigned int out_idx
offset of next bit to be written in out_bitbuf
Definition: i460_mux.h:52
GSM48_CC_CAUSE_FACILITY_REJ
@ GSM48_CC_CAUSE_FACILITY_REJ
Definition: gsm_04_08.h:1842
osmo_dump_gsmtime_buf
char * osmo_dump_gsmtime_buf(char *buf, size_t buf_len, const struct gsm_time *tm)
Definition: gsm_utils.c:897
OSMO_GSUP_MSGT_INSERT_DATA_REQUEST
@ OSMO_GSUP_MSGT_INSERT_DATA_REQUEST
Definition: gsup.h:150
GSM0808_IE_RR_CAUSE
@ GSM0808_IE_RR_CAUSE
Definition: gsm_08_08.h:210
lapd_dl_init
void lapd_dl_init(struct lapd_datalink *dl, uint8_t k, uint8_t v_range, int maxf) OSMO_DEPRECATED("Use lapd_dl_init2() instead")
Initialize LAPD datalink instance and allocate history.
Definition: lapd_core.c:327
gsm_7bit_encode
int gsm_7bit_encode(uint8_t *result, const char *data)
Definition: gsm_utils.c:1012
OSMO_GSUP_MAX_NUM_PDP_INFO
#define OSMO_GSUP_MAX_NUM_PDP_INFO
Maximum nubmer of PDP inside osmo_gsup_message.
Definition: gsup.h:54
osmo_i460_schan_desc::out_cb_bits
out_cb_bits_t out_cb_bits
call-back function called whenever we received num_bits
Definition: i460_mux.h:88
LAPDm_LPD_NORMAL
#define LAPDm_LPD_NORMAL
Definition: lapdm.c:54
NM_NACK_BTSNR_UNKN
@ NM_NACK_BTSNR_UNKN
Definition: gsm_12_21.h:607
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:54
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:576
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:2000
msgb_l2len
static unsigned int msgb_l2len(const struct msgb *msgb)
GSM0808_IE_CONNECTION_RELEASE_RQSTED
@ GSM0808_IE_CONNECTION_RELEASE_RQSTED
Definition: gsm_08_08.h:243
mdl_error
static int mdl_error(uint8_t cause, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:419
BSS_MAP_MSG_CIRCUIT_GROUP_UNBLOCKING_ACKNOWLEDGE
@ BSS_MAP_MSG_CIRCUIT_GROUP_UNBLOCKING_ACKNOWLEDGE
Definition: gsm_08_08.h:142
BSS_MAP_MSG_RESET_IP_RSRC_ACK
@ BSS_MAP_MSG_RESET_IP_RSRC_ACK
Definition: gsm_08_08.h:132
NM_ATT_IPACC_NSEI
@ NM_ATT_IPACC_NSEI
Definition: gsm_12_21.h:442
gsm_mncc_useruser
Definition: mncc.h:51
osmo_cbsp_decoded::failure
struct osmo_cbsp_failure failure
Definition: cbsp.h:277
T200_FACCH_F
@ T200_FACCH_F
Definition: gsm_12_21.h:649
egprs_get_cps
int egprs_get_cps(struct egprs_cps *cps, uint8_t type, uint8_t bits)
Definition: gprs_rlc.c:92
EGPRS_MCS9
EGPRS_MCS9
NM_ATT_IPACC_IML_SSL_STATE
@ NM_ATT_IPACC_IML_SSL_STATE
Definition: gsm_12_21.h:460
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:72
sgsap_service_ind_names
const struct value_string sgsap_service_ind_names[]
Definition: gsm29118.c:119
tall_lapd_ctx
void * tall_lapd_ctx
Definition: lapd_core.c:257
gsm0808_handover_request::old_bss_to_new_bss_info_raw_len
uint8_t old_bss_to_new_bss_info_raw_len
Definition: gsm0808.h:183
osmo_gsup_sms_encode_sm_rp_oa
int osmo_gsup_sms_encode_sm_rp_oa(struct msgb *msg, const struct osmo_gsup_message *gsup_msg)
Encode SM-RP-OA IE (see 7.6.8.2), Originating Address.
Definition: gsup_sms.c:152
osmo_gsup_sms_encode_sm_rp_da
int osmo_gsup_sms_encode_sm_rp_da(struct msgb *msg, const struct osmo_gsup_message *gsup_msg)
Encode SM-RP-DA IE (see 7.6.8.1), Destination Address.
Definition: gsup_sms.c:42
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:1329
SGSAP_IE_EMLPP_PRIORITY
@ SGSAP_IE_EMLPP_PRIORITY
Definition: gsm_29_118.h:50
GSM48_MT_RR_EXT_MEAS_REP
#define GSM48_MT_RR_EXT_MEAS_REP
Definition: gsm_04_08.h:1520
tch_afs_4_75_state
static const uint8_t tch_afs_4_75_state[][2]
Definition: gsm0503_conv.c:658
lapd_rx_u_ui
static int lapd_rx_u_ui(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1047
osmo_timer_setup
void osmo_timer_setup(struct osmo_timer_list *timer, void(*cb)(void *data), void *data)
osmo_cbsp_load_query_failure::loading_list
struct osmo_cbsp_loading_list loading_list
Definition: cbsp.h:173
osmo_gsm48_classmark::classmark2_len
uint8_t classmark2_len
Definition: gsm_04_08.h:233
CBSP_IEI_REP_PERIOD
@ CBSP_IEI_REP_PERIOD
Definition: gsm_48_049.h:28
ph_rach_req_param::tx_power
uint8_t tx_power
Transmit Power.
Definition: l1sap.h:46
gsm29118_reset_msg::mme_name_present
bool mme_name_present
Definition: gsm29118.h:47
gsm411_smr_inst::rp_state
enum gsm411_rp_state rp_state
Definition: gsm0411_smr.h:24
OSMO_GSUP_IMEI_RESULT_IE
@ OSMO_GSUP_IMEI_RESULT_IE
Definition: gsup.h:109
BSS_MAP_MSG_VGCS_VBS_ASSIGNMENT_FAILURE
@ BSS_MAP_MSG_VGCS_VBS_ASSIGNMENT_FAILURE
Definition: gsm_08_08.h:166
gsm0808_handover_command::new_bss_to_old_bss_info_raw
const uint8_t * new_bss_to_old_bss_info_raw
Definition: gsm0808.h:236
ALL_STATES
#define ALL_STATES
Definition: lapd_core.c:110
GSM0808_IE_TOTAL_RESOURCE_ACCESSIBLE
@ GSM0808_IE_TOTAL_RESOURCE_ACCESSIBLE
Definition: gsm_08_08.h:223
gad_raw::ell_point_unc_circle
struct gad_raw_ell_point_unc_circle ell_point_unc_circle
Definition: gsm_23_032.h:242
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:634
bss_att_tlvdef
static const struct tlv_definition bss_att_tlvdef
Definition: gsm0808.c:1434
ipa_ccm_send_id_req
int ipa_ccm_send_id_req(int fd)
Definition: ipa.c:461
osmo_plmn_id::mcc
uint16_t mcc
Definition: gsm23003.h:10
osmo_gummei::plmn
struct osmo_plmn_id plmn
Definition: gsm23003.h:99
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
bssmap_le_pdu::perform_loc_req
struct bssmap_le_perform_loc_req perform_loc_req
Definition: gsm_49_031.h:197
namebuf
static __thread char namebuf[255]
OSMO_I460_RATE_64k
@ OSMO_I460_RATE_64k
Definition: i460_mux.h:33
Td1
const u32 Td1[256]
CBSP_MSGT_SET_DRX_FAIL
@ CBSP_MSGT_SET_DRX_FAIL
Definition: gsm_48_049.h:65
osmo_cbsp_kill::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:135
CBSP_IEI_EMERG_IND
@ CBSP_IEI_EMERG_IND
Definition: gsm_48_049.h:37
lapdm_entity_exit
void lapdm_entity_exit(struct lapdm_entity *le)
flush and release all resoures in LAPDm entity
Definition: lapdm.c:293
osmo_lcls_dump
char * osmo_lcls_dump(const struct osmo_lcls *lcls)
Dump LCLS parameters (GCR excluded) into static string buffer for printing.
Definition: gsm0808_utils.c:650
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:1486
CBSP_IEI_SCHEDULE_PERIOD
@ CBSP_IEI_SCHEDULE_PERIOD
Definition: gsm_48_049.h:42
osmo_cbsp_fail_ent
Definition: cbsp.h:74
tch_ahs_4_75_term_output
static const uint8_t tch_ahs_4_75_term_output[]
Definition: gsm0503_conv.c:1096
osmo_gsup_message::current_rat_type
enum osmo_rat_type current_rat_type
Definition: gsup.h:386
GSM48_MT_CC_RETR_REJ
#define GSM48_MT_CC_RETR_REJ
Definition: gsm_04_08.h:1583
OSMO_GPRS_MCS7
OSMO_GPRS_MCS7
to_bcd
static void to_bcd(uint8_t *bcd, uint16_t val)
Definition: gsm23003.c:375
TLVP_VAL_MINLEN
#define TLVP_VAL_MINLEN(_tp, tag, min_len)
Like TLVP_VAL(), but enforcing a minimum val length.
Definition: tlv.h:580
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:377
GPRS_UPD_T_RA
#define GPRS_UPD_T_RA
Definition: gsm_04_08_gprs.h:72
GA_CSR_UTRAN_CM_CHG
@ GA_CSR_UTRAN_CM_CHG
Definition: gsm_44_318.h:64
bssmap_le_pdu::conn_oriented_info
struct bssmap_le_conn_oriented_info conn_oriented_info
Definition: gsm_49_031.h:200
gsm_septet_lookup
static int gsm_septet_lookup(uint8_t ch)
Definition: gsm_utils.c:178
OSMO_VALUE_STRING
#define OSMO_VALUE_STRING(x)
bitvec
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
osmo_gsm48_rest_octets_si13_decode
int osmo_gsm48_rest_octets_si13_decode(struct osmo_gsm48_si13_info *si13, const uint8_t *data)
Decode SI13 Rest Octests (04.08 Chapter 10.5.2.37b).
Definition: gsm48_rest_octets.c:824
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
osmo_lcs_cause_dec
int osmo_lcs_cause_dec(struct lcs_cause_ie *lcs_cause, enum bssmap_le_msgt msgt, enum bssmap_le_iei iei, struct osmo_bssmap_le_err **err, void *err_ctx, const uint8_t *data, uint8_t len)
Decode the value part of 3GPP TS 49.031 10.13 LCS Cause, without IEI and len.
Definition: bssmap_le.c:299
gsm48_classmark3::e_utra_meas_rep_supp
bool e_utra_meas_rep_supp
Definition: gsm_04_08.h:209
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
osmo_gsm48_si13_info
Definition: gsm48_rest_octets.h:112
gsm23003.h
BSS_MAP_MSG_RESOURCE_INDICATION
@ BSS_MAP_MSG_RESOURCE_INDICATION
Definition: gsm_08_08.h:149
GSM0808_IE_CELL_ID_LIST_SEG_REL_CELLS
@ GSM0808_IE_CELL_ID_LIST_SEG_REL_CELLS
Definition: gsm_08_08.h:291
BSSLAP_MSGT_TA_REQUEST
@ BSSLAP_MSGT_TA_REQUEST
Definition: gsm_48_071.h:33
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:100
GSM0800_IE_INTER_SYSTEM_INFO
@ GSM0800_IE_INTER_SYSTEM_INFO
Definition: gsm_08_08.h:274
timer.h
osmo_gsup_message::sm_rp_ui_len
size_t sm_rp_ui_len
Definition: gsup.h:347
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:810
gsm0480_decode_ussd_request
int gsm0480_decode_ussd_request(const struct gsm48_hdr *hdr, uint16_t len, struct ussd_request *req)
Definition: gsm0480.c:317
OSMO_GSUP_PDP_INFO_IE
@ OSMO_GSUP_PDP_INFO_IE
Definition: gsup.h:69
GSM0808_IE_DOWNLINK_DTX_FLAG
@ GSM0808_IE_DOWNLINK_DTX_FLAG
Definition: gsm_08_08.h:214
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:228
gsm0808_channel_type_name_c
char * gsm0808_channel_type_name_c(const void *ctx, const struct gsm0808_channel_type *ct)
Definition: gsm0808_utils.c:2033
gsm48_classmark3::r_gsm_assoc_radio_cap
uint8_t r_gsm_assoc_radio_cap
Definition: gsm_04_08.h:70
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:283
gsm48_classmark3::e_utra_tdd_supp
bool e_utra_tdd_supp
Definition: gsm_04_08.h:208
GSM48_IE_CC_CAP
#define GSM48_IE_CC_CAP
Definition: gsm_04_08.h:1661
osmo_gsup_message::sm_rp_da_type
enum osmo_gsup_sms_sm_rp_oda_t sm_rp_da_type
SM-RP-DA (see 3GPP TS 29.002, 7.6.8.1), Destination Address.
Definition: gsup.h:338
gsm0808_handover_performed::lcls_bss_status_present
bool lcls_bss_status_present
Definition: gsm0808.h:299
GSM48_REJECT_INCORRECT_MESSAGE
@ GSM48_REJECT_INCORRECT_MESSAGE
Definition: gsm_04_08.h:1900
OSMO_GSUP_FREEZE_PTMSI_IE
@ OSMO_GSUP_FREEZE_PTMSI_IE
Definition: gsup.h:71
gprs_service_t_strs
const struct value_string * gprs_service_t_strs
Definition: gsm_04_08_gprs.c:225
osmo_cbsp_msg_status_query_failure::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:195
gsm0503_rach_ext
const struct osmo_conv_code gsm0503_rach_ext
Extended RACH (11 bit) convolutional code.
Definition: gsm0503_conv.c:110
NM_ATT_GSM_TIME
@ NM_ATT_GSM_TIME
Definition: gsm_12_21.h:339
EGPRS_CPS_NONE
EGPRS_CPS_NONE
osmo_gsm48_si3_gprs_ind::present
uint8_t present
Definition: gsm48_rest_octets.h:76
SGSAP_IE_TMSI_BASED_NRI_CONT
@ SGSAP_IE_TMSI_BASED_NRI_CONT
Definition: gsm_29_118.h:75
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:56
GSM48_MT_CC_HOLD_REJ
#define GSM48_MT_CC_HOLD_REJ
Definition: gsm_04_08.h:1580
osmo_i460_subchan_demux::user_data
void * user_data
Definition: i460_mux.h:56
GSM411_RP_CAUSE_PROTOCOL_ERR
@ GSM411_RP_CAUSE_PROTOCOL_ERR
Definition: gsm_04_11.h:92
osmo_earfcn_si2q::arfcn
uint16_t * arfcn
Definition: sysinfo.h:50
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:660
GSM_CAUSE_LLC_SNDCP_FAIL
@ GSM_CAUSE_LLC_SNDCP_FAIL
Definition: gsm_04_08_gprs.h:246
lapd_dl_flush_hist
static void lapd_dl_flush_hist(struct lapd_datalink *dl)
Definition: lapd_core.c:160
GA_MT_RC_REGISTER_REDIRECT
@ GA_MT_RC_REGISTER_REDIRECT
Definition: gsm_44_318.h:25
lapd_send_ua
static int lapd_send_ua(struct lapd_msg_ctx *lctx, uint8_t len, uint8_t *data)
Definition: lapd_core.c:433
osmo_cbsp_load_query_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:171
GSM0808_IE_LCS_QOS
@ GSM0808_IE_LCS_QOS
Definition: gsm_08_08.h:251
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:139
BSS_MAP_MSG_UNBLOCKING_ACKNOWLEDGE
@ BSS_MAP_MSG_UNBLOCKING_ACKNOWLEDGE
Definition: gsm_08_08.h:138
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:487
osmo_bssmap_le_dec
static int osmo_bssmap_le_dec(struct bssmap_le_pdu *pdu, struct osmo_bssmap_le_err **err, void *err_ctx, const uint8_t *data, size_t len)
Decode BSSMAP-LE PDU (3GPP TS 49.031).
Definition: bssmap_le.c:646
si2q_earfcn_count
static size_t si2q_earfcn_count(const struct osmo_earfcn_si2q *e)
Definition: gsm48_rest_octets.c:449
DEC_ERR_NO_RETURN
#define DEC_ERR_NO_RETURN(RC, MSG_TYPE, IEI, CAUSE, fmt, args...)
Definition: bssmap_le.c:91
LAPD_FORM_I
@ LAPD_FORM_I
Definition: lapd_core.h:90
gsm0808_lcs.h
GSM48_REJECT_MSC_TMP_NOT_REACHABLE
@ GSM48_REJECT_MSC_TMP_NOT_REACHABLE
Definition: gsm_04_08.h:1915
cbsp_dec_write_repl
static int cbsp_dec_write_repl(struct osmo_cbsp_write_replace *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:642
NM_NACK_TEST_NOTSUPP
@ NM_NACK_TEST_NOTSUPP
Definition: gsm_12_21.h:620
gsm_mncc_bearer_cap::sig_access
enum gsm48_bcap_sig_access sig_access
Definition: mncc.h:21
gsm0808_enc_lcls
uint8_t gsm0808_enc_lcls(struct msgb *msg, const struct osmo_lcls *lcls)
Add LCLS parameters to a given msgb, 3GPP TS 48.008 §3.2.2.115 - 3.2.2.120.
Definition: gsm0808_utils.c:580
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:608
tx_dequeue_acch_msgb
static struct msgb * tx_dequeue_acch_msgb(struct lapdm_entity *le)
Definition: lapdm.c:397
N200_TR_SACCH
#define N200_TR_SACCH
Definition: lapdm.c:101
lapd_dl_flush_tx
static void lapd_dl_flush_tx(struct lapd_datalink *dl)
Definition: lapd_core.c:175
gsm0808_cell_id_list::id_discr
uint8_t id_discr
Definition: gsm_08_08.h:634
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:349
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:76
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, in a static buffer.
Definition: gsm48.c:1629
OSMO_GSUP_MSGT_READY_FOR_SM_RESULT
@ OSMO_GSUP_MSGT_READY_FOR_SM_RESULT
Definition: gsup.h:176
BSSMAP_LE_IEI_APDU
@ BSSMAP_LE_IEI_APDU
Definition: gsm_49_031.h:93
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:1816
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)
Compute number of octets from number of septets.
Definition: gsm_utils.c:192
gsm0808_handover_request::channel_type
struct gsm0808_channel_type channel_type
Definition: gsm0808.h:163
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:27
bssmap_le_location_type::positioning_method
enum bssmap_le_positioning_method positioning_method
Definition: gsm_49_031.h:147
osmo_gad_enc
int osmo_gad_enc(union gad_raw *gad_raw, const struct osmo_gad *gad)
Write GAD values with consistent units to raw GAD PDU representation.
Definition: gad.c:376
gsm48_classmark3::umts_tdd_rat_cap
bool umts_tdd_rat_cap
Definition: gsm_04_08.h:130
BSSLAP_IEI_TFI
@ BSSLAP_IEI_TFI
Definition: gsm_48_071.h:81
abis_nm_sw_desc::file_version
uint8_t file_version[UINT8_MAX]
Definition: gsm_12_21.h:804
GSM48_MT_GMM_AUTH_CIPH_RESP
#define GSM48_MT_GMM_AUTH_CIPH_RESP
Definition: gsm_04_08_gprs.h:28
GSM48_REJECT_PROTOCOL_ERROR
@ GSM48_REJECT_PROTOCOL_ERROR
Definition: gsm_04_08.h:1907
msgb_sgsap_lai_put
static void msgb_sgsap_lai_put(struct msgb *msg, const struct osmo_location_area_id *lai)
Definition: gsm29118.c:231
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:428
GSM0808_IE_CHOSEN_CHANNEL
@ GSM0808_IE_CHOSEN_CHANNEL
Definition: gsm_08_08.h:222
GSM48_MT_GMM_ATTACH_REQ
#define GSM48_MT_GMM_ATTACH_REQ
Definition: gsm_04_08_gprs.h:13
GSM_MI_ODD
#define GSM_MI_ODD
Definition: gsm_04_08.h:1649
LAPDm_SAPI_SMS
#define LAPDm_SAPI_SMS
Definition: lapdm.c:57
osmo_lcs_cause_enc
int osmo_lcs_cause_enc(struct msgb *msg, const struct lcs_cause_ie *lcs_cause)
Encode the value part of 3GPP TS 49.031 10.13 LCS Cause, without IEI and len.
Definition: bssmap_le.c:281
NM_ATT_IPACC_PRIM_OML_FB_TOUT
@ NM_ATT_IPACC_PRIM_OML_FB_TOUT
Definition: gsm_12_21.h:435
gsm29118_reset_msg
3GPP TS 3GPP TS 29.018 8.15 SGsAP-RESET-ACK and 8.16 SGsAP-RESET-INDICATION.
Definition: gsm29118.h:44
BSSLAP_MSGT_RESET
@ BSSLAP_MSGT_RESET
Definition: gsm_48_071.h:36
GSM48_CC_CAUSE_INVAL_MAND_INF
@ GSM48_CC_CAUSE_INVAL_MAND_INF
Definition: gsm_04_08.h:1868
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:790
GSM48_CMODE_SIGN
@ GSM48_CMODE_SIGN
Definition: gsm_04_08.h:744
osmo_nri_v_limit_by_ranges
int osmo_nri_v_limit_by_ranges(int16_t *nri_v, const struct osmo_nri_ranges *nri_ranges, uint32_t nri_bitlen)
Modulo and shift the given NRI value so that it becomes a value present in a list of NRI ranges.
Definition: gsm23236.c:103
GSM0808_SC_CFG_AMR_12_2
@ GSM0808_SC_CFG_AMR_12_2
Definition: gsm_08_08.h:597
gsm0808_handover_command
Definition: gsm0808.h:230
osmo_gcr_parsed
Parsed representation of Global Call Reference, 3GPP TS 29.205 Table B 2.1.9.1.
Definition: gsm29205.h:33
BSSMAP_LE_IEI_NET_ELEM_ID
@ BSSMAP_LE_IEI_NET_ELEM_ID
Definition: gsm_49_031.h:94
llist_count
static unsigned int llist_count(const struct llist_head *head)
cbsp_enc_write_repl
static int cbsp_enc_write_repl(struct msgb *msg, const struct osmo_cbsp_write_replace *in)
Definition: cbsp.c:149
gsm0808_handover_request::global_call_reference
const uint8_t * global_call_reference
Definition: gsm0808.h:194
gsm29118_reset_msg::vlr_name
char vlr_name[SGS_VLR_NAME_MAXLEN+1]
Definition: gsm29118.h:46
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
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:133
osmo_gprs_cell_options::bss_paging_coordination
uint8_t bss_paging_coordination
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:37
GSM0808_LCLS_STS_NO_LONGER_LS
@ GSM0808_LCLS_STS_NO_LONGER_LS
Definition: gsm_08_08.h:664
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:100
BSSMAP_LE_MSGT_CONN_LESS_INFO
@ BSSMAP_LE_MSGT_CONN_LESS_INFO
Definition: gsm_49_031.h:77
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
OSMO_GSUP_SMS_SM_RP_ODA_MSISDN
@ OSMO_GSUP_SMS_SM_RP_ODA_MSISDN
Definition: gsup_sms.h:19
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:303
gsm0808_handover_performed::chosen_channel_present
bool chosen_channel_present
Definition: gsm0808.h:287
osmo_gsm48_lsa_params
Definition: gsm48_rest_octets.h:79
GMM_CAUSE_ILLEGAL_ME
@ GMM_CAUSE_ILLEGAL_ME
Definition: gsm_04_08_gprs.h:211
lapd_msg_ctx::n_recv
uint8_t n_recv
Definition: lapd_core.h:108
GA_MT_RC_DISCOVERY_REQUEST
@ GA_MT_RC_DISCOVERY_REQUEST
Definition: gsm_44_318.h:19
decode_gprs_pwr_ctrl_pars
static void decode_gprs_pwr_ctrl_pars(struct osmo_gprs_power_ctrl_pars *pcp, struct bitvec *bv)
Definition: gsm48_rest_octets.c:811
cbsp_dec_load_query_compl
static int cbsp_dec_load_query_compl(struct osmo_cbsp_load_query_complete *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:914
GSM0808_SC_CFG_DEFAULT_OHR_AMR
@ GSM0808_SC_CFG_DEFAULT_OHR_AMR
Definition: gsm_08_08.h:566
BSS_MAP_MSG_QUEUING_INDICATION
@ BSS_MAP_MSG_QUEUING_INDICATION
Definition: gsm_08_08.h:154
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
BSSAP_LE_MSG_HEADROOM
#define BSSAP_LE_MSG_HEADROOM
Definition: bssmap_le.c:44
gsm48_rest_octets.h
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
DL_SAPI3
@ DL_SAPI3
SAPI 1.
Definition: lapdm.h:40
osmo_gsup_get_err_msg_type
int osmo_gsup_get_err_msg_type(enum osmo_gsup_message_type type_in) OSMO_DEPRECATED("Use OSMO_GSUP_TO_MSGT_ERROR() instead")
return the error message type corresponding to type_in.
Definition: gsup.c:120
osmo_gsm48_si6_ro_info::band_indicator_1900
bool band_indicator_1900
Definition: gsm48_rest_octets.h:52
OSMO_GSUP_SS_INFO_IE
@ OSMO_GSUP_SS_INFO_IE
Supplementary Services payload.
Definition: gsup.h:97
BSSLAP_IEI_LONG_ENCR_KEY
@ BSSLAP_IEI_LONG_ENCR_KEY
Definition: gsm_48_071.h:84
OSMO_GSUP_MSGT_E_PREPARE_HANDOVER_ERROR
@ OSMO_GSUP_MSGT_E_PREPARE_HANDOVER_ERROR
Definition: gsup.h:183
gsm48_classmark3::geran_net_sharing
bool geran_net_sharing
Definition: gsm_04_08.h:221
osmo_mobile_identity_cmp
int osmo_mobile_identity_cmp(const struct osmo_mobile_identity *a, const struct osmo_mobile_identity *b)
Compare two osmo_mobile_identity structs, returning typical cmp() result.
Definition: gsm48.c:952
GSM0808_CAUSE_REQ_A_IF_TYPE_NOT_SUPP
@ GSM0808_CAUSE_REQ_A_IF_TYPE_NOT_SUPP
Definition: gsm_08_08.h:410
mux_schan_provide_bit
static ubit_t mux_schan_provide_bit(struct osmo_i460_subchan *schan)
Definition: i460_mux.c:173
CR_USER2NET_CMD
#define CR_USER2NET_CMD
Definition: lapd_core.c:101
sgsap_eps_lu_type_names
const struct value_string sgsap_eps_lu_type_names[]
Definition: gsm29118.c:96
BSS_MAP_MSG_HANDOVER_PERFORMED
@ BSS_MAP_MSG_HANDOVER_PERFORMED
Definition: gsm_08_08.h:90
lapd_send_rr
static int lapd_send_rr(struct lapd_msg_ctx *lctx, uint8_t f_bit, uint8_t cmd)
Definition: lapd_core.c:478
GSM0808_SC_CFG_DEFAULT_AMR_5_15
@ GSM0808_SC_CFG_DEFAULT_AMR_5_15
Definition: gsm_08_08.h:577
gsm0808_handover_performed::chosen_encr_alg_present
bool chosen_encr_alg_present
Definition: gsm0808.h:290
GA_MT_CSR_CM_ENQ
@ GA_MT_CSR_CM_ENQ
Definition: gsm_44_318.h:60
GSM48_MT_RR_PACKET_ASS
#define GSM48_MT_RR_PACKET_ASS
Definition: gsm_04_08.h:1450
osmo_cgi_cmp
int osmo_cgi_cmp(const struct osmo_cell_global_id *a, const struct osmo_cell_global_id *b)
Definition: gsm23003.c:590
OSMO_NRI_BITLEN_MAX
#define OSMO_NRI_BITLEN_MAX
Definition: gsm23236.h:13
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:135
osmo_cbsp_error_ind::new_serial_nr
uint16_t * new_serial_nr
Definition: cbsp.h:243
llist_for_each_entry
#define llist_for_each_entry(pos, head, member)
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:1522
__attribute__
static __attribute__((constructor))
Definition: auth_xor.c:182
BSSMAP_LE_MSGT_RESET
@ BSSMAP_LE_MSGT_RESET
Definition: gsm_49_031.h:78
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_cbsp_num_compl_ent::num_compl
uint16_t num_compl
Definition: cbsp.h:54
osmo_encode_big_endian
uint8_t * osmo_encode_big_endian(uint64_t value, size_t data_len)
osmo_cbsp_reset
Definition: cbsp.h:202
_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:109
GSM48_IE_CTS_PERMISSION
#define GSM48_IE_CTS_PERMISSION
Definition: gsm_04_08.h:1753
SGSAP_IE_CLI
@ SGSAP_IE_CLI
Definition: gsm_29_118.h:64
osmo_gad_err::rc
int rc
Definition: gad.h:166
GSM48_IE_RR_PACKET_DL
#define GSM48_IE_RR_PACKET_DL
Definition: gsm_04_08.h:1722
CELL_IDENT_LAC
@ CELL_IDENT_LAC
Definition: gsm_08_08.h:23
GSM0808_CAUSE_REQ_CODEC_TYPE_OR_CONFIG_UNAVAIL
@ GSM0808_CAUSE_REQ_CODEC_TYPE_OR_CONFIG_UNAVAIL
Definition: gsm_08_08.h:401
osmo_gsup_message::supported_rat_types
enum osmo_rat_type supported_rat_types[8]
arbitrary choice
Definition: gsup.h:387
osmo_cbsp_reset_failure
Definition: cbsp.h:212
osmo_gad_to_str_buf
int osmo_gad_to_str_buf(char *buf, size_t buflen, const struct osmo_gad *gad)
Return a human readable representation of GAD (location estimate) values.
Definition: gad.c:443
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
DEC_ERR
#define DEC_ERR(RC, TYPE, fmt, args...)
Definition: gad.c:248
osmo_apn_qualify_buf
char * osmo_apn_qualify_buf(char *buf, size_t buf_len, unsigned int mcc, unsigned int mnc, const char *ni)
Definition: apn.c:36
osmo_lac_and_ci_id::ci
uint16_t ci
Definition: gsm23003.h:52
ipa_ccm_idtag_parse
int ipa_ccm_idtag_parse(struct tlv_parsed *dec, unsigned char *buf, int len)
Parse the payload part of an IPA CCM ID GET, return tlv_parsed format.
Definition: ipa.c:102
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:1342
GSM48_IE_BEARER_CAP
#define GSM48_IE_BEARER_CAP
Definition: gsm_04_08.h:1659
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:192
BSSMAP_LE_POS_METHOD_MOBILE_BASED_E_OTD
@ BSSMAP_LE_POS_METHOD_MOBILE_BASED_E_OTD
Definition: gsm_49_031.h:141
GSM0808_IE_FORWARD_INDICATOR
@ GSM0808_IE_FORWARD_INDICATOR
Definition: gsm_08_08.h:232
osmo_cbsp_msg_status_query_complete
Definition: cbsp.h:185
GMM_CAUSE_PLMN_NOTALLOWED
@ GMM_CAUSE_PLMN_NOTALLOWED
Definition: gsm_04_08_gprs.h:216
sgsap_iei
sgsap_iei
Definition: gsm_29_118.h:44
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:293
CBSP_IEI_KEEP_ALIVE_REP_PERIOD
@ CBSP_IEI_KEEP_ALIVE_REP_PERIOD
Definition: gsm_48_049.h:46
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:800
gprs_tmsi2tlli
uint32_t gprs_tmsi2tlli(uint32_t p_tmsi, enum gprs_tlli_type type)
Determine TLLI from P-TMSI.
Definition: gsm_utils.c:978
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:652
osmo_strbuf::buf
char * buf
OSMO_GSUP_DESTINATION_NAME_IE
@ OSMO_GSUP_DESTINATION_NAME_IE
Definition: gsup.h:114
ARFCN_PCS
#define ARFCN_PCS
Definition: gsm_utils.h:160
cbsp_dec_kill
static int cbsp_dec_kill(struct osmo_cbsp_kill *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:800
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:1666
tch_hr_output
static const uint8_t tch_hr_output[][2]
Definition: gsm0503_conv.c:774
bssmap_le_location_type::location_information
enum bssmap_le_location_information location_information
Definition: gsm_49_031.h:146
NM_MT_STATECHG_EVENT_REP
@ NM_MT_STATECHG_EVENT_REP
Definition: gsm_12_21.h:148
gsm48_classmark3::high_multislot_cap
struct gsm48_classmark3::@45 high_multislot_cap
gsm0808_diagnostics_bit_location_str
const char * gsm0808_diagnostics_bit_location_str(uint8_t bit_pointer)
Definition: gsm0808.c:1864
LOGL_NOTICE
#define LOGL_NOTICE
GSM_BAND_850
@ GSM_BAND_850
Definition: gsm_utils.h:53
tch_ahs_7_95_puncture
static const int tch_ahs_7_95_puncture[]
Definition: gsm0503_conv.c:841
gsm48_classmark3::offset_required
bool offset_required
Definition: gsm_04_08.h:186
gsm_freq102arfcn
uint16_t gsm_freq102arfcn(uint16_t freq10, int uplink)
Convert a Frequency in MHz * 10 to ARFCN.
Definition: gsm_utils.c:836
gsm0480_create_ussd_resp
struct msgb * gsm0480_create_ussd_resp(uint8_t invoke_id, uint8_t trans_id, const char *text)
Legacy helper: Generate USSD response including FACILITY IE + L3 header.
Definition: gsm0480.c:825
osmo_gsup_message::cause
enum gsm48_gmm_cause cause
Definition: gsup.h:305
RSL_MT_CHAN_RQD
@ RSL_MT_CHAN_RQD
Definition: gsm_08_58.h:178
GSM411_RP_CAUSE_INV_TRANS_REF
@ GSM411_RP_CAUSE_INV_TRANS_REF
Definition: gsm_04_11.h:86
msgb_put_u16
static void msgb_put_u16(struct msgb *msgb, uint16_t word)
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:1489
lapd_t200_cb
static void lapd_t200_cb(void *data)
Definition: lapd_core.c:590
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:1698
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:207
GSM48_MT_CC_EMERG_SETUP
#define GSM48_MT_CC_EMERG_SETUP
Definition: gsm_04_08.h:1566
SGSAP_MSGT_DL_UD
@ SGSAP_MSGT_DL_UD
Definition: gsm_29_118.h:12
GSM0808_IE_LAYER_3_HEADER_INFORMATION
@ GSM0808_IE_LAYER_3_HEADER_INFORMATION
Definition: gsm_08_08.h:196
LAPDm_FMT_A
@ LAPDm_FMT_A
Definition: lapdm.c:110
osmo_gsup_message::num_auth_vectors
size_t num_auth_vectors
Definition: gsup.h:310
BSSMAP_LE_IEI_SEGMENTATION
@ BSSMAP_LE_IEI_SEGMENTATION
Definition: gsm_49_031.h:100
gsm29118_reset_msg::vlr_name_present
bool vlr_name_present
Definition: gsm29118.h:45
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:1546
gsm0502_tch_h0_facch_block_map
static const uint8_t gsm0502_tch_h0_facch_block_map[3][6]
Definition: gsm0502.c:82
gsm_mncc_facility::len
int len
Definition: mncc.h:63
BSS_MAP_MSG_PAGING
@ BSS_MAP_MSG_PAGING
Definition: gsm_08_08.h:150
APN_GPRS_FMT
#define APN_GPRS_FMT
Definition: apn.c:32
NM_IPACC_TESTNO_TX_BEACON
@ NM_IPACC_TESTNO_TX_BEACON
Definition: gsm_12_21.h:721
gsm_mncc_cccap
Definition: mncc.h:72
l2downstate::op
int op
Definition: lapd_core.c:2145
OSMO_GSUP_SM_ALERT_RSN_IE
@ OSMO_GSUP_SM_ALERT_RSN_IE
Definition: gsup.h:106
SGSAP_MSGT_IMSI_DET_IND
@ SGSAP_MSGT_IMSI_DET_IND
Definition: gsm_29_118.h:24
llist_add
static void llist_add(struct llist_head *_new, struct llist_head *head)
GSM0808_IE_EXTENDED_RESOURCE_INDICATOR
@ GSM0808_IE_EXTENDED_RESOURCE_INDICATOR
Definition: gsm_08_08.h:202
abis_rsl_common_hdr::msg_type
uint8_t msg_type
message type (abis_rsl_msgtype)
Definition: gsm_08_58.h:77
GSM0480_OPERATION_CODE
#define GSM0480_OPERATION_CODE
Definition: gsm_04_80.h:26
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:731
NM_NACK_PHYSCFG_NOTRESTORE
@ NM_NACK_PHYSCFG_NOTRESTORE
Definition: gsm_12_21.h:624
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:599
gsm411_mmsms_cp_data
static int gsm411_mmsms_cp_data(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:286
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:1568
GMM_CAUSE_IMSI_UNKNOWN
@ GMM_CAUSE_IMSI_UNKNOWN
Definition: gsm_04_08_gprs.h:208
bssmap_le_pdu
Definition: gsm_49_031.h:192
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:115
GSM0808_PERM_HR1
@ GSM0808_PERM_HR1
GSM HR.
Definition: gsm_08_08.h:490
osmo_gad_enc_lat
uint32_t osmo_gad_enc_lat(int32_t deg_1e6)
Encode a latitude value according to 3GPP TS 23.032.
Definition: gad.c:55
gsm48_classmark3::single_band_supp
struct gsm48_classmark3::@42 single_band_supp
osmo_cbsp_decoded::keep_alive
struct osmo_cbsp_keep_alive keep_alive
Definition: cbsp.h:281
gsm_mncc_bearer_cap::parity
enum gsm48_bcap_parity parity
Definition: mncc.h:26
gsm0502_fn_remap_channel
gsm0502_fn_remap_channel
Definition: gsm0502.h:63
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:1751
BSS_MAP_MSG_CHANGE_CIRCUIT
@ BSS_MAP_MSG_CHANGE_CIRCUIT
Definition: gsm_08_08.h:144
GMM_CAUSE_PROTO_ERR_UNSPEC
@ GMM_CAUSE_PROTO_ERR_UNSPEC
Definition: gsm_04_08_gprs.h:237
GSM0808_CAUSE_UNKNOWN_MESSAGE_TYPE
@ GSM0808_CAUSE_UNKNOWN_MESSAGE_TYPE
Definition: gsm_08_08.h:416
OSMO_CGI_PART_LAC
@ OSMO_CGI_PART_LAC
Definition: gsm23003.h:43
MDL_CAUSE_FRMR
#define MDL_CAUSE_FRMR
Definition: lapd_core.h:47
BSS_MAP_MSG_CONNECTION_ORIENTED_INFORMATION
@ BSS_MAP_MSG_CONNECTION_ORIENTED_INFORMATION
Definition: gsm_08_08.h:112
parse_ss_facility
static int parse_ss_facility(const uint8_t *ss_facility, uint16_t len, struct ss_request *req)
Definition: gsm0480.c:422
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:559
bssmap_le_perform_loc_req::apdu
struct bsslap_pdu apdu
Definition: gsm_49_031.h:172
NM_NACK_FREQ_NOTAVAIL
@ NM_NACK_FREQ_NOTAVAIL
Definition: gsm_12_21.h:619
lapdm_channel_init2
int lapdm_channel_init2(struct lapdm_channel *lc, enum lapdm_mode mode, const int *t200_ms_dcch, const int *t200_ms_acch, enum gsm_chan_t chan_t)
initialize a LAPDm channel and all its channels
Definition: lapdm.c:248
osmo_gsm48_classmark_is_r99
bool osmo_gsm48_classmark_is_r99(const struct osmo_gsm48_classmark *cm)
Return true if any of Classmark 1 or Classmark 2 are present and indicate R99 capability.
Definition: gsm48.c:1739
GAD_TYPE_POLYGON
@ GAD_TYPE_POLYGON
Definition: gsm_23_032.h:39
__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:1943
IP_PORT_LEN
#define IP_PORT_LEN
Definition: gsm0808_utils.c:36
BTS_FEAT_AGCH_PCH_PROP
@ BTS_FEAT_AGCH_PCH_PROP
Definition: bts_features.h:19
value_string
GSM48_MT_RR_PAG_REQ_2
#define GSM48_MT_RR_PAG_REQ_2
Definition: gsm_04_08.h:1477
gsm_7bit_decode
int gsm_7bit_decode(char *text, const uint8_t *user_data, uint8_t septet_l)
Definition: gsm_utils.c:997
GPRS_UPD_T_PERIODIC
#define GPRS_UPD_T_PERIODIC
Definition: gsm_04_08_gprs.h:75
osmo_i460_subchan
Definition: i460_mux.h:68
LAPD_STATE_DISC_SENT
@ LAPD_STATE_DISC_SENT
Definition: lapd_core.h:82
EGPRS_MCS1
EGPRS_MCS1
LAPDm_CTRL_Nr
#define LAPDm_CTRL_Nr(ctrl)
Definition: lapdm.c:80
osmo_gsup_message::source_name_len
size_t source_name_len
Number of bytes in source_name.
Definition: gsup.h:367
osmo_lcls_dump_c
char * osmo_lcls_dump_c(void *ctx, const struct osmo_lcls *lcls)
Definition: gsm0808_utils.c:655
GSM0808_CAUSE_REQ_REDUND_LEVEL_NOT_AVAIL
@ GSM0808_CAUSE_REQ_REDUND_LEVEL_NOT_AVAIL
Definition: gsm_08_08.h:404
GSM48_IE_TIMING_ADVANCE
#define GSM48_IE_TIMING_ADVANCE
Definition: gsm_04_08.h:1737
lapdm_entity::l3_cb
lapdm_cb_t l3_cb
callback for sending stuff to L3
Definition: lapdm.h:62
NM_ATT_IPACC_SSL_CFG
@ NM_ATT_IPACC_SSL_CFG
Definition: gsm_12_21.h:458
gsm0808_handover_request_ack::chosen_channel_present
bool chosen_channel_present
Definition: gsm0808.h:210
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:302
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:503
BTS_FEAT_EGPRS
@ BTS_FEAT_EGPRS
Definition: bts_features.h:14
SGSAP_SGS_CAUSE_MSG_UNKNOWN
@ SGSAP_SGS_CAUSE_MSG_UNKNOWN
Definition: gsm_29_118.h:138
osmo_gsup_message::imsi
char imsi[OSMO_IMSI_BUF_SIZE]
Definition: gsup.h:304
gsm0480_gen_ussd_resp_7bit
struct msgb * gsm0480_gen_ussd_resp_7bit(uint8_t invoke_id, const char *text)
Generate a USSD ReturnResult component containing a string in default GSM alphabet.
Definition: gsm0480.c:778
egprs_cps::bits
uint8_t bits
OSMO_GPRS_MCS3
OSMO_GPRS_MCS3
GSM0808_SCT_HR6
@ GSM0808_SCT_HR6
OHR AMR.
Definition: gsm_08_08.h:511
BSS_MAP_MSG_INT_HANDOVER_ENQUIRY
@ BSS_MAP_MSG_INT_HANDOVER_ENQUIRY
Definition: gsm_08_08.h:98
NM_SEVER_INDETERMINATE
@ NM_SEVER_INDETERMINATE
Definition: gsm_12_21.h:586
osmo_gsup_pdp_info::pdp_type
uint16_t pdp_type
Type of PDP context.
Definition: gsup.h:260
cbsp_enc_reset_fail
static int cbsp_enc_reset_fail(struct msgb *msg, const struct osmo_cbsp_reset_failure *in)
Definition: cbsp.c:344
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:297
osmo_gsm48_rest_octets_si3_decode
void osmo_gsm48_rest_octets_si3_decode(struct osmo_gsm48_si_ro_info *si3, const uint8_t *data)
Decode SI3 Rest Octests (Chapter 10.5.2.34 / Table 10.4.72).
Definition: gsm48_rest_octets.c:1114
gsm0808_create_reset
struct msgb * gsm0808_create_reset(void)
Create BSSMAP RESET message.
Definition: gsm0808.c:143
GSM0808_CAUSE_MS_NOT_EQUIPPED
@ GSM0808_CAUSE_MS_NOT_EQUIPPED
Definition: gsm_08_08.h:390
BSS_MAP_MSG_CLEAR_COMPLETE
@ BSS_MAP_MSG_CLEAR_COMPLETE
Definition: gsm_08_08.h:102
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
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:69
BSSLAP_MSGT_TA_LAYER3
@ BSSLAP_MSGT_TA_LAYER3
Definition: gsm_48_071.h:38
ASN1_NULL_TYPE_TAG
#define ASN1_NULL_TYPE_TAG
Definition: gsm_04_80.h:119
_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:23
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:1391
BSSMAP_LE_IEI_IMSI
@ BSSMAP_LE_IEI_IMSI
Definition: gsm_49_031.h:105
gprs_tlli_type
gprs_tlli_type
Definition: gsm_utils.h:188
GSM48_LUPD_IMSI_ATT
#define GSM48_LUPD_IMSI_ATT
Definition: gsm_04_08.h:1635
gad.h
common.h
gsm0480_gen_reject
struct msgb * gsm0480_gen_reject(int invoke_id, uint8_t problem_tag, uint8_t problem_code)
Generate a Reject component (see section 3.6.1) and given error code (see section 3....
Definition: gsm0480.c:880
GSM0808_IE_OLD_BSS_TO_NEW_BSS_INFORMATION
@ GSM0808_IE_OLD_BSS_TO_NEW_BSS_INFORMATION
Definition: gsm_08_08.h:247
EGPRS_HDR_TYPE2
EGPRS_HDR_TYPE2
gsm48_classmark3::t_gsm_400_bands_supp
struct gsm48_classmark3::@46 t_gsm_400_bands_supp
GSM48_REJECT_PLMN_NOT_ALLOWED
@ GSM48_REJECT_PLMN_NOT_ALLOWED
Definition: gsm_04_08.h:1890
msgb_reset
void msgb_reset(struct msgb *msg)
lapd_udata_req
static int lapd_udata_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1725
linuxlist.h
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
gsm0808_get_cipher_reject_cause
int gsm0808_get_cipher_reject_cause(const struct tlv_parsed *tp)
Definition: gsm0808_utils.c:1647
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:165
ABIS_RSL_MDISC_COM_CHAN
#define ABIS_RSL_MDISC_COM_CHAN
Definition: gsm_08_58.h:144
GSM0808_IE_LCLS_CONFIG
@ GSM0808_IE_LCLS_CONFIG
Definition: gsm_08_08.h:313
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:158
osmo_dump_gsmtime_c
char * osmo_dump_gsmtime_c(const void *ctx, const struct gsm_time *tm)
Definition: gsm_utils.c:911
GSM48_IE_UTC
#define GSM48_IE_UTC
Definition: gsm_04_08.h:1654
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:482
abis_nm_dump_foh
const char * abis_nm_dump_foh(const struct abis_om_fom_hdr *foh)
Definition: abis_nm.c:941
fn_remap_table
Definition: gsm0502.c:102
NM_IPACC_TESTNO_CHAN_USAGE
@ NM_IPACC_TESTNO_CHAN_USAGE
Definition: gsm_12_21.h:717
osmo_luhn
char osmo_luhn(const char *in, int in_len)
gsm0808_handover_request::imsi
const char * imsi
Definition: gsm0808.h:185
osmo_cbsp_error_ind::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:245
gsm0808_speech_codec::type
uint8_t type
See enum gsm0808_speech_codec_type.
Definition: gsm_08_08.h:546
gsm48_classmark3::hscsd_mult_slot_cap
struct gsm48_classmark3::@33 hscsd_mult_slot_cap
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:605
LAPDm_EL
#define LAPDm_EL
Definition: lapdm.c:84
osmo_cm_service_type_names
const struct value_string osmo_cm_service_type_names[]
Definition: gsm48.c:1712
osmo_cgi_cmp
int osmo_cgi_cmp(const struct osmo_cell_global_id *a, const struct osmo_cell_global_id *b)
Definition: gsm23003.c:590
lapdm_entity::datalink
struct lapdm_datalink datalink[_NR_DL_SAPI]
the SAPIs of the LAPDm entity
Definition: lapdm.h:52
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:298
gsm48_chan_desc
Definition: gsm_04_08.h:501
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:747
LAPDm_CTRL_I
#define LAPDm_CTRL_I(nr, ns, p)
Definition: lapdm.c:66
osmo_cbsp_num_compl_list::list
struct llist_head list
Definition: cbsp.h:59
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:98
osmo_apn_qualify_from_imsi
char * osmo_apn_qualify_from_imsi(const char *imsi, const char *ni, int have_3dig_mnc)
Definition: apn.c:75
GSM48_MT_MM_CM_SERV_ABORT
#define GSM48_MT_MM_CM_SERV_ABORT
Definition: gsm_04_08.h:1550
gsm29118_create_mm_info_req
struct msgb * gsm29118_create_mm_info_req(const char *imsi, const uint8_t *mm_info, uint8_t mm_info_len)
Definition: gsm29118.c:323
osmo_nri_range_validate
int osmo_nri_range_validate(const struct osmo_nri_range *range, uint8_t nri_bitlen)
Validate that the given NRI range is valid for a given nri_bitlen range.
Definition: gsm23236.c:224
gsm341_ms_message::msg_id
uint16_t msg_id
Definition: gsm_03_41.h:33
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:272
BSSMAP_LE_MSGT_ASSIST_INFO_RESP
@ BSSMAP_LE_MSGT_ASSIST_INFO_RESP
Definition: gsm_49_031.h:75
GSM_7BIT_LEGACY_MAX_BUFFER_SIZE
#define GSM_7BIT_LEGACY_MAX_BUFFER_SIZE
Definition: gsm_utils.h:239
FN_REMAP_FACCH_H1
@ FN_REMAP_FACCH_H1
Definition: gsm0502.h:69
OSMO_GSUP_CK_IE
@ OSMO_GSUP_CK_IE
Definition: gsup.h:85
FN_REMAP_TCH_H1
@ FN_REMAP_TCH_H1
Definition: gsm0502.h:66
BSS_MAP_MSG_INT_HANDOVER_CMD
@ BSS_MAP_MSG_INT_HANDOVER_CMD
Definition: gsm_08_08.h:97
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:585
gsm48_classmark3::gsm_850_assoc_radio_cap
struct gsm48_classmark3::@39 gsm_850_assoc_radio_cap
gsm411_mmsms_rel_ind
static int gsm411_mmsms_rel_ind(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:378
gsm48_imsi_detach_ind
Definition: gsm_04_08.h:1134
CBSP_IEI_DCS
@ CBSP_IEI_DCS
Definition: gsm_48_049.h:34
bssmap_le_pdu::msg_type
enum bssmap_le_msgt msg_type
Definition: gsm_49_031.h:193
GSM0808_SCT_FR1
@ GSM0808_SCT_FR1
GSM FR.
Definition: gsm_08_08.h:503
EGPRS_CPS_P2
EGPRS_CPS_P2
cbsp_enc_msg_status_query
static int cbsp_enc_msg_status_query(struct msgb *msg, const struct osmo_cbsp_msg_status_query *in)
Definition: cbsp.c:296
lapd_state_name
static const char * lapd_state_name(enum lapd_state state)
Definition: lapd_core.c:198
gsm0808_cell_id_to_cgi
int gsm0808_cell_id_to_cgi(struct osmo_cell_global_id *cgi, const struct gsm0808_cell_id *cid)
Overwrite parts of cgi with values from a Cell Identifier.
Definition: gsm0808_utils.c:1851
osmo_gsm48_si_pch_nch_info::nln_sacch
uint8_t nln_sacch
Definition: gsm48_rest_octets.h:25
GSM48_MT_MM_AUTH_RESP
#define GSM48_MT_MM_AUTH_RESP
Definition: gsm_04_08.h:1541
idtag_names
static const char * idtag_names[]
Definition: ipa.c:81
append_lsa_params
static int append_lsa_params(struct bitvec *bv, const struct osmo_gsm48_lsa_params *lsa_params)
Definition: gsm48_rest_octets.c:627
GSM0808_IE_RESPONSE_RQST
@ GSM0808_IE_RESPONSE_RQST
Definition: gsm_08_08.h:216
gsm0808_handover_request_ack
Definition: gsm0808.h:206
GSM0808_IE_CLASSMARK_INFORMATION_T3
@ GSM0808_IE_CLASSMARK_INFORMATION_T3
Definition: gsm_08_08.h:208
BSS_MAP_MSG_UPLINK_RQST_CONFIRMATION
@ BSS_MAP_MSG_UPLINK_RQST_CONFIRMATION
Definition: gsm_08_08.h:170
osmo_gsm48_range_enc_1024
int osmo_gsm48_range_enc_1024(uint8_t *chan_list, int f0, int f0_included, int *w)
Definition: gsm48_arfcn_range_encode.c:293
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:21
BSS_MAP_MSG_HANDOVER_CANDIDATE_ENQUIRE
@ BSS_MAP_MSG_HANDOVER_CANDIDATE_ENQUIRE
Definition: gsm_08_08.h:91
gsm0808_handover_performed::chosen_encr_alg
uint8_t chosen_encr_alg
Definition: gsm0808.h:291
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:1994
gsm_mncc_useruser::info
char info[GSM_MAX_USERUSER+1]
Definition: mncc.h:53
gsm29118.h
cbsp_enc_msg_status_query_compl
static int cbsp_enc_msg_status_query_compl(struct msgb *msg, const struct osmo_cbsp_msg_status_query_complete *in)
Definition: cbsp.c:306
gsm48_classmark3::rf_pwr_cap_2
struct gsm48_classmark3::@37::@51 rf_pwr_cap_2
OSMO_GSUP_MSGT_PROC_SS_RESULT
@ OSMO_GSUP_MSGT_PROC_SS_RESULT
Definition: gsup.h:164
gsm0808_perform_location_response::location_estimate
union gad_raw location_estimate
Definition: gsm0808_lcs.h:43
OSMO_EARFCN_MEAS_INVALID
#define OSMO_EARFCN_MEAS_INVALID
Definition: sysinfo.h:12
GRND_NONBLOCK
#define GRND_NONBLOCK
Definition: gsm_utils.c:115
GSM48_PDISC_RR
#define GSM48_PDISC_RR
Definition: gsm_04_08.h:1336
tch_f_remap_table
static struct fn_remap_table tch_f_remap_table
Definition: gsm0502.c:110
GA_MT_CSR_HO_COMPL
@ GA_MT_CSR_HO_COMPL
Definition: gsm_44_318.h:47
GSM_PCHAN_TCH_F_TCH_H_PDCH
@ GSM_PCHAN_TCH_F_TCH_H_PDCH
Definition: gsm_utils.h:216
NM_ATT_MDROP_NEXT
@ NM_ATT_MDROP_NEXT
Definition: gsm_12_21.h:352
BSSLAP_IEI_CONCUR_POS_PROC_F
@ BSSLAP_IEI_CONCUR_POS_PROC_F
Definition: gsm_48_071.h:85
GSM48_IE_NET_DST
#define GSM48_IE_NET_DST
Definition: gsm_04_08.h:1657
_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:164
abis_rsl_rll_hdr::c
struct abis_rsl_common_hdr c
Definition: gsm_08_58.h:83
GSM48_REJECT_GPRS_NOT_ALLOWED
@ GSM48_REJECT_GPRS_NOT_ALLOWED
Definition: gsm_04_08.h:1910
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:169
lapd_msg_ctx
LAPD message context.
Definition: lapd_core.h:96
GSM48_PDISC_BCAST_CC
#define GSM48_PDISC_BCAST_CC
Definition: gsm_04_08.h:1330
GSM48_MT_CC_HOLD_ACK
#define GSM48_MT_CC_HOLD_ACK
Definition: gsm_04_08.h:1579
bssmap_le_apdu_proto
bssmap_le_apdu_proto
Definition: gsm_49_031.h:125
NM_PCAUSE_T_GSM
@ NM_PCAUSE_T_GSM
Definition: gsm_12_21.h:592
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:710
BSSMAP_LE_IEI_SHORT_ID
@ BSSMAP_LE_IEI_SHORT_ID
Definition: gsm_49_031.h:120
osmo_cbsp_kill_failure::msg_id
uint16_t msg_id
Definition: cbsp.h:149
cp_timer_expired
static void cp_timer_expired(void *data)
Definition: gsm0411_smc.c:222
OSMO_GSUP_SMS_SM_RP_ODA_SMSC_ADDR
@ OSMO_GSUP_SMS_SM_RP_ODA_SMSC_ADDR
Definition: gsup_sms.h:20
GSM0808_IE_NUMBER_OF_MSS
@ GSM0808_IE_NUMBER_OF_MSS
Definition: gsm_08_08.h:203
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:1459
osmo_gsm48_rfpowercap2powerclass
int8_t osmo_gsm48_rfpowercap2powerclass(enum gsm_band band, uint8_t rf_power_cap)
Decode power class from Classmark1/2 RF power capability field.
Definition: gsm48.c:1877
RCON
#define RCON(i)
Definition: aes_i.h:72
CELL_IDENT_LAI_AND_LAC
#define CELL_IDENT_LAI_AND_LAC
Definition: gsm_08_08.h:33
BSSMAP_LE_APDU_PROT_BSSLAP
@ BSSMAP_LE_APDU_PROT_BSSLAP
Definition: gsm_49_031.h:127
gsm48_decode_classmark3
int gsm48_decode_classmark3(struct gsm48_classmark3 *classmark3_out, const uint8_t *classmark3, size_t classmark3_len)
Decode 3GPP TS 24.008 Mobile Station Classmark 3 (10.5.1.7).
Definition: gsm48_ie.c:1309
llist_add_tail
static void llist_add_tail(struct llist_head *_new, struct llist_head *head)
SBIT
#define SBIT(a)
Definition: gsm_04_08.h:1984
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:488
GSM0808_CAUSE_PROTOCOL_ERROR_BETWEEN_BSS_AND_MSC
@ GSM0808_CAUSE_PROTOCOL_ERROR_BETWEEN_BSS_AND_MSC
Definition: gsm_08_08.h:420
CBSP_IEI_MSG_ID
@ CBSP_IEI_MSG_ID
Definition: gsm_48_049.h:36
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:233
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:468
SGSAP_IE_LAI
@ SGSAP_IE_LAI
Definition: gsm_29_118.h:48
GSM0808_IE_GROUP_CALL_REFERENCE
@ GSM0808_IE_GROUP_CALL_REFERENCE
Definition: gsm_08_08.h:244
GSM0808_CAUSE_CLASS_SRV_OPT_NA
@ GSM0808_CAUSE_CLASS_SRV_OPT_NA
Definition: gsm_08_08.h:430
gsm_mncc_bearer_cap::data
struct gsm_mncc_bearer_cap::@20 data
table1
static const uint8_t table1[256]
Definition: comp128v23.c:56
ubit_t
uint8_t ubit_t
xor
static void xor(uint8_t *out, const uint8_t *a, const uint8_t *b, size_t len)
Definition: auth_xor.c:40
gsm0808.h
GSM0808_ALG_ID_A5_6
@ GSM0808_ALG_ID_A5_6
Definition: gsm_08_08.h:527
gsm411_smr_inst::id
uint64_t id
Definition: gsm0411_smr.h:17
sgsap_msg_type_names
const struct value_string sgsap_msg_type_names[]
Definition: gsm29118.c:31
GMM_CAUSE_GPRS_NOTALLOWED
@ GMM_CAUSE_GPRS_NOTALLOWED
Definition: gsm_04_08_gprs.h:212
GSM0808_SCT_HR4
@ GSM0808_SCT_HR4
OHR AMR-WB.
Definition: gsm_08_08.h:510
osmo_cbsp_write_replace_failure::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:127
OSMO_GSUP_SM_RP_MR_IE
@ OSMO_GSUP_SM_RP_MR_IE
Definition: gsup.h:100
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_GSM48_RANGE_ENC_MAX_ARFCNS
#define OSMO_GSM48_RANGE_ENC_MAX_ARFCNS
Definition: gsm48_arfcn_range_encode.h:15
osmo_sub_auth_data::type
enum osmo_sub_auth_type type
Definition: auth.h:40
ARRAY_SIZE
#define ARRAY_SIZE(x)
GSM0808_SCT_HR1
@ GSM0808_SCT_HR1
GSM_HR.
Definition: gsm_08_08.h:508
nri_ranges_add_entry_sorted
static void nri_ranges_add_entry_sorted(struct osmo_nri_ranges *nri_ranges, struct osmo_nri_range *add)
Insert a new struct osmo_nri_range in an osmo_nri_ranges list, so that it remains sorted by 'first' v...
Definition: gsm23236.c:278
osmo_gsup_message::destination_name_len
size_t destination_name_len
Number of bytes in destination_name.
Definition: gsup.h:372
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:1019
GSM0808_IE_CIRCUIT_IDENTITY_CODE_LIST
@ GSM0808_IE_CIRCUIT_IDENTITY_CODE_LIST
Definition: gsm_08_08.h:219
BSSMAP_LE_IEI_CAUSE
@ BSSMAP_LE_IEI_CAUSE
Definition: gsm_49_031.h:102
gsm48_var_bit
Definition: gsm_04_08.h:483
OSMO_PRIM
#define OSMO_PRIM(prim, op)
gsm_phys_chan_config
gsm_phys_chan_config
Definition: gsm_utils.h:204
GPRS_DET_T_MT_REATT_NOTREQ
#define GPRS_DET_T_MT_REATT_NOTREQ
Definition: gsm_04_08_gprs.h:65
osmo_auth_vector::ck
uint8_t ck[OSMO_A5_MAX_KEY_LEN_BYTES]
ciphering key
Definition: auth.h:63
smcdatastate::name
const char * name
Definition: gsm0411_smc.c:486
tch_ahs_7_4_term_output
static const uint8_t tch_ahs_7_4_term_output[]
Definition: gsm0503_conv.c:884
SGSAP_IE_LCS_CLIENT_ID
@ SGSAP_IE_LCS_CLIENT_ID
Definition: gsm_29_118.h:65
BSS_MAP_MSG_REROUTE_CMD
@ BSS_MAP_MSG_REROUTE_CMD
Definition: gsm_08_08.h:118
osmo_gsup_message_class_names
const struct value_string osmo_gsup_message_class_names[]
Definition: gsup.c:908
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:147
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
gsm48_loc_upd_req
Definition: gsm_04_08.h:872
osmo_cbsp_write_replace::cbs
struct osmo_cbsp_write_replace::@0::@1 cbs
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:134
gsm0808_handover_command::cell_identifier
struct gsm0808_cell_id cell_identifier
Definition: gsm0808.h:234
FN_REMAP_TCH_F
@ FN_REMAP_TCH_F
Definition: gsm0502.h:64
osmo_str_startswith
bool osmo_str_startswith(const char *str, const char *startswith_str)
NM_NACK_ATTRID_INVAL
@ NM_NACK_ATTRID_INVAL
Definition: gsm_12_21.h:610
gsm_04_08_gprs.h
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:451
BSSMAP_LE_IEI_MTA_ACC_SEC_RQD
@ BSSMAP_LE_IEI_MTA_ACC_SEC_RQD
Definition: gsm_49_031.h:122
gsm0808_perform_location_response::lcs_cause
struct lcs_cause_ie lcs_cause
Definition: gsm0808_lcs.h:45
gsm0808_create_reset_ack
struct msgb * gsm0808_create_reset_ack(void)
Create BSSMAP RESET ACK message.
Definition: gsm0808.c:160
T200_SDCCH
@ T200_SDCCH
Definition: gsm_12_21.h:648
gsm48_cell_options
Definition: gsm_04_08.h:955
osmo_conv_code::N
int N
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:311
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:626
osmo_earfcn_si2q
Definition: sysinfo.h:48
gsm411_smc_send
int gsm411_smc_send(struct gsm411_smc_inst *inst, int msg_type, struct msgb *msg)
Definition: gsm0411_smc.c:454
GSM48_IE_LOCATION_AREA
#define GSM48_IE_LOCATION_AREA
Definition: gsm_04_08.h:1747
plugin.h
gsm_08_08.h
gsm29118_create_lu_rej
struct msgb * gsm29118_create_lu_rej(const char *imsi, uint8_t rej_cause, const struct osmo_location_area_id *lai)
Definition: gsm29118.c:307
gad_raw::ell_point
struct gad_raw_ell_point ell_point
Definition: gsm_23_032.h:241
osmo_cgi_ps_name
const char * osmo_cgi_ps_name(const struct osmo_cell_global_id_ps *cgi_ps)
Return MCC-MNC-LAC-RAC-CI as string, in a static buffer.
Definition: gsm23003.c:347
GSM48_CC_CAUSE_CHAN_UNACCEPT
@ GSM48_CC_CAUSE_CHAN_UNACCEPT
Definition: gsm_04_08.h:1830
osmo_gsup_message::message_type
enum osmo_gsup_message_type message_type
Definition: gsup.h:303
EGPRS_MCS5
EGPRS_MCS5
LLIST_HEAD
static LLIST_HEAD(gprs_ciphers)
lapd_msg_ctx::lpd
uint8_t lpd
Definition: lapd_core.h:103
argv
argv
gsm48_att_tlvdef
const struct tlv_definition gsm48_att_tlvdef
TLV parser definitions for TS 04.08 CC.
Definition: gsm48.c:56
BSSMAP_LE_IEI_CHOSEN_CHAN
@ BSSMAP_LE_IEI_CHOSEN_CHAN
Definition: gsm_49_031.h:104
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:253
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
osmo_gad_err::logmsg
char * logmsg
Definition: gad.h:168
lapd_rel_req
static int lapd_rel_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:2066
cbsp_enc_write_repl_compl
static int cbsp_enc_write_repl_compl(struct msgb *msg, const struct osmo_cbsp_write_replace_complete *in)
Definition: cbsp.c:195
bssmap_le_pdu::reset
enum gsm0808_cause reset
Definition: gsm_49_031.h:195
osmo_gcr_dump
char * osmo_gcr_dump(const struct osmo_lcls *lcls)
Dump GCR struct into static string buffer for printing.
Definition: gsm0808_utils.c:687
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:699
GPRS_DET_T_MT_REATT_REQ
#define GPRS_DET_T_MT_REATT_REQ
Definition: gsm_04_08_gprs.h:64
gsm_mncc_progress::location
int location
Definition: mncc.h:58
osmo_gsup_message::num_pdp_infos
size_t num_pdp_infos
Definition: gsup.h:312
abis_rsl_rll_hdr::link_id
uint8_t link_id
Definition: gsm_08_58.h:91
osmo_gad_dec_ell_point_unc_circle
static int osmo_gad_dec_ell_point_unc_circle(struct osmo_gad_ell_point_unc_circle *v, struct osmo_gad_err **err, void *err_ctx, const struct gad_raw_ell_point_unc_circle *raw)
Definition: gad.c:277
lapdm_entity_reset
void lapdm_entity_reset(struct lapdm_entity *le)
Reset an entire LAPDm entity and all its datalinks.
Definition: lapdm.c:1479
IP_V4_ADDR_LEN
#define IP_V4_ADDR_LEN
Definition: gsm0808_utils.c:34
ipaccess_unit::unit_name
char * unit_name
Definition: ipa.h:17
osmo_gsup_pdp_info::have_info
int have_info
Definition: gsup.h:258
GSM0808_IE_EMLPP_PRIORITY
@ GSM0808_IE_EMLPP_PRIORITY
Definition: gsm_08_08.h:245
BSS_MAP_MSG_CLASSMARK_UPDATE
@ BSS_MAP_MSG_CLASSMARK_UPDATE
Definition: gsm_08_08.h:152
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:1
osmo_cbsp_msg_status_query_complete::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:189
osmo_gsm48_si13_info::spgc_ccch_sup
uint8_t spgc_ccch_sup
Definition: gsm48_rest_octets.h:118
nri_v_matches_range
static bool nri_v_matches_range(const struct osmo_nri_range *range, int16_t nri_v)
Match NRI value against a list NRI ranges.
Definition: gsm23236.c:50
GSM411_RP_CAUSE_MO_UNIDENTIFIED_SUBSCR
@ GSM411_RP_CAUSE_MO_UNIDENTIFIED_SUBSCR
Definition: gsm_04_11.h:73
osmo_gad_raw_to_str_c
char * osmo_gad_raw_to_str_c(void *ctx, const union gad_raw *raw)
Return a human readable representation of a raw GAD PDU.
Definition: gad.c:432
ipaccess_unit::bts_id
uint16_t bts_id
Definition: ipa.h:15
osmo_gsup_message::source_name
const uint8_t * source_name
For messages routed via another GSUP entity (via HLR), the IPA name of the entity that sent this mess...
Definition: gsup.h:365
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:360
tch_hr_state
static const uint8_t tch_hr_state[][2]
Definition: gsm0503_conv.c:755
OSMO_I460_RATE_16k
@ OSMO_I460_RATE_16k
Definition: i460_mux.h:35
osmo_bssmap_le_dec_reset
static int osmo_bssmap_le_dec_reset(enum gsm0808_cause *cause, enum bssmap_le_msgt msgt, struct osmo_bssmap_le_err **err, void *err_ctx, const struct tlv_parsed *tp)
Definition: bssmap_le.c:453
OSMO_GSUP_IK_IE
@ OSMO_GSUP_IK_IE
Definition: gsup.h:84
osmo_phsap_prim::u
union osmo_phsap_prim::@16 u
request-specific data
GSM0808_IE_CIPHER_RESPONSE_MODE
@ GSM0808_IE_CIPHER_RESPONSE_MODE
Definition: gsm_08_08.h:224
osmo_i460_timeslot::schan
struct osmo_i460_subchan schan[8]
Definition: i460_mux.h:77
osmo_gsm48_classmark_a5_name
const char * osmo_gsm48_classmark_a5_name(const struct osmo_gsm48_classmark *cm)
Return a string representation of A5 cipher algorithms indicated by Classmark 1, 2 and 3.
Definition: gsm48.c:1782
osmo_gsup_message::sm_alert_rsn
enum osmo_gsup_sms_sm_alert_rsn_t sm_alert_rsn
Alert reason (see 3GPP TS 29.002, 7.6.8.8)
Definition: gsup.h:353
GSM48_CC_CAUSE_MSGTYPE_NOTEXIST
@ GSM48_CC_CAUSE_MSGTYPE_NOTEXIST
Definition: gsm_04_08.h:1869
gsm0808_perform_location_response
Definition: gsm0808_lcs.h:41
GSM48_MT_RR_UTRAN_CLSM_CHG
#define GSM48_MT_RR_UTRAN_CLSM_CHG
Definition: gsm_04_08.h:1484
osmo_gsm48_si_ro_info::si2ter_indicator
bool si2ter_indicator
Definition: gsm48_rest_octets.h:90
GSM0808_SC_CFG_DEFAULT_AMR_7_95
@ GSM0808_SC_CFG_DEFAULT_AMR_7_95
Definition: gsm_08_08.h:581
GSM0808_IE_TIME_INDICATION
@ GSM0808_IE_TIME_INDICATION
Definition: gsm_08_08.h:236
cm2_len
uint8_t cm2_len
Definition: gsm_04_08.h:0
SGSAP_MSGT_RESET_IND
@ SGSAP_MSGT_RESET_IND
Definition: gsm_29_118.h:26
GSM0808_IE_GANSS_LOCATION_TYPE
@ GSM0808_IE_GANSS_LOCATION_TYPE
Definition: gsm_08_08.h:295
gsm0808_encrypt_info
Definition: gsm_08_08.h:619
osmo_cbsp_num_compl_ent::cell_id
union gsm0808_cell_id_u cell_id
Definition: cbsp.h:53
NM_MT_SEND_TEST_REP
@ NM_MT_SEND_TEST_REP
Definition: gsm_12_21.h:141
osmo_cbsp_load_query_failure
Definition: cbsp.h:170
OSMO_GSUP_TO_MSGT_ERROR
#define OSMO_GSUP_TO_MSGT_ERROR(msgt)
Definition: gsup.h:209
GSM48_MT_MM_ABORT
#define GSM48_MT_MM_ABORT
Definition: gsm_04_08.h:1554
lcs_cause_ie::present
bool present
Definition: gsm_49_031.h:59
GSM0808_CAUSE_DTM_HO_INVALID_PS_IND
@ GSM0808_CAUSE_DTM_HO_INVALID_PS_IND
Definition: gsm_08_08.h:418
osmo_tmsi_nri_v_limit_by_ranges
int osmo_tmsi_nri_v_limit_by_ranges(uint32_t *tmsi, const struct osmo_nri_ranges *nri_ranges, uint8_t nri_bitlen)
Apply osmo_nri_v_limit_by_ranges() in-place on the NRI value included in a TMSI.
Definition: gsm23236.c:205
GPRS_UPD_T_RA_LA
#define GPRS_UPD_T_RA_LA
Definition: gsm_04_08_gprs.h:73
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:29
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:1295
osmo_gsup_message_type_names
const struct value_string osmo_gsup_message_type_names[]
Definition: gsup.c:39
osmo_gad_ell_point::lon
int32_t lon
Longitude in micro degrees (degrees * 1e6), -180'000'000 (W) .
Definition: gad.h:39
osmo_timer_del
void osmo_timer_del(struct osmo_timer_list *timer)
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:2145
cbsp_header
Definition: gsm_48_049.h:120
gsm411_smc_inst::cp_rel
int cp_rel
Definition: gsm0411_smc.h:40
osmo_gsm48_si_gprs_ms_txpwr_max_ccch::present
bool present
Definition: gsm48_rest_octets.h:44
A51_R2_CLKBIT
#define A51_R2_CLKBIT
Definition: a5.c:164
GSM0808_IE_RESOURCE_SITUATION
@ GSM0808_IE_RESOURCE_SITUATION
Definition: gsm_08_08.h:237
osmo_gprs_cell_options::t3168
uint32_t t3168
LAPD_FORM_S
@ LAPD_FORM_S
Definition: lapd_core.h:91
cbsp_dec_error_ind
static int cbsp_dec_error_ind(struct osmo_cbsp_error_ind *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:1149
msgb_l3
#define msgb_l3(m)
osmo_cbsp_fail_ent::list
struct llist_head list
Definition: cbsp.h:75
gsm0480_create_notifySS
struct msgb * gsm0480_create_notifySS(const char *text)
Definition: gsm0480.c:141
OSMO_GSUP_MSGT_CHECK_IMEI_REQUEST
@ OSMO_GSUP_MSGT_CHECK_IMEI_REQUEST
Definition: gsup.h:178
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:79
lat
uint8_t lat[3]
Definition: gsm_23_032.h:1
gsm340_vp_relative_semioctet
static unsigned long gsm340_vp_relative_semioctet(uint8_t *sms_vp)
Definition: gsm0411_utils.c:200
osmo_plmn_cmp
int osmo_plmn_cmp(const struct osmo_plmn_id *a, const struct osmo_plmn_id *b)
Definition: gsm23003.c:540
NM_NACK_MSGINCONSIST_PHYSCFG
@ NM_NACK_MSGINCONSIST_PHYSCFG
Definition: gsm_12_21.h:627
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:97
llist_entry
#define llist_entry(ptr, type, member)
smcdownstate::rout
int(* rout)(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:426
GSM48_CC_CAUSE_ACM_GE_ACM_MAX
@ GSM48_CC_CAUSE_ACM_GE_ACM_MAX
Definition: gsm_04_08.h:1859
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:645
send_rll_simple
static int send_rll_simple(uint8_t msg_type, struct lapdm_msg_ctx *mctx)
Definition: lapdm.c:535
GSM48_MT_RR_IS_TO_CDMA2K_HANDO
#define GSM48_MT_RR_IS_TO_CDMA2K_HANDO
Definition: gsm_04_08.h:1487
gsm0808_handover_failure::codec_list_bss_supported
struct gsm0808_speech_codec_list codec_list_bss_supported
Definition: gsm0808.h:276
msgb::l2h
unsigned char * l2h
ipa_msg_alloc
struct msgb * ipa_msg_alloc(int headroom)
Definition: ipa.c:704
fn_remap_table_ptr
static struct fn_remap_table * fn_remap_table_ptr[FN_REMAP_MAX]
Definition: gsm0502.c:116
GSM_CAUSE_PROTO_ERR_UNSPEC
@ GSM_CAUSE_PROTO_ERR_UNSPEC
Definition: gsm_04_08_gprs.h:270
SGSAP_SGS_CAUSE_UE_UNREACHABLE
@ SGSAP_SGS_CAUSE_UE_UNREACHABLE
Definition: gsm_29_118.h:132
NM_NACK_CANT_PERFORM
@ NM_NACK_CANT_PERFORM
Definition: gsm_12_21.h:615
osmo_strbuf
gea3_impl
static struct gprs_cipher_impl gea3_impl
Definition: gprs_gea.c:34
gsm0808_speech_codec::pt
bool pt
Definition: gsm_08_08.h:543
_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
chan_nr
uint8_t chan_nr
Definition: gsm_04_08.h:0
GSM48_MT_RR_DTM_INFO
#define GSM48_MT_RR_DTM_INFO
Definition: gsm_04_08.h:1523
GSM0808_IE_TRIGGERID
@ GSM0808_IE_TRIGGERID
Definition: gsm_08_08.h:227
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:492
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:122
NM_MT_SET_BTS_ATTR
@ NM_MT_SET_BTS_ATTR
Definition: gsm_12_21.h:127
SGSAP_MSGT_TMSI_REALL_CMPL
@ SGSAP_MSGT_TMSI_REALL_CMPL
Definition: gsm_29_118.h:17
GSM48_IE_REPEAT_SEQ
#define GSM48_IE_REPEAT_SEQ
Definition: gsm_04_08.h:1686
gsm0808_create_perform_location_request
struct msgb * gsm0808_create_perform_location_request(const struct gsm0808_perform_location_request *params)
Definition: gsm0808.c:1333
GSM48_IE_CLIR_INVOC
#define GSM48_IE_CLIR_INVOC
Definition: gsm_04_08.h:1683
gsm0808_handover_complete::speech_codec_chosen
struct gsm0808_speech_codec speech_codec_chosen
Definition: gsm0808.h:252
osmo_gcr_parsed::net_len
uint8_t net_len
Network ID, ITU-T Q.1902.3.
Definition: gsm29205.h:35
osmo_gsm48_lsa_params::present
unsigned int present
Definition: gsm48_rest_octets.h:84
lapdm_entity_init2
void lapdm_entity_init2(struct lapdm_entity *le, enum lapdm_mode mode, const int *t200_ms, int n200) OSMO_DEPRECATED("Use lapdm_entity_init3() instead")
initialize a LAPDm entity and all datalinks inside
Definition: lapdm.c:180
gsm0808_handover_performed::speech_codec_chosen_present
bool speech_codec_chosen_present
Definition: gsm0808.h:296
NM_SEVER_CEASED
@ NM_SEVER_CEASED
Definition: gsm_12_21.h:581
GSM0808_IE_CHOSEN_ENCR_ALG
@ GSM0808_IE_CHOSEN_ENCR_ALG
Definition: gsm_08_08.h:233
GSM0808_IE_CN_TO_MS_TRANSP_INFO
@ GSM0808_IE_CN_TO_MS_TRANSP_INFO
Definition: gsm_08_08.h:322
gsm0808_create_cipher_reject
struct msgb * gsm0808_create_cipher_reject(enum gsm0808_cause cause)
Create BSSMAP Cipher Mode Reject message.
Definition: gsm0808.c:301
gsm0808_speech_codec_list::len
uint8_t len
Definition: gsm_08_08.h:604
osmo_gsm48_si13_info::bcch_change_mark
uint8_t bcch_change_mark
Definition: gsm48_rest_octets.h:115
gsm0502_hop_seq_gen
uint16_t gsm0502_hop_seq_gen(const struct gsm_time *t, uint8_t hsn, uint8_t maio, size_t n, const uint16_t *ma)
Hopping sequence generation as per 3GPP TS 45.002, section 6.2.3.
Definition: gsm0502.c:233
tch_afs_7_4_output
static const uint8_t tch_afs_7_4_output[][2]
Definition: gsm0503_conv.c:421
osmo_gsm48_si_ro_info::early_cm_ctrl
bool early_cm_ctrl
Definition: gsm48_rest_octets.h:91
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:1065
gsm48_hdr::msg_type
uint8_t msg_type
Definition: gsm_04_08.h:893
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:296
osmo_cbsp_write_replace::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:87
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:1821
enc_speech_codec
static uint8_t enc_speech_codec(struct msgb *msg, const struct gsm0808_speech_codec *sc)
Definition: gsm0808_utils.c:209
apn_strbuf
static __thread char apn_strbuf[APN_MAXLEN+1]
Definition: apn.c:34
NM_ATT_POWER_CLASS
@ NM_ATT_POWER_CLASS
Definition: gsm_12_21.h:358
RSL_MT_EST_CONF
@ RSL_MT_EST_CONF
Definition: gsm_08_58.h:163
gsm48_ie.h
GSM411_MT_RP_DATA_MO
#define GSM411_MT_RP_DATA_MO
Definition: gsm_04_11.h:52
BSSMAP_LE_LOC_INFO_BC_DECIPHER_KEYS
@ BSSMAP_LE_LOC_INFO_BC_DECIPHER_KEYS
Definition: gsm_49_031.h:135
GSM414_MT_ACT_EMMI_ACK
#define GSM414_MT_ACT_EMMI_ACK
Definition: gsm_04_14.h:54
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:745
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:221
msgb::data_len
uint16_t data_len
GSM48_CC_CAUSE_SWITCH_CONG
@ GSM48_CC_CAUSE_SWITCH_CONG
Definition: gsm_04_08.h:1848
GSM48_MT_CC_RELEASE_COMPL
#define GSM48_MT_CC_RELEASE_COMPL
Definition: gsm_04_08.h:1587
osmo_cbsp_msg_status_query::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:181
MDL_CAUSE_UNSOL_UA_RESP
#define MDL_CAUSE_UNSOL_UA_RESP
Definition: lapd_core.h:35
OSMO_GSUP_MSGT_E_PREPARE_HANDOVER_REQUEST
@ OSMO_GSUP_MSGT_E_PREPARE_HANDOVER_REQUEST
Definition: gsup.h:182
GSM0808_IE_DLCI
@ GSM0808_IE_DLCI
Definition: gsm_08_08.h:213
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:421
osmo_bsslap_msgt_names
const struct value_string osmo_bsslap_msgt_names[]
Definition: bsslap.c:285
cbsp_dec_load_query
static int cbsp_dec_load_query(struct osmo_cbsp_load_query *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:896
GSM0808_IE_LCS_PRIORITY
@ GSM0808_IE_LCS_PRIORITY
Definition: gsm_08_08.h:253
gsm0808_handover_request::current_channel_type_1
uint8_t current_channel_type_1
Definition: gsm0808.h:171
bsslap_cause
bsslap_cause
Definition: gsm_48_071.h:45
tch_afs_5_15_term_state
static const uint8_t tch_afs_5_15_term_state[]
Definition: gsm0503_conv.c:616
osmo_bsslap_dec
int osmo_bsslap_dec(struct bsslap_pdu *pdu, struct osmo_bsslap_err **err, void *err_ctx, const uint8_t *data, size_t len)
Decode BSSLAP PDU (3GPP TS 48.071).
Definition: bsslap.c:216
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:947
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:271
msgb_tlv1_push
static uint8_t * msgb_tlv1_push(struct msgb *msg, uint8_t tag, uint8_t val)
push 1-byte tagged value
Definition: tlv.h:437
osmo_cbsp_msgb_alloc
struct msgb * osmo_cbsp_msgb_alloc(void *ctx, const char *name)
Definition: cbsp.c:39
__attribute__
__attribute__((constructor))
Definition: gsm_utils.c:130
GSM0808_CHAN_SPEECH
@ GSM0808_CHAN_SPEECH
Definition: gsm_08_08.h:439
abis_nm_test_name
const char * abis_nm_test_name(uint8_t test)
Get human-readable string for OML test.
Definition: abis_nm.c:676
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:528
osmo_i460_schan_desc::user_data
void * user_data
Definition: i460_mux.h:97
lapdm_channel::lapdm_acch
struct lapdm_entity lapdm_acch
Associated Control Channel.
Definition: lapdm.h:75
send_dl_simple
static int send_dl_simple(uint8_t prim, uint8_t op, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:412
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:1552
GSM0808_LCLS_CFG_BOTH_WAY_AND_SEND_DL
@ GSM0808_LCLS_CFG_BOTH_WAY_AND_SEND_DL
Definition: gsm_08_08.h:643
osmo_bssmap_le_tlvdef
static const struct tlv_definition osmo_bssmap_le_tlvdef
Definition: bssmap_le.c:46
GSM0808_CAUSE_BETTER_CELL
@ GSM0808_CAUSE_BETTER_CELL
Definition: gsm_08_08.h:372
GSM411_ALLOC_HEADROOM
#define GSM411_ALLOC_HEADROOM
Definition: gsm0411_utils.c:48
_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:36
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
argc
argc
GSM48_IE_START_TIME
#define GSM48_IE_START_TIME
Definition: gsm_04_08.h:1735
GSM0808_CAUSE_DOWNLINK_STRENGTH
@ GSM0808_CAUSE_DOWNLINK_STRENGTH
Definition: gsm_08_08.h:365
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:401
NM_MT_OPSTART_NACK
@ NM_MT_OPSTART_NACK
Definition: gsm_12_21.h:171
gsm48_ra_equal
bool gsm48_ra_equal(const struct gprs_ra_id *raid1, const struct gprs_ra_id *raid2)
Compare a TS 04.08 Routing Area Identifier.
Definition: gsm48.c:1305
comp128v3
int comp128v3(const uint8_t *ki, const uint8_t *rand, uint8_t *sres, uint8_t *kc)
Perform COMP128v3 algorithm.
Definition: comp128v23.c:119
GSM0808_SC_CFG_DEFAULT_FR_AMR
@ GSM0808_SC_CFG_DEFAULT_FR_AMR
Definition: gsm_08_08.h:564
bitvec_zero
void bitvec_zero(struct bitvec *bv)
GSM48_RR_CAUSE_NORMAL
@ GSM48_RR_CAUSE_NORMAL
Definition: gsm_04_08.h:1804
gsm0808_handover_failure::rr_cause_present
bool rr_cause_present
Definition: gsm0808.h:273
gsm340_vp_absolute
static unsigned long gsm340_vp_absolute(uint8_t *sms_vp)
Definition: gsm0411_utils.c:169
abis_rsl_common_hdr::msg_discr
uint8_t msg_discr
message discriminator (ABIS_RSL_MDISC_*)
Definition: gsm_08_58.h:76
NM_MT_START_MEAS
@ NM_MT_START_MEAS
Definition: gsm_12_21.h:185
osmo_sub_auth_data::gsm
struct osmo_sub_auth_data::@105::@107 gsm
gsm48_cc_cause_names
const struct value_string gsm48_cc_cause_names[]
TS 04.08 10.5..4.11 Call Control Cause Values.
Definition: gsm48.c:1523
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:303
GMM_CAUSE_IMPL_DETACHED
@ GMM_CAUSE_IMPL_DETACHED
Definition: gsm_04_08_gprs.h:215
ipa_ccm_id_resp_parse
int ipa_ccm_id_resp_parse(struct tlv_parsed *dec, const uint8_t *buf, unsigned int len)
Parse the payload part of an IPA CCM ID RESP, return tlv_parsed format.
Definition: ipa.c:204
OSMO_EVT_CRIT_PROC_STOP
@ OSMO_EVT_CRIT_PROC_STOP
Definition: gsm_12_21.h:263
TLLI_RANDOM
@ TLLI_RANDOM
Definition: gsm_utils.h:191
GA_MT_RC_CELL_BCAST_INFO
@ GA_MT_RC_CELL_BCAST_INFO
Definition: gsm_44_318.h:30
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
CBSP_MSGT_WRITE_REPLACE_FAIL
@ CBSP_MSGT_WRITE_REPLACE_FAIL
Definition: gsm_48_049.h:53
bssmap_le_perform_loc_req
Definition: gsm_49_031.h:161
lapdm_channel::name
char * name
human-readable name
Definition: lapdm.h:74
lapd_susp_req
static int lapd_susp_req(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1971
osmo_cbsp_msg_status_query::old_serial_nr
uint16_t old_serial_nr
Definition: cbsp.h:179
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:79
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:913
gsm0808_handover_request::current_channel_type_1_present
bool current_channel_type_1_present
Definition: gsm0808.h:170
osmo_gad_raw_len
static int osmo_gad_raw_len(const union gad_raw *gad_raw)
Definition: gad.c:292
aes_wrap.h
msgb_pull
static unsigned char * msgb_pull(struct msgb *msgb, unsigned int len)
GSM48_IE_AUX_STATUS
#define GSM48_IE_AUX_STATUS
Definition: gsm_04_08.h:1665
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:185
GSM48_CC_CAUSE_INVAL_TRANS_NET
@ GSM48_CC_CAUSE_INVAL_TRANS_NET
Definition: gsm_04_08.h:1866
EGPRS_CPS_TYPE3_TBL_SZ
#define EGPRS_CPS_TYPE3_TBL_SZ
Definition: gprs_rlc.c:22
osmo_gprs_cell_options::dtm_supported
uint8_t dtm_supported
osmo_earfcn_si2q::prio
uint8_t prio
Definition: sysinfo.h:61
GSM48_MT_RR_SYSINFO_3
#define GSM48_MT_RR_SYSINFO_3
Definition: gsm_04_08.h:1492
osmo_cbsp_write_replace_complete::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:115
MDL_CAUSE_SEQ_ERR
#define MDL_CAUSE_SEQ_ERR
Definition: lapd_core.h:39
GSM48_MT_RR_SYSINFO_13
#define GSM48_MT_RR_SYSINFO_13
Definition: gsm_04_08.h:1504
T200_SDCCH_SAPI3
@ T200_SDCCH_SAPI3
Definition: gsm_12_21.h:653
RSL_MT_RES_REQ
@ RSL_MT_RES_REQ
Definition: gsm_08_58.h:172
gsm_time::t2
uint8_t t2
Definition: gsm_utils.h:47
l2downstate::rout
int(* rout)(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:2147
msgb_queue_free
static void msgb_queue_free(struct llist_head *queue)
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:384
GSM0808_ALG_ID_A5_1
@ GSM0808_ALG_ID_A5_1
Definition: gsm_08_08.h:522
osmo_i460_schan_desc::demux
struct osmo_i460_schan_desc::@9 demux
osmo_bssmap_le_enc_perform_loc_abort
static int osmo_bssmap_le_enc_perform_loc_abort(struct msgb *msg, const struct lcs_cause_ie *params)
Definition: bssmap_le.c:558
GSM48_MT_RR_CFG_CHG_CMD
#define GSM48_MT_RR_CFG_CHG_CMD
Definition: gsm_04_08.h:1455
osmo_cbsp_load_query::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:160
NM_ATT_T200
@ NM_ATT_T200
Definition: gsm_12_21.h:370
H
H
CELL_IDENT_UTRAN_LAC_RNC
@ CELL_IDENT_UTRAN_LAC_RNC
Definition: gsm_08_08.h:27
append_gprs_mobile_alloc
static int append_gprs_mobile_alloc(struct bitvec *bv)
Definition: gsm48_rest_octets.c:880
osmo_gsm48_classmark2_is_r99
bool osmo_gsm48_classmark2_is_r99(const struct gsm48_classmark2 *cm2, uint8_t cm2_len)
Definition: gsm48.c:1728
GSM0808_IE_LCLS_CONN_STATUS_CTRL
@ GSM0808_IE_LCLS_CONN_STATUS_CTRL
Definition: gsm_08_08.h:314
GSM0808_IE_SEGMENTATION
@ GSM0808_IE_SEGMENTATION
Definition: gsm_08_08.h:265
GSM48_RR_CAUSE_INVALID_MAND_INF
@ GSM48_RR_CAUSE_INVALID_MAND_INF
Definition: gsm_04_08.h:1818
gsm411_bcdify
uint8_t gsm411_bcdify(uint8_t value)
Turn int into semi-octet representation: 98 => 0x89.
Definition: gsm0411_utils.c:61
GSM0808_CAUSE_GERAN_IU_MODE_FAILURE
@ GSM0808_CAUSE_GERAN_IU_MODE_FAILURE
Definition: gsm_08_08.h:406
SGSAP_ID_EPS_T_NETWORK_INITIATED
@ SGSAP_ID_EPS_T_NETWORK_INITIATED
Definition: gsm_29_118.h:95
CBSP_MSGT_SET_DRX
@ CBSP_MSGT_SET_DRX
Definition: gsm_48_049.h:63
GSM48_MT_GMM_ID_RESP
#define GSM48_MT_GMM_ID_RESP
Definition: gsm_04_08_gprs.h:32
tch_ahs_5_15_puncture
static const int tch_ahs_5_15_puncture[]
Definition: gsm0503_conv.c:1024
GSM_MAX_FN
#define GSM_MAX_FN
Definition: gsm_utils.h:39
tx_dequeue_dcch_msgb
static struct msgb * tx_dequeue_dcch_msgb(struct lapdm_entity *le)
Definition: lapdm.c:384
BSS_MAP_MSG_SAPI_N_REJECT
@ BSS_MAP_MSG_SAPI_N_REJECT
Definition: gsm_08_08.h:106
GSM48_MT_RR_CIPH_M_COMPL
#define GSM48_MT_RR_CIPH_M_COMPL
Definition: gsm_04_08.h:1453
gsm411_mmsms_send_msg
static int gsm411_mmsms_send_msg(struct gsm411_smc_inst *inst)
Definition: gsm0411_smc.c:184
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:66
GSM48_PDISC_SM_GPRS
#define GSM48_PDISC_SM_GPRS
Definition: gsm_04_08.h:1339
gsm411_smc_inst::id
uint64_t id
Definition: gsm0411_smc.h:30
osmo_cbsp_keep_alive_complete
Definition: cbsp.h:223
gsm48_hdr_pdisc
static uint8_t gsm48_hdr_pdisc(const struct gsm48_hdr *hdr)
Definition: gsm_04_08.h:1352
gsm0808_bssmap_name
const char * gsm0808_bssmap_name(uint8_t msg_type)
Return string name of BSSMAP Message Type.
Definition: gsm0808.c:1681
apn.h
ipa_prepend_header_ext
void ipa_prepend_header_ext(struct msgb *msg, int proto)
Definition: ipa.c:529
gsm48_cc_msg_name
const char * gsm48_cc_msg_name(uint8_t msgtype)
return string representation of CC Message Type
Definition: gsm48.c:312
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:157
GSM0808_SCT_FR2
@ GSM0808_SCT_FR2
GSM EFR.
Definition: gsm_08_08.h:504
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:2
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:93
tch_axs_sid_update_term_state
static const uint8_t tch_axs_sid_update_term_state[]
Definition: gsm0503_conv.c:1143
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:36
osmo_cbsp_decoded::kill_fail
struct osmo_cbsp_kill_failure kill_fail
Definition: cbsp.h:259
lapd_rel_req_idle
static int lapd_rel_req_idle(struct osmo_dlsap_prim *dp, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:2130
DLGLOBAL
#define DLGLOBAL
osmo_i460_schan_desc::in_cb_queue_empty
in_cb_queue_empty_t in_cb_queue_empty
Definition: i460_mux.h:103
OSMO_GPRS_CS1
OSMO_GPRS_CS1
gsm0808_cell_id_u::lai_and_lac
struct osmo_location_area_id lai_and_lac
Definition: gsm0808_utils.h:45
gsm48_classmark3::cs_ps_srvcc_geran_utra
uint8_t cs_ps_srvcc_geran_utra
Definition: gsm_04_08.h:218
osmo_gsup_message::ss_info_len
size_t ss_info_len
Definition: gsup.h:331
gsm0808_old_bss_to_new_bss_info::extra_information
struct gsm0808_old_bss_to_new_bss_info::@6 extra_information
SGSAP_IE_IMEISV
@ SGSAP_IE_IMEISV
Definition: gsm_29_118.h:60
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:607
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:922
OSMO_CGI_PART_PLMN
@ OSMO_CGI_PART_PLMN
Definition: gsm23003.h:42
OSMO_GSUP_MSGT_LOCATION_CANCEL_RESULT
@ OSMO_GSUP_MSGT_LOCATION_CANCEL_RESULT
Definition: gsup.h:160
GSM411_RP_CAUSE_MO_REQ_FAC_NOTIMPL
@ GSM411_RP_CAUSE_MO_REQ_FAC_NOTIMPL
Definition: gsm_04_11.h:81
gsm0808_decode_cell_id_u
int gsm0808_decode_cell_id_u(union gsm0808_cell_id_u *out, enum CELL_IDENT discr, const uint8_t *buf, unsigned int len)
Decode a single GSM 08.08 Cell ID list element payload.
Definition: gsm0808_utils.c:845
gprs_cs_desc
Definition: gprs_rlc.c:121
LAPD_U_UA
#define LAPD_U_UA
Definition: lapd_core.c:94
bssap_le_pdu::bssmap_le
struct bssmap_le_pdu bssmap_le
Definition: gsm_49_031.h:207
osmo_cbsp_restart::bcast_msg_type
uint8_t bcast_msg_type
Definition: cbsp.h:229
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_ra_id::digits
uint8_t digits[3]
Definition: gsm_04_08.h:2104
u32
uint32_t u32
Definition: common.h:19
GSM0808_IE_REROUTE_COMPL_OUTCOME
@ GSM0808_IE_REROUTE_COMPL_OUTCOME
Definition: gsm_08_08.h:311
A5_R2_TAPS
#define A5_R2_TAPS
Definition: a5.c:116
osmo_fd
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:697
gsm0808_lcls_control_name
static const char * gsm0808_lcls_control_name(enum gsm0808_lcls_control val)
Definition: gsm0808.h:337
GPRS_SERVICE_T_MBMS_MC_SERV
@ GPRS_SERVICE_T_MBMS_MC_SERV
Definition: gsm_04_08_gprs.h:416
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:177
GSM48_MT_MM_IMSI_DETACH_IND
#define GSM48_MT_MM_IMSI_DETACH_IND
Definition: gsm_04_08.h:1534
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:96
GSM48_CC_CAUSE_NUMBER_CHANGED
@ GSM48_CC_CAUSE_NUMBER_CHANGED
Definition: gsm_04_08.h:1837
GSM_CAUSE_REQ_SERV_OPT_NOTSUB
@ GSM_CAUSE_REQ_SERV_OPT_NOTSUB
Definition: gsm_04_08_gprs.h:254
osmo_gsm48_classmark1_is_r99
bool osmo_gsm48_classmark1_is_r99(const struct gsm48_classmark1 *cm1)
Definition: gsm48.c:1723
osmo_gsup_message::sm_rp_da
const uint8_t * sm_rp_da
Definition: gsup.h:340
gsm0808_handover_failure
Definition: gsm0808.h:270
CELL_IDENT_BSS
@ CELL_IDENT_BSS
Definition: gsm_08_08.h:24
msgb_l2
#define msgb_l2(m)
smrdatastate::type
int type
Definition: gsm0411_smr.c:432
osmo_i460_schan_desc::bit_offset
uint8_t bit_offset
Definition: i460_mux.h:83
gsm0808_create_sapi_reject
struct msgb * gsm0808_create_sapi_reject(uint8_t link_id) OSMO_DEPRECATED("Use gsm0808_create_sapi_reject_cause() instead")
Create BSSMAP SAPI N Reject message (with hard-coded cause "BSS not equipped").
Definition: gsm0808.c:473
GSM_MI_TYPE_IMEI
#define GSM_MI_TYPE_IMEI
Definition: gsm_04_08.h:1646
NM_PCAUSE_T_X721
@ NM_PCAUSE_T_X721
Definition: gsm_12_21.h:591
BSSLAP_MSGT_REJECT
@ BSSLAP_MSGT_REJECT
Definition: gsm_48_071.h:35
GSM48_MT_CC_HOLD
#define GSM48_MT_CC_HOLD
Definition: gsm_04_08.h:1578
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:235
GSM_PCHAN_TCH_F_PDCH
@ GSM_PCHAN_TCH_F_PDCH
Definition: gsm_utils.h:212
gsm0502_calc_paging_group
unsigned int gsm0502_calc_paging_group(struct gsm48_control_channel_descr *chan_desc, uint64_t imsi)
Definition: gsm0502.c:37
LCS_CAUSE_POS_METH_FAILURE
@ LCS_CAUSE_POS_METH_FAILURE
Definition: gsm_49_031.h:44
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:720
osmo_gsm48_range
osmo_gsm48_range
Definition: gsm48_arfcn_range_encode.h:7
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:101
gad_raw::h
struct gad_raw_head h
Definition: gsm_23_032.h:240
GSM340_TP_VPF_ENHANCED
#define GSM340_TP_VPF_ENHANCED
Definition: gsm_04_11.h:135
GSM48_IE_RR_PACKET_UL
#define GSM48_IE_RR_PACKET_UL
Definition: gsm_04_08.h:1721
BSS_MAP_MSG_CHANGE_CIRCUIT_ACKNOWLEDGE
@ BSS_MAP_MSG_CHANGE_CIRCUIT_ACKNOWLEDGE
Definition: gsm_08_08.h:145
GPRS_ALGO_GEA1
@ GPRS_ALGO_GEA1
Definition: gprs_cipher.h:15
gsm0808_lcls_control
gsm0808_lcls_control
Definition: gsm_08_08.h:651
append_utran_fdd
static int append_utran_fdd(struct bitvec *bv, uint16_t u, int *sc, size_t length)
Definition: gsm48_rest_octets.c:351
IPAC_IDTAG_LOCATION2
@ IPAC_IDTAG_LOCATION2
Definition: ipaccess.h:64
BSS_MAP_MSG_ASSIGMENT_FAILURE
#define BSS_MAP_MSG_ASSIGMENT_FAILURE
Definition: gsm_08_08.h:187
_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:522
osmo_bsslap_enc
int osmo_bsslap_enc(struct msgb *msg, const struct bsslap_pdu *pdu)
Encode BSSLAP PDU and append to msgb (3GPP TS 48.071).
Definition: bsslap.c:167
gsm0406_dlci_sapi_names
const struct value_string gsm0406_dlci_sapi_names[]
Definition: gsm0808.c:1574
DLCI_SAPI_RR_MM_CC
@ DLCI_SAPI_RR_MM_CC
Definition: gsm_08_08.h:66
bssmap_le_pdu::perform_loc_abort
struct lcs_cause_ie perform_loc_abort
Definition: gsm_49_031.h:199
aes_encrypt_init
void * aes_encrypt_init(const u8 *key, size_t len)
Definition: aes-internal-enc.c:101
gsm_04_11.h
LOGP
#define LOGP(ss, level, fmt, args...)
APPEND_STR
#define APPEND_STR(fmt, args...)
Definition: gsm0808_utils.c:1916
cbsp.h
bitvec_spare_padding
int bitvec_spare_padding(struct bitvec *bv, unsigned int up_to_bit)
ipa_id_req_msg
static const uint8_t ipa_id_req_msg[]
Definition: ipa.c:68
msgb::dst
void * dst
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:524
BSS_MAP_MSG_UPLINK_RELEASE_CMD
@ BSS_MAP_MSG_UPLINK_RELEASE_CMD
Definition: gsm_08_08.h:173
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:218
do_mod
static uint8_t do_mod(uint8_t x, uint8_t m)
Definition: lapd_core.c:127
gsm48_classmark3::sel_ciph_dl_sacch
bool sel_ciph_dl_sacch
Definition: gsm_04_08.h:216
rslms_rx_rll_rel_req
static int rslms_rx_rll_rel_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:1179
NM_ATT_IPACC_RLC_CFG_2
@ NM_ATT_IPACC_RLC_CFG_2
Definition: gsm_12_21.h:454
BSSMAP_LE_IEI_CELL_ID_LIST
@ BSSMAP_LE_IEI_CELL_ID_LIST
Definition: gsm_49_031.h:108
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_SC_CFG_DEFAULT_AMR_10_2
@ GSM0808_SC_CFG_DEFAULT_AMR_10_2
Definition: gsm_08_08.h:582
GSM0808_IE_GLOBAL_CALL_REF
@ GSM0808_IE_GLOBAL_CALL_REF
Definition: gsm_08_08.h:312
bitvec::cur_bit
unsigned int cur_bit
llist_empty
static int llist_empty(const struct llist_head *head)
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:694
BSSLAP_IEI_TA
@ BSSLAP_IEI_TA
Definition: gsm_48_071.h:60
ussd_request
Definition: gsm0480.h:43
osmo_cbsp_load_query_failure::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:172
ipa_ccm_idtag_name
const char * ipa_ccm_idtag_name(uint8_t tag)
Definition: ipa.c:93
osmo_cbsp_decoded::kill
struct osmo_cbsp_kill kill
Definition: cbsp.h:257
GSM0808_LCLS_STS_LOCALLY_SWITCHED
@ GSM0808_LCLS_STS_LOCALLY_SWITCHED
Definition: gsm_08_08.h:666
GSM0808_IE_CELL_IDENTIFIER_LIST
@ GSM0808_IE_CELL_IDENTIFIER_LIST
Definition: gsm_08_08.h:215
osmo_mme_id::group_id
uint16_t group_id
Definition: gsm23003.h:93
GA_MT_CSR_ACT_CHAN_COMPL
@ GA_MT_CSR_ACT_CHAN_COMPL
Definition: gsm_44_318.h:37
GSM0808_CAUSE_RESPONSE_TO_MSC_INVOCATION
@ GSM0808_CAUSE_RESPONSE_TO_MSC_INVOCATION
Definition: gsm_08_08.h:368
gsm0808_perform_location_request::imsi
struct osmo_mobile_identity imsi
Definition: gsm0808_lcs.h:35
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:60
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:1894
GSM0808_CAUSE_RQSTED_SPEECH_VERSION_UNAVAILABLE
@ GSM0808_CAUSE_RQSTED_SPEECH_VERSION_UNAVAILABLE
Definition: gsm_08_08.h:399
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:1498
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:487
tch_hr_puncture
static const int tch_hr_puncture[]
Definition: gsm0503_conv.c:793
SGSAP_IE_SS_CODE
@ SGSAP_IE_SS_CODE
Definition: gsm_29_118.h:67
BSSLAP_IEI_DELTA_TIMER
@ BSSLAP_IEI_DELTA_TIMER
Definition: gsm_48_071.h:72
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 Message buffers
Definition: tlv.h:444
OSMO_STRBUF_PRINTF
#define OSMO_STRBUF_PRINTF(STRBUF, fmt, args...)
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:1553
GSM48_CC_CAUSE_COND_IE_ERR
@ GSM48_CC_CAUSE_COND_IE_ERR
Definition: gsm_04_08.h:1872
gsm340_vp_relative_integer
static unsigned long gsm340_vp_relative_integer(uint8_t *sms_vp)
Definition: gsm0411_utils.c:185
gsm_time::fn
uint32_t fn
Definition: gsm_utils.h:45
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:1423
cbsp_enc_failure
static int cbsp_enc_failure(struct msgb *msg, const struct osmo_cbsp_failure *in)
Definition: cbsp.c:380
GSM48_IE_CALLING_BCD
#define GSM48_IE_CALLING_BCD
Definition: gsm_04_08.h:1671
GSM0808_CAUSE_CCCH_OVERLOAD
@ GSM0808_CAUSE_CCCH_OVERLOAD
Definition: gsm_08_08.h:387
osmo_apn_qualify_c
char * osmo_apn_qualify_c(const void *ctx, unsigned int mcc, unsigned int mnc, const char *ni)
Definition: apn.c:49
osmo_gsm48_si_selection_params::present
uint16_t present
Definition: gsm48_rest_octets.h:65
GSM0808_PERM_FR1
@ GSM0808_PERM_FR1
GSM FR.
Definition: gsm_08_08.h:485
CBSP_IEI_CAUSE
@ CBSP_IEI_CAUSE
Definition: gsm_48_049.h:33
abis_nm_att_tlvdef
const struct tlv_definition abis_nm_att_tlvdef
GSM A-bis OML TLV parser definition.
Definition: abis_nm.c:519
osmo_gsm48_classmark::classmark1_set
bool classmark1_set
Definition: gsm_04_08.h:231
osmo_i460_subchan_del
void osmo_i460_subchan_del(struct osmo_i460_subchan *schan)
Definition: i460_mux.c:388
OSMO_GSUP_SM_RP_DA_IE
@ OSMO_GSUP_SM_RP_DA_IE
Definition: gsup.h:101
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
osmo_gprs_cell_options::ext_info_present
uint8_t ext_info_present
GSM48_IE_NAME_LONG
#define GSM48_IE_NAME_LONG
Definition: gsm_04_08.h:1652
gsm48_classmark3::ms_meas_cap
struct gsm48_classmark3::@34 ms_meas_cap
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:257
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:870
osmo_nri_ranges_vty_del
int osmo_nri_ranges_vty_del(const char **message, struct osmo_nri_range *removed_range, struct osmo_nri_ranges *nri_ranges, int argc, const char **argv)
VTY implementation for removing an NRI range from a list of ranges.
Definition: gsm23236.c:541
abis_nm_no_ack_nack
enum abis_nm_msgtype abis_nm_no_ack_nack[3]
messages without ACK/NACK
Definition: abis_nm.c:52
SGSAP_IE_MS_CLASSMARK2
@ SGSAP_IE_MS_CLASSMARK2
Definition: gsm_29_118.h:70
NM_NACK_OBJCLASS_NOTSUPP
@ NM_NACK_OBJCLASS_NOTSUPP
Definition: gsm_12_21.h:606
osmo_phsap_prim::rach_req
struct ph_rach_req_param rach_req
Definition: l1sap.h:163
GSM48_MT_MM_CM_SERV_REQ
#define GSM48_MT_MM_CM_SERV_REQ
Definition: gsm_04_08.h:1551
gsm0808_handover_performed::speech_version_chosen
enum gsm0808_permitted_speech speech_version_chosen
Definition: gsm0808.h:294
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:736
BSS_MAP_MSG_HANDOVER_REQUIRED_REJECT
@ BSS_MAP_MSG_HANDOVER_REQUIRED_REJECT
Definition: gsm_08_08.h:93
GSM48_RR_CAUSE_PROT_ERROR_UNSPC
@ GSM48_RR_CAUSE_PROT_ERROR_UNSPC
Definition: gsm_04_08.h:1823
GSM_BAND_750
@ GSM_BAND_750
Definition: gsm_utils.h:59
LAPDm_SAPI_NORMAL
#define LAPDm_SAPI_NORMAL
Definition: lapdm.c:56
GSM48_CC_CAUSE_INVAL_TRANS_ID
@ GSM48_CC_CAUSE_INVAL_TRANS_ID
Definition: gsm_04_08.h:1863
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:375
NM_SEVER_MAJOR
@ NM_SEVER_MAJOR
Definition: gsm_12_21.h:583
gsm0502_tch_h1_facch_block_map
static const uint8_t gsm0502_tch_h1_facch_block_map[3][6]
Definition: gsm0502.c:88
GSM48_IE_FRQSHORT_BEFORE
#define GSM48_IE_FRQSHORT_BEFORE
Definition: gsm_04_08.h:1700
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:136
osmo_cbsp_kill_complete::channel_ind
enum cbsp_channel_ind * channel_ind
Definition: cbsp.h:144
mi
uint8_t mi[0]
Definition: gsm_04_08.h:2
gsm0808_perform_location_request
Definition: gsm0808_lcs.h:33
osmo_bssap_le_enc
struct msgb * osmo_bssap_le_enc(const struct bssap_le_pdu *pdu)
Encode BSSAP-LE PDU returned in new msgb (3GPP TS 49.031).
Definition: bssmap_le.c:692
osmo_plmn_from_bcd
void osmo_plmn_from_bcd(const uint8_t *bcd_src, struct osmo_plmn_id *plmn)
Definition: gsm23003.c:461
GSM411_RP_CAUSE_MO_UNKNOWN_SUBSCR
@ GSM411_RP_CAUSE_MO_UNKNOWN_SUBSCR
Definition: gsm_04_11.h:75
osmo_i460_subchan::ts
struct osmo_i460_timeslot * ts
Definition: i460_mux.h:69
GPRS_SERVICE_T_DATA
@ GPRS_SERVICE_T_DATA
Definition: gsm_04_08_gprs.h:414
CBSP_MSGT_LOAD_QUERY_COMPL
@ CBSP_MSGT_LOAD_QUERY_COMPL
Definition: gsm_48_049.h:58
GSM0808_SC_CFG_AMR_10_2
@ GSM0808_SC_CFG_AMR_10_2
Definition: gsm_08_08.h:596
CBSP_IEI_NUM_OF_RES_SLOTS
@ CBSP_IEI_NUM_OF_RES_SLOTS
Definition: gsm_48_049.h:43
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:1254
TE41
#define TE41(i)
Definition: aes_i.h:83
osmo_nri_ranges_vty_add
int osmo_nri_ranges_vty_add(const char **message, struct osmo_nri_range *added_range, struct osmo_nri_ranges *nri_ranges, int argc, const char **argv, uint8_t nri_bitlen)
VTY implementation for adding an NRI range to a list of ranges.
Definition: gsm23236.c:505
gprs_ra_id::lac
uint16_t lac
Definition: gsm48.h:28
lapdm_channel_init
void lapdm_channel_init(struct lapdm_channel *lc, enum lapdm_mode mode) OSMO_DEPRECATED("Use lapdm_channel_init3() instead")
initialize a LAPDm channel and all its channels
Definition: lapdm.c:232
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:1543
gsm0808_handover_complete::codec_list_bss_supported
struct gsm0808_speech_codec_list codec_list_bss_supported
Definition: gsm0808.h:254
CELL_IDENT_NO_CELL
@ CELL_IDENT_NO_CELL
Definition: gsm_08_08.h:21
NM_ATT_IPACC_FREQ_CTRL
@ NM_ATT_IPACC_FREQ_CTRL
Definition: gsm_12_21.h:420
osmo_i460_demux_in
void osmo_i460_demux_in(struct osmo_i460_timeslot *ts, const uint8_t *data, size_t data_len)
Data from E1 timeslot into de-multiplexer.
Definition: i460_mux.c:131
osmo_cbsp_load_query_complete::channel_ind
enum cbsp_channel_ind channel_ind
Definition: cbsp.h:166
osmo_cbsp_decoded::u
union osmo_cbsp_decoded::@3 u
GSM_PCHAN_SDCCH8_SACCH8C
@ GSM_PCHAN_SDCCH8_SACCH8C
Definition: gsm_utils.h:210
rslms_rx_rll_res_req
static int rslms_rx_rll_res_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:1142
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:523
cbsp_dec_msg_status_query
static int cbsp_dec_msg_status_query(struct osmo_cbsp_msg_status_query *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:959
osmo_i460_subchan_mux
Definition: i460_mux.h:61
GMM_CAUSE_MS_ID_NOT_DERIVED
@ GMM_CAUSE_MS_ID_NOT_DERIVED
Definition: gsm_04_08_gprs.h:214
msgb_tl_put
static uint8_t * msgb_tl_put(struct msgb *msg, uint8_t tag)
put (append) a TL fields to a Message buffers
Definition: tlv.h:399
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:512
OSMO_GSUP_RES_IE
@ OSMO_GSUP_RES_IE
Definition: gsup.h:88
IPAC_IDTAG_UNITNAME
@ IPAC_IDTAG_UNITNAME
Definition: ipaccess.h:62
GSM48_MT_RR_PAG_REQ_3
#define GSM48_MT_RR_PAG_REQ_3
Definition: gsm_04_08.h:1478
fn_remap_table::len
unsigned int len
Definition: gsm0502.c:104
osmo_hexdump_nospc
char * osmo_hexdump_nospc(const unsigned char *buf, int len)
CBSP_IEI_NUM_BCAST_REQ
@ CBSP_IEI_NUM_BCAST_REQ
Definition: gsm_48_049.h:29
gsm_mncc_facility::info
char info[GSM_MAX_FACILITY]
Definition: mncc.h:64
cbsp_enc_kill
static int cbsp_enc_kill(struct msgb *msg, const struct osmo_cbsp_kill *in)
Definition: cbsp.c:230
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:788
cm2
struct gsm48_classmark2 cm2
Definition: gsm_04_08.h:1
rslms_rx_rll_est_req
static int rslms_rx_rll_est_req(struct msgb *msg, struct lapdm_datalink *dl)
Definition: lapdm.c:973
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:222
GSM48_MT_RR_SYSINFO_20
#define GSM48_MT_RR_SYSINFO_20
Definition: gsm_04_08.h:1511
osmo_bsslap_ie_enc_ta
static void osmo_bsslap_ie_enc_ta(struct msgb *msg, uint8_t ta)
Definition: bsslap.c:108
osmo_gsm48_si13_info::cell_opts
struct osmo_gprs_cell_options cell_opts
Definition: gsm48_rest_octets.h:113
find_unused_subchan_idx
static int find_unused_subchan_idx(const struct osmo_i460_timeslot *ts)
Definition: i460_mux.c:308
osmo_gummei::mme
struct osmo_mme_id mme
Definition: gsm23003.h:100
osmo_cbsp_loading_list
Definition: cbsp.h:68
bssap_le_pdu::discr
enum bssap_le_msg_discr discr
Definition: gsm_49_031.h:205
osmo_dec_gcr
int osmo_dec_gcr(struct osmo_gcr_parsed *gcr, const uint8_t *elem, uint8_t len) OSMO_DEPRECATED_OUTSIDE_LIBOSMOCORE
Decode Global Call Reference, 3GPP TS 29.205 Table B 2.1.9.1.
Definition: gsm29205.c:70
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:746
GSM48_MT_GMM_RA_UPD_COMPL
#define GSM48_MT_GMM_RA_UPD_COMPL
Definition: gsm_04_08_gprs.h:22
lapdm_send_ph_data_req
static int lapdm_send_ph_data_req(struct lapd_msg_ctx *lctx, struct msgb *msg)
Definition: lapdm.c:607
gsm0808_handover_required::speech_version_used_present
bool speech_version_used_present
Definition: gsm0808.h:141
SGSAP_IE_ADDL_PAGING_INDICATORS
@ SGSAP_IE_ADDL_PAGING_INDICATORS
Definition: gsm_29_118.h:74
osmo_gad_enc_ell_point_unc_circle
static int osmo_gad_enc_ell_point_unc_circle(struct gad_raw_ell_point_unc_circle *raw, const struct osmo_gad_ell_point_unc_circle *v)
Definition: gad.c:262
GSM48_IE_MA_BEFORE
#define GSM48_IE_MA_BEFORE
Definition: gsm_04_08.h:1720
osmo_htons
#define osmo_htons(x)
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:1577
GSM0808_ALG_ID_A5_4
@ GSM0808_ALG_ID_A5_4
Definition: gsm_08_08.h:525
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:848
GSM48_IE_CALLING_SUB
#define GSM48_IE_CALLING_SUB
Definition: gsm_04_08.h:1672
tlv.h
GSM0808_IE_AOIP_TRASP_ADDR
@ GSM0808_IE_AOIP_TRASP_ADDR
Definition: gsm_08_08.h:300
SGSAP_ID_EPS_T_EPS_NOT_ALLOWED
@ SGSAP_ID_EPS_T_EPS_NOT_ALLOWED
Definition: gsm_29_118.h:97
NM_ATT_IPACC_MONIT_VAL_LIST
@ NM_ATT_IPACC_MONIT_VAL_LIST
Definition: gsm_12_21.h:450
osmo_hexdump
char * osmo_hexdump(const unsigned char *buf, int len)
GSM0808_IE_APP_DATA
@ GSM0808_IE_APP_DATA
Definition: gsm_08_08.h:296
osmo_lcls::config
enum gsm0808_lcls_config config
§3.2.2.116 Configuration.
Definition: gsm0808_utils.h:65
llist_head::prev
struct llist_head * prev
NM_STATE_NULL
@ NM_STATE_NULL
Definition: gsm_12_21.h:524
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:262
osmo_nri_ranges
A list of struct osmo_nri_range.
Definition: gsm23236.h:35
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:1285
OSMO_GSUP_CAUSE_RR_IE
@ OSMO_GSUP_CAUSE_RR_IE
Definition: gsup.h:116
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:112
NM_EVT_COMM_FAIL
@ NM_EVT_COMM_FAIL
Definition: gsm_12_21.h:572
SGSAP_MSGT_LOC_UPD_ACK
@ SGSAP_MSGT_LOC_UPD_ACK
Definition: gsm_29_118.h:15
CBSP_CATEG_BACKGROUND
@ CBSP_CATEG_BACKGROUND
Definition: gsm_48_049.h:79
GSM48_MT_RR_SYSINFO_5
#define GSM48_MT_RR_SYSINFO_5
Definition: gsm_04_08.h:1494
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:1269
gsm48_classmark3::umts_fdd_rat_cap
bool umts_fdd_rat_cap
Definition: gsm_04_08.h:129
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:556
GSM0808_IE_GANSS_POSITIONING_DATA
@ GSM0808_IE_GANSS_POSITIONING_DATA
Definition: gsm_08_08.h:294
gsm48_push_l3hdr
struct gsm48_hdr * gsm48_push_l3hdr(struct msgb *msg, uint8_t pdisc, uint8_t msg_type)
Wrap a given msg with gsm48_hdr structure.
Definition: gsm48.c:1692
gsm48_classmark3::gsm_710_assoc_radio_cap
struct gsm48_classmark3::@48 gsm_710_assoc_radio_cap
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
msgb_put_u8
static void msgb_put_u8(struct msgb *msgb, uint8_t word)
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:258
GSM0808_SC_CFG_AMR_6_70
@ GSM0808_SC_CFG_AMR_6_70
Definition: gsm_08_08.h:593
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
bitvec_set_uint
int bitvec_set_uint(struct bitvec *bv, unsigned int ui, unsigned int num_bits)
CBSP_IEI_CATEGORY
@ CBSP_IEI_CATEGORY
Definition: gsm_48_049.h:27
OSMO_GSUP_CAUSE_SM_IE
@ OSMO_GSUP_CAUSE_SM_IE
Definition: gsup.h:118
gsup.h
EGPRS_HDR_TYPE3
EGPRS_HDR_TYPE3
OSMO_GSUP_SM_RP_UI_IE
@ OSMO_GSUP_SM_RP_UI_IE
Definition: gsup.h:103
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_rat_type_names
const struct value_string osmo_rat_type_names[]
Definition: gsm_utils.c:1032
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:534
gsm48_classmark3::psk8_struct
struct gsm48_classmark3::@37 psk8_struct
NM_MT_LOAD_INIT
@ NM_MT_LOAD_INIT
Definition: gsm_12_21.h:87
GSM_PCHAN_NONE
@ GSM_PCHAN_NONE
Definition: gsm_utils.h:205
GSM48_CC_CAUSE_NETWORK_OOO
@ GSM48_CC_CAUSE_NETWORK_OOO
Definition: gsm_04_08.h:1846
GSM0808_SC_CFG_DEFAULT_HR_AMR
@ GSM0808_SC_CFG_DEFAULT_HR_AMR
Definition: gsm_08_08.h:565
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:399
GSM0480_OP_CODE_FORWARD_CUG_INFO
#define GSM0480_OP_CODE_FORWARD_CUG_INFO
Definition: gsm_04_80.h:83
ipa.h
osmo_cbsp_decoded::reset_compl
struct osmo_cbsp_reset_complete reset_compl
Definition: cbsp.h:272
GSM0808_SC_CFG_DEFAULT_OHR_AMR_WB
@ GSM0808_SC_CFG_DEFAULT_OHR_AMR_WB
Definition: gsm_08_08.h:569
RSL_MT_ERROR_IND
@ RSL_MT_ERROR_IND
Definition: gsm_08_58.h:161
DLGSUP
#define DLGSUP
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:658
sgsap_msg_type
sgsap_msg_type
Definition: gsm_29_118.h:6
BSSMAP_LE_MSGT_PERFORM_LOC_REQ
@ BSSMAP_LE_MSGT_PERFORM_LOC_REQ
Definition: gsm_49_031.h:70
GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL
@ GMM_CAUSE_MSGT_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:232
EGPRS_MCS0
EGPRS_MCS0
ABIS_OM_MDISC_MANUF
#define ABIS_OM_MDISC_MANUF
Message Discriminator for Manufacturer Specific Messages.
Definition: gsm_12_21.h:55
msg_type
uint8_t msg_type
Definition: gsm_04_08.h:2
osmo_gsup_message::an_apdu
struct osmo_gsup_an_apdu an_apdu
inter-MSC AN-APDU.
Definition: gsup.h:375
gad_raw::polygon
struct gad_raw_polygon polygon
Definition: gsm_23_032.h:244
gsm0808_cell_id_u::global
struct osmo_cell_global_id global
Definition: gsm0808_utils.h:42
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:413
_comp128v23_internal
static void _comp128v23_internal(uint8_t *output, const uint8_t *kxor, const uint8_t *rand)
Definition: comp128v23.c:77
osmo_str2bcd
int osmo_str2bcd(uint8_t *dst, size_t dst_size, const char *digits, int start_nibble, int end_nibble, bool allow_hex)
logging.h
CBSP_MSGT_KEEP_ALIVE_COMPL
@ CBSP_MSGT_KEEP_ALIVE_COMPL
Definition: gsm_48_049.h:73
osmo_rai_name2
const char * osmo_rai_name2(const struct osmo_routing_area_id *rai)
Return MCC-MNC-LAC-RAC as string, in a static buffer.
Definition: gsm23003.c:268
cbsp_dec_kill_fail
static int cbsp_dec_kill_fail(struct osmo_cbsp_kill_failure *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:857
bsslap_pdu::ta_response
struct bsslap_ta_response ta_response
Definition: gsm_48_071.h:114
gsm_mncc_bearer_cap::mode
int mode
Definition: mncc.h:14
osmo_nri_range
One range of NRI values.
Definition: gsm23236.h:19
lapdm_entity::ta
uint8_t ta
Definition: lapdm.h:67
GSM0808_IE_LCS_CAUSE
@ GSM0808_IE_LCS_CAUSE
Definition: gsm_08_08.h:257
GSM411_RP_CAUSE_MO_NUM_UNASSIGNED
@ GSM411_RP_CAUSE_MO_NUM_UNASSIGNED
Definition: gsm_04_11.h:68
osmo_gsup_sms_decode_sm_rp_oa
int osmo_gsup_sms_decode_sm_rp_oa(struct osmo_gsup_message *gsup_msg, uint8_t *data, size_t data_len)
Decode SM-RP-OA IE (see 7.6.8.2), Originating Address.
Definition: gsup_sms.c:199
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:1028
osmo_gsm48_rest_octets_si6_encode
int osmo_gsm48_rest_octets_si6_encode(uint8_t *data, const struct osmo_gsm48_si6_ro_info *in)
Definition: gsm48_rest_octets.c:697
bcd_num_digits
static const char bcd_num_digits[]
Definition: gsm48_ie.c:45
gprs_cs_desc::downlink
struct gprs_cs_desc::@108 downlink
GSM_CAUSE_INV_MAND_INFO
@ GSM_CAUSE_INV_MAND_INFO
Definition: gsm_04_08_gprs.h:264
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, 3GPP TS 48.008 §3.2.1.1.
Definition: gsm0808.c:554
abis_nm_dump_foh_c
char * abis_nm_dump_foh_c(void *ctx, const struct abis_om_fom_hdr *foh)
Definition: abis_nm.c:947
DCS_UCS2
@ DCS_UCS2
Definition: gsm_04_11.h:115
gsm_freq_range::flags
uint16_t flags
Definition: gsm_utils.c:789
GPRS_ALGO_GEA2
@ GPRS_ALGO_GEA2
Definition: gprs_cipher.h:16
osmo_gsm48_classmark_a5_name_c
char * osmo_gsm48_classmark_a5_name_c(const void *ctx, const struct osmo_gsm48_classmark *cm)
Return a string representation of A5 cipher algorithms indicated by Classmark 1, 2 and 3.
Definition: gsm48.c:1794
NM_MT_CHANGEOVER
@ NM_MT_CHANGEOVER
Definition: gsm_12_21.h:166
BSSMAP_LE_MSGT_ASSIST_INFO_REQ
@ BSSMAP_LE_MSGT_ASSIST_INFO_REQ
Definition: gsm_49_031.h:74
gsm0808_handover_request::old_bss_to_new_bss_info
struct gsm0808_old_bss_to_new_bss_info old_bss_to_new_bss_info
Definition: gsm0808.h:179
OSMO_GSM48_ARFCN_RANGE_INVALID
@ OSMO_GSM48_ARFCN_RANGE_INVALID
Definition: gsm48_arfcn_range_encode.h:8
osmo_bssmap_le_msgt_names
const struct value_string osmo_bssmap_le_msgt_names[]
Definition: bssmap_le.c:769
bsslap_pdu::reject
enum bsslap_cause reject
Definition: gsm_48_071.h:115
bits.h
GSM_CAUSE_IE_NOTEXIST_NOTIMPL
@ GSM_CAUSE_IE_NOTEXIST_NOTIMPL
Definition: gsm_04_08_gprs.h:267
RSL_IE_MS_POWER
@ RSL_IE_MS_POWER
Definition: gsm_08_58.h:300
osmo_gsup_message::pdp_charg_enc_len
size_t pdp_charg_enc_len
Definition: gsup.h:321
CBSP_MSGT_RESET_COMPL
@ CBSP_MSGT_RESET_COMPL
Definition: gsm_48_049.h:67
abis_nm_msgtype
abis_nm_msgtype
OML Message Type (Section 9.1)
Definition: gsm_12_21.h:85
gsm48_classmark3::ecsd_multislot_cap
struct gsm48_classmark3::@36 ecsd_multislot_cap
OSMO_I460_RATE_8k
@ OSMO_I460_RATE_8k
Definition: i460_mux.h:36
GSM0808_SCT_HR3
@ GSM0808_SCT_HR3
HR_AMR.
Definition: gsm_08_08.h:509
msgb_dequeue
struct msgb * msgb_dequeue(struct llist_head *queue)
GSM0808_IE_LOCATION_TYPE
@ GSM0808_IE_LOCATION_TYPE
Definition: gsm_08_08.h:254
gsm48_classmark3::cdma200_rat_cap
bool cdma200_rat_cap
Definition: gsm_04_08.h:131
NM_NACK_MSGTYPE_INVAL
@ NM_NACK_MSGTYPE_INVAL
Definition: gsm_12_21.h:604
gsm_7bit_encode_oct
int gsm_7bit_encode_oct(uint8_t *result, const char *data, int *octets)
Definition: gsm_utils.c:1025
GSM414_MT_OPEN_LOOP_CMD
#define GSM414_MT_OPEN_LOOP_CMD
Definition: gsm_04_14.h:23
osmo_gsm48_si_pch_nch_info::nln_status_sacch
bool nln_status_sacch
Definition: gsm48_rest_octets.h:28
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:207
GSM_CAUSE_ACT_REJ_GGSN
@ GSM_CAUSE_ACT_REJ_GGSN
Definition: gsm_04_08_gprs.h:251
BTS_FEAT_SPEECH_F_EFR
@ BTS_FEAT_SPEECH_F_EFR
Definition: bts_features.h:23
osmo_mobile_identity_decode
int osmo_mobile_identity_decode(struct osmo_mobile_identity *mi, const uint8_t *mi_data, uint8_t mi_len, bool allow_hex)
Extract Mobile Identity from encoded bytes (3GPP TS 24.008 10.5.1.4).
Definition: gsm48.c:555
bssmap_le_perform_loc_req::imsi
struct osmo_mobile_identity imsi
Definition: gsm_49_031.h:168
osmo_gprs_cell_options::bs_cv_max
uint32_t bs_cv_max
lapdm_entity_init3
void lapdm_entity_init3(struct lapdm_entity *le, enum lapdm_mode mode, const int *t200_ms, int n200, const char *name_pfx)
initialize a LAPDm entity and all datalinks inside
Definition: lapdm.c:193
BSSMAP_LE_IEI_LOCATION_TYPE
@ BSSMAP_LE_IEI_LOCATION_TYPE
Definition: gsm_49_031.h:85
gsm48_hdr_msg_type
#define gsm48_hdr_msg_type
Definition: gsm_04_08.h:1439
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:284
bitvec_get_uint
int bitvec_get_uint(struct bitvec *bv, unsigned int num_bits)
parse_ss_invoke
static int parse_ss_invoke(const uint8_t *invoke_data, uint16_t length, struct ss_request *req)
Definition: gsm0480.c:537
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:157
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:292
abis_rsl_rll_hdr::data
uint8_t data[0]
message payload data
Definition: gsm_08_58.h:94
gsm0808_old_bss_to_new_bss_info::mode
uint8_t mode
Definition: gsm0808.h:125
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:922
osmo_cbsp_decoded::error_ind
struct osmo_cbsp_error_ind error_ind
Definition: cbsp.h:279
MDL_CAUSE_SABM_INFO_NOTALL
#define MDL_CAUSE_SABM_INFO_NOTALL
Definition: lapd_core.h:46
try_adding_uarfcn
static int try_adding_uarfcn(struct bitvec *bv, uint16_t *scramble_list, size_t uarfcn_length, size_t *u_offset, uint16_t uarfcn, uint8_t num_sc, uint8_t start_pos, uint8_t budget)
Definition: gsm48_rest_octets.c:378
osmo_gsup_message::pdp_info_compl
int pdp_info_compl
Definition: gsup.h:307
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:68
GSM48_RR_CAUSE_ABNORMAL_NOACT
@ GSM48_RR_CAUSE_ABNORMAL_NOACT
Definition: gsm_04_08.h:1808
GSM411_MT_CP_ACK
#define GSM411_MT_CP_ACK
Definition: gsm_04_11.h:30
arfcn
uint16_t arfcn
gsm48_classmark3::t_gsm_810_assoc_radio_cap
struct gsm48_classmark3::@49 t_gsm_810_assoc_radio_cap
LAPDm_FMT_Bter
@ LAPDm_FMT_Bter
Definition: lapdm.c:113
osmo_bssmap_le_err::logmsg
char * logmsg
Definition: bssmap_le.h:43
osmo_earfcn_si2q::qrxlm_valid
bool qrxlm_valid
Definition: sysinfo.h:70
GSM48_REJECT_RQD_SRV_OPT_NOT_SUPPORTED
@ GSM48_REJECT_RQD_SRV_OPT_NOT_SUPPORTED
Definition: gsm_04_08.h:1897
GSM48_CC_CAUSE_OP_DET_BARRING
@ GSM48_CC_CAUSE_OP_DET_BARRING
Definition: gsm_04_08.h:1831
GSM48_IE_CALLED_SUB
#define GSM48_IE_CALLED_SUB
Definition: gsm_04_08.h:1674
gsm0808_speech_codec::cfg
uint16_t cfg
For examples, see enum gsm0808_speech_codec_defaults.
Definition: gsm_08_08.h:548
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:245
lapd_msg_ctx::more
uint8_t more
Definition: lapd_core.h:112
bssmap_le_conn_oriented_info::apdu
struct bsslap_pdu apdu
Definition: gsm_49_031.h:187
abis_rsl_cchan_hdr::chan_nr
uint8_t chan_nr
Definition: gsm_08_58.h:113
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:1891
GSM0808_CAUSE_REDUCE_LOAD_IN_SERVING_CELL
@ GSM0808_CAUSE_REDUCE_LOAD_IN_SERVING_CELL
Definition: gsm_08_08.h:376
TE44
#define TE44(i)
Definition: aes_i.h:86
gsm0808_enc_cause
uint8_t gsm0808_enc_cause(struct msgb *msg, uint16_t cause)
NM_NACK_MEAS_NOTSTART
@ NM_NACK_MEAS_NOTSTART
Definition: gsm_12_21.h:635
LCS_CAUSE_DATA_MISSING_IN_REQ
@ LCS_CAUSE_DATA_MISSING_IN_REQ
Definition: gsm_49_031.h:42
NM_MT_GET_ATTR_RESP
@ NM_MT_GET_ATTR_RESP
Definition: gsm_12_21.h:188
osmo_i460_subchan::rate
enum osmo_i460_rate rate
Definition: i460_mux.h:70
SMCDATASLLEN
#define SMCDATASLLEN
Definition: gsm0411_smc.c:522
aes_decrypt_deinit
void aes_decrypt_deinit(void *ctx)
IPAC_IDTAG_LOCATION1
@ IPAC_IDTAG_LOCATION1
Definition: ipaccess.h:63
gsm0808_cell_id_name_buf
char * gsm0808_cell_id_name_buf(char *buf, size_t buflen, const struct gsm0808_cell_id *cid)
Definition: gsm0808_utils.c:1919
osmo_gsm48_si_vbs_vgcs_options::inband_notifications
bool inband_notifications
Definition: gsm48_rest_octets.h:33
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:557
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:125
gsm411_mnsms_est_req
static int gsm411_mnsms_est_req(struct gsm411_smc_inst *inst, struct msgb *msg)
Definition: gsm0411_smc.c:163
osmo_cbsp_cell_list
Definition: cbsp.h:45
osmo_cbsp_reset_complete::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:208
SGS_MME_NAME_LEN
#define SGS_MME_NAME_LEN
Definition: gsm_29_118.h:178
LAPD_STATE_SABM_SENT
@ LAPD_STATE_SABM_SENT
Definition: lapd_core.h:81
BSSLAP_IEI_FREQ_LIST
@ BSSLAP_IEI_FREQ_LIST
Definition: gsm_48_071.h:70
gsm48_range_128
Definition: gsm_04_08.h:420
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
osmo_cbsp_write_replace::new_serial_nr
uint16_t new_serial_nr
Definition: cbsp.h:85
BSSMAP_LE_POS_METHOD_ASSISTED_GPS
@ BSSMAP_LE_POS_METHOD_ASSISTED_GPS
Definition: gsm_49_031.h:142
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:1595
osmo_gsm48_si_pch_nch_info::call_priority
uint8_t call_priority
Definition: gsm48_rest_octets.h:27
gsm0480_msgb_alloc_name
struct msgb * gsm0480_msgb_alloc_name(const char *name)
Definition: gsm0480.c:769
nri_range_extend
static void nri_range_extend(struct osmo_nri_range *target, const struct osmo_nri_range *add)
Grow target range to also span range 'add'.
Definition: gsm23236.c:73
bssmap_le_perform_loc_req::cell_id
struct gsm0808_cell_id cell_id
Definition: gsm_49_031.h:163
osmo_gsm48_classmark
Definition: gsm_04_08.h:230
GSM0808_IE_MSISDN
@ GSM0808_IE_MSISDN
Definition: gsm_08_08.h:299
RSL_MT_EST_REQ
@ RSL_MT_EST_REQ
Definition: gsm_08_58.h:162
NM_ATT_IPACC_RAC
@ NM_ATT_IPACC_RAC
Definition: gsm_12_21.h:439
DEC_IE_MANDATORY
#define DEC_IE_MANDATORY(MSG_TYPE, IEI, DEC_FUN, DEC_FUN_ARG)
Definition: bssmap_le.c:115
smrdatastate::states
uint32_t states
Definition: gsm0411_smr.c:431
NM_OPSTATE_ENABLED
@ NM_OPSTATE_ENABLED
Definition: gsm_12_21.h:541
OSMO_GSUP_MSGT_MT_FORWARD_SM_ERROR
@ OSMO_GSUP_MSGT_MT_FORWARD_SM_ERROR
Definition: gsup.h:171
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:78
smrdatastate
Definition: gsm0411_smr.c:430
GSM48_MT_RR_SYSINFO_6
#define GSM48_MT_RR_SYSINFO_6
Definition: gsm_04_08.h:1495
gsm48_classmark3::extended_dtm_gprs_multislot_cap
struct gsm48_classmark3::@44 extended_dtm_gprs_multislot_cap
OSMO_AUTH_ALG_COMP128v3
@ OSMO_AUTH_ALG_COMP128v3
Definition: auth.h:32
OSMO_GSUP_MSGT_E_PREPARE_SUBSEQUENT_HANDOVER_ERROR
@ OSMO_GSUP_MSGT_E_PREPARE_SUBSEQUENT_HANDOVER_ERROR
Definition: gsup.h:187
BSS_MAP_MSG_UNBLOCK
@ BSS_MAP_MSG_UNBLOCK
Definition: gsm_08_08.h:137
LAPDm_CTRL_PF_BIT
#define LAPDm_CTRL_PF_BIT(ctrl)
Definition: lapdm.c:75
osmo_bssmap_le_err::rc
int rc
Definition: bssmap_le.h:37
OSMO_GSUP_MSGT_E_SEND_END_SIGNAL_ERROR
@ OSMO_GSUP_MSGT_E_SEND_END_SIGNAL_ERROR
Definition: gsup.h:191
abis_rsl_cchan_hdr
Definition: gsm_08_58.h:109
RSL_IE_RELEASE_MODE
@ RSL_IE_RELEASE_MODE
Definition: gsm_08_58.h:307
osmo_cbsp_decoded::msg_status_query_fail
struct osmo_cbsp_msg_status_query_failure msg_status_query_fail
Definition: cbsp.h:267
SGSAP_SGS_CAUSE_UE_TEMP_UNREACHABLE
@ SGSAP_SGS_CAUSE_UE_TEMP_UNREACHABLE
Definition: gsm_29_118.h:140
gsm414_msgt_names
const struct value_string gsm414_msgt_names[]
Definition: gsm0414.c:6
lapd_rx_u_ua
static int lapd_rx_u_ua(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1164
gsm48_classmark3::r_support
struct gsm48_classmark3::@32 r_support
ipaccess_unit
Definition: ipa.h:13
BSS_MAP_MSG_RESET_ACKNOWLEDGE
@ BSS_MAP_MSG_RESET_ACKNOWLEDGE
Definition: gsm_08_08.h:123
rp_timer_expired
static void rp_timer_expired(void *data)
Definition: gsm0411_smr.c:363
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
BSSMAP_LE_APDU_PROT_LLP
@ BSSMAP_LE_APDU_PROT_LLP
Definition: gsm_49_031.h:128
osmo_cbsp_restart
Definition: cbsp.h:227
GPRS_SERVICE_T_MBMS_BC_SERV
@ GPRS_SERVICE_T_MBMS_BC_SERV
Definition: gsm_04_08_gprs.h:417
GSM_BAND_1800
@ GSM_BAND_1800
Definition: gsm_utils.h:55
rr_cause_name
const char * rr_cause_name(uint8_t cause)
return string representation of RR Cause value
Definition: gsm48.c:185
lapdm_dl_init
static void lapdm_dl_init(struct lapdm_datalink *dl, struct lapdm_entity *entity, int t200_ms, uint32_t n200, const char *name)
Definition: lapdm.c:136
GSM48_MT_GMM_DETACH_REQ
#define GSM48_MT_GMM_DETACH_REQ
Definition: gsm_04_08_gprs.h:17
osmo_bsslap_err::logmsg
char * logmsg
Definition: bsslap.h:41
osmo_fd::fd
int fd
BSS_MAP_MSG_RESET_CIRCUIT
@ BSS_MAP_MSG_RESET_CIRCUIT
Definition: gsm_08_08.h:126
gad_raw::ell_arc
struct gad_raw_ell_arc ell_arc
Definition: gsm_23_032.h:247
GSM0808_SC_CFG_DEFAULT_FR_AMR_WB
@ GSM0808_SC_CFG_DEFAULT_FR_AMR_WB
Definition: gsm_08_08.h:567
GSM48_RR_CAUSE_UTRAN_CFG_UNK
@ GSM48_RR_CAUSE_UTRAN_CFG_UNK
Definition: gsm_04_08.h:1810
fn_remap_table::distance
uint8_t distance[8]
Definition: gsm0502.c:106
A5_R1_MASK
#define A5_R1_MASK
Definition: a5.c:110
gsm0808_old_bss_to_new_bss_info::current_channel_type_2
struct gsm0808_old_bss_to_new_bss_info::@7 current_channel_type_2
GSM0480_CTYPE_REJECT
#define GSM0480_CTYPE_REJECT
Definition: gsm_04_80.h:19
CBSP_CATEG_HIGH_PRIO
@ CBSP_CATEG_HIGH_PRIO
Definition: gsm_48_049.h:78
GSM48_REJECT_SRV_OPT_TMP_OUT_OF_ORDER
@ GSM48_REJECT_SRV_OPT_TMP_OUT_OF_ORDER
Definition: gsm_04_08.h:1898
cbsp_enc_reset_compl
static int cbsp_enc_reset_compl(struct msgb *msg, const struct osmo_cbsp_reset_complete *in)
Definition: cbsp.c:337
osmo_lac_and_ci_id
Definition: gsm23003.h:50
NM_MT_REINIT
@ NM_MT_REINIT
Definition: gsm_12_21.h:172
GSM0808_SC_CFG_DEFAULT_AMR_12_2
@ GSM0808_SC_CFG_DEFAULT_AMR_12_2
Definition: gsm_08_08.h:583
lapd_stop_t200
static void lapd_stop_t200(struct lapd_datalink *dl)
Definition: lapd_core.c:220
BSS_MAP_MSG_CIRCUIT_GROUP_UNBLOCK
@ BSS_MAP_MSG_CIRCUIT_GROUP_UNBLOCK
Definition: gsm_08_08.h:141
lapdm_msg_ctx
LAPDm message context.
Definition: lapdm.h:20
GSM0808_CAUSE_CLASS_PERR
@ GSM0808_CAUSE_CLASS_PERR
Definition: gsm_08_08.h:433
lapdm_mode
lapdm_mode
LAPDm mode/role.
Definition: lapdm.h:12
OSMO_MIN
#define OSMO_MIN(a, b)
GSM_CAUSE_COND_IE_ERR
@ GSM_CAUSE_COND_IE_ERR
Definition: gsm_04_08_gprs.h:268
mdl_error_ind_param::cause
uint8_t cause
generic cause value
Definition: lapd_core.h:51
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:1331
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:69
gsm0808_speech_codec_list::codec
struct gsm0808_speech_codec codec[SPEECH_CODEC_MAXLEN]
Definition: gsm_08_08.h:603
GSM411_SM_RL_REPORT_REQ
#define GSM411_SM_RL_REPORT_REQ
Definition: gsm0411_smr.h:13
osmo_nri_ranges_alloc
struct osmo_nri_ranges * osmo_nri_ranges_alloc(void *ctx)
Allocate an empty struct osmo_nri_ranges (list of struct osmo_nri_range).
Definition: gsm23236.c:259
_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
osmo_cbsp_kill_failure::fail_list
struct llist_head fail_list
Definition: cbsp.h:151
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
osmo_cbsp_load_query::cell_list
struct osmo_cbsp_cell_list cell_list
Definition: cbsp.h:159
os_free
#define os_free(x)
Definition: common.h:16
RSL_MT_CHAN_CONF
@ RSL_MT_CHAN_CONF
Definition: gsm_08_58.h:183
lapd_start_t203
static void lapd_start_t203(struct lapd_datalink *dl)
Definition: lapd_core.c:212
GSM0808_IE_CURRENT_CHANNEL_TYPE_1
@ GSM0808_IE_CURRENT_CHANNEL_TYPE_1
Definition: gsm_08_08.h:238
gsm411_rl_report_req
static int gsm411_rl_report_req(struct gsm411_smr_inst *inst, struct msgb *msg)
Definition: gsm0411_smr.c:230
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:58
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 Message buffers
Definition: tlv.h:382
GSM48_CC_CAUSE_QOS_UNAVAIL
@ GSM48_CC_CAUSE_QOS_UNAVAIL
Definition: gsm_04_08.h:1852
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:23
__attribute__
static __attribute__((constructor))
Definition: gprs_gea.c:48
BSSLAP_IEI_CAUSE
@ BSSLAP_IEI_CAUSE
Definition: gsm_48_071.h:64
GSM0808_CAUSE_INT_HO_ENQUIRY_REJECT
@ GSM0808_CAUSE_INT_HO_ENQUIRY_REJECT
Definition: gsm_08_08.h:382
LOGPC
#define LOGPC(ss, level, fmt, args...)
IPAC_MSGT_ID_GET
@ IPAC_MSGT_ID_GET
Definition: ipaccess.h:47
osmo_gummei_name_c
char * osmo_gummei_name_c(const void *ctx, const struct osmo_gummei *gummei)
Return string representation of GUMMEI in static output buffer.
Definition: gsm23003.c:414
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:313
GSM48_IE_FACILITY
#define GSM48_IE_FACILITY
Definition: gsm_04_08.h:1663
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:441
LOGL_DEBUG
#define LOGL_DEBUG
select.h
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:1509
GSM48_MT_RR_CDMA2K_CLSM_CHG
#define GSM48_MT_RR_CDMA2K_CLSM_CHG
Definition: gsm_04_08.h:1485
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:49
GMM_CAUSE_SYNC_FAIL
@ GMM_CAUSE_SYNC_FAIL
Definition: gsm_04_08_gprs.h:224
send_rslms_rll_l3_ui
static int send_rslms_rll_l3_ui(struct lapdm_msg_ctx *mctx, struct msgb *msg)
Definition: lapdm.c:516
GSM48_MT_RR_NOTIF_RESP
#define GSM48_MT_RR_NOTIF_RESP
Definition: gsm_04_08.h:1482
GSM48_IE_SS_VERS
#define GSM48_IE_SS_VERS
Definition: gsm_04_08.h:1680
GSM48_MT_RR_SYSINFO_9
#define GSM48_MT_RR_SYSINFO_9
Definition: gsm_04_08.h:1503
gsm0808_create_classmark_request
struct msgb * gsm0808_create_classmark_request()
Create BSSMAP Classmark Request message.
Definition: gsm0808.c:411
BSSMAP_LE_LCS_CTYPE_PLMN_OPER_BCAST_SERVICE
@ BSSMAP_LE_LCS_CTYPE_PLMN_OPER_BCAST_SERVICE
Definition: gsm_49_031.h:153
GSM340_TP_VPF_NONE
#define GSM340_TP_VPF_NONE
Definition: gsm_04_11.h:133
osmo_nri_ranges_add
int osmo_nri_ranges_add(struct osmo_nri_ranges *nri_ranges, const struct osmo_nri_range *add)
Add a range of NRI values to a list of nri_range structs.
Definition: gsm23236.c:300
GSM411_MT_RP_ERROR_MO
#define GSM411_MT_RP_ERROR_MO
Definition: gsm_04_11.h:56
CBSP_IEI_WARN_TYPE
@ CBSP_IEI_WARN_TYPE
Definition: gsm_48_049.h:38
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
msgb_enqueue
void msgb_enqueue(struct llist_head *queue, struct msgb *msg)
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:620
GSM0808_CAUSE_DIRECTED_RETRY
@ GSM0808_CAUSE_DIRECTED_RETRY
Definition: gsm_08_08.h:373
osmo_cbsp_kill::msg_id
uint16_t msg_id
Definition: cbsp.h:132
OSMO_GSUP_MSGT_MO_FORWARD_SM_RESULT
@ OSMO_GSUP_MSGT_MO_FORWARD_SM_RESULT
Definition: gsup.h:168
gsm411_rp_state_names
const struct value_string gsm411_rp_state_names[]
Definition: gsm0411_smr.c:496
OSMO_GPRS_CS_NONE
OSMO_GPRS_CS_NONE
GA_PDISC_RC
@ GA_PDISC_RC
Definition: gsm_44_318.h:11
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:87
abis_nm_severity
abis_nm_severity
Perceived Severity (Section: 9.4.63)
Definition: gsm_12_21.h:580
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
osmo_cgi_ps_name_c
char * osmo_cgi_ps_name_c(const void *ctx, const struct osmo_cell_global_id_ps *cgi_ps)
Return MCC-MNC-LAC-RAC-CI as string, in a talloc-allocated output buffer.
Definition: gsm23003.c:369
GSM48_CMSERV_SUP_SERV
@ GSM48_CMSERV_SUP_SERV
Definition: gsm_04_08.h:1614
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
osmo_gad_ell_point_unc_circle::lat
int32_t lat
Latitude in micro degrees (degrees * 1e6), -90'000'000 (S) .
Definition: gad.h:44
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:1209
IPAC_MSGT_PONG
@ IPAC_MSGT_PONG
Definition: ipaccess.h:46
GSM48_MT_CC_RECALL
#define GSM48_MT_CC_RECALL
Definition: gsm_04_08.h:1570
osmo_earfcn_si2q::length
size_t length
Definition: sysinfo.h:55
lapd_dl_flush_send
static void lapd_dl_flush_send(struct lapd_datalink *dl)
Definition: lapd_core.c:147
GSM48_CC_CAUSE_RESTR_BCAP_AVAIL
@ GSM48_CC_CAUSE_RESTR_BCAP_AVAIL
Definition: gsm_04_08.h:1861
GSM48_MT_MM_INFO
#define GSM48_MT_MM_INFO
Definition: gsm_04_08.h:1558
osmo_prim_hdr::primitive
unsigned int primitive
BSS_MAP_MSG_UPLINK_SEIZED_CMD
@ BSS_MAP_MSG_UPLINK_SEIZED_CMD
Definition: gsm_08_08.h:174
BSS_MAP_MSG_HANDOVER_REQUIRED
@ BSS_MAP_MSG_HANDOVER_REQUIRED
Definition: gsm_08_08.h:84
BSS_MAP_MSG_LCLS_NOTIFICATION
@ BSS_MAP_MSG_LCLS_NOTIFICATION
Definition: gsm_08_08.h:182
GSM48_IE_CLIR_SUPP
#define GSM48_IE_CLIR_SUPP
Definition: gsm_04_08.h:1682
gsm0808_handover_request_ack::speech_codec_chosen_present
bool speech_codec_chosen_present
Definition: gsm0808.h:220
sgsap_ie_tlvdef
const struct tlv_definition sgsap_ie_tlvdef
Definition: gsm29118.c:150
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:54
OSMO_GPRS_MCS9
OSMO_GPRS_MCS9
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:429
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:893
L2DOWNSLLEN
#define L2DOWNSLLEN
Definition: lapd_core.c:2199
GSM0808_CAUSE_INCORRECT_VALUE
@ GSM0808_CAUSE_INCORRECT_VALUE
Definition: gsm_08_08.h:415
lapd_rx_i
static int lapd_rx_i(struct msgb *msg, struct lapd_msg_ctx *lctx)
Definition: lapd_core.c:1510
LOGL_ERROR
#define LOGL_ERROR
GSM_MI_TYPE_IMSI
#define GSM_MI_TYPE_IMSI
Definition: gsm_04_08.h:1645
tch_ahs_5_9_puncture
static const int tch_ahs_5_9_puncture[]
Definition: gsm0503_conv.c:981
gsm0502_tch_f_traffic_block_map
static const uint8_t gsm0502_tch_f_traffic_block_map[3][8]
Definition: gsm0502.c:58
EGPRS_MCS3
EGPRS_MCS3
GA_MT_CSR_CLEAR_REQ
@ GA_MT_CSR_CLEAR_REQ
Definition: gsm_44_318.h:44
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:662
msgb_put_cbsp_loading_list
static void msgb_put_cbsp_loading_list(struct msgb *msg, const struct osmo_cbsp_loading_list *ll)
Definition: cbsp.c:87
smrdatastate::name
const char * name
Definition: gsm0411_smr.c:433
gsm411_smr_recv
int gsm411_smr_recv(struct gsm411_smr_inst *inst, int msg_type, struct msgb *msg)
Definition: gsm0411_smr.c:465
osmo_gsm48_range_enc_256
int osmo_gsm48_range_enc_256(uint8_t *chan_list, int f0, int *w)
Definition: gsm48_arfcn_range_encode.c:275
osmo_gsup_an_apdu
AccessNetworkSignalInfo as in 3GPP TS 29.002.
Definition: gsup.h:294
osmo_i460_schan_desc::rate
enum osmo_i460_rate rate
Definition: i460_mux.h:82
osmo_gsup_message::freeze_ptmsi
int freeze_ptmsi
Definition: gsup.h:308
SGSAP_IE_TAI
@ SGSAP_IE_TAI
Definition: gsm_29_118.h:71
fn_remap_table::blockend
uint8_t blockend[8]
Definition: gsm0502.c:105
osmo_cbsp_kill
Definition: cbsp.h:131
ipaccess.h
osmo_bssmap_le_enc
static int osmo_bssmap_le_enc(struct msgb *msg, const struct bssmap_le_pdu *pdu)
Encode BSSMAP-LE PDU and add to msgb (3GPP TS 49.031).
Definition: bssmap_le.c:601
GSM48_CC_CAUSE_TEMP_FAILURE
@ GSM48_CC_CAUSE_TEMP_FAILURE
Definition: gsm_04_08.h:1847
GSM48_MT_RR_SYSINFO_16
#define GSM48_MT_RR_SYSINFO_16
Definition: gsm_04_08.h:1506
gsm23236.h
bitvec_gsm.h
gsm0808_get_cause
enum gsm0808_cause gsm0808_get_cause(const struct tlv_parsed *tp)
Parse Cause TLV 3GPP TS 08.08 §3.2.2.5.
Definition: gsm0808.c:1829
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:163
tlv_parsed
result of the TLV parser
Definition: tlv.h:522
gsm0808_handover_complete
Definition: gsm0808.h:247
chan_desc
struct gsm48_chan_desc chan_desc
Definition: gsm_04_08.h:0
GSM48_MT_GMM_RA_UPD_ACK
#define GSM48_MT_GMM_RA_UPD_ACK
Definition: gsm_04_08_gprs.h:21
_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
gsm_29_118.h
gsm411_tx_cp_error
static int gsm411_tx_cp_error(struct gsm411_smc_inst *inst, uint8_t cause)
Definition: gsm0411_smc.c:146
gsm0502_fn_remap
uint32_t gsm0502_fn_remap(uint32_t fn, enum gsm0502_fn_remap_channel channel)
Calculate the frame number of the beginning of a block.
Definition: gsm0502.c:177
GSM0808_IE_PERIODICITY
@ GSM0808_IE_PERIODICITY
Definition: gsm_08_08.h:201
gsm48_classmark3::gsm_400_bands_supp
struct gsm48_classmark3::@38 gsm_400_bands_supp
SGSAP_IE_MM_INFO
@ SGSAP_IE_MM_INFO
Definition: gsm_29_118.h:62
gsm0808_handover_request::codec_list_msc_preferred
const struct gsm0808_speech_codec_list * codec_list_msc_preferred
Definition: gsm0808.h:189
BSSMAP_LE_IEI_BSS_MLAT_CAP
@ BSSMAP_LE_IEI_BSS_MLAT_CAP
Definition: gsm_49_031.h:110
abis_nm_ipa_magic
const char abis_nm_ipa_magic[13]
Definition: abis_nm.c:40
cbsp_dec_kill_compl
static int cbsp_dec_kill_compl(struct osmo_cbsp_kill_complete *out, const struct tlv_parsed *tp, struct msgb *in, void *ctx)
Definition: cbsp.c:825
osmo_gsm48_classmark_a5_name_buf
char * osmo_gsm48_classmark_a5_name_buf(char *buf, size_t buf_len, const struct osmo_gsm48_classmark *cm)
Return a string representation of A5 cipher algorithms indicated by Classmark 1, 2 and 3.
Definition: gsm48.c:1750
NM_ATT_SOURCE
@ NM_ATT_SOURCE
Definition: gsm_12_21.h:367
gsm48_hdr
Definition: gsm_04_08.h:891
kasumi.h
osmo_gsm48_si13_info::rac
uint8_t rac
Definition: gsm48_rest_octets.h:117
decode_gprs_cell_opt
static int decode_gprs_cell_opt(struct osmo_gprs_cell_options *gco, struct bitvec *bv)
Definition: gsm48_rest_octets.c:769
gsm0808_channel_type::perm_spch
uint8_t perm_spch[CH_TYPE_PERM_SPCH_MAXLEN]
Definition: gsm_08_08.h:612
RSL_MT_UNIT_DATA_IND
@ RSL_MT_UNIT_DATA_IND
Definition: gsm_08_58.h:169
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:54
cbsp_enc_load_query
static int cbsp_enc_load_query(struct msgb *msg, const struct osmo_cbsp_load_query *in)
Definition: cbsp.c:270
gsm48_rr_msg_name
const char * gsm48_rr_msg_name(uint8_t msgtype)
return string representation of RR Message Type
Definition: gsm48.c:420
GSM0808_IE_A_IF_SEL_FOR_RESET
@ GSM0808_IE_A_IF_SEL_FOR_RESET
Definition: gsm_08_08.h:305
osmo_dlsap_prim::error_ind
struct mdl_error_ind_param error_ind
Definition: lapd_core.h:63
BSS_MAP_MSG_VGCS_VBS_SETUP
@ BSS_MAP_MSG_VGCS_VBS_SETUP
Definition: gsm_08_08.h:161
gsm0808_handover_failure::cause
uint16_t cause
Definition: gsm0808.h:271
FN_REMAP_FACCH_F
@ FN_REMAP_FACCH_F
Definition: gsm0502.h:67
GSM48_PDISC_LOC
#define GSM48_PDISC_LOC
Definition: gsm_04_08.h:1341
osmo_conv_code
gsm0808_cell_id_list::id_list_lac
uint16_t id_list_lac[CELL_ID_LIST_LAC_MAXLEN]
Definition: gsm_08_08.h:635
NM_MT_SET_CHAN_ATTR_NACK
@ NM_MT_SET_CHAN_ATTR_NACK
Definition: gsm_12_21.h:135
BSS_MAP_MSG_ASSIGMENT_RQST
#define BSS_MAP_MSG_ASSIGMENT_RQST
Definition: gsm_08_08.h:185
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
osmo_gsm48_si_ro_info::break_ind
uint8_t break_ind
Definition: gsm48_rest_octets.h:103
osmo_gsm48_rest_octets_si2quater_encode
int osmo_gsm48_rest_octets_si2quater_encode(uint8_t *data, uint8_t si2q_index, uint8_t si2q_count, const uint16_t *uarfcn_list, size_t *u_offset, size_t uarfcn_length, uint16_t *scramble_list, struct osmo_earfcn_si2q *si2quater_neigh_list, size_t *e_offset)
Definition: gsm48_rest_octets.c:464
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:1193
SGSAP_MSGT_EPS_DET_IND
@ SGSAP_MSGT_EPS_DET_IND
Definition: gsm_29_118.h:22
NM_EVT_QOS_FAIL
@ NM_EVT_QOS_FAIL
Definition: gsm_12_21.h:573
osmo_gsup_message::imei_enc_len
size_t imei_enc_len
Definition: gsup.h:356
lapdm_entity::lapdm_ch
struct lapdm_channel * lapdm_ch
pointer to lapdm_channel of which we're part
Definition: lapdm.h:65
NM_SEVER_MINOR
@ NM_SEVER_MINOR
Definition: gsm_12_21.h:584
GSM_MAX_SSVERSION
#define GSM_MAX_SSVERSION
Definition: mncc.h:8
gsm0808_create_handover_required_reject
struct msgb * gsm0808_create_handover_required_reject(const struct gsm0808_handover_required_reject *params)
Create BSSMAP HANDOVER REQUIRED REJECT message.
Definition: gsm0808.c:879
GSM414_MT_DEACT_EMMI_CMD
#define GSM414_MT_DEACT_EMMI_CMD
Definition: gsm_04_14.h:55
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_GSM48_ARFCN_RANGE_1024
@ OSMO_GSM48_ARFCN_RANGE_1024
Definition: gsm48_arfcn_range_encode.h:12
OSMO_MAX
#define OSMO_MAX(a, b)
osmo_cbsp_write_replace::is_cbs
bool is_cbs
Definition: cbsp.h:89
osmo_sub_auth_data
permanent (secret) subscriber auth data
Definition: auth.h:39
aes_i.h
BSSMAP_LE_IEI_GANSS_POS_DATA
@ BSSMAP_LE_IEI_GANSS_POS_DATA
Definition: gsm_49_031.h:89
gsm48_classmark3::a5_bits
uint8_t a5_bits
Definition: gsm_04_08.h:63
GSM48_MT_RR_EXT_MEAS_REP_ORD
#define GSM48_MT_RR_EXT_MEAS_REP_ORD
Definition: gsm_04_08.h:1521
GSM48_MT_RR_SYSINFO_7
#define GSM48_MT_RR_SYSINFO_7
Definition: gsm_04_08.h:1496
gsm0808_create_clear_command2
struct msgb * gsm0808_create_clear_command2(uint8_t cause, bool csfb_ind)
Create BSSMAP Clear Command message.
Definition: gsm0808.c:213
append_gprs_pwr_ctrl_pars
static void append_gprs_pwr_ctrl_pars(struct bitvec *bv, const struct osmo_gprs_power_ctrl_pars *pcp)
Definition: gsm48_rest_octets.c:1053
_comp128_bitsfrombytes
static void _comp128_bitsfrombytes(uint8_t *x, uint8_t *bits)
Definition: comp128.c:172
osmo_cbsp_keep_alive::repetition_period
uint8_t repetition_period
Definition: cbsp.h:219
LAPD_STATE_MF_EST
@ LAPD_STATE_MF_EST
Definition: lapd_core.h:83
BSSMAP_LE_IEI_BTS_RX_ACC_LVL
@ BSSMAP_LE_IEI_BTS_RX_ACC_LVL
Definition: gsm_49_031.h:112
NM_NACK_RES_NOTAVAIL
@ NM_NACK_RES_NOTAVAIL
Definition: gsm_12_21.h:618
cbsp_decode_cell_list
static int cbsp_decode_cell_list(struct osmo_cbsp_cell_list *cl, void *ctx, const uint8_t *buf, unsigned int len)
Definition: cbsp.c:510
GSM48_IE_CONN_SUB
#define GSM48_IE_CONN_SUB
Definition: gsm_04_08.h:1670
GSM0808_IE_VGCS_TALKER_MODE
@ GSM0808_IE_VGCS_TALKER_MODE
Definition: gsm_08_08.h:287
A5_R1_TAPS
#define A5_R1_TAPS
Definition: a5.c:115
osmo_parse_mme_domain
int osmo_parse_mme_domain(struct osmo_gummei *out, const char *in)
Parse a TS 23.003 Section 19.4.2.4 MME Domain (text form) into a osmo_gummei.
Definition: gsm23003.c:667
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 Message buffers
Definition: tlv.h:374
lapd_state
lapd_state
LAPD state (Figure B.2/Q.921)
Definition: lapd_core.h:75
bsslap_pdu::msg_type
enum bsslap_msgt msg_type
Definition: gsm_48_071.h:111
l2downstate::states
uint32_t states
Definition: lapd_core.c:2144
NM_ATT_IPACC_IP_GW_CFG
@ NM_ATT_IPACC_IP_GW_CFG
Definition: gsm_12_21.h:424
gsm0808_handover_request_ack::chosen_channel
uint8_t chosen_channel
Definition: gsm0808.h:211
gsm0808_cell_id_name_c
char * gsm0808_cell_id_name_c(const void *ctx, const struct gsm0808_cell_id *cid)
Definition: gsm0808_utils.c:1949
osmo_gsm48_classmark::classmark3
uint8_t classmark3[14]
Definition: gsm_04_08.h:236
gsm340_vp_default
static unsigned long gsm340_vp_default(void)
Definition: gsm0411_utils.c:141
gsm0808_perform_location_response::location_estimate_present
bool location_estimate_present
Definition: gsm0808_lcs.h:42
ENOTSUP
#define ENOTSUP
Definition: a5.c:44
GSM48_IE_KPD_FACILITY
#define GSM48_IE_KPD_FACILITY
Definition: gsm_04_08.h:1667
BSSMAP_LE_IEI_CELL_INFO_LIST
@ BSSMAP_LE_IEI_CELL_INFO_LIST
Definition: gsm_49_031.h:111
BSSMAP_LE_IEI_DECIPH_KEYS
@ BSSMAP_LE_IEI_DECIPH_KEYS
Definition: gsm_49_031.h:97
PRIM_OP_CONFIRM
PRIM_OP_CONFIRM
lapd_core.h
NM_CHANC_SDCCH_CBCH
@ NM_CHANC_SDCCH_CBCH
Definition: gsm_12_21.h:558
GSM0808_LCLS_CFG_BOTH_WAY
@ GSM0808_LCLS_CFG_BOTH_WAY
Definition: gsm_08_08.h:641
ss_request::ussd_data_dcs
uint8_t ussd_data_dcs
Definition: gsm0480.h:89
osmo_gsm48_si_vbs_vgcs_options::inband_pagings
bool inband_pagings
Definition: gsm48_rest_octets.h:34
osmo_mcc_name
const char * osmo_mcc_name(uint16_t mcc)
Return MCC string as standardized 3-digit with leading zeros.
Definition: gsm23003.c:108
LAPD_TAILROOM
#define LAPD_TAILROOM
Definition: lapd_core.c:107
osmo_prim_hdr::sap
unsigned int sap
str_buff
static __thread char str_buff[512]
Char buffer to return strings from functions.
Definition: gsm0808.c:43
tlli
uint32_t tlli
Definition: gsm_04_08.h:0
GSM0808_LCLS_CFG_NA
@ GSM0808_LCLS_CFG_NA
Definition: gsm_08_08.h:647
gsm29118_create_dl_ud
struct msgb * gsm29118_create_dl_ud(const char *imsi, struct msgb *nas_msg)
Definition: gsm29118.c:259
NM_NACK_TRXNR_UNKN
@ NM_NACK_TRXNR_UNKN
Definition: gsm_12_21.h:608
GA_MT_CSR_CHAN_MODE_MOD_ACK
@ GA_MT_CSR_CHAN_MODE_MOD_ACK
Definition: gsm_44_318.h:40
BSSLAP_MSGT_ABORT
@ BSSLAP_MSGT_ABORT
Definition: gsm_48_071.h:37
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:259
mi_type_names
static const struct value_string mi_type_names[]
Definition: gsm48.c:450
gsm0808_create_dtap
struct msgb * gsm0808_create_dtap(struct msgb *msg, uint8_t link_id)
Create BSSMAP DTAP message.
Definition: gsm0808.c:1310
CELL_IDENT_WHOLE_GLOBAL_PS
@ CELL_IDENT_WHOLE_GLOBAL_PS
Definition: gsm_08_08.h:30
TLV_TYPE_TV
@ TLV_TYPE_TV
tag-value (8bit)
Definition: tlv.h:502
gsm0808_speech_codec::fi
bool fi
Definition: gsm_08_08.h:541
NM_ATT_IPACC_UNIT_ID
@ NM_ATT_IPACC_UNIT_ID
Definition: gsm_12_21.h:430
gsm48_classmark3::utra_mult_band_ind_supp
bool utra_mult_band_ind_supp
Definition: gsm_04_08.h:224
GA_MT_CSR_RELEASE
@ GA_MT_CSR_RELEASE
Definition: gsm_44_318.h:42
LAPDm_CTRL_is_I
#define LAPDm_CTRL_is_I(ctrl)
Definition: lapdm.c:70
TLVP_VAL
#define TLVP_VAL(x, y)
Definition: tlv.h:548
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:629
SGSAP_IE_UE_EMM_MODE
@ SGSAP_IE_UE_EMM_MODE
Definition: gsm_29_118.h:73
gsm48_cc_state_name
const char * gsm48_cc_state_name(uint8_t state)
return string representation of CC State
Definition: gsm48.c:264
gsm0808_handover_request::speech_version_used
enum gsm0808_permitted_speech speech_version_used
Definition: gsm0808.h:173
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:1481
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:636
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:82
GSM411_MNSMS_DATA_IND
#define GSM411_MNSMS_DATA_IND
Definition: gsm0411_smc.h:23
TLVP_GET
#define TLVP_GET(_tp, tag)
Return pointer to a TLV element if it is present.
Definition: tlv.h:563
demux_subchan_extract_bits
static void demux_subchan_extract_bits(struct osmo_i460_subchan *schan, const uint8_t *data, size_t data_len)
Definition: i460_mux.c:86
sysinfo.h
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:1127
gsm0808_sc_cfg_from_gsm48_mr_cfg
uint16_t gsm0808_sc_cfg_from_gsm48_mr_cfg(const struct gsm48_multi_rate_conf *cfg, bool fr)
Determine a set of AMR speech codec configuration bits (S0-S15) from a given GSM 04....
Definition: gsm0808_utils.c:1506
GSM48_IE_F_CH_SEQ_AFTER
#define GSM48_IE_F_CH_SEQ_AFTER
Definition: gsm_04_08.h:1727
decode_drx_timer
static unsigned int decode_drx_timer(unsigned int drx)
Definition: gsm48_rest_octets.c:762
gsm0808_dec_lcls
int gsm0808_dec_lcls(struct osmo_lcls *lcls, const struct tlv_parsed *tp)
Decode LCLS parameters to a given msgb, 3GPP TS 48.008 §3.2.2.115 - 3.2.2.120.
Definition: gsm0808_utils.c:613
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
gsm48_pag_resp
Definition: gsm_04_08.h:819
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:137
osmo_gsm48_range_enc_512
int osmo_gsm48_range_enc_512(uint8_t *chan_list, int f0, int *w)
Definition: gsm48_arfcn_range_encode.c:284
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
BSSLAP_IEI_MS_POWER
@ BSSLAP_IEI_MS_POWER
Definition: gsm_48_071.h:71
gad_raw_polygon::point
struct gad_raw_polygon::@93 point[15]
GSM48_MT_RR_SYSINFO_2ter
#define GSM48_MT_RR_SYSINFO_2ter
Definition: gsm_04_08.h:1499
osmo_cbsp_write_replace_failure::msg_id
uint16_t msg_id
Definition: cbsp.h:121
bssmap_le_perform_loc_resp::location_estimate_present
bool location_estimate_present
Definition: gsm_49_031.h:178
gsm48_ra_id
Definition: gsm_04_08.h:2103
NM_MT_STOP_TEST_ACK
@ NM_MT_STOP_TEST_ACK
Definition: gsm_12_21.h:145
osmo_gsm48_si6_ro_info::dtm_support
struct osmo_gsm48_si_dtm_support dtm_support
Definition: gsm48_rest_octets.h:51
EGPRS_NUM_MCS
EGPRS_NUM_MCS
SGSAP_IE_IMSI_DET_NONEPS_TYPE
@ SGSAP_IE_IMSI_DET_NONEPS_TYPE
Definition: gsm_29_118.h:59
GSM48_MT_MM_CM_SERV_REJ
#define GSM48_MT_MM_CM_SERV_REJ
Definition: gsm_04_08.h:1549
gsm0808_cell_id_u
Instead of this, use either struct gsm0808_cell_id or gsm0808_cell_id_list2.
Definition: gsm0808_utils.h:41
DLSMS
#define DLSMS
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:627
OSMO_GSUP_MSGT_INSERT_DATA_ERROR
@ OSMO_GSUP_MSGT_INSERT_DATA_ERROR
Definition: gsup.h:151
osmo_gprs_cell_options::t3192
uint32_t t3192
gsm_mncc_bearer_cap::nr_data_bits
int nr_data_bits
Definition: mncc.h:24
CBSP_IEI_BCAST_MSG_TYPE
@ CBSP_IEI_BCAST_MSG_TYPE
Definition: gsm_48_049.h:44
bsslap.h
bssmap_le_perform_loc_resp
Definition: gsm_49_031.h:177
lapdm_msg_ctx::dl
struct lapdm_datalink * dl
Definition: lapdm.h:21
osmo_gsm48_si13_info::pwr_ctrl_pars
struct osmo_gprs_power_ctrl_pars pwr_ctrl_pars
Definition: gsm48_rest_octets.h:114
osmo_gsup_message::session_id
uint32_t session_id
Unique session identifier and origination flag.
Definition: gsup.h:327
CELL_IDENT_UTRAN_PLMN_LAC_RNC
@ CELL_IDENT_UTRAN_PLMN_LAC_RNC
Definition: gsm_08_08.h:25
lapd_send_i
static int lapd_send_i(struct lapd_msg_ctx *lctx, int line)
Definition: lapd_core.c:1827
GAD_TYPE_ELL_ARC
@ GAD_TYPE_ELL_ARC
Ellipsoid arc.
Definition: gsm_23_032.h:45
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:697
BSSMAP_LE_IEI_VELOCITY_DATA
@ BSSMAP_LE_IEI_VELOCITY_DATA
Definition: gsm_49_031.h:90
GMM_CAUSE_LA_NOTALLOWED
@ GMM_CAUSE_LA_NOTALLOWED
Definition: gsm_04_08_gprs.h:217
OSMO_GSUP_SESSION_STATE_CONTINUE
@ OSMO_GSUP_SESSION_STATE_CONTINUE
Communication of an existing session.
Definition: gsup.h:245
GSM48_MT_GMM_ATTACH_COMPL
#define GSM48_MT_GMM_ATTACH_COMPL
Definition: gsm_04_08_gprs.h:15
gsm0808_handover_required::cil
struct gsm0808_cell_id_list2 cil
Definition: gsm0808.h:136
abis_om_fom_hdr::obj_inst
struct abis_om_obj_inst obj_inst
Object Instance.
Definition: gsm_12_21.h:77
bssmap_le_iei
bssmap_le_iei
Definition: gsm_49_031.h:82
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:1332
BSS_MAP_MSG_VGCS_VBS_SETUP_ACK
@ BSS_MAP_MSG_VGCS_VBS_SETUP_ACK
Definition: gsm_08_08.h:162
_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:1331
conv.h
gsm48_classmark3::extended_meas_cap
bool extended_meas_cap
Definition: gsm_04_08.h:79
NM_EVT_PROC_FAIL
@ NM_EVT_PROC_FAIL
Definition: gsm_12_21.h:574
lapdm_cb_t
int(* lapdm_cb_t)(struct msgb *msg, struct lapdm_entity *le, void *ctx)
Definition: lapdm.h:44
TLLI_FOREIGN
@ TLLI_FOREIGN
Definition: gsm_utils.h:190
osmo_earfcn_si2q::prio_valid
bool prio_valid
Definition: sysinfo.h:68
write_orig_arfcn
static void write_orig_arfcn(uint8_t *chan_list, int f0)
Definition: gsm48_arfcn_range_encode.c:189
osmo_cbsp_write_replace
Definition: cbsp.h:83
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_cbsp_write_replace::msg_id
uint16_t msg_id
Definition: cbsp.h:84
OSMO_GSUP_AUTN_IE
@ OSMO_GSUP_AUTN_IE
Definition: gsup.h:86
DLINP
#define DLINP
L
L
osmo_bssmap_le_ie_dec_gad
static int osmo_bssmap_le_ie_dec_gad(union gad_raw *gad, enum bssmap_le_msgt msgt, enum bssmap_le_iei iei, struct osmo_bssmap_le_err **err, void *err_ctx, const uint8_t *elem, uint8_t len)
Definition: bssmap_le.c:408
gsm_mncc_bearer_cap::interm_rate
enum gsm48_bcap_interm_rate interm_rate
Definition: mncc.h:27
gsm0808_handover_request::old_bss_to_new_bss_info_raw
const uint8_t * old_bss_to_new_bss_info_raw
To feed the Old BSS to New BSS Information IE unchanged from the Handover Required message without ha...
Definition: gsm0808.h:182
GSM48_MT_RR_ADD_ASS
#define GSM48_MT_RR_ADD_ASS
Definition: gsm_04_08.h:1443
OSMO_GSUP_PDP_TYPE_SIZE
#define OSMO_GSUP_PDP_TYPE_SIZE
Definition: gsup.h:61
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:164
_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:1249
sms_alphabet
sms_alphabet
Definition: gsm_04_11.h:112
GSM48_MT_RR_STATUS
#define GSM48_MT_RR_STATUS
Definition: gsm_04_08.h:1514