Commit Graph

896 Commits

Author SHA1 Message Date
Gerrit Code Review 803c0a9d89 Update notes for submitted changes
* logging: gsmtap: Fill PID field for each message
2021-02-16 17:29:50 +00:00
Gerrit Code Review 3679cfaf9a Update notes for submitted changes
* gprs_ns2: inform the NS user (BSSGP) about the MTU of a NSE
2021-02-16 16:11:25 +00:00
Gerrit Code Review 9f69bca42f Update notes for submitted changes
* gsm: Fix encoding of gsm0808_cell_id_list2 with CGI-PS types
2021-02-15 18:19:54 +00:00
Gerrit Code Review 01a37737a7 Update notes for submitted changes
* gsm0808_utils: Move static function further up in file
* gsm: Support converting to cgi-ps in gsm0808_cell_id_from_cgi()
2021-02-15 18:19:49 +00:00
Gerrit Code Review 8c33793093 Update notes for submitted changes
* gprs_ns2_sns: fix typo in doxygen comment
2021-02-15 10:59:10 +00:00
Gerrit Code Review 5b75960e3b Update notes for submitted changes
* gprs_ns2: fix comment of alive NS-VC
2021-02-15 10:56:28 +00:00
Gerrit Code Review 6dc3414c31 Update notes for submitted changes
* BVC FSM: Treat overlapping BVC-RESET as implicit ACK
2021-02-15 10:06:55 +00:00
Gerrit Code Review abceb3c38f Update notes for submitted changes
* gprs_ns2_vc_fsm: remove debug line of the alive_timer
2021-02-15 10:06:45 +00:00
Gerrit Code Review 3791648ca9 Update notes for submitted changes
* gsm: Fix bitfield order in dtap_header
2021-02-13 08:05:30 +00:00
Gerrit Code Review b9c9b948a8 Update notes for submitted changes
* bssgp_bvc_fsm: Consistent naming
2021-02-13 07:41:26 +00:00
Gerrit Code Review 0c774041f8 Update notes for submitted changes
* bssgp2_enc_status: Truncate STATUS message to maximum PDU length
* bssgp_bvc_fsm: Set/get maximum BSSGP PDU length
2021-02-12 14:19:21 +00:00
Gerrit Code Review f2c1e665be Update notes for submitted changes
* tests/gb: Add more complex osmo-ns-dummy.cfg
2021-02-12 13:02:53 +00:00
Gerrit Code Review a7c795a2d9 Update notes for submitted changes
* ns2: Fix incompatible VTY configs when writing config
2021-02-12 11:54:31 +00:00
Gerrit Code Review 1443491da2 Update notes for submitted changes
* gprs_ns2_vty: use strcmp() instead of strncmp()
* gprs_ns2_vc_fsm: reset the alive elapsed timeout everytime
* gprs_ns2_vc_fsm: use CLOCK_MONOTONIC for alive elapsed timer
2021-02-12 09:37:50 +00:00
Gerrit Code Review fac8e254b2 Update notes for submitted changes
* gprs_ns2: add signalling & data weights for UDP binds
2021-02-12 08:57:16 +00:00
Gerrit Code Review c6d0d24fc9 Update notes for submitted changes
* ns2_fr: Fix heap-use-after-free in error recovery path
* ns2_fr: Fix null pointer deref in error path
2021-02-11 17:28:44 +00:00
Gerrit Code Review 5a1d7c5c78 Update notes for submitted changes
* README.md: Use https everywhere
2021-02-11 11:01:37 +00:00
Gerrit Code Review 1f89fb0572 Update notes for submitted changes
* cosmetic: Move comment one line below in append_gprs_cell_opt
2021-02-10 15:04:22 +00:00
Gerrit Code Review 59a29e45e3 Update notes for submitted changes
* gprs_ns2_vty: fix memory leak of vty_binds
* gprs_ns2: rename vty-command ip-sns -> ip-sns-remote
* gprs_ns2_sns: reset the N of timeout when entering a new state
2021-02-09 16:37:39 +00:00
Gerrit Code Review ecbca97297 Update notes for submitted changes
* gprs_ns2_sns: add timeout to ST_CONFIG_SGSN
2021-02-09 16:36:19 +00:00
Gerrit Code Review b8fb406797 Update notes for submitted changes
* gprs_ns2_sns: rework tracking of NS-VC unblocked/alive state
2021-02-09 15:42:02 +00:00
Gerrit Code Review 0a4c6ac9a3 Update notes for submitted changes
* ns2: Don't try to add packets to the backlog on real errors
* ns2: improve backlog handling on interface up/down
* ns2: Don't queue Q.933 LMI messages; only store most recent ones
* ns2: Name NSVC FSM events consistently
2021-02-08 18:37:43 +00:00
Gerrit Code Review 3796bba82f Update notes for submitted changes
* Fix struct bitfields on big endian systems
2021-02-08 17:23:25 +00:00
Gerrit Code Review fd5c43f248 Update notes for submitted changes
* tlv: clarify documentation for msgb_tv{16,32}_put()
* tlv: add msgb_tv32_put(), similar to msgb_tv16_put()
2021-02-06 16:17:13 +00:00
Gerrit Code Review 6f2e8d71dc Update notes for submitted changes
* bssgp_bvc_fsm: check return value of osmo_fsm_register()
2021-02-06 16:06:59 +00:00
Gerrit Code Review 76a1520439 Update notes for submitted changes
* gsm0808: use msgb_tv16_put() and osmo_store32be()
2021-02-06 16:06:49 +00:00
Gerrit Code Review 3c2fae5581 Update notes for submitted changes
* frame_relay; Fix Q.933 async STATUS at DLC creation
2021-02-05 13:52:11 +00:00
Gerrit Code Review 2cffd6d6cf Update notes for submitted changes
* gb: frame_relay: Detect link outage on "last receive seq nr == 0"
* gb: frame_relay: Factor-out function to set link as dead
2021-02-04 18:34:06 +00:00
Gerrit Code Review a73c5967fd Update notes for submitted changes
* gsm48: add compare function for struct gprs_ra_id
2021-02-04 16:07:53 +00:00
Gerrit Code Review 2203e162dd Update notes for submitted changes
* Enable systemd-journald log target in debian + rpm packaging
2021-02-03 17:53:18 +00:00
Gerrit Code Review 6edda2206f Update notes for submitted changes
* initial support for static userspace probes via systemtap
2021-02-03 13:55:40 +00:00
Gerrit Code Review 3abd562d3a Update notes for submitted changes
* gprs_ns2_frgre: check iph/ip6h before passing them to rx functions
* gprs_ns2_frgre: set a correct gre pointer for ipv6
* frame_relay: fix NULL pointer deref
* gprs_ns2_fr: free_bind(): first do the NULL check before using members
* gprs_ns2: unify the handling of **result when bind already present.
* gprs_ns2_vc_fsm: rename ST_ALIVE -> ST_RECOVERING
* gprs_ns2_vc_fsm: reset ALIVE N counter when restarting the test procedure.
2021-02-03 13:55:04 +00:00
Gerrit Code Review 6b63f04cf6 Update notes for submitted changes
* gprs_ns2: prevent division by zero in load_sharing
2021-02-02 11:39:30 +00:00
Gerrit Code Review beae27bc11 Update notes for submitted changes
* osmo-ns-dummy: Add "mirror-mode" to mirror back any received packets
* ns2: Don't start sending NS-RESET until FR DLC is available
* ns2: Stop test procedure when going into unconfigured state
* ns2: Don't automatically re-start FSM at FORCE_UNCONFIGURED
* frame_relay: cosmetic: Unify log syntax when discarding Rx packets
* frame_relay: Discard received messages for DLC not yet active
* frame_relay: Add status call-backs for link + DLC status changes
2021-02-02 11:37:48 +00:00
Gerrit Code Review 5c8448ac5b Update notes for submitted changes
* gsm_7bit_encode_n(): fix integer overflow in gsm_septets2octets()
2021-02-01 17:52:54 +00:00
Gerrit Code Review e50c590785 Update notes for submitted changes
* gsm_7bit_encode_n(): test encoding of more than 250 septets
2021-02-01 16:14:55 +00:00
Gerrit Code Review 9bf8ac9a71 Update notes for submitted changes
* frame_relay: Send "Fuil Status" ENQUIRY after link recovers
2021-02-01 14:30:53 +00:00
Gerrit Code Review 111f34a9ac Update notes for submitted changes
* sim: fix gcc 4.9.2 + -std=gnu11 error
2021-02-01 09:19:35 +00:00
Gerrit Code Review 7925bab17b Update notes for submitted changes
* ns2: cosmetic: fix indent levels
* ns2: Print NS-STATUS.ind primitives to the log
* ns2: Fix typos in comments
* ns2: Introduce a per-bind stat_item group with backlog length
* ns2: Rename nsi->rate_ctr_idx to nsi->nsvc_rate_ctr_idx
* ns2: Memory allocation failures are ENOMEM, not ENOSPC
* ns2: Move to one common/shared ns2_bind_alloc()
2021-02-01 09:17:03 +00:00
Gerrit Code Review 178e7bc3b4 Update notes for submitted changes
* ns2: Add a rate_ctr for each NS-UNBLOCK
* ns2: Implement more rate counters
2021-02-01 08:38:20 +00:00
Gerrit Code Review 83a2c99bd5 Update notes for submitted changes
* ns2: count number of dropped packets / bytes on transmit
* ns2: Properly report packet drops in FR code
* ns2: Increment Rx and Tx byte / packet counters
* ns2: encapsulate calls to nsvc->bind->send_vc()
* ns2: Use named array initializers to avoid mistakes
* ns2: Work around AF_PACKET socket ENOBUFS problems
* osmo-ns-dummy: Add simple NS traffic generator
* ns2: Log ERROR if we cannot transmit a packet due to ENOBUFS
* ns2: Use proper return value from write_queue callback function
2021-02-01 08:32:09 +00:00
Gerrit Code Review 7ef0503b31 Update notes for submitted changes
* gprs_bssgp: agregate RIM related code in gprs_bssgp_rim.c
2021-01-29 21:27:18 +00:00
Gerrit Code Review 42f7a2d3a1 Update notes for submitted changes
* gsm: bts_features: Introduce BTS_FEAT_CCN
* gsm: Fix wrong length in SI13 GPRS Cell Options IE
* cosmetic: fix typo in comment
2021-01-29 21:10:17 +00:00
Gerrit Code Review 076103518f Update notes for submitted changes
* ctrl_connection: Initialize write_queue.bfd.fd to -1 during allocation
2021-01-29 11:21:09 +00:00
Gerrit Code Review a0fa1b74e1 Update notes for submitted changes
* ns2: Fix assert when removing a bind listen
2021-01-29 10:45:54 +00:00
Gerrit Code Review 60488135c5 Update notes for submitted changes
* gprs_ns2: correct vty config write
* gprs_ns2: introduce gprs_ns2_vty_init_reduced() for the PCU
* gprs_ns2: remove api call gprs_ns2_dynamic_create_nse
* gprs_ns2: drop gprs_ns2_vty, rename vty2 -> vty
2021-01-28 21:00:12 +00:00
Gerrit Code Review 59c1b023d8 Update notes for submitted changes
* Revert "gprs_ns2: drop gprs_ns2_vty, rename vty2 -> vty"
2021-01-28 12:42:41 +00:00
Gerrit Code Review 5aeba6cbf4 Update notes for submitted changes
* gprs_ns2: drop gprs_ns2_vty, rename vty2 -> vty
* gprs_ns2: refactor: ensure all enums have GPRS_NS2_
2021-01-28 11:56:37 +00:00
Gerrit Code Review 6eebc2865a Update notes for submitted changes
* configure.ac: set -std=gnu11
2021-01-28 09:26:47 +00:00
Gerrit Code Review 94f6e2e74b Update notes for submitted changes
* gprs_bssgp: log source and destination RIM routing information
2021-01-27 11:59:27 +00:00