Commit Graph

1111 Commits (375bf6dcc503626af4c6f7fc36828008b7eb874e)

Author SHA1 Message Date
Vadim Yanitskiy 80f4ff9368 core/utils.h: drop duplicate '<stdbool.h>' include
5 years ago
Harald Welte b99ed7ff18 Add RSPRO support to IPA and logging definitions
5 years ago
Keith Whyte 3cdaa8d525 Add CC_CAUSE value_string array
5 years ago
Neels Hofmeyr 77ae45d22f log: add 'last' option to 'logging print file'
5 years ago
Philipp Maier 73196e77fb socket: add flag to enforce SO_REUSEADDR on UDP sockets
5 years ago
Neels Hofmeyr 983dcb9af3 use __FILE__, not __BASE_FILE__
5 years ago
Pau Espin 8ce6f488b6 msgb: Introduce msgb_{de,en}queue_count APIs
5 years ago
Pau Espin 0b6fcb0349 signal: Introduce API osmo_signal_talloc_ctx_init
5 years ago
Alexander Couzens acc0a070c7 bssgp: introduce flush queue functions
5 years ago
Vadim Yanitskiy 30cfeeb4a0 libosmogsm: (re)introduce gsm48_push_l3hdr()
5 years ago
Harald Welte 5a7740d1db re-introduce ipa_ccm_idtag_parse_off()
5 years ago
Harald Welte 7869baf843 Deprecate ipa_ccm_idtag_parse() with ipa_ccm_id_{get,resp}_parse()
5 years ago
Harald Welte 9b04c17c7a oap_client: Rename symbols with osmo_ prefix
5 years ago
Harald Welte fdd366ed1b import oap_client into libosmogsm
5 years ago
Harald Welte 7ecc4a3171 04.80: New gsm0480_gen_{reject,return_error}() functions
5 years ago
Harald Welte b0d9594081 USSD: Introduce gsm0480_gen_ussd_resp_7bit()
5 years ago
Harald Welte 88fa5a3e1e gsm0480: Factor out msgb allocation helper function
5 years ago
Kevin Redon 0bc3b83654 GSMTAP: add SIM sub_types
5 years ago
Harald Welte 83361bd963 gprs_ns.h: Declare gprs_ns_cause_str() which already existed in c file
5 years ago
Neels Hofmeyr 59f4caf4ef add osmo_sockaddr_to_str_and_uint()
5 years ago
Pau Espin 239ed3b3ee ctrl: Introduce ctrl_cmd_parse3 API
5 years ago
Pau Espin f2cda621c0 gsm0808: Add value_string for encryption algorithms
5 years ago
Philipp Maier cdd05816da gsm_08_08: gsm0808_permitted_speech does not have value strings
5 years ago
Philipp Maier 5796a218db gsm_04_08: add function to get value string
5 years ago
Vadim Yanitskiy 94c0031297 Don't enforce Python 2 for utilities
5 years ago
Harald Welte bc568d0b9f osmo_panic(): Annotate as __attribute__ ((noreturn))
5 years ago
Harald Welte 459a180877 Don't call abort() directly, always use osmo_panic()
5 years ago
Neels Hofmeyr 60f3153125 add and tweak inter-BSC HO API
5 years ago
Harald Welte b1a35d63b9 gsm 04.80: Add value_string for component type and op code
5 years ago
Harald Welte 6a6a609309 gsup: Add value_string for Session State IE
5 years ago
Daniel Willmann f1318fe371 Add function gprs_nsvc_state_append
5 years ago
Harald Welte 520ebc17d9 gsup: Add osmo_gsup_get_err_msg_type() function
5 years ago
Vadim Yanitskiy 5a09f75c1e gsm/gsm0480: refactor and expose gsm0480_parse_facility_ie()
5 years ago
Vadim Yanitskiy 52e44121db gsm/gsm0480.c: introduce gsm0480_extract_ie_by_tag()
5 years ago
Harald Welte 11eb4b5add vty: Add logging_vty_add_deprecated_subsys
5 years ago
Harald Welte 3385e4b0c4 fsm: Change semantics of LOGPFSML() log-level
5 years ago
Neels Hofmeyr 94e4265f07 fix gsm0808_permitted_speech(): don't return HR3 for TCH_F + AMR
5 years ago
Harald Welte 15a5f8de00 Add osmo_isqrt32() to compute 32bit integer square root
5 years ago
Harald Welte 1fbe3eba75 tlv: Add TLVP_VAL_MINLEN() to obtain value _if_ length is >= minimum
5 years ago
Harald Welte ebd362dbd2 gsm0808: Add value_string for LCLS related IEs
5 years ago
Neels Hofmeyr 407df02e7c add osmo_fsm_inst_state_chg_keep_timer()
5 years ago
Vadim Yanitskiy 36c7b33ccc GSUP: introduce new messages for SS/USSD payloads
5 years ago
Vadim Yanitskiy 72696040df GSUP: implement TCAP-like session management
5 years ago
Harald Welte 64e807c4bc gsm0808: Add encoding functions for LCLS BSSMAP messages
5 years ago
Harald Welte 2f51684e63 gsm_08_08.h: Add enum for LCLS config, control and status
5 years ago
Daniel Willmann 07f075d197 ports.h: Add ctrl port for osmo-gbproxy
5 years ago
Keith Whyte 05d3278c0e Add enum gsm48_progress_desc
5 years ago
Neels Hofmeyr b662b36da0 add gsm0808_create_handover_request_ack()
5 years ago
Neels Hofmeyr 70aba3ffe2 add support for gsm0808 HANDOVER REQUIRED message
5 years ago
Neels Hofmeyr 38e58416b1 add gsm0808_cell_id_to_list()
5 years ago
Harald Welte b4186824c2 ctrl: Add doxygen API documentation; generate html from it
5 years ago
Keith Whyte adfa199b5d Add enum gsm48_cause_coding from GSM 04.08 Section 10.5.4.11
5 years ago
Stefan Sperling 97d3da2c59 introduce vty_out_rate_ctr_group_fmt() function
5 years ago
Harald Welte dfd85137cf mncc: properly export osmo_mncc_name()
5 years ago
Thorsten Alteholz 0062a5fbbf fix spelling
5 years ago
Harald Welte 9da77abb6b isdnhdlc: Port from kernel to userspace
5 years ago
Harald Welte 85b9fbae7e import isdn4linux HDLC code from linux kernel
5 years ago
Harald Welte ea4d8939af Add osmo_timerfd_* functions for osmo_fd-wrapped timerfd
5 years ago
Neels Hofmeyr afacc2be9f add gsm0808 channel enum to IE val conversion functions
5 years ago
Stefan Sperling dda1d4511c define a constant for the max length of called party BCD IE
5 years ago
Pau Espin 686eba9bfc control_if: Avoid heap-use-after-free in osmo_wqueue_bfd_cb
5 years ago
Alexander Couzens 9f39d89c31 gsm_08_58.h: introduce RSL_IE_ERIC_PAGING_GROUP
5 years ago
Pau Espin 95959a8a86 gsm_08_58.h: Add Ericsson vendor-specific RSL message types
5 years ago
Neels Hofmeyr a4399c8891 add gsm0808_cell_{id,id_list}_name() and friends
5 years ago
Neels Hofmeyr 74e4ed6f36 tlv: add TLV_GET() and TLV_GET_MINLEN()
5 years ago
Vadim Yanitskiy 07bfd565a8 protocol/gsm_04_08.h: drop incorrect GSM48_PDISC_USSD
5 years ago
Neels Hofmeyr 250e7f7d30 add gsm0808_{enc,dec}_cell_id
5 years ago
Neels Hofmeyr a78b22ba20 add tlv_parse2(), capable of multiple instances of the same IE
5 years ago
Neels Hofmeyr 74663d97c6 add gsm0808_cell_id_list_add() to combine two cell identifier lists
5 years ago
Neels Hofmeyr 43496206c1 add osmo_cgi_name()
5 years ago
Pau Espin c62fc2d20f msgb: msgb_pull: Abort when pulling more than avail size
5 years ago
Pau Espin 9fa0912e5b msgb: msgb_get: Drop unneeded tmp var
5 years ago
Neels Hofmeyr bd6c8b5081 deprecate PLMN de-/coding functions incapable of 3-digit MNC with leading zeros
5 years ago
Thorsten Alteholz cefce6688b fix issue on big endian architecture
5 years ago
Neels Hofmeyr aead241df0 add gsm48_reject_value_names
5 years ago
Neels Hofmeyr a64c45a03e add osmo_fsm_inst_update_id_f()
5 years ago
Neels Hofmeyr 04eb56f146 add osmo_quote_str(),osmo_quote_str_buf() and test
5 years ago
Neels Hofmeyr cdbc9afe5d ctrl: fix deferred commands (and hence fix osmo-bts-sysmo 'clock-info' cmd)
5 years ago
Vadim Yanitskiy a24ead0126 gsm0480: copy the raw USSD data, its DCS and length
5 years ago
Vadim Yanitskiy 9fb7e3a9fb gsm0480: document the 'ss_request' structure
5 years ago
Philipp Maier dbb7659208 gsm0808: Add value strings for BSSMAP cause codes
5 years ago
Neels Hofmeyr 3d8b47fc5c fix logging talloc ctx: add osmo_init_logging2()
5 years ago
Philipp Maier 7e27b14ef2 gsm_08_08: correct speech codec defaults
5 years ago
Harald Welte d86055b431 abis_nm: Introduce abis_nm_dump_foh()
5 years ago
Stefan Sperling 11a4d9dd91 support for more cell ID list types in libosmocore
5 years ago
Philipp Maier bf86d71f58 features: define osmo_bts_*_feature() as static inline
5 years ago
Neels Hofmeyr 4d68fd0955 gsm23003: add osmo_mcc_from_str()
5 years ago
Philipp Maier 680acae725 features: move bts feature related functionality to libosmocore
5 years ago
Neels Hofmeyr ccfc387fb9 introduce GSM_MCC_MNC_INVALID
5 years ago
Pau Espin 87fade88bd timer: Introduce osmo_clock_gettime to override clock_gettime
5 years ago
Neels Hofmeyr 721aa6ded9 gsm: add osmo_mnc_from_str(), osmo_mnc_cmp(), osmo_plmn_cmp() for 3-digit MNC
5 years ago
Neels Hofmeyr c4fce1425e implement support for 3-digit MNC with leading zeros
5 years ago
Pau Espin 8fd85578bc core/logging.h: Add logging category for jitter buffer
5 years ago
Harald Welte 38c902b776 l1sap: Add fields for higher-precision timing offset values
5 years ago
Harald Welte a57f90c80b l1sap: Add RSSI, BER and quarter-bit accurate timing to PH-RACH.ind
5 years ago
Pau Espin 726ba36201 core: Add timespec helper macros and make timer_compat.h public
5 years ago
Harald Welte 6950b191e8 coding: Add BER-reporting RACH decode functions
5 years ago
Harald Welte 175a4ae93a rate_ctr: Add rate_ctr_inc2() as convenience wrapper
5 years ago
Harald Welte 92decf2aa9 Revert "Add function to encode classmark"
5 years ago
Pau Espin 98a7a2646b ports.h: Add VTY and CTRL ports for osmo-trx
5 years ago
Philipp Maier d1f5793b5e fsm: allow graceful exit on FSM termination
5 years ago
Daniel Willmann b0c43a6063 fsm: Add a function to change the FSM instance ID later
5 years ago
Maxim Suraev 3c38e60cd5 Add function to encode classmark
5 years ago
Maxim Suraev ebf149234e Add generic Mobile Identity encoder
5 years ago
allesklar2 eb18282031 gsmtap.h: define TETRA DMO mode channels
5 years ago
Stefan Sperling 1859515c69 Add helper functions for ACC bit flags in rach control IE.
5 years ago
Harald Welte 554780836f Add GSM 04.08 type-of-number / numbering-plan-id definitions
5 years ago
Harald Welte ebd2b0f405 osmo_msgbdump_{l2,l3}(): Proper typecast
5 years ago
Harald Welte 572177063d msgb: Add msgb_hexdump_{l2,l3}() to dump l2 or l3 part of message buffer
5 years ago
Maxim Suraev 80f4c4eb08 GSUP: change osmo_gsup_encode() return type
5 years ago
Maxim Suraev 18c014de67 utils: add helper wrapper for osmo_strlcpy()
5 years ago
Harald Welte f1076ed75a gsm48_hdr_msg_type(): SS is in the same group as MM/CC
5 years ago
Harald Welte 143aed7fa6 gsm48_hdr_msg_type[_r99]: Fix bit-masks
5 years ago
Harald Welte cd82710be7 gsm_04_08.h: Reduce T310 default to 30s.
5 years ago
Harald Welte e50b00911b gsm_04_08.h: Clearly annotate timers that don't have a 3GPP Default value
5 years ago
Harald Welte d60e17ab0e SMS: Add value_string for TS 04.11 CP and RP state
5 years ago
Philipp Maier 2a06a491b1 fsm: add functions for unlinking and changing parents
5 years ago
Harald Welte 0bbf67dfd3 MNCC: Add MNCC to string dumper
5 years ago
Neels Hofmeyr 0e2a94326e logging: allow to log only the basename of each source
5 years ago
Neels Hofmeyr bd7bd3947d logging: separate the '<000b>' subsys from filename logging
5 years ago
Neels Hofmeyr 886e548ab0 logging: add ability to log the log-level with API and vty
5 years ago
Vadim Yanitskiy fa6c2b9b53 gsm0480: fix USSD OCTET STRING length confusion
5 years ago
Philipp Maier 40def49ac4 libosmocodec: implement ECU (Error Concealment Unit) for FR
5 years ago
Maxim Suraev 309d0e5483 Deprecate gsm48_construct_ra()
5 years ago
Neels Hofmeyr ffad574a4b gsm: add gsm0808_speech_codec_type_names
5 years ago
Maxim Suraev f1ad60e4d8 Add function to properly encode RAI
5 years ago
Maxim Suraev ff2eedac0f Fix incorrect spec reference
5 years ago
Neels Hofmeyr 074478dc61 logging vty: tweak general 'logging' command doc
6 years ago
Philipp Maier 6cb9e7d898 libosmocodec: add FR bit offset definitions
6 years ago
Vadim Yanitskiy e094157e12 libosmocodec: add FR/HR/EFR frame length definitions
6 years ago
Neels Hofmeyr 58a5665ecb ports: define proper VTY and CTRL ports for OsmoHNBGW
6 years ago
Neels Hofmeyr f2e83ad40d add ctrl_cmd_parse2() to return parsing errors
6 years ago
Neels Hofmeyr d53d216944 ctrl: prep test: separate new ctrl_handle_msg() from handle_control_read()
6 years ago
Neels Hofmeyr 9910bbc62d utils: add osmo_escape_str()
6 years ago
Neels Hofmeyr aa84b71f0f add osmo_auth_c3() (separate from gsm_milenage())
6 years ago
Neels Hofmeyr 937ddea6cc utils: add osmo_separated_identifiers_valid()
6 years ago
Neels Hofmeyr 84ea2e0374 logging vty: describe 'logging set-log-mask' command, add OSMO_STRINGIFY_VAL()
6 years ago
Maxim Suraev 32e5641dbb Add functions for extended RACH coding
6 years ago
Neels Hofmeyr dc75b114b4 comment: utils: more accurately describe OSMO_STRINGIFY macro
6 years ago
Alexander Couzens 18ba26cfab counters: add osmo_counters_count() returns the amount of counters
6 years ago
Holger Hans Peter Freyther 37a83405a5 logging: Extend the LOGPSRC macro to put cont in it as well
6 years ago
Harald Welte f9b1e5556a gsmtap.h: Introduce new GSMTAP type for LTE NAS messages
6 years ago
Neels Hofmeyr e750980d6c tlv_put: guard against NULL val and 0 len
6 years ago
Neels Hofmeyr 3fad5d782a msgb: add inline msgb_queue_free()
6 years ago
Harald Welte abcd0e37b7 ports.h: Use same VTY port number for osmo-mgw and osmo-bsc_mgcp
6 years ago
Harald Welte e08da97570 Fix/Update copyright notices; Add SPDX annotation
6 years ago
Philipp Maier c0fc7940df vty: add port number for osmo-mgw
6 years ago
Neels Hofmeyr 4a73d5e843 vty: deprecate now empty node commands
6 years ago
Maxim Suraev cbf5cdfe7e GPRS: constify NS printing routine parameters
6 years ago
Harald Welte ae510dc4a7 rate_ctr: Enforce counter (and ctr_group) names are valid identifiers
6 years ago