2012-04-04 20:05:24 +00:00
|
|
|
LIBOSMOGSM_1.0 {
|
|
|
|
global:
|
|
|
|
|
|
|
|
abis_nm_adm_state_names;
|
|
|
|
abis_nm_att_settable;
|
|
|
|
abis_nm_avail_name;
|
2017-01-02 13:43:35 +00:00
|
|
|
abis_nm_fail_evt_rep;
|
2017-01-17 16:46:47 +00:00
|
|
|
abis_nm_fail_evt_vrep;
|
2012-04-04 20:05:24 +00:00
|
|
|
abis_nm_chcomb4pchan;
|
|
|
|
abis_nm_debugp_foh;
|
2018-03-17 09:32:07 +00:00
|
|
|
abis_nm_dump_foh;
|
2019-03-18 17:27:00 +00:00
|
|
|
abis_nm_dump_foh_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
abis_nm_dump_foh_c;
|
2012-04-04 20:05:24 +00:00
|
|
|
abis_nm_event_type_name;
|
|
|
|
abis_nm_nack_cause_name;
|
|
|
|
abis_nm_nack_name;
|
|
|
|
abis_nm_att_tlvdef;
|
2017-01-02 12:42:24 +00:00
|
|
|
abis_nm_att_tlvdef_ipa;
|
2014-05-19 09:25:46 +00:00
|
|
|
abis_nm_osmo_att_tlvdef;
|
2014-08-17 17:36:26 +00:00
|
|
|
abis_nm_msg_disc_names;
|
2012-04-04 20:05:24 +00:00
|
|
|
abis_nm_obj_class_names;
|
|
|
|
abis_nm_opstate_name;
|
|
|
|
abis_nm_nacks;
|
2017-01-02 12:42:24 +00:00
|
|
|
abis_nm_t200_ms;
|
2012-04-04 20:05:24 +00:00
|
|
|
abis_nm_no_ack_nack;
|
|
|
|
abis_nm_pchan4chcomb;
|
|
|
|
abis_nm_reports;
|
|
|
|
abis_nm_severity_name;
|
|
|
|
abis_nm_sw_load_msgs;
|
|
|
|
abis_nm_test_name;
|
2014-08-17 16:42:58 +00:00
|
|
|
abis_nm_osmo_magic;
|
|
|
|
abis_nm_ipa_magic;
|
2017-01-11 10:31:19 +00:00
|
|
|
abis_mm_event_cause_names;
|
2017-01-10 16:49:23 +00:00
|
|
|
abis_nm_pcause_type_names;
|
2017-03-22 14:20:39 +00:00
|
|
|
abis_nm_msgtype_names;
|
2017-03-21 15:55:45 +00:00
|
|
|
abis_nm_att_names;
|
2017-03-24 19:16:33 +00:00
|
|
|
abis_nm_sw_desc_len;
|
|
|
|
abis_nm_put_sw_desc;
|
|
|
|
abis_nm_put_sw_file;
|
|
|
|
abis_nm_get_sw_conf;
|
|
|
|
abis_nm_get_sw_desc_len;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
|
|
|
osmo_sitype_strs;
|
2016-07-07 11:00:43 +00:00
|
|
|
osmo_c4;
|
2017-07-10 12:32:48 +00:00
|
|
|
osmo_get_rand_id;
|
2016-04-22 17:28:09 +00:00
|
|
|
bitvec_add_range1024;
|
2012-04-04 20:05:24 +00:00
|
|
|
comp128;
|
2017-02-27 09:54:00 +00:00
|
|
|
comp128v2;
|
|
|
|
comp128v3;
|
2012-04-04 20:05:24 +00:00
|
|
|
dbm2rxlev;
|
|
|
|
|
2016-03-17 10:51:09 +00:00
|
|
|
osmo_earfcn_add;
|
|
|
|
osmo_earfcn_del;
|
2016-04-15 14:04:04 +00:00
|
|
|
osmo_earfcn_bit_size;
|
2017-05-11 13:38:10 +00:00
|
|
|
osmo_earfcn_bit_size_ext;
|
2016-03-17 10:51:09 +00:00
|
|
|
osmo_earfcn_init;
|
|
|
|
|
2012-04-04 20:05:24 +00:00
|
|
|
gprs_cipher_gen_input_i;
|
|
|
|
gprs_cipher_gen_input_ui;
|
|
|
|
gprs_cipher_load;
|
|
|
|
gprs_cipher_register;
|
|
|
|
gprs_cipher_run;
|
2016-06-28 12:03:21 +00:00
|
|
|
gprs_cipher_names;
|
2012-04-04 20:05:24 +00:00
|
|
|
gprs_cipher_supported;
|
2016-04-21 12:46:30 +00:00
|
|
|
gprs_cipher_key_length;
|
2012-04-04 20:05:24 +00:00
|
|
|
gprs_tlli_type;
|
|
|
|
gprs_tmsi2tlli;
|
2016-06-27 13:51:34 +00:00
|
|
|
gprs_ms_net_cap_gea_supported;
|
2016-07-05 17:17:19 +00:00
|
|
|
gprs_msgt_gmm_names;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
2016-07-14 22:13:45 +00:00
|
|
|
egprs_get_cps;
|
2017-07-31 17:36:52 +00:00
|
|
|
osmo_gprs_ul_block_size_bits;
|
|
|
|
osmo_gprs_dl_block_size_bits;
|
|
|
|
osmo_gprs_ul_block_size_bytes;
|
|
|
|
osmo_gprs_dl_block_size_bytes;
|
|
|
|
osmo_gprs_ul_cs_by_block_bytes;
|
|
|
|
osmo_gprs_dl_cs_by_block_bytes;
|
2016-07-14 22:13:45 +00:00
|
|
|
|
2016-04-20 15:12:24 +00:00
|
|
|
gsm48_gmm_cause_names;
|
|
|
|
gsm48_gsm_cause_names;
|
|
|
|
gprs_att_t_strs;
|
|
|
|
gprs_upd_t_strs;
|
|
|
|
gprs_det_t_mo_strs;
|
|
|
|
gprs_det_t_mt_strs;
|
2016-08-29 11:18:56 +00:00
|
|
|
gprs_service_t_strs;
|
2016-04-20 15:12:24 +00:00
|
|
|
|
2014-12-29 16:09:11 +00:00
|
|
|
gsm0341_build_msg;
|
|
|
|
|
2019-11-27 11:07:04 +00:00
|
|
|
gsm0406_dlci_sapi_names;
|
|
|
|
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0480_create_notifySS;
|
|
|
|
gsm0480_create_unstructuredSS_Notify;
|
|
|
|
gsm0480_create_ussd_resp;
|
2016-11-26 14:21:15 +00:00
|
|
|
gsm0480_create_ussd_notify;
|
|
|
|
gsm0480_create_ussd_release_complete;
|
2019-02-05 19:29:55 +00:00
|
|
|
gsm0480_create_release_complete;
|
|
|
|
|
2018-06-10 20:51:11 +00:00
|
|
|
gsm0480_extract_ie_by_tag;
|
2018-06-10 21:58:53 +00:00
|
|
|
gsm0480_parse_facility_ie;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0480_decode_ussd_request;
|
2012-03-08 12:31:52 +00:00
|
|
|
gsm0480_decode_ss_request;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0480_wrap_facility;
|
|
|
|
gsm0480_wrap_invoke;
|
2018-06-16 16:34:52 +00:00
|
|
|
gsm0480_comp_type_names;
|
|
|
|
gsm0480_op_code_names;
|
2018-07-28 20:55:43 +00:00
|
|
|
gsm0480_msgb_alloc_name;
|
2018-07-28 21:02:48 +00:00
|
|
|
gsm0480_gen_ussd_resp_7bit;
|
2018-07-28 21:05:36 +00:00
|
|
|
gsm0480_gen_return_error;
|
|
|
|
gsm0480_gen_reject;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
|
|
|
gsm0502_calc_paging_group;
|
2019-10-09 11:38:38 +00:00
|
|
|
gsm0502_fn_remap;
|
2020-05-13 20:02:26 +00:00
|
|
|
gsm0502_hop_seq_gen;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
2016-04-29 11:17:22 +00:00
|
|
|
gsm0503_xcch;
|
2016-09-07 16:09:49 +00:00
|
|
|
gsm0503_rach;
|
2017-10-16 12:58:00 +00:00
|
|
|
gsm0503_rach_ext;
|
2016-09-07 16:09:49 +00:00
|
|
|
gsm0503_sch;
|
2016-04-29 11:17:22 +00:00
|
|
|
gsm0503_cs2;
|
|
|
|
gsm0503_cs3;
|
2016-09-22 18:48:59 +00:00
|
|
|
gsm0503_cs2_np;
|
|
|
|
gsm0503_cs3_np;
|
2016-09-07 16:09:49 +00:00
|
|
|
gsm0503_tch_fr;
|
|
|
|
gsm0503_tch_hr;
|
2016-04-29 11:17:22 +00:00
|
|
|
gsm0503_tch_afs_12_2;
|
|
|
|
gsm0503_tch_afs_10_2;
|
|
|
|
gsm0503_tch_afs_7_95;
|
|
|
|
gsm0503_tch_afs_7_4;
|
|
|
|
gsm0503_tch_afs_6_7;
|
|
|
|
gsm0503_tch_afs_5_9;
|
|
|
|
gsm0503_tch_afs_5_15;
|
|
|
|
gsm0503_tch_afs_4_75;
|
2016-09-07 16:09:49 +00:00
|
|
|
gsm0503_tch_ahs_7_95;
|
|
|
|
gsm0503_tch_ahs_7_4;
|
|
|
|
gsm0503_tch_ahs_6_7;
|
|
|
|
gsm0503_tch_ahs_5_9;
|
|
|
|
gsm0503_tch_ahs_5_15;
|
|
|
|
gsm0503_tch_ahs_4_75;
|
2020-02-28 13:27:10 +00:00
|
|
|
gsm0503_tch_axs_sid_update;
|
2016-09-08 15:06:07 +00:00
|
|
|
gsm0503_mcs1_dl_hdr;
|
|
|
|
gsm0503_mcs1_ul_hdr;
|
|
|
|
gsm0503_mcs1;
|
|
|
|
gsm0503_mcs2;
|
|
|
|
gsm0503_mcs3;
|
|
|
|
gsm0503_mcs4;
|
|
|
|
gsm0503_mcs5_dl_hdr;
|
|
|
|
gsm0503_mcs5_ul_hdr;
|
|
|
|
gsm0503_mcs5;
|
|
|
|
gsm0503_mcs6;
|
|
|
|
gsm0503_mcs7_dl_hdr;
|
|
|
|
gsm0503_mcs7_ul_hdr;
|
|
|
|
gsm0503_mcs7;
|
|
|
|
gsm0503_mcs8;
|
|
|
|
gsm0503_mcs9;
|
2016-04-29 11:17:22 +00:00
|
|
|
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0808_att_tlvdef;
|
2021-04-19 10:24:02 +00:00
|
|
|
gsm0808_old_bss_to_new_bss_info_att_tlvdef;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0808_bssap_name;
|
|
|
|
gsm0808_bssmap_name;
|
2018-03-29 10:55:26 +00:00
|
|
|
gsm0808_cause_name;
|
2018-11-07 12:16:54 +00:00
|
|
|
gsm0808_cause_class_name;
|
2020-05-12 20:21:56 +00:00
|
|
|
gsm0808_get_cause;
|
2020-05-12 21:44:04 +00:00
|
|
|
gsm0808_diagnostics_octet_location_str;
|
|
|
|
gsm0808_diagnostics_bit_location_str;
|
2017-03-29 15:53:43 +00:00
|
|
|
gsm0808_create_ass;
|
2018-11-30 09:44:07 +00:00
|
|
|
gsm0808_create_ass2;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0808_create_assignment_completed;
|
2017-03-27 14:55:32 +00:00
|
|
|
gsm0808_create_ass_compl;
|
2019-01-08 13:44:24 +00:00
|
|
|
gsm0808_create_ass_compl2;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0808_create_assignment_failure;
|
2017-03-27 14:55:32 +00:00
|
|
|
gsm0808_create_ass_fail;
|
2017-03-29 13:50:05 +00:00
|
|
|
gsm0808_create_cipher;
|
2021-06-09 22:48:15 +00:00
|
|
|
gsm0808_create_cipher2;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0808_create_cipher_complete;
|
|
|
|
gsm0808_create_cipher_reject;
|
2018-11-07 14:25:05 +00:00
|
|
|
gsm0808_create_cipher_reject_ext;
|
|
|
|
gsm0808_get_cipher_reject_cause;
|
2018-09-13 03:36:32 +00:00
|
|
|
gsm0808_create_classmark_request;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0808_create_classmark_update;
|
|
|
|
gsm0808_create_clear_command;
|
2019-02-04 15:42:28 +00:00
|
|
|
gsm0808_create_clear_command2;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0808_create_clear_complete;
|
|
|
|
gsm0808_create_clear_rqst;
|
2017-03-29 15:37:55 +00:00
|
|
|
gsm0808_create_paging;
|
2018-02-15 17:28:04 +00:00
|
|
|
gsm0808_create_paging2;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0808_create_dtap;
|
|
|
|
gsm0808_create_layer3;
|
2017-03-27 14:55:32 +00:00
|
|
|
gsm0808_create_layer3_aoip;
|
implement support for 3-digit MNC with leading zeros
Enable representing three-digit MNC with leading zeros. The MNCs 23 and 023 are
actually different; so far we treated both as 23. Re-encode an incoming BCD or
string of 023 as it were, i.e. not dropping the leading zero as 23.
Break ABI compatibility by changing the size and ordering of structs
gprs_ra_id, osmo_plmn_id, osmo_cell_global_id, ... by adding an mnc_3_digits
flag.
Change ordering in gprs_ra_id because the canonical oder is {Mobile Country
Code, Mobile Network Code}, so have the mcc member first.
ABI compatibility cannot be maintained for struct gprs_ra_id, since it is a
direct member of structs bssgp_bvc_ctx and bssgp_paging_info, and even just
adding a flag to the end would cause ABI changes of those structs. Similarly,
osmo_plmn_id is a direct member of osmo_location_area_id, and so forth.
Add new API to set and read this additional flag to preserve leading zeros:
- osmo_plmn_to_bcd(), osmo_plmn_from_bcd() after
gsm48_mcc_mnc_to_bcd() and gsm48_mcc_mnc_from_bcd().
- gsm48_decode_lai2(), gsm48_generate_lai2() after
gsm48_decode_lai(), gsm48_generate_lai().
- gsm0808_create_layer3_2() after gsm0808_create_layer3() and gsm0808_create_layer3_aoip().
- various osmo_*_name() functions in gsm23003.h (osmo_rai_name() still in
gsm48.h close to struct gprs_ra_id definition). The amount and duplication of
these may seem a bit overboard, but IMO they do make sense in this way.
Though most code will soon see patches unifying the data structures used, in
some cases (vty, ctrl) they are required singled out. Without these
functions, the formatting ("%0*u", mnc_3_digits ? 3 : 2, mnc) would be
duplicated all over our diverse repositories.
In various log output, include the leading MNC zeros.
Mark one TODO in card_fs_sim.c, I am not sure how to communicate a leading zero
to/from a SIM card FS. The focus here is on the core network / BSS.
To indicate ABI incompatibility, bump libosmogsm and libosmogb LIBVERSIONs;
adjust debian files accordingly.
Implementation choices:
- The default behavior upon zero-initialization will be the mnc_3_digits flag
set to false, which yields exactly the previous behavior.
- I decided against packing the mnc with the mnc_3_digits field into a
sub-struct because it would immediately break all builds of dependent
projects: it would require immediate merging of numerous patches in other
repositories, and it would make compiling older code against a newer
libosmocore unneccessarily hard.
Change-Id: Id2240f7f518494c9df6c8bda52c0d5092f90f221
2018-02-20 12:47:08 +00:00
|
|
|
gsm0808_create_layer3_2;
|
2018-05-29 19:00:56 +00:00
|
|
|
gsm0808_create_lcls_conn_ctrl;
|
|
|
|
gsm0808_create_lcls_conn_ctrl_ack;
|
|
|
|
gsm0808_create_lcls_notification;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0808_create_reset;
|
2017-04-05 15:55:27 +00:00
|
|
|
gsm0808_create_reset_ack;
|
2020-08-26 11:03:59 +00:00
|
|
|
gsm0808_create_sapi_reject_cause;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0808_create_sapi_reject;
|
2018-03-13 02:40:53 +00:00
|
|
|
gsm0808_create_handover_required;
|
2019-03-06 03:25:38 +00:00
|
|
|
gsm0808_create_handover_required_reject;
|
|
|
|
gsm0808_create_handover_request;
|
2018-04-16 20:31:15 +00:00
|
|
|
gsm0808_create_handover_request_ack;
|
2019-03-14 03:10:25 +00:00
|
|
|
gsm0808_create_handover_request_ack2;
|
2019-03-06 03:25:38 +00:00
|
|
|
gsm0808_create_handover_command;
|
2018-04-16 20:42:09 +00:00
|
|
|
gsm0808_create_handover_detect;
|
2019-03-06 03:25:38 +00:00
|
|
|
gsm0808_create_handover_succeeded;
|
2018-04-16 20:42:09 +00:00
|
|
|
gsm0808_create_handover_complete;
|
|
|
|
gsm0808_create_handover_failure;
|
2018-10-30 13:56:59 +00:00
|
|
|
gsm0808_create_handover_performed;
|
2020-06-21 20:04:52 +00:00
|
|
|
gsm0808_create_common_id;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm0808_prepend_dtap_header;
|
2018-11-30 12:36:12 +00:00
|
|
|
gsm0808_enc_cause;
|
2017-03-24 16:59:26 +00:00
|
|
|
gsm0808_enc_aoip_trasp_addr;
|
|
|
|
gsm0808_dec_aoip_trasp_addr;
|
2019-04-16 13:47:59 +00:00
|
|
|
gsm0808_dec_osmux_cid;
|
2017-03-24 17:03:17 +00:00
|
|
|
gsm0808_enc_speech_codec;
|
|
|
|
gsm0808_dec_speech_codec;
|
|
|
|
gsm0808_enc_speech_codec_list;
|
|
|
|
gsm0808_dec_speech_codec_list;
|
2017-03-28 15:05:40 +00:00
|
|
|
gsm0808_enc_channel_type;
|
|
|
|
gsm0808_dec_channel_type;
|
2017-03-28 16:36:52 +00:00
|
|
|
gsm0808_enc_encrypt_info;
|
|
|
|
gsm0808_dec_encrypt_info;
|
2021-06-09 22:48:15 +00:00
|
|
|
gsm0808_enc_kc128;
|
|
|
|
gsm0808_dec_kc128;
|
2017-03-29 09:35:50 +00:00
|
|
|
gsm0808_enc_cell_id_list;
|
2018-02-15 17:28:04 +00:00
|
|
|
gsm0808_enc_cell_id_list2;
|
2017-03-29 09:35:50 +00:00
|
|
|
gsm0808_dec_cell_id_list;
|
2018-02-15 17:28:04 +00:00
|
|
|
gsm0808_dec_cell_id_list2;
|
2018-03-23 00:46:42 +00:00
|
|
|
gsm0808_cell_id_list_add;
|
2018-05-25 14:56:35 +00:00
|
|
|
gsm0808_cell_id_to_list;
|
2019-02-10 21:28:27 +00:00
|
|
|
gsm0808_cell_id_to_cgi;
|
|
|
|
gsm0808_cell_id_from_cgi;
|
2018-04-13 01:30:14 +00:00
|
|
|
gsm0808_enc_cell_id;
|
|
|
|
gsm0808_dec_cell_id;
|
2018-04-17 00:26:10 +00:00
|
|
|
gsm0808_cell_id_name;
|
|
|
|
gsm0808_cell_id_name2;
|
2019-03-18 17:38:47 +00:00
|
|
|
gsm0808_cell_id_name_buf;
|
|
|
|
gsm0808_cell_id_name_c;
|
2018-04-17 00:26:10 +00:00
|
|
|
gsm0808_cell_id_list_name;
|
|
|
|
gsm0808_cell_id_list_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
gsm0808_cell_id_list_name_c;
|
2018-04-17 00:26:10 +00:00
|
|
|
gsm0808_cell_id_discr_names;
|
|
|
|
gsm0808_cell_id_u_name;
|
2018-09-21 13:57:26 +00:00
|
|
|
gsm0808_cell_ids_match;
|
|
|
|
gsm0808_cell_id_matches_list;
|
2017-06-23 00:34:08 +00:00
|
|
|
gsm0808_chan_type_to_speech_codec;
|
2017-06-23 00:34:26 +00:00
|
|
|
gsm0808_speech_codec_from_chan_type;
|
2018-09-19 11:40:21 +00:00
|
|
|
gsm0808_sc_cfg_from_gsm48_mr_cfg;
|
2018-09-25 13:57:49 +00:00
|
|
|
gsm48_mr_cfg_from_gsm0808_sc_cfg;
|
2018-01-12 04:34:03 +00:00
|
|
|
gsm0808_speech_codec_type_names;
|
2018-07-12 16:21:07 +00:00
|
|
|
gsm0808_permitted_speech_names;
|
2018-07-06 15:16:41 +00:00
|
|
|
gsm0808_chosen_enc_alg_names;
|
2018-04-16 20:41:51 +00:00
|
|
|
gsm0808_channel_type_name;
|
2019-03-18 17:27:00 +00:00
|
|
|
gsm0808_channel_type_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
gsm0808_channel_type_name_c;
|
2018-06-02 12:11:19 +00:00
|
|
|
gsm0808_lcls_config_names;
|
|
|
|
gsm0808_lcls_control_names;
|
|
|
|
gsm0808_lcls_status_names;
|
2018-12-19 17:51:00 +00:00
|
|
|
gsm0808_enc_lcls;
|
|
|
|
gsm0808_dec_lcls;
|
2019-05-03 18:06:50 +00:00
|
|
|
gsm0808_msgb_put_cell_id_u;
|
2019-05-03 19:01:13 +00:00
|
|
|
gsm0808_decode_cell_id_u;
|
2020-09-18 16:00:50 +00:00
|
|
|
gsm0808_create_perform_location_request;
|
|
|
|
gsm0808_create_perform_location_response;
|
|
|
|
gsm0808_create_perform_location_abort;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
2018-12-07 11:31:08 +00:00
|
|
|
gsm29118_msgb_alloc;
|
|
|
|
gsm29118_create_alert_req;
|
|
|
|
gsm29118_create_dl_ud;
|
|
|
|
gsm29118_create_eps_det_ack;
|
|
|
|
gsm29118_create_imsi_det_ack;
|
|
|
|
gsm29118_create_lu_ack;
|
|
|
|
gsm29118_create_lu_rej;
|
|
|
|
gsm29118_create_mm_info_req;
|
|
|
|
gsm29118_create_paging_req;
|
|
|
|
gsm29118_create_reset_ack;
|
|
|
|
gsm29118_create_reset_ind;
|
|
|
|
gsm29118_create_status;
|
|
|
|
gsm29118_create_release_req;
|
|
|
|
gsm29118_create_service_abort_req;
|
|
|
|
|
2018-12-10 09:57:59 +00:00
|
|
|
osmo_enc_gcr;
|
|
|
|
osmo_dec_gcr;
|
2019-01-14 18:31:42 +00:00
|
|
|
osmo_gcr_eq;
|
2019-01-15 15:37:09 +00:00
|
|
|
osmo_gcr_dump;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_gcr_dump_buf;
|
2019-01-15 15:37:09 +00:00
|
|
|
osmo_lcls_dump;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_lcls_dump_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_lcls_dump_c;
|
2018-12-10 09:57:59 +00:00
|
|
|
|
2016-05-11 15:33:17 +00:00
|
|
|
gsm0858_rsl_ul_meas_enc;
|
|
|
|
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm338_get_sms_alphabet;
|
|
|
|
|
|
|
|
gsm340_gen_oa;
|
|
|
|
gsm340_gen_scts;
|
|
|
|
gsm340_scts;
|
|
|
|
gsm340_validity_period;
|
|
|
|
|
|
|
|
gsm411_bcdify;
|
|
|
|
gsm411_msgb_alloc;
|
|
|
|
gsm411_push_cp_header;
|
|
|
|
gsm411_push_rp_header;
|
|
|
|
gsm411_smc_clear;
|
|
|
|
gsm411_smc_init;
|
|
|
|
gsm411_smc_recv;
|
|
|
|
gsm411_smc_send;
|
|
|
|
gsm411_smr_clear;
|
|
|
|
gsm411_smr_init;
|
|
|
|
gsm411_smr_recv;
|
|
|
|
gsm411_smr_send;
|
|
|
|
gsm411_unbcdify;
|
|
|
|
gsm411_cp_cause_strs;
|
2018-01-24 15:50:11 +00:00
|
|
|
gsm411_cp_state_names;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm411_rp_cause_strs;
|
2018-01-24 15:50:11 +00:00
|
|
|
gsm411_rp_state_names;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
2017-05-29 13:58:43 +00:00
|
|
|
gsm414_msgt_names;
|
|
|
|
|
2018-08-02 22:44:00 +00:00
|
|
|
gsm48_push_l3hdr;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm48_att_tlvdef;
|
|
|
|
gsm48_cc_msg_name;
|
2019-05-28 16:46:20 +00:00
|
|
|
osmo_gsm48_rest_octets_si1_encode;
|
|
|
|
osmo_gsm48_rest_octets_si2quater_encode;
|
|
|
|
osmo_gsm48_rest_octets_si6_encode;
|
|
|
|
osmo_gsm48_rest_octets_si3_encode;
|
|
|
|
osmo_gsm48_rest_octets_si4_encode;
|
2021-02-09 17:28:25 +00:00
|
|
|
osmo_gsm48_rest_octets_si13_decode;
|
2019-05-28 16:46:20 +00:00
|
|
|
osmo_gsm48_rest_octets_si13_encode;
|
2019-05-28 15:56:21 +00:00
|
|
|
osmo_gsm48_rest_octets_si3_decode;
|
2020-10-11 18:04:04 +00:00
|
|
|
osmo_gsm48_rest_octets_si4_decode;
|
2016-10-27 11:35:20 +00:00
|
|
|
gsm48_rr_msg_name;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm48_cc_state_name;
|
|
|
|
gsm48_construct_ra;
|
2021-02-03 21:11:46 +00:00
|
|
|
gsm48_ra_equal;
|
2018-01-05 13:19:33 +00:00
|
|
|
gsm48_encode_ra;
|
2016-07-05 14:06:28 +00:00
|
|
|
gsm48_hdr_gmm_cipherable;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm48_decode_bcd_number;
|
2019-04-01 12:34:37 +00:00
|
|
|
gsm48_decode_bcd_number2;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm48_decode_bearer_cap;
|
|
|
|
gsm48_decode_called;
|
|
|
|
gsm48_decode_callerid;
|
|
|
|
gsm48_decode_calling;
|
|
|
|
gsm48_decode_cause;
|
|
|
|
gsm48_decode_cccap;
|
|
|
|
gsm48_decode_connected;
|
|
|
|
gsm48_decode_facility;
|
|
|
|
gsm48_decode_freq_list;
|
2020-11-12 10:33:54 +00:00
|
|
|
gsm48_decode_classmark3;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm48_decode_keypad;
|
2012-07-13 19:48:35 +00:00
|
|
|
gsm48_decode_lai;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm48_decode_notify;
|
|
|
|
gsm48_decode_progress;
|
|
|
|
gsm48_decode_redirecting;
|
|
|
|
gsm48_decode_signal;
|
|
|
|
gsm48_decode_ssversion;
|
|
|
|
gsm48_decode_useruser;
|
|
|
|
gsm48_encode_bcd_number;
|
|
|
|
gsm48_encode_bearer_cap;
|
|
|
|
gsm48_encode_called;
|
|
|
|
gsm48_encode_callerid;
|
|
|
|
gsm48_encode_calling;
|
|
|
|
gsm48_encode_cause;
|
|
|
|
gsm48_encode_cccap;
|
|
|
|
gsm48_encode_connected;
|
|
|
|
gsm48_encode_facility;
|
|
|
|
gsm48_encode_keypad;
|
|
|
|
gsm48_encode_more;
|
|
|
|
gsm48_encode_notify;
|
|
|
|
gsm48_encode_progress;
|
|
|
|
gsm48_encode_redirecting;
|
|
|
|
gsm48_encode_signal;
|
|
|
|
gsm48_encode_ssversion;
|
|
|
|
gsm48_encode_useruser;
|
|
|
|
gsm48_generate_lai;
|
2018-02-15 10:42:11 +00:00
|
|
|
gsm48_generate_mid;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm48_generate_mid_from_imsi;
|
|
|
|
gsm48_generate_mid_from_tmsi;
|
|
|
|
gsm48_mi_to_string;
|
2021-04-16 13:36:58 +00:00
|
|
|
gsm48_chan_mode_to_vamos;
|
|
|
|
gsm48_chan_mode_to_non_vamos;
|
add osmo_mobile_identity API
Implement better API around 3GPP TS 24.008 Mobile Identity coding.
struct osmo_mobile_identity is a decoded representation of the raw Mobile
Identity, with a string representation as well as dedicated raw uint32_t TMSI.
The aim is to remove all uncertainty about decoded buffer sizes / data types.
I have patches ready for current osmo CNI programs, replacing the Mobile
Identity coding with this new API. Deprecate the old MI API.
osmo-bsc: I71c3b4c65dbfdfa51409e09d4868aea83225338a
osmo-msc: Ic3f969e739654c1e8c387aedeeba5cce07fe2307
osmo-sgsn: I4cacb10bac419633ca0c14f244f9903f7f517b49
Note that some GPRS and SGs related coding is done here in libosmocore and
hence currently remains using the old implementation (see previous version of
this patch: Ic3f969e739654c1e8c387aedeeba5cce07fe2307).
New API functions provide properly size-checking implementations of:
- decoding a raw MI from a bunch of MI octets;
- locating and decoding MI from a full 3GPP TS 24.008 Complete Layer 3 msgb;
- encoding to a buffer;
- encoding to the end of a msgb.
Other than the old gsm48_generate_mid(), omit a TLV tag and length from
encoding. Many callers manually stripped the tag and value after calling
gsm48_generate_mid(). The aim is to leave writing a TL to the caller entirely,
especially since some callers need to use a TvL, i.e. support a variable-size
length of 8 or 16 bit.
New validity checks so far not implemented anywhere else:
- stricter validation of number of digits of IMSI, IMEI, IMEI-SV MI.
- stricter on filler nibbles to be 0xf.
As a result, applications using osmo_mobile_identity will be stricter in
rejecting coding mistakes (some of which we currently have in our test suites,
and which we'll need to fix).
Rationale:
While implementing osmo-bsc's MSC pooling feature in osmo-bsc, this API will be
used to reduce the number of times a Mobile Identity is extracted from a raw
RSL message.
Extracting the Mobile Identity from messages has numerous duplicate
implementations across our code with various levels of specialization.
https://xkcd.com/927/
To name a few:
- libosmocore: gsm48_mi_to_string(), osmo_mi_name_buf()
- osmo-bsc: extract_sub()
- osmo-msc: mm_rx_loc_upd_req(), cm_serv_reuse_conn(), gsm48_rx_mm_serv_req(),
vlr_proc_acc_req()
We have existing functions to produce a human readable string from a Mobile
Identity, more or less awkward:
- gsm48_mi_to_string() decodes a TMSI as a decimal number. These days we use
hexadecimal TMSI everywhere.
- osmo_mi_name_buf() decodes the BCD digits from a raw MI every time, so we'd
need to pass around the raw message bytes. Also, osmo_mi_name_buf() has the
wrong signature, it should return a length like snprintf().
- osmo-bsc's extract_sub() first uses gsm48_mi_to_string() which encodes the
raw uint32_t TMSI to a string, and then calls strtoul() via
tmsi_from_string() to code those back to a raw uint32_t.
Each of the above implementations employ their own size overflow checks, each
invoke osmo_bcd2str() and implement their own TMSI osmo_load32be() handling.
Too much code dup, let's hope that each and every one is correct.
In osmo-bsc, I am now implementing MSC pooling, and need to extract NRI bits
from a TMSI Mobile Identity. Since none of the above functions are general
enough to be re-used, I found myself again copy-pasting Mobile Identity code:
locating the MI in a 24.008 message with proper size checks, decoding MI
octets.
This time I would like it to become a generally re-usable API.
This patch was first merged as Ic3f969e739654c1e8c387aedeeba5cce07fe2307 and
caused test fallout, because it re-implemented old API with the new stricter
decoding. In this patch version, old API remains 1:1 unchanged to avoid such
fallout. Applications will soon switch to the new osmo_mobile_identity API and
become stricter on MI coding when that happens, not implicitly by a new
libosmocore version.
Change-Id: If4f7be606e54cfa1c59084cf169785b1cbda5cf5
2020-05-26 00:45:23 +00:00
|
|
|
osmo_mobile_identity_to_str_buf;
|
|
|
|
osmo_mobile_identity_to_str_c;
|
|
|
|
osmo_mobile_identity_cmp;
|
|
|
|
osmo_mobile_identity_decode;
|
|
|
|
osmo_mobile_identity_decode_from_l3;
|
|
|
|
osmo_mobile_identity_encoded_len;
|
|
|
|
osmo_mobile_identity_encode_buf;
|
|
|
|
osmo_mobile_identity_encode_msgb;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm48_mm_att_tlvdef;
|
|
|
|
gsm48_number_of_paging_subchannels;
|
|
|
|
gsm48_parse_ra;
|
|
|
|
gsm48_rr_att_tlvdef;
|
2016-05-10 15:17:05 +00:00
|
|
|
gsm48_set_dtx;
|
|
|
|
gsm48_dtx_mode;
|
2015-08-16 15:56:25 +00:00
|
|
|
gsm48_mi_type_name;
|
2019-01-04 23:38:54 +00:00
|
|
|
osmo_mi_name;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_mi_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_mi_name_c;
|
2016-03-15 12:28:10 +00:00
|
|
|
gsm48_mcc_mnc_to_bcd;
|
|
|
|
gsm48_mcc_mnc_from_bcd;
|
implement support for 3-digit MNC with leading zeros
Enable representing three-digit MNC with leading zeros. The MNCs 23 and 023 are
actually different; so far we treated both as 23. Re-encode an incoming BCD or
string of 023 as it were, i.e. not dropping the leading zero as 23.
Break ABI compatibility by changing the size and ordering of structs
gprs_ra_id, osmo_plmn_id, osmo_cell_global_id, ... by adding an mnc_3_digits
flag.
Change ordering in gprs_ra_id because the canonical oder is {Mobile Country
Code, Mobile Network Code}, so have the mcc member first.
ABI compatibility cannot be maintained for struct gprs_ra_id, since it is a
direct member of structs bssgp_bvc_ctx and bssgp_paging_info, and even just
adding a flag to the end would cause ABI changes of those structs. Similarly,
osmo_plmn_id is a direct member of osmo_location_area_id, and so forth.
Add new API to set and read this additional flag to preserve leading zeros:
- osmo_plmn_to_bcd(), osmo_plmn_from_bcd() after
gsm48_mcc_mnc_to_bcd() and gsm48_mcc_mnc_from_bcd().
- gsm48_decode_lai2(), gsm48_generate_lai2() after
gsm48_decode_lai(), gsm48_generate_lai().
- gsm0808_create_layer3_2() after gsm0808_create_layer3() and gsm0808_create_layer3_aoip().
- various osmo_*_name() functions in gsm23003.h (osmo_rai_name() still in
gsm48.h close to struct gprs_ra_id definition). The amount and duplication of
these may seem a bit overboard, but IMO they do make sense in this way.
Though most code will soon see patches unifying the data structures used, in
some cases (vty, ctrl) they are required singled out. Without these
functions, the formatting ("%0*u", mnc_3_digits ? 3 : 2, mnc) would be
duplicated all over our diverse repositories.
In various log output, include the leading MNC zeros.
Mark one TODO in card_fs_sim.c, I am not sure how to communicate a leading zero
to/from a SIM card FS. The focus here is on the core network / BSS.
To indicate ABI incompatibility, bump libosmogsm and libosmogb LIBVERSIONs;
adjust debian files accordingly.
Implementation choices:
- The default behavior upon zero-initialization will be the mnc_3_digits flag
set to false, which yields exactly the previous behavior.
- I decided against packing the mnc with the mnc_3_digits field into a
sub-struct because it would immediately break all builds of dependent
projects: it would require immediate merging of numerous patches in other
repositories, and it would make compiling older code against a newer
libosmocore unneccessarily hard.
Change-Id: Id2240f7f518494c9df6c8bda52c0d5092f90f221
2018-02-20 12:47:08 +00:00
|
|
|
gsm48_generate_lai2;
|
|
|
|
gsm48_decode_lai2;
|
2018-03-01 18:13:05 +00:00
|
|
|
osmo_bts_features_descs;
|
|
|
|
osmo_bts_feature_name;
|
2021-04-02 21:20:09 +00:00
|
|
|
osmo_bts_features_names;
|
implement support for 3-digit MNC with leading zeros
Enable representing three-digit MNC with leading zeros. The MNCs 23 and 023 are
actually different; so far we treated both as 23. Re-encode an incoming BCD or
string of 023 as it were, i.e. not dropping the leading zero as 23.
Break ABI compatibility by changing the size and ordering of structs
gprs_ra_id, osmo_plmn_id, osmo_cell_global_id, ... by adding an mnc_3_digits
flag.
Change ordering in gprs_ra_id because the canonical oder is {Mobile Country
Code, Mobile Network Code}, so have the mcc member first.
ABI compatibility cannot be maintained for struct gprs_ra_id, since it is a
direct member of structs bssgp_bvc_ctx and bssgp_paging_info, and even just
adding a flag to the end would cause ABI changes of those structs. Similarly,
osmo_plmn_id is a direct member of osmo_location_area_id, and so forth.
Add new API to set and read this additional flag to preserve leading zeros:
- osmo_plmn_to_bcd(), osmo_plmn_from_bcd() after
gsm48_mcc_mnc_to_bcd() and gsm48_mcc_mnc_from_bcd().
- gsm48_decode_lai2(), gsm48_generate_lai2() after
gsm48_decode_lai(), gsm48_generate_lai().
- gsm0808_create_layer3_2() after gsm0808_create_layer3() and gsm0808_create_layer3_aoip().
- various osmo_*_name() functions in gsm23003.h (osmo_rai_name() still in
gsm48.h close to struct gprs_ra_id definition). The amount and duplication of
these may seem a bit overboard, but IMO they do make sense in this way.
Though most code will soon see patches unifying the data structures used, in
some cases (vty, ctrl) they are required singled out. Without these
functions, the formatting ("%0*u", mnc_3_digits ? 3 : 2, mnc) would be
duplicated all over our diverse repositories.
In various log output, include the leading MNC zeros.
Mark one TODO in card_fs_sim.c, I am not sure how to communicate a leading zero
to/from a SIM card FS. The focus here is on the core network / BSS.
To indicate ABI incompatibility, bump libosmogsm and libosmogb LIBVERSIONs;
adjust debian files accordingly.
Implementation choices:
- The default behavior upon zero-initialization will be the mnc_3_digits flag
set to false, which yields exactly the previous behavior.
- I decided against packing the mnc with the mnc_3_digits field into a
sub-struct because it would immediately break all builds of dependent
projects: it would require immediate merging of numerous patches in other
repositories, and it would make compiling older code against a newer
libosmocore unneccessarily hard.
Change-Id: Id2240f7f518494c9df6c8bda52c0d5092f90f221
2018-02-20 12:47:08 +00:00
|
|
|
osmo_plmn_to_bcd;
|
|
|
|
osmo_plmn_from_bcd;
|
|
|
|
osmo_mcc_name;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_mcc_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_mcc_name_c;
|
implement support for 3-digit MNC with leading zeros
Enable representing three-digit MNC with leading zeros. The MNCs 23 and 023 are
actually different; so far we treated both as 23. Re-encode an incoming BCD or
string of 023 as it were, i.e. not dropping the leading zero as 23.
Break ABI compatibility by changing the size and ordering of structs
gprs_ra_id, osmo_plmn_id, osmo_cell_global_id, ... by adding an mnc_3_digits
flag.
Change ordering in gprs_ra_id because the canonical oder is {Mobile Country
Code, Mobile Network Code}, so have the mcc member first.
ABI compatibility cannot be maintained for struct gprs_ra_id, since it is a
direct member of structs bssgp_bvc_ctx and bssgp_paging_info, and even just
adding a flag to the end would cause ABI changes of those structs. Similarly,
osmo_plmn_id is a direct member of osmo_location_area_id, and so forth.
Add new API to set and read this additional flag to preserve leading zeros:
- osmo_plmn_to_bcd(), osmo_plmn_from_bcd() after
gsm48_mcc_mnc_to_bcd() and gsm48_mcc_mnc_from_bcd().
- gsm48_decode_lai2(), gsm48_generate_lai2() after
gsm48_decode_lai(), gsm48_generate_lai().
- gsm0808_create_layer3_2() after gsm0808_create_layer3() and gsm0808_create_layer3_aoip().
- various osmo_*_name() functions in gsm23003.h (osmo_rai_name() still in
gsm48.h close to struct gprs_ra_id definition). The amount and duplication of
these may seem a bit overboard, but IMO they do make sense in this way.
Though most code will soon see patches unifying the data structures used, in
some cases (vty, ctrl) they are required singled out. Without these
functions, the formatting ("%0*u", mnc_3_digits ? 3 : 2, mnc) would be
duplicated all over our diverse repositories.
In various log output, include the leading MNC zeros.
Mark one TODO in card_fs_sim.c, I am not sure how to communicate a leading zero
to/from a SIM card FS. The focus here is on the core network / BSS.
To indicate ABI incompatibility, bump libosmogsm and libosmogb LIBVERSIONs;
adjust debian files accordingly.
Implementation choices:
- The default behavior upon zero-initialization will be the mnc_3_digits flag
set to false, which yields exactly the previous behavior.
- I decided against packing the mnc with the mnc_3_digits field into a
sub-struct because it would immediately break all builds of dependent
projects: it would require immediate merging of numerous patches in other
repositories, and it would make compiling older code against a newer
libosmocore unneccessarily hard.
Change-Id: Id2240f7f518494c9df6c8bda52c0d5092f90f221
2018-02-20 12:47:08 +00:00
|
|
|
osmo_mnc_name;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_mnc_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_mnc_name_c;
|
implement support for 3-digit MNC with leading zeros
Enable representing three-digit MNC with leading zeros. The MNCs 23 and 023 are
actually different; so far we treated both as 23. Re-encode an incoming BCD or
string of 023 as it were, i.e. not dropping the leading zero as 23.
Break ABI compatibility by changing the size and ordering of structs
gprs_ra_id, osmo_plmn_id, osmo_cell_global_id, ... by adding an mnc_3_digits
flag.
Change ordering in gprs_ra_id because the canonical oder is {Mobile Country
Code, Mobile Network Code}, so have the mcc member first.
ABI compatibility cannot be maintained for struct gprs_ra_id, since it is a
direct member of structs bssgp_bvc_ctx and bssgp_paging_info, and even just
adding a flag to the end would cause ABI changes of those structs. Similarly,
osmo_plmn_id is a direct member of osmo_location_area_id, and so forth.
Add new API to set and read this additional flag to preserve leading zeros:
- osmo_plmn_to_bcd(), osmo_plmn_from_bcd() after
gsm48_mcc_mnc_to_bcd() and gsm48_mcc_mnc_from_bcd().
- gsm48_decode_lai2(), gsm48_generate_lai2() after
gsm48_decode_lai(), gsm48_generate_lai().
- gsm0808_create_layer3_2() after gsm0808_create_layer3() and gsm0808_create_layer3_aoip().
- various osmo_*_name() functions in gsm23003.h (osmo_rai_name() still in
gsm48.h close to struct gprs_ra_id definition). The amount and duplication of
these may seem a bit overboard, but IMO they do make sense in this way.
Though most code will soon see patches unifying the data structures used, in
some cases (vty, ctrl) they are required singled out. Without these
functions, the formatting ("%0*u", mnc_3_digits ? 3 : 2, mnc) would be
duplicated all over our diverse repositories.
In various log output, include the leading MNC zeros.
Mark one TODO in card_fs_sim.c, I am not sure how to communicate a leading zero
to/from a SIM card FS. The focus here is on the core network / BSS.
To indicate ABI incompatibility, bump libosmogsm and libosmogb LIBVERSIONs;
adjust debian files accordingly.
Implementation choices:
- The default behavior upon zero-initialization will be the mnc_3_digits flag
set to false, which yields exactly the previous behavior.
- I decided against packing the mnc with the mnc_3_digits field into a
sub-struct because it would immediately break all builds of dependent
projects: it would require immediate merging of numerous patches in other
repositories, and it would make compiling older code against a newer
libosmocore unneccessarily hard.
Change-Id: Id2240f7f518494c9df6c8bda52c0d5092f90f221
2018-02-20 12:47:08 +00:00
|
|
|
osmo_plmn_name;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_plmn_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_plmn_name_c;
|
implement support for 3-digit MNC with leading zeros
Enable representing three-digit MNC with leading zeros. The MNCs 23 and 023 are
actually different; so far we treated both as 23. Re-encode an incoming BCD or
string of 023 as it were, i.e. not dropping the leading zero as 23.
Break ABI compatibility by changing the size and ordering of structs
gprs_ra_id, osmo_plmn_id, osmo_cell_global_id, ... by adding an mnc_3_digits
flag.
Change ordering in gprs_ra_id because the canonical oder is {Mobile Country
Code, Mobile Network Code}, so have the mcc member first.
ABI compatibility cannot be maintained for struct gprs_ra_id, since it is a
direct member of structs bssgp_bvc_ctx and bssgp_paging_info, and even just
adding a flag to the end would cause ABI changes of those structs. Similarly,
osmo_plmn_id is a direct member of osmo_location_area_id, and so forth.
Add new API to set and read this additional flag to preserve leading zeros:
- osmo_plmn_to_bcd(), osmo_plmn_from_bcd() after
gsm48_mcc_mnc_to_bcd() and gsm48_mcc_mnc_from_bcd().
- gsm48_decode_lai2(), gsm48_generate_lai2() after
gsm48_decode_lai(), gsm48_generate_lai().
- gsm0808_create_layer3_2() after gsm0808_create_layer3() and gsm0808_create_layer3_aoip().
- various osmo_*_name() functions in gsm23003.h (osmo_rai_name() still in
gsm48.h close to struct gprs_ra_id definition). The amount and duplication of
these may seem a bit overboard, but IMO they do make sense in this way.
Though most code will soon see patches unifying the data structures used, in
some cases (vty, ctrl) they are required singled out. Without these
functions, the formatting ("%0*u", mnc_3_digits ? 3 : 2, mnc) would be
duplicated all over our diverse repositories.
In various log output, include the leading MNC zeros.
Mark one TODO in card_fs_sim.c, I am not sure how to communicate a leading zero
to/from a SIM card FS. The focus here is on the core network / BSS.
To indicate ABI incompatibility, bump libosmogsm and libosmogb LIBVERSIONs;
adjust debian files accordingly.
Implementation choices:
- The default behavior upon zero-initialization will be the mnc_3_digits flag
set to false, which yields exactly the previous behavior.
- I decided against packing the mnc with the mnc_3_digits field into a
sub-struct because it would immediately break all builds of dependent
projects: it would require immediate merging of numerous patches in other
repositories, and it would make compiling older code against a newer
libosmocore unneccessarily hard.
Change-Id: Id2240f7f518494c9df6c8bda52c0d5092f90f221
2018-02-20 12:47:08 +00:00
|
|
|
osmo_plmn_name2;
|
2021-01-22 16:44:04 +00:00
|
|
|
osmo_lai_cmp;
|
implement support for 3-digit MNC with leading zeros
Enable representing three-digit MNC with leading zeros. The MNCs 23 and 023 are
actually different; so far we treated both as 23. Re-encode an incoming BCD or
string of 023 as it were, i.e. not dropping the leading zero as 23.
Break ABI compatibility by changing the size and ordering of structs
gprs_ra_id, osmo_plmn_id, osmo_cell_global_id, ... by adding an mnc_3_digits
flag.
Change ordering in gprs_ra_id because the canonical oder is {Mobile Country
Code, Mobile Network Code}, so have the mcc member first.
ABI compatibility cannot be maintained for struct gprs_ra_id, since it is a
direct member of structs bssgp_bvc_ctx and bssgp_paging_info, and even just
adding a flag to the end would cause ABI changes of those structs. Similarly,
osmo_plmn_id is a direct member of osmo_location_area_id, and so forth.
Add new API to set and read this additional flag to preserve leading zeros:
- osmo_plmn_to_bcd(), osmo_plmn_from_bcd() after
gsm48_mcc_mnc_to_bcd() and gsm48_mcc_mnc_from_bcd().
- gsm48_decode_lai2(), gsm48_generate_lai2() after
gsm48_decode_lai(), gsm48_generate_lai().
- gsm0808_create_layer3_2() after gsm0808_create_layer3() and gsm0808_create_layer3_aoip().
- various osmo_*_name() functions in gsm23003.h (osmo_rai_name() still in
gsm48.h close to struct gprs_ra_id definition). The amount and duplication of
these may seem a bit overboard, but IMO they do make sense in this way.
Though most code will soon see patches unifying the data structures used, in
some cases (vty, ctrl) they are required singled out. Without these
functions, the formatting ("%0*u", mnc_3_digits ? 3 : 2, mnc) would be
duplicated all over our diverse repositories.
In various log output, include the leading MNC zeros.
Mark one TODO in card_fs_sim.c, I am not sure how to communicate a leading zero
to/from a SIM card FS. The focus here is on the core network / BSS.
To indicate ABI incompatibility, bump libosmogsm and libosmogb LIBVERSIONs;
adjust debian files accordingly.
Implementation choices:
- The default behavior upon zero-initialization will be the mnc_3_digits flag
set to false, which yields exactly the previous behavior.
- I decided against packing the mnc with the mnc_3_digits field into a
sub-struct because it would immediately break all builds of dependent
projects: it would require immediate merging of numerous patches in other
repositories, and it would make compiling older code against a newer
libosmocore unneccessarily hard.
Change-Id: Id2240f7f518494c9df6c8bda52c0d5092f90f221
2018-02-20 12:47:08 +00:00
|
|
|
osmo_lai_name;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_lai_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_lai_name_c;
|
2021-01-22 16:44:34 +00:00
|
|
|
osmo_rai_cmp;
|
implement support for 3-digit MNC with leading zeros
Enable representing three-digit MNC with leading zeros. The MNCs 23 and 023 are
actually different; so far we treated both as 23. Re-encode an incoming BCD or
string of 023 as it were, i.e. not dropping the leading zero as 23.
Break ABI compatibility by changing the size and ordering of structs
gprs_ra_id, osmo_plmn_id, osmo_cell_global_id, ... by adding an mnc_3_digits
flag.
Change ordering in gprs_ra_id because the canonical oder is {Mobile Country
Code, Mobile Network Code}, so have the mcc member first.
ABI compatibility cannot be maintained for struct gprs_ra_id, since it is a
direct member of structs bssgp_bvc_ctx and bssgp_paging_info, and even just
adding a flag to the end would cause ABI changes of those structs. Similarly,
osmo_plmn_id is a direct member of osmo_location_area_id, and so forth.
Add new API to set and read this additional flag to preserve leading zeros:
- osmo_plmn_to_bcd(), osmo_plmn_from_bcd() after
gsm48_mcc_mnc_to_bcd() and gsm48_mcc_mnc_from_bcd().
- gsm48_decode_lai2(), gsm48_generate_lai2() after
gsm48_decode_lai(), gsm48_generate_lai().
- gsm0808_create_layer3_2() after gsm0808_create_layer3() and gsm0808_create_layer3_aoip().
- various osmo_*_name() functions in gsm23003.h (osmo_rai_name() still in
gsm48.h close to struct gprs_ra_id definition). The amount and duplication of
these may seem a bit overboard, but IMO they do make sense in this way.
Though most code will soon see patches unifying the data structures used, in
some cases (vty, ctrl) they are required singled out. Without these
functions, the formatting ("%0*u", mnc_3_digits ? 3 : 2, mnc) would be
duplicated all over our diverse repositories.
In various log output, include the leading MNC zeros.
Mark one TODO in card_fs_sim.c, I am not sure how to communicate a leading zero
to/from a SIM card FS. The focus here is on the core network / BSS.
To indicate ABI incompatibility, bump libosmogsm and libosmogb LIBVERSIONs;
adjust debian files accordingly.
Implementation choices:
- The default behavior upon zero-initialization will be the mnc_3_digits flag
set to false, which yields exactly the previous behavior.
- I decided against packing the mnc with the mnc_3_digits field into a
sub-struct because it would immediately break all builds of dependent
projects: it would require immediate merging of numerous patches in other
repositories, and it would make compiling older code against a newer
libosmocore unneccessarily hard.
Change-Id: Id2240f7f518494c9df6c8bda52c0d5092f90f221
2018-02-20 12:47:08 +00:00
|
|
|
osmo_rai_name;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_rai_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_rai_name_c;
|
2021-01-05 18:36:48 +00:00
|
|
|
osmo_rai_name2;
|
|
|
|
osmo_rai_name2_buf;
|
|
|
|
osmo_rai_name2_c;
|
2021-01-22 16:44:04 +00:00
|
|
|
osmo_cgi_cmp;
|
2018-03-22 13:04:30 +00:00
|
|
|
osmo_cgi_name;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_cgi_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_cgi_name_c;
|
2018-03-22 13:04:30 +00:00
|
|
|
osmo_cgi_name2;
|
2021-01-22 16:44:34 +00:00
|
|
|
osmo_cgi_ps_cmp;
|
2021-01-05 18:36:48 +00:00
|
|
|
osmo_cgi_ps_name;
|
|
|
|
osmo_cgi_ps_name_buf;
|
|
|
|
osmo_cgi_ps_name_c;
|
|
|
|
osmo_cgi_ps_name2;
|
2018-10-08 20:27:04 +00:00
|
|
|
osmo_gummei_name;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_gummei_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_gummei_name_c;
|
2018-02-20 20:38:00 +00:00
|
|
|
osmo_mnc_from_str;
|
|
|
|
osmo_mnc_cmp;
|
|
|
|
osmo_plmn_cmp;
|
2018-10-08 20:27:04 +00:00
|
|
|
osmo_gen_home_network_domain;
|
|
|
|
osmo_parse_home_network_domain;
|
|
|
|
osmo_gen_mme_domain;
|
|
|
|
osmo_parse_mme_domain;
|
|
|
|
osmo_gen_mme_group_domain;
|
2016-03-30 19:14:53 +00:00
|
|
|
gsm48_chan_mode_names;
|
|
|
|
gsm_chan_t_names;
|
2017-03-09 22:07:02 +00:00
|
|
|
gsm48_pdisc_names;
|
2017-03-09 22:27:56 +00:00
|
|
|
gsm48_rr_msgtype_names;
|
|
|
|
gsm48_mm_msgtype_names;
|
|
|
|
gsm48_cc_msgtype_names;
|
2018-08-31 18:09:18 +00:00
|
|
|
gsm48_cc_cause_names;
|
2017-03-09 22:27:56 +00:00
|
|
|
gsm48_pdisc_msgtype_name;
|
2019-03-18 17:27:00 +00:00
|
|
|
gsm48_pdisc_msgtype_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
gsm48_pdisc_msgtype_name_c;
|
2018-04-06 02:31:00 +00:00
|
|
|
gsm48_reject_value_names;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
|
|
|
gsm_7bit_decode;
|
2013-08-08 10:38:53 +00:00
|
|
|
gsm_7bit_decode_ussd;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm_7bit_encode;
|
2013-08-08 10:38:53 +00:00
|
|
|
gsm_7bit_encode_ussd;
|
2013-08-08 10:38:52 +00:00
|
|
|
gsm_7bit_encode_oct;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
2013-08-12 15:07:53 +00:00
|
|
|
gsm_7bit_decode_n;
|
|
|
|
gsm_7bit_decode_n_ussd;
|
|
|
|
gsm_7bit_decode_n_hdr;
|
|
|
|
gsm_7bit_encode_n;
|
|
|
|
gsm_7bit_encode_n_ussd;
|
|
|
|
|
2018-11-16 11:59:46 +00:00
|
|
|
gsm_arfcn2band_rc;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm_arfcn2band;
|
|
|
|
gsm_arfcn2freq10;
|
2012-12-11 22:44:41 +00:00
|
|
|
gsm_freq102arfcn;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm_band_name;
|
|
|
|
gsm_band_parse;
|
|
|
|
gsm_fn2gsmtime;
|
2017-06-26 08:50:28 +00:00
|
|
|
gsm_fn_as_gsmtime_str;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm_get_octet_len;
|
|
|
|
gsm_gsmtime2fn;
|
2017-07-03 08:42:42 +00:00
|
|
|
osmo_dump_gsmtime;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_dump_gsmtime_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_dump_gsmtime_c;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
|
|
|
gsm_milenage;
|
|
|
|
gsm_septet_encode;
|
2021-01-30 00:31:32 +00:00
|
|
|
gsm_septet_pack;
|
2012-04-04 20:05:24 +00:00
|
|
|
gsm_septets2octets;
|
|
|
|
|
|
|
|
lapd_dl_exit;
|
|
|
|
lapd_dl_init;
|
2020-05-02 17:56:36 +00:00
|
|
|
lapd_dl_init2;
|
|
|
|
lapd_dl_set_name;
|
2012-04-04 20:05:24 +00:00
|
|
|
lapd_dl_reset;
|
|
|
|
lapd_msgb_alloc;
|
|
|
|
lapd_ph_data_ind;
|
|
|
|
lapd_recv_dlsap;
|
|
|
|
lapd_set_mode;
|
|
|
|
lapd_state_names;
|
|
|
|
|
|
|
|
lapdm_channel_exit;
|
|
|
|
lapdm_channel_init;
|
2019-06-02 19:33:38 +00:00
|
|
|
lapdm_channel_init2;
|
2020-05-02 17:56:36 +00:00
|
|
|
lapdm_channel_init3;
|
2012-04-04 20:05:24 +00:00
|
|
|
lapdm_channel_reset;
|
|
|
|
lapdm_channel_set_flags;
|
|
|
|
lapdm_channel_set_l1;
|
|
|
|
lapdm_channel_set_l3;
|
|
|
|
lapdm_channel_set_mode;
|
2014-03-26 12:45:17 +00:00
|
|
|
lapdm_datalink_for_sapi;
|
2012-04-04 20:05:24 +00:00
|
|
|
lapdm_entity_exit;
|
|
|
|
lapdm_entity_init;
|
2019-06-02 19:33:38 +00:00
|
|
|
lapdm_entity_init2;
|
2020-05-02 17:56:36 +00:00
|
|
|
lapdm_entity_init3;
|
2012-04-04 20:05:24 +00:00
|
|
|
lapdm_entity_reset;
|
|
|
|
lapdm_entity_set_flags;
|
|
|
|
lapdm_entity_set_mode;
|
|
|
|
lapdm_phsap_dequeue_prim;
|
|
|
|
lapdm_phsap_up;
|
|
|
|
lapdm_rslms_recvmsg;
|
|
|
|
|
2016-05-25 13:25:02 +00:00
|
|
|
osmo_ph_prim_names;
|
|
|
|
|
2012-04-04 20:05:24 +00:00
|
|
|
milenage_auts;
|
|
|
|
milenage_check;
|
|
|
|
milenage_f1;
|
|
|
|
milenage_f2345;
|
|
|
|
milenage_generate;
|
|
|
|
milenage_opc_gen;
|
|
|
|
|
|
|
|
ms_class_gmsk_dbm;
|
|
|
|
ms_pwr_ctl_lvl;
|
|
|
|
ms_pwr_dbm;
|
|
|
|
|
|
|
|
osmo_a5;
|
|
|
|
osmo_a5_1;
|
|
|
|
osmo_a5_2;
|
|
|
|
|
|
|
|
osmo_auth_alg_name;
|
|
|
|
osmo_auth_alg_parse;
|
|
|
|
osmo_auth_gen_vec;
|
|
|
|
osmo_auth_gen_vec_auts;
|
2016-04-20 08:39:00 +00:00
|
|
|
osmo_auth_3g_from_2g;
|
2012-04-04 20:05:24 +00:00
|
|
|
osmo_auth_load;
|
|
|
|
osmo_auth_register;
|
|
|
|
osmo_auth_supported;
|
2017-12-18 02:12:01 +00:00
|
|
|
osmo_auth_c3;
|
2017-10-07 02:41:22 +00:00
|
|
|
osmo_sub_auth_type_names;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
2021-05-19 15:45:38 +00:00
|
|
|
osmo_kdf_kc128;
|
|
|
|
osmo_kdf_kasme;
|
|
|
|
osmo_kdf_enb;
|
|
|
|
osmo_kdf_nh;
|
|
|
|
osmo_kdf_nas;
|
|
|
|
|
2012-04-04 20:05:24 +00:00
|
|
|
osmo_rsl2sitype;
|
|
|
|
osmo_sitype2rsl;
|
|
|
|
|
|
|
|
rr_cause_name;
|
|
|
|
|
|
|
|
rsl_att_tlvdef;
|
2015-12-13 10:56:36 +00:00
|
|
|
rsl_ipac_eie_tlvdef;
|
2012-04-04 20:05:24 +00:00
|
|
|
rsl_ccch_conf_to_bs_cc_chans;
|
|
|
|
rsl_ccch_conf_to_bs_ccch_sdcch_comb;
|
|
|
|
rsl_chan_nr_str;
|
2019-03-18 17:27:00 +00:00
|
|
|
rsl_chan_nr_str_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
rsl_chan_nr_str_c;
|
2012-04-04 20:05:24 +00:00
|
|
|
rsl_dec_chan_nr;
|
|
|
|
rsl_enc_chan_nr;
|
|
|
|
rsl_err_name;
|
|
|
|
rsl_init_cchan_hdr;
|
|
|
|
rsl_init_rll_hdr;
|
|
|
|
rsl_ipac_msg_name;
|
|
|
|
rsl_msg_name;
|
2016-06-06 16:10:38 +00:00
|
|
|
rsl_or_ipac_msg_name;
|
2012-04-04 20:05:24 +00:00
|
|
|
rsl_rll_push_hdr;
|
|
|
|
rsl_rll_push_l3;
|
|
|
|
rsl_rll_simple;
|
|
|
|
rsl_rlm_cause_name;
|
2016-07-18 21:54:01 +00:00
|
|
|
rsl_act_type_names;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
|
|
|
rxlev2dbm;
|
|
|
|
rxlev_stat_dump;
|
|
|
|
rxlev_stat_get_next;
|
|
|
|
rxlev_stat_input;
|
|
|
|
rxlev_stat_reset;
|
|
|
|
|
|
|
|
tlv_def_patch;
|
|
|
|
tlv_dump;
|
|
|
|
tlv_parse;
|
2018-04-13 01:36:49 +00:00
|
|
|
tlv_parse2;
|
2012-04-04 20:05:24 +00:00
|
|
|
tlv_parse_one;
|
2019-02-13 21:23:13 +00:00
|
|
|
tlv_encode;
|
|
|
|
tlv_encode_ordered;
|
|
|
|
tlv_encode_one;
|
2012-04-04 23:41:34 +00:00
|
|
|
tvlv_att_def;
|
2012-07-13 23:50:33 +00:00
|
|
|
vtvlv_gan_att_def;
|
2012-04-04 20:05:24 +00:00
|
|
|
|
2017-01-02 13:10:30 +00:00
|
|
|
osmo_tlvp_copy;
|
|
|
|
osmo_tlvp_merge;
|
2016-04-25 13:19:35 +00:00
|
|
|
osmo_shift_v_fixed;
|
|
|
|
osmo_match_shift_tv_fixed;
|
|
|
|
osmo_shift_tlv;
|
|
|
|
osmo_match_shift_tlv;
|
|
|
|
osmo_shift_lv;
|
|
|
|
|
2020-12-04 12:55:38 +00:00
|
|
|
osmo_tlv_prot_msg_name;
|
|
|
|
osmo_tlv_prot_ie_name;
|
|
|
|
osmo_tlv_prot_validate_tp;
|
|
|
|
osmo_tlv_prot_parse;
|
|
|
|
|
2012-06-24 19:52:07 +00:00
|
|
|
gan_msgt_vals;
|
|
|
|
gan_pdisc_vals;
|
|
|
|
|
2014-08-20 20:28:23 +00:00
|
|
|
ipa_ccm_rcvmsg_base;
|
|
|
|
ipa_ccm_rcvmsg_bts_base;
|
|
|
|
ipa_ccm_send_id_ack;
|
|
|
|
ipa_ccm_send_id_req;
|
|
|
|
ipa_ccm_send_pong;
|
|
|
|
ipa_ccm_tlv_to_unitdata;
|
|
|
|
ipa_ccm_idtag_name;
|
|
|
|
ipa_ccm_idtag_parse;
|
2018-08-01 15:29:48 +00:00
|
|
|
ipa_ccm_idtag_parse_off;
|
2018-07-31 18:25:48 +00:00
|
|
|
ipa_ccm_id_get_parse;
|
|
|
|
ipa_ccm_id_resp_parse;
|
2017-04-15 17:05:33 +00:00
|
|
|
ipa_ccm_make_id_resp;
|
|
|
|
ipa_ccm_make_id_resp_from_req;
|
2014-08-20 20:28:23 +00:00
|
|
|
ipa_msg_alloc;
|
|
|
|
ipa_msg_recv;
|
|
|
|
ipa_msg_recv_buffered;
|
|
|
|
ipa_parse_unitid;
|
|
|
|
ipa_prepend_header;
|
|
|
|
ipa_prepend_header_ext;
|
|
|
|
ipa_send;
|
|
|
|
|
2014-10-01 08:18:11 +00:00
|
|
|
osmo_apn_qualify;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_apn_qualify_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_apn_qualify_c;
|
2014-10-01 08:18:11 +00:00
|
|
|
osmo_apn_qualify_from_imsi;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_apn_qualify_from_imsi_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_apn_qualify_from_imsi_c;
|
2015-11-17 07:42:05 +00:00
|
|
|
osmo_apn_to_str;
|
|
|
|
osmo_apn_from_str;
|
2014-10-01 08:18:11 +00:00
|
|
|
|
2018-07-27 10:19:15 +00:00
|
|
|
osmo_gsm48_range_enc_determine_range;
|
|
|
|
osmo_gsm48_range_enc_arfcns;
|
|
|
|
osmo_gsm48_range_enc_find_index;
|
|
|
|
osmo_gsm48_range_enc_filter_arfcns;
|
|
|
|
osmo_gsm48_range_enc_128;
|
|
|
|
osmo_gsm48_range_enc_256;
|
|
|
|
osmo_gsm48_range_enc_512;
|
|
|
|
osmo_gsm48_range_enc_1024;
|
|
|
|
|
2016-04-25 16:46:22 +00:00
|
|
|
osmo_gsup_encode;
|
|
|
|
osmo_gsup_decode;
|
2017-02-09 01:09:09 +00:00
|
|
|
osmo_gsup_message_type_names;
|
2018-06-16 09:10:12 +00:00
|
|
|
osmo_gsup_session_state_names;
|
2019-04-01 20:24:33 +00:00
|
|
|
osmo_gsup_message_class_names;
|
2018-06-11 18:27:27 +00:00
|
|
|
osmo_gsup_get_err_msg_type;
|
2016-04-25 16:46:22 +00:00
|
|
|
|
GSUP/SMS: introduce MO-/MT-FORWARD-SM messages
According to 3GPP TS 29.002, there are two services:
- MAP-MO-FORWARD-SHORT-MESSAGE (see 12.2),
- MAP-MT-FORWARD-SHORT-MESSAGE (see 12.9),
which are used to forward MO/MT short messages.
This change replicates both services as GSUP messages:
- OSMO_GSUP_MSGT_MO_FORWARD_SM_*,
- OSMO_GSUP_MSGT_MT_FORWARD_SM_*.
Please note, that only the 'must-have' IEs are introduced
by this change, in particular the following:
- OSMO_GSUP_SM_RP_MR_IE (see note below),
- OSMO_GSUP_SM_RP_DA_IE (see 7.6.8.1),
- OSMO_GSUP_SM_RP_OA_IE (see 7.6.8.2),
- OSMO_GSUP_SM_RP_UI_IE (see 7.6.8.4),
- OSMO_GSUP_SM_RP_MMS_IE (see 7.6.8.7),
- OSMO_GSUP_SM_RP_CAUSE_IE (see GSM TS 04.11, 8.2.5.4),
where both SM_RP_DA and SM_RP_OA IEs basically contain
a single nested TV of the following format:
- T: identity type (see 'osmo_gsup_sms_sm_rp_oda_t'),
- V: encoded identity itself (optional).
According to GSM TS 04.11, every single message on the SM-RL has
an unique message reference (see 8.2.3), that is used to link
an RP-ACK or RP-ERROR message to the associated (preceding)
RP-DATA or RP-SMMA message transfer attempt.
In case of TCAP/MAP, this message reference is being mapped to the
Invoke ID. But since GSUP has no 'Invoke ID' IE, and it is not
required for other applications (other than SMS), this change
introduces a special 'SM_RP_MR' IE that doesn't exist in MAP.
Change-Id: Ibe325c64ae2d6c626b232533bb4cbc65fc2b5d71
Related Change-Id: (docs) Ie0150756c33c1352bc4eb49421824542c711175c
Related Change-Id: (TTCN) Ibf49474a81235096c032ea21f217170f523bd94e
Related: OS#3587
2018-09-25 16:03:13 +00:00
|
|
|
osmo_gsup_sms_encode_sm_rp_da;
|
|
|
|
osmo_gsup_sms_decode_sm_rp_da;
|
|
|
|
osmo_gsup_sms_encode_sm_rp_oa;
|
|
|
|
osmo_gsup_sms_decode_sm_rp_oa;
|
|
|
|
|
2016-04-27 16:32:35 +00:00
|
|
|
osmo_oap_encode;
|
|
|
|
osmo_oap_decode;
|
|
|
|
|
2017-10-04 01:15:47 +00:00
|
|
|
osmo_imsi_str_valid;
|
|
|
|
osmo_msisdn_str_valid;
|
2019-01-11 12:13:37 +00:00
|
|
|
osmo_imei_str_valid;
|
2017-10-04 01:15:47 +00:00
|
|
|
|
2018-01-01 19:31:58 +00:00
|
|
|
osmo_mncc_stringify;
|
2018-05-24 10:19:45 +00:00
|
|
|
osmo_mncc_names;
|
2018-01-01 19:31:58 +00:00
|
|
|
_osmo_mncc_log;
|
|
|
|
|
2018-07-30 10:06:31 +00:00
|
|
|
osmo_oap_client_encoded;
|
|
|
|
osmo_oap_client_handle;
|
|
|
|
osmo_oap_client_init;
|
|
|
|
osmo_oap_client_register;
|
2018-07-30 10:04:21 +00:00
|
|
|
|
2018-10-07 18:10:57 +00:00
|
|
|
sgsap_msg_type_names;
|
2018-11-15 14:04:29 +00:00
|
|
|
sgsap_iei_names;
|
2018-10-07 18:10:57 +00:00
|
|
|
sgsap_eps_lu_type_names;
|
|
|
|
sgsap_ismi_det_eps_type_names;
|
|
|
|
sgsap_ismi_det_noneps_type_names;
|
|
|
|
sgsap_service_ind_names;
|
|
|
|
sgsap_sgs_cause_names;
|
|
|
|
sgsap_ue_emm_mode_names;
|
|
|
|
sgsap_ie_tlvdef;
|
|
|
|
|
2018-12-26 17:03:17 +00:00
|
|
|
osmo_rat_type_names;
|
2019-01-04 23:39:13 +00:00
|
|
|
osmo_lu_type_names;
|
2019-01-10 22:33:32 +00:00
|
|
|
osmo_cm_service_type_names;
|
2018-12-26 17:03:17 +00:00
|
|
|
|
2019-02-15 02:59:30 +00:00
|
|
|
osmo_gsm48_classmark_is_r99;
|
|
|
|
osmo_gsm48_classmark1_is_r99;
|
|
|
|
osmo_gsm48_classmark2_is_r99;
|
|
|
|
osmo_gsm48_classmark_supports_a5;
|
|
|
|
osmo_gsm48_classmark_a5_name;
|
2019-03-18 17:27:00 +00:00
|
|
|
osmo_gsm48_classmark_a5_name_buf;
|
2019-03-18 17:38:47 +00:00
|
|
|
osmo_gsm48_classmark_a5_name_c;
|
2019-02-15 02:59:30 +00:00
|
|
|
osmo_gsm48_classmark_update;
|
2019-10-31 12:35:22 +00:00
|
|
|
osmo_gsm48_rfpowercap2powerclass;
|
2019-01-16 15:53:26 +00:00
|
|
|
|
2019-05-03 07:39:10 +00:00
|
|
|
cbsp_msg_type_names;
|
|
|
|
cbsp_iei_names;
|
|
|
|
cbsp_category_names;
|
|
|
|
cbsp_att_tlvdef;
|
|
|
|
osmo_cbsp_msgb_alloc;
|
|
|
|
osmo_cbsp_decoded_alloc;
|
|
|
|
osmo_cbsp_init_struct;
|
|
|
|
osmo_cbsp_encode;
|
|
|
|
osmo_cbsp_decode;
|
|
|
|
osmo_cbsp_recv_buffered;
|
2019-06-15 21:05:19 +00:00
|
|
|
osmo_cbsp_errstr;
|
2019-05-03 07:39:10 +00:00
|
|
|
|
2020-05-14 09:42:53 +00:00
|
|
|
osmo_i460_demux_in;
|
|
|
|
osmo_i460_mux_enqueue;
|
|
|
|
osmo_i460_mux_out;
|
|
|
|
osmo_i460_subchan_add;
|
|
|
|
osmo_i460_subchan_del;
|
|
|
|
osmo_i460_ts_init;
|
|
|
|
|
2020-05-11 17:43:20 +00:00
|
|
|
osmo_nri_v_validate;
|
|
|
|
osmo_nri_v_matches_ranges;
|
|
|
|
osmo_nri_v_limit_by_ranges;
|
|
|
|
osmo_tmsi_nri_v_get;
|
|
|
|
osmo_tmsi_nri_v_set;
|
|
|
|
osmo_tmsi_nri_v_limit_by_ranges;
|
|
|
|
osmo_nri_range_validate;
|
|
|
|
osmo_nri_range_overlaps_ranges;
|
|
|
|
osmo_nri_ranges_alloc;
|
|
|
|
osmo_nri_ranges_free;
|
|
|
|
osmo_nri_ranges_add;
|
|
|
|
osmo_nri_ranges_del;
|
|
|
|
osmo_nri_ranges_vty_add;
|
|
|
|
osmo_nri_ranges_vty_del;
|
|
|
|
osmo_nri_ranges_to_str_buf;
|
|
|
|
osmo_nri_ranges_to_str_c;
|
|
|
|
|
2020-09-18 16:00:50 +00:00
|
|
|
osmo_bssmap_le_msgt_names;
|
|
|
|
osmo_bssap_le_enc;
|
|
|
|
osmo_bssap_le_dec;
|
|
|
|
osmo_lcs_cause_enc;
|
|
|
|
osmo_lcs_cause_dec;
|
|
|
|
osmo_bssmap_le_ie_enc_location_type;
|
|
|
|
osmo_bssmap_le_ie_dec_location_type;
|
|
|
|
osmo_bssmap_le_msgt;
|
|
|
|
osmo_bssap_le_pdu_to_str_buf;
|
|
|
|
osmo_bssap_le_pdu_to_str_c;
|
|
|
|
|
2020-09-18 16:00:50 +00:00
|
|
|
osmo_bsslap_enc;
|
|
|
|
osmo_bsslap_dec;
|
|
|
|
osmo_bsslap_msgt_names;
|
|
|
|
|
2020-09-18 16:00:50 +00:00
|
|
|
osmo_gad_enc;
|
|
|
|
osmo_gad_dec;
|
|
|
|
osmo_gad_to_str_buf;
|
|
|
|
osmo_gad_to_str_c;
|
|
|
|
osmo_gad_enc_lat;
|
|
|
|
osmo_gad_dec_lat;
|
|
|
|
osmo_gad_enc_lon;
|
|
|
|
osmo_gad_dec_lon;
|
|
|
|
osmo_gad_enc_unc;
|
|
|
|
osmo_gad_dec_unc;
|
2020-10-12 15:36:23 +00:00
|
|
|
osmo_gad_raw_read;
|
|
|
|
osmo_gad_raw_write;
|
|
|
|
osmo_gad_type_names;
|
2020-09-18 16:00:50 +00:00
|
|
|
|
2012-04-04 20:05:24 +00:00
|
|
|
local: *;
|
|
|
|
};
|