[PATCH] osmo-msc[master]: VLR tests: add simple LU generator

2018-02-15 Thread Max
8 LU"); + struct gsm48_hdr *ngh; + struct gsm48_loc_upd_req *nlu; /* NOTE: mi_len is part of struct */ + uint8_t buf[11]; + + ngh = (struct gsm48_hdr *)msgb_put(nmsg, sizeof(*ngh)); + nlu = (struct gsm48_loc_upd_req *)msgb_put(nmsg, sizeof(*nlu)); + + ngh->proto_discr = GSM48_PDISC_MM; + ngh->msg_type = GSM48_MT_MM_LOC_UPD_REQUEST; + + /* location updating type */ + nlu->type = lu_type; + + /* cipering key */ + nlu->key_seq = key_seq; + + gsm48_generate_lai(&nlu->lai, mcc, mnc, lac); + + /* classmark 1 */ + gsm48_encode_classmark1(&nlu->classmark1, rev_lv, es_ind, a5_1, pwr_lv); + + /* MI */ + gsm48_generate_mid(buf, imsi, GSM_MI_TYPE_IMSI); + + msgb_put(nmsg, buf[1]); /* length is part of nlu */ + memcpy(&nlu->mi_len, buf + 1, 1 + buf[1]); + + ms_sends_msg(msgb_hexdump(nmsg)); + + msgb_free(nmsg); +} + const struct timeval fake_time_start_time = { 123, 456 }; void fake_time_start() diff --git a/tests/msc_vlr/msc_vlr_tests.h b/tests/msc_vlr/msc_vlr_tests.h index a59b5d9..2ac20ce 100644 --- a/tests/msc_vlr/msc_vlr_tests.h +++ b/tests/msc_vlr/msc_vlr_tests.h @@ -135,6 +135,8 @@ void paging_expect_imsi(const char *imsi); void paging_expect_tmsi(uint32_t tmsi); void tx_identity_resp(const char *imsi, uint8_t mi_type, uint8_t seq); +void tx_loc_upd_req(const char *imsi, uint8_t lu_type, uint8_t rev_lv, + bool a5_1, bool es_ind, uint8_t pwr_lv, uint16_t mcc, uint16_t mnc, uint8_t lac, uint8_t key_seq); void ms_sends_msg(const char *hex); void ms_sends_security_mode_complete(); void gsup_rx(const char *rx_hex, const char *expect_tx_hex); -- To view, visit https://gerrit.osmocom.org/6484 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iab8b07b3276b6f6ac0387df14abb98355ea0e99a Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-msc[master]: VLR tests: add simple LU generator

2018-02-15 Thread Max
ac); + + /* classmark 1 */ + gsm48_encode_classmark1(&nlu->classmark1, rev_lv, es_ind, a5_1, pwr_lv); + + /* MI */ + if (imsi) + gsm48_generate_mid(buf, imsi, GSM_MI_TYPE_IMSI); + else + gsm48_generate_mid_from_tmsi(buf, tmsi); + +

[PATCH] osmo-pcu[master]: Move PDCH-related functions into separate files

2018-02-19 Thread Max
Hello Harald Welte, Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/6053 to look at the new patch set (#6). Move PDCH-related functions into separate files The PDCH class and corresponding functions are rather self-contained and independent fro

[PATCH] osmo-pcu[master]: Simplify TS alloc: move slot assignment

2018-02-19 Thread Max
TBF(TFI=0 TLLI=0x DIR=DL STATE=NULL EGPRS) Setting Control TS 4 -- To view, visit https://gerrit.osmocom.org/3905 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I64cf78c5cfc78664766f9769dd5cde632dab92b0 Gerrit-PatchSet: 16 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Holger Freyther Gerrit-Reviewer: Jenkins Builder

[PATCH] osmo-pcu[master]: TS alloc: expand tests log

2018-02-19 Thread Max
Hello Harald Welte, Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/3895 to look at the new patch set (#26). TS alloc: expand tests log * restructure code for easier reading * use consistent formatting for output * log essential allocation para

[MERGED] osmo-pcu[master]: Simplify TS alloc: constify max dl slot func

2018-02-20 Thread Max
Max has submitted this change and it was merged. Change subject: Simplify TS alloc: constify max dl slot func .. Simplify TS alloc: constify max dl slot func Constify parameters of gprs_alloc_max_dl_slots_per_ms(). Change-Id

[MERGED] osmo-pcu[master]: Simplify TS alloc: don't use PDCH for free TFI

2018-02-20 Thread Max
Max has submitted this change and it was merged. Change subject: Simplify TS alloc: don't use PDCH for free TFI .. Simplify TS alloc: don't use PDCH for free TFI Don't use PDCH from free TFI lookup routine.

[PATCH] osmo-pcu[master]: TBF: make network counters internal

2018-02-20 Thread Max
nters n) +{ + if (n >= N_MAX) { + LOGPTBF(this, LOGL_ERROR, "attempting to reset unknown counter %s\n", + get_value_string(tbf_counters_names, n)); + return; + } + + N[n] = 0; +} + +/* Increment counter and check for MAX valu

python/osmo-python-tests[master]: fix osmo_interact_* and osmo_verify_transcript_* after dir s...

2017-12-19 Thread Max
ter Gerrit-Owner: Neels Hofmeyr Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-HasComments: Yes

[PATCH] python/osmo-python-tests[master]: Add rate counter dumper

2017-12-19 Thread Max
y @@ -26,6 +26,7 @@ scripts = ["scripts/osmo_interact_vty.py", "scripts/osmo_interact_ctrl.py", "scripts/osmo_ctrl.py", + "scripts/osmo_rate_ctr2csv.py", "scripts/soap.py", "scripts/twisted_ipa.py", "scripts/osmo_verify_transcript_vty.py", -- To view, visit https://gerrit.osmocom.org/5029 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I12b369434e4ee9b38f92872f297e1f3d4f0698c2 Gerrit-PatchSet: 7 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Neels Hofmeyr Gerrit-Reviewer: Pau Espin Pedrol

[PATCH] python/osmo-python-tests[master]: Ignore compilation byproducts

2017-12-19 Thread Max
m.org/5483 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ic04a1b9411b851547ef7ce7a9b562cb290081ca9 Gerrit-PatchSet: 3 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Jenkins Builder G

[PATCH] python/osmo-python-tests[master]: Improve python3 compatibility

2017-12-19 Thread Max
setup.py index 494f63f..e1bdafe 100755 --- a/setup.py +++ b/setup.py @@ -23,7 +23,10 @@ scripts = ["scripts/osmodumpdoc.py", "scripts/osmotestconfig.py", "scripts/osmotestvty.py"] elif sys.version_info.major == 3: - scripts = ["sc

[PATCH] python/osmo-python-tests[master]: Update ctrl command parsing for python3

2017-12-19 Thread Max
ubprocess_exec('./scripts/osmo_ctrl.py', '-g', 'mnc', '-d' 'localhost'), loop = loop)) + +loop.run_forever() + +# Cleanup after loop is finished +server.close() +loop.run_until_complete(server.wait_closed()) +loop.close() + +print('[Python3] Smoke test PASSED for v%s' % __version__) -- To view, visit https://gerrit.osmocom.org/5028 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I599f9f5a18109929f59386ab4416b8bfd75c74d1 Gerrit-PatchSet: 5 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Neels Hofmeyr Gerrit-Reviewer: Pau Espin Pedrol

python/osmo-python-tests[master]: scripts: add symlink to osmopy

2017-12-19 Thread Max
-Branch: master Gerrit-Owner: Neels Hofmeyr Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-HasComments: No

python/osmo-python-tests[master]: README: mention twisted_ipa.py in scripts section, not as lib

2017-12-19 Thread Max
-Branch: master Gerrit-Owner: Neels Hofmeyr Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-HasComments: No

[PATCH] osmo-bsc[master]: Remove unneeded .py scripts

2017-12-19 Thread Max
self.factory.semaphore.release() - -def handle_notificationrejectionv1(self, net, bsc, bts, trx, data): -""" -Handle notification-rejection-v1 TRAP: just an example to show how more message types can be handled -""" -self.facto

[PATCH] osmo-sgsn[master]: Remove unneeded .py scripts

2017-12-19 Thread Max
data)) - - -class TrapFactory(IPAFactory): -""" -Store SOAP client object so TRAP handler can use it for requests -""" -location = None -log = None -semaphore = None -client = None -host = None -port = None -def __init__(self, host, por

python/osmo-python-tests[master]: fix osmo_interact_* and osmo_verify_transcript_* after dir s...

2017-12-19 Thread Max
-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Neels Hofmeyr Gerrit-HasComments: No

[PATCH] osmo-sgsn[master]: Remove unneeded .py scripts

2017-12-19 Thread Max
-rejection-v1@bsc-id %s => %s' % (bsc, data)) - - -class TrapFactory(IPAFactory): -""" -Store SOAP client object so TRAP handler can use it for requests - """ -location = None -log = None -semaphore = None -client = None -host

libosmocore[master]: rate_ctr: fix osmo-sgsn DoS: don't return NULL on already us...

2017-12-20 Thread Max
rg/5516 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iba6e41b8eeaea5ff6ed862bab3f34a62ab976914 Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: M

osmo-sgsn[master]: gprs_gmm: segfault: gracefully handle failure to alloc context

2017-12-20 Thread Max
Gerrit-Owner: Neels Hofmeyr Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-HasComments: No

[PATCH] osmo-sgsn[master]: Use connection id when allocating rate counters

2017-12-20 Thread Max
ue_ctx->conn_id); talloc_free(ctx); return NULL; } -- To view, visit https://gerrit.osmocom.org/5523 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1062ffdcac96c82269cab6f4e7ae50e28dc3aa44 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-sgsn[master]: gtphub: make rate_ctr unique

2017-12-20 Thread Max
next(&hub->tei_pool); -- To view, visit https://gerrit.osmocom.org/5524 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0e07f95c36de369bcd0691b8d0fd47c844abe5da Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-sgsn[master]: gtphub: make rate_ctr unique

2017-12-20 Thread Max
eturn NULL; } -- To view, visit https://gerrit.osmocom.org/5524 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I0e07f95c36de369bcd0691b8d0fd47c844abe5da Gerrit-PatchSet: 2 Gerrit-Project: osmo-sgsn Gerrit-Branch: master G

osmo-sgsn[master]: Use connection id when allocating rate counters

2017-12-20 Thread Max
ribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I1062ffdcac96c82269cab6f4e7ae50e28dc3aa44 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Re

osmo-sgsn[master]: gtphub: make rate_ctr unique

2017-12-20 Thread Max
-Id: I0e07f95c36de369bcd0691b8d0fd47c844abe5da Gerrit-PatchSet: 2 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Neels Hofmeyr Gerrit-HasComments: No

[PATCH] osmo-sgsn[master]: gtphub: make rate_ctr unique

2017-12-20 Thread Max
eturn NULL; } -- To view, visit https://gerrit.osmocom.org/5524 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I0e07f95c36de369bcd0691b8d0fd47c844abe5da Gerrit-PatchSet: 3 Gerrit-Project: osmo-sgsn Gerrit-Branch: master G

[PATCH] osmo-sgsn[master]: Replace '.' in counter names with ':'

2017-12-20 Thread Max
counters_io_desc), .ctr_desc = gtphub_counters_io_desc, -- To view, visit https://gerrit.osmocom.org/5525 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4eb6851d3577f5942ae1a9ab28d3b3ca7ab8e208 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-sgsn[master]: Remove dead code

2017-12-20 Thread Max
view, visit https://gerrit.osmocom.org/5526 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia80cf845b624d520d67143b61c9de3d49074cb8c Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-sgsn[master]: cosmetic: use macro for gtphub plane iteration

2017-12-20 Thread Max
ge Gerrit-Change-Id: If82fcd9f6509da60e6f0d916fe107de1b38bfd18 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-sgsn[master]: gtphub: check for gsn_addr_from_sockaddr() errors

2017-12-20 Thread Max
SN address\n", __func__); pa = gtphub_addr_find(bind, &gsna); if (!pa) -- To view, visit https://gerrit.osmocom.org/5529 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If6babdad650dc6a84e6a784fc8d3c5abe146ecc1 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-sgsn[master]: gtphub: make rate_ctr unique

2017-12-20 Thread Max
ailed to allocate rate counters for %s:%u\n", gsn_addr_to_str(&a->addr), port); talloc_free(pp); return NULL; } -- To view, visit https://gerrit.osmocom.org/5524 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset

osmo-sgsn[master]: Use connection id when allocating rate counters

2017-12-20 Thread Max
: I1062ffdcac96c82269cab6f4e7ae50e28dc3aa44 Gerrit-PatchSet: 2 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Neels Hofmeyr Gerrit-HasComments: No

[MERGED] osmo-sgsn[master]: Replace '.' in counter names with ':'

2017-12-20 Thread Max
Max has submitted this change and it was merged. Change subject: Replace '.' in counter names with ':' .. Replace '.' in counter names with ':' The '.' is illegal charact

[MERGED] osmo-sgsn[master]: Remove dead code

2017-12-20 Thread Max
Max has submitted this change and it was merged. Change subject: Remove dead code .. Remove dead code Get rid of ifdefs around old unused code to improve readability. Change-Id: Ia80cf845b624d520d67143b61c9de3d49074cb8c --- M

[PATCH] osmo-pcu[master]: TBF: implement independent T31xx timers

2017-12-20 Thread Max
= cb_T3195; + break; + default: + LOGPTBF(this, LOGL_ERROR, "attempting to set callback for unknown timer %s [%s]\n", + get_value_string(tbf_timers_names, t), reason); + } + + osmo_timer_schedule(&T31[t], sec, microsec); } int gprs_

[PATCH] osmo-pcu[master]: TBF: add N3101 counter

2017-12-20 Thread Max
_), + m_n3101(0), m_tfi(0), m_created_ts(0), m_ctrs(NULL), @@ -740,6 +741,14 @@ poll_state = GPRS_RLCMAC_POLL_NONE; + m_n3101++; + if (m_n3101 == bts->bts_data()->n3101) { + LOGP(DRLCMAC, LOGL_NOTICE, " N3101 exceeded MAX (%u)\n

[PATCH] osmo-pcu[master]: TBF: unify timer handling

2017-12-20 Thread Max
quot;); /* check for downlink tbf: */ @@ -499,7 +498,7 @@ state_flags |= (1 << GPRS_RLCMAC_FLAG_PACCH); /* start timer */ - tbf_timer_start(this, 0, Tassign_pacch, "assignment (PACCH)"); + t_start(T0, T_ASS_PACCH_SEC, 0, "assignment (PACCH)", true); } else { LOGPTBFDL(this, LOGL_DEBUG, "Send dowlink assignment on PCH, no TBF exist (IMSI=%s)\n", imsi()); -- To view, visit https://gerrit.osmocom.org/5234 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I63fb7e6f0695383a83472c836a381a055f64690b Gerrit-PatchSet: 3 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Jenkins Builder

[PATCH] osmo-pcu[master]: TBF: log timer invocation source

2017-12-21 Thread Max
for unknown timer %s [%s]\n", - get_value_string(tbf_timers_names, t), reason); + LOGPSRC(DRLCMAC, LOGL_ERROR, file, line, "%s attempting to set callback for unknown timer %s [%s]\n", +tbf_name(this), get_value_string(tbf_timers_names, t),

[PATCH] osmo-pcu[master]: TBF: unify timer handling

2017-12-21 Thread Max
/* check for downlink tbf: */ @@ -499,7 +498,7 @@ state_flags |= (1 << GPRS_RLCMAC_FLAG_PACCH); /* start timer */ - tbf_timer_start(this, 0, Tassign_pacch, "assignment (PACCH)"); + t_start(T0, T_ASS_PACCH_SEC, 0, "assignment (PACCH)", true); } else { LOGPTBFDL(this, LOGL_DEBUG, "Send dowlink assignment on PCH, no TBF exist (IMSI=%s)\n", imsi()); -- To view, visit https://gerrit.osmocom.org/5234 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I63fb7e6f0695383a83472c836a381a055f64690b Gerrit-PatchSet: 4 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Jenkins Builder

[PATCH] osmo-pcu[master]: Fix warnings

2017-12-21 Thread Max
0f545cca9b23e Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-pcu[master]: cosmetic: clarify coding scheme and puncturing

2017-12-21 Thread Max
m.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If599a6c8a6ef56d847604fcf41bb71decccd8a78 Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max

osmo-pcu[master]: cosmetic: clarify coding scheme and puncturing

2017-12-21 Thread Max
-Change-Id: If599a6c8a6ef56d847604fcf41bb71decccd8a78 Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-HasComments: No

[PATCH] osmo-pcu[master]: TBF: cleanup state flag handling

2017-12-21 Thread Max
C_FLAG_TO_UL_ACK))) { - state_flags &= ~(1 << GPRS_RLCMAC_FLAG_TO_UL_ACK); + if (check_n_clear(GPRS_RLCMAC_FLAG_TO_UL_ACK)) return true; /* GPRS_RLCMAC_FLAG_TO_UL_ACK was set, now cleared */ - } state_flags |= (1 << GPRS_RLCMAC

osmocom-bb[master]: bsic decoding of neighbour cells in dedicated mode and parti...

2017-12-21 Thread Max
it https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib01460b796d2107c4599d327e184eb42340999d2 Gerrit-PatchSet: 1 Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-Owner: Muhammad Awais Aslam Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Vadim Yanitskiy

[PATCH] osmo-pcu[master]: TBF: log source of state transitions

2017-12-21 Thread Max
bts->t3169, 0, "allocation (UL-TBF)", true); tbf->update_ms(tlli, GPRS_RLCMAC_UL_TBF); @@ -744,7 +744,7 @@ m_n3101++; if (m_n3101 == bts->bts_data()->n3101) { LOGP(DRLCMAC, LOGL_NOTICE, " N3101 exceeded MAX (%u)\n", bts->bts_da

[PATCH] python/osmo-python-tests[master]: Improve python3 compatibility

2017-12-21 Thread Max
y", "scripts/osmotestconfig.py", "scripts/osmotestvty.py"] elif sys.version_info.major == 3: - scripts = ["scripts/osmo_interact_vty.py", + scripts = ["scripts/osmodumpdoc.py", + "scripts/osmotestconfig.py", + "scripts/osmotestvty.py", + "scripts/osmo_interact_vty.py", "scripts/osmo_interact_ctrl.py", "scripts/osmo_ctrl.py", "scripts/osmo_rate_ctr2csv.py", -- To view, visit https://gerrit.osmocom.org/5038 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I80e5850a8978d78cda793e2192ef4bd3fd54a121 Gerrit-PatchSet: 5 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Neels Hofmeyr Gerrit-Reviewer: Pau Espin Pedrol

[PATCH] python/osmo-python-tests[master]: Use python3 for osmo_ctrl.py

2017-12-21 Thread Max
unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I2461dd9af67771beed5306116e8a1b0ee2285aa8 Gerrit-PatchSet: 4 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr Gerrit-Reviewer: Pau Espin Pedrol

[PATCH] python/osmo-python-tests[master]: Add scripts to compilation tests in jenkins

2017-12-21 Thread Max
5217c526 Gerrit-PatchSet: 4 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr Gerrit-Reviewer: Pau Espin Pedrol

[PATCH] python/osmo-python-tests[master]: Update ctrl command parsing for python3

2017-12-21 Thread Max
249)) + +print('Serving on {}...'.format(server.sockets[0].getsockname())) + +# Async client running in the subprocess plugged to the same event loop + loop.run_until_complete(asyncio.gather(asyncio.create_subprocess_exec('./scripts/osmo_ctrl.py', '-g'

[PATCH] python/osmo-python-tests[master]: Add rate counter dumper

2017-12-21 Thread Max
y @@ -26,6 +26,7 @@ scripts = ["scripts/osmo_interact_vty.py", "scripts/osmo_interact_ctrl.py", "scripts/osmo_ctrl.py", + "scripts/osmo_rate_ctr2csv.py", "scripts/soap.py", "scripts/twisted_ipa.py", "scripts/osmo_verify_transcript_vty.py", -- To view, visit https://gerrit.osmocom.org/5029 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I12b369434e4ee9b38f92872f297e1f3d4f0698c2 Gerrit-PatchSet: 8 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Neels Hofmeyr Gerrit-Reviewer: Pau Espin Pedrol

[PATCH] python/osmo-python-tests[master]: Add scripts to compilation tests in jenkins

2017-12-21 Thread Max
ore tests -- To view, visit https://gerrit.osmocom.org/5482 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: If098c20b1ad17c3868073b9fe07fd3795217c526 Gerrit-PatchSet: 5 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max Ge

[PATCH] python/osmo-python-tests[master]: Improve python3 compatibility

2017-12-21 Thread Max
3,7 +23,10 @@ scripts = ["scripts/osmodumpdoc.py", "scripts/osmotestconfig.py", "scripts/osmotestvty.py"] elif sys.version_info.major == 3: - scripts = ["scripts/osmo_interact_vty.py", + scripts = ["scripts/osmodumpdoc.py", + "scripts/osmotestconfig.py", + "scripts/osmotestvty.py", + "scripts/osmo_interact_vty.py", "scripts/osmo_interact_ctrl.py", "scripts/osmo_ctrl.py", "scripts/osmo_rate_ctr2csv.py", -- To view, visit https://gerrit.osmocom.org/5038 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I80e5850a8978d78cda793e2192ef4bd3fd54a121 Gerrit-PatchSet: 6 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Neels Hofmeyr Gerrit-Reviewer: Pau Espin Pedrol

[PATCH] python/osmo-python-tests[master]: Use python3 for osmo_ctrl.py

2017-12-21 Thread Max
", -- To view, visit https://gerrit.osmocom.org/5061 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I2461dd9af67771beed5306116e8a1b0ee2285aa8 Gerrit-PatchSet: 5 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Ma

[PATCH] python/osmo-python-tests[master]: Update ctrl command parsing for python3

2017-12-21 Thread Max
cio.gather(asyncio.create_subprocess_exec('./scripts/osmo_ctrl.py', '-g', 'mnc', '-d' 'localhost'), loop = loop)) + +loop.run_forever() + +# Cleanup after loop is finished +server.close() +loop.run_until_complete(server.wait_closed()) +loop.close() + +print('[Python3] Smoke test PASSED for v%s' % __version__) -- To view, visit https://gerrit.osmocom.org/5028 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I599f9f5a18109929f59386ab4416b8bfd75c74d1 Gerrit-PatchSet: 7 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Neels Hofmeyr Gerrit-Reviewer: Pau Espin Pedrol

[PATCH] python/osmo-python-tests[master]: Add rate counter dumper

2017-12-21 Thread Max
tup.py +++ b/setup.py @@ -26,6 +26,7 @@ scripts = ["scripts/osmo_interact_vty.py", "scripts/osmo_interact_ctrl.py", "scripts/osmo_ctrl.py", + "scripts/osmo_rate_ctr2csv.py", "scripts/soap.py", "scripts/twisted_ipa.py", "scripts/osmo_verify_transcript_vty.py", -- To view, visit https://gerrit.osmocom.org/5029 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I12b369434e4ee9b38f92872f297e1f3d4f0698c2 Gerrit-PatchSet: 9 Gerrit-Project: python/osmo-python-tests Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Neels Hofmeyr Gerrit-Reviewer: Pau Espin Pedrol

[PATCH] osmo-msc[master]: Migrate from OpenSSL to osmo_get_rand_id()

2017-12-21 Thread Max
nge-Id: I71cd631704a4dc155c6c752fee2a42cd6e2fa336 Gerrit-PatchSet: 7 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr

[PATCH] osmo-bsc[master]: Migrate from OpenSSL to osmo_get_rand_id()

2017-12-21 Thread Max
it https://gerrit.osmocom.org/3819 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ia57bf1300525cf3c247284fe966b1c415c2d53e2 Gerrit-PatchSet: 6 Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder

[MERGED] osmo-pcu[master]: Add function to get max supported MS class

2017-12-21 Thread Max
Max has submitted this change and it was merged. Change subject: Add function to get max supported MS class .. Add function to get max supported MS class It's useful for allocation tests. Chan

[PATCH] libosmocore[master]: Remove unused check

2017-12-21 Thread Max
af15f0fee0dc5537489de4469b692d2 Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] libosmo-netif[master]: Enable sanitize for CI tests

2017-12-21 Thread Max
rrit-PatchSet: 1 Gerrit-Project: libosmo-netif Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] libosmo-sccp[master]: Enable sanitize for CI tests

2017-12-21 Thread Max
PatchSet: 1 Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] libsmpp34[master]: Enable sanitize for CI tests

2017-12-21 Thread Max
t-Project: libsmpp34 Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-ggsn[master]: Enable sanitize for CI tests

2017-12-21 Thread Max
atchSet: 1 Gerrit-Project: osmo-ggsn Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-sgsn[master]: Enable sanitize for CI tests

2017-12-21 Thread Max
rit.osmocom.org/5541 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I77b3375fd680be269fd2df7db61ece6c5d1754ba Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-bsc[master]: Enable sanitize for CI tests

2017-12-21 Thread Max
f697a8975525b Gerrit-PatchSet: 1 Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-msc[master]: Enable sanitize for CI tests

2017-12-21 Thread Max
4e46b5d675103 Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-pcu[master]: Add --enable-sanitize configure option

2017-12-21 Thread Max
7504387a0767d02d75b Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-bts[master]: Add --enable-sanitize configure option

2017-12-21 Thread Max
1e20ef2361c8f251f3ab04a0ac86e23d2e8a1 Gerrit-PatchSet: 1 Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-pcu[master]: Enable sanitize for CI test

2017-12-21 Thread Max
newchange Gerrit-Change-Id: Ia33ffb9b25df587706367bc24925cf9cead3b9a0 Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-pcu[master]: TBF: bail out for unknown timers

2017-12-21 Thread Max
mocom.org/5547 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie6ae564d41a5e03270685c6bafb3504278eb3551 Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-pcu[master]: Add tests for pcu_lsb()

2017-12-22 Thread Max
111.: {7} 2 +FF : {8} 1 -- To view, visit https://gerrit.osmocom.org/5548 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If08a7f0d31f0e5ad8a5efa5885880aed19c329ab Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max

[ABANDON] osmo-pcu[master]: TS alloc: use standard function

2017-12-22 Thread Max
Max has abandoned this change. Change subject: TS alloc: use standard function .. Abandoned -- To view, visit https://gerrit.osmocom.org/3896 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType

[MERGED] python/osmo-python-tests[master]: Add scripts to compilation tests in jenkins

2017-12-23 Thread Max
Max has submitted this change and it was merged. Change subject: Add scripts to compilation tests in jenkins .. Add scripts to compilation tests in jenkins Related: OS#2684 Change-Id: If098c20b1ad17c3868073b9fe07fd3795217c526

[PATCH] osmo-iuh[master]: Add control interface

2017-12-26 Thread Max
-PatchSet: 1 Gerrit-Project: osmo-iuh Gerrit-Branch: master Gerrit-Owner: Max

[MERGED] osmo-sgsn[master]: Migrate from OpenSSL to osmo_get_rand_id()

2017-12-27 Thread Max
Max has submitted this change and it was merged. Change subject: Migrate from OpenSSL to osmo_get_rand_id() .. Migrate from OpenSSL to osmo_get_rand_id() This avoids potential licensing incompatibility and makes integration of

[MERGED] osmo-bsc[master]: Migrate from OpenSSL to osmo_get_rand_id()

2017-12-27 Thread Max
Max has submitted this change and it was merged. Change subject: Migrate from OpenSSL to osmo_get_rand_id() .. Migrate from OpenSSL to osmo_get_rand_id() This avoids potential licensing incompatibility and makes integration of

[MERGED] osmo-msc[master]: Migrate from OpenSSL to osmo_get_rand_id()

2017-12-27 Thread Max
Max has submitted this change and it was merged. Change subject: Migrate from OpenSSL to osmo_get_rand_id() .. Migrate from OpenSSL to osmo_get_rand_id() This avoids potential licensing incompatibility and makes integration of

[PATCH] osmo-iuh[master]: Add control interface

2017-12-27 Thread Max
Gerrit-MessageType: newpatchset Gerrit-Change-Id: I4637e88da00bac1ab0237c29ac73806d024863ba Gerrit-PatchSet: 2 Gerrit-Project: osmo-iuh Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Harald Welte Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr Gerrit-Reviewer: lynxis lazus

[PATCH] osmo-msc[master]: VLR: log unhandled subscriber update

2017-12-27 Thread Max
*/ -- To view, visit https://gerrit.osmocom.org/5597 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1958aeeb3ea99831c7e2c5ee9a6b59834baf4520 Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-msc[master]: VLR: log subscriber update

2017-12-27 Thread Max
s MSISDN:42342 +DVLR SUBSCR(MSISDN:42342) VLR: update for IMSI=90170010650 (MSISDN=42342, used=2) DVLR GSUP tx: 1201080971000156f0 GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 1201080971000156f0 DREF VLR subscr MSISDN:42342 usage decreases to: 1 -- To view, visit https://gerrit

[PATCH] osmo-msc[master]: Add control command to expire subscriber

2017-12-27 Thread Max
ompl_fsm_success() */ + vlr_subscr_expire(vsub); + return 0; } -- To view, visit https://gerrit.osmocom.org/5598 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I267886b7c79ed6d9c2f34a2e60d2972b7f4f4036 Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] python/osmo-python-tests[master]: Update ctrl command parsing for python3

2017-12-27 Thread Max
+ +# Async client running in the subprocess plugged to the same event loop + loop.run_until_complete(asyncio.gather(asyncio.create_subprocess_exec('./scripts/osmo_ctrl.py', '-g', 'mnc', '-d', test_host, '-p', test_port), loop = loop)) + +loop.run_foreve

[PATCH] osmo-iuh[master]: Expand ctrl interface

2017-12-27 Thread Max
rface commands\n"); + return 2; + } } ranap_set_log_area(DRANAP); -- To view, visit https://gerrit.osmocom.org/5599 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3a2d6fa3d6d0829ccee4ecc0998d9299c97820e9 Gerrit-PatchSet: 1 Gerrit-Project: osmo-iuh Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-iuh[master]: Use proper package version

2017-12-28 Thread Max
rit-PatchSet: 1 Gerrit-Project: osmo-iuh Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-iuh[master]: Enable sanitize for CI tests

2017-12-28 Thread Max
iuh Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-hlr[master]: Enable sanitize for CI tests

2017-12-28 Thread Max
gs Gerrit-MessageType: newchange Gerrit-Change-Id: I112307b5eaf494062b2e8498ff2e9217fb8db925 Gerrit-PatchSet: 1 Gerrit-Project: osmo-hlr Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-bsc[master]: Remove obsolete ./configure option

2017-12-28 Thread Max
tlogs.sh -- To view, visit https://gerrit.osmocom.org/5605 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9492d8e988b464aa41f572611cbf2461bb8be3eb Gerrit-PatchSet: 1 Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-sgsn[master]: Remove obsolete ./configure option

2017-12-28 Thread Max
30cfcf10247b601e16e7b872305499815520a9 Gerrit-PatchSet: 1 Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Owner: Max

osmo-hlr[master]: Enable sanitize for CI tests

2017-12-28 Thread Max
-Project: osmo-hlr Gerrit-Branch: master Gerrit-Owner: Max Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max Gerrit-Reviewer: Neels Hofmeyr Gerrit-HasComments: No

[PATCH] osmo-pcu[master]: Add optional profiling support

2017-12-28 Thread Max
e Gerrit-Change-Id: I5c16988cefa46e0b958030c0f3bff9efc5b4979d Gerrit-PatchSet: 1 Gerrit-Project: osmo-pcu Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-bsc[master]: Add optional profiling support

2017-12-28 Thread Max
it-Change-Id: Ia5a48a38962fc99446887a34008c40efd8344d9b Gerrit-PatchSet: 1 Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] libosmocore[master]: coding: move eB adjustement to appropriate place

2017-12-28 Thread Max
it https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I385cd6ffea4d13ef911910fc87c92b73809888a2 Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-bsc[master]: Check and handle SMS encoding failure

2017-12-28 Thread Max
a_len - 2 - 1 - old_dest_len); -- To view, visit https://gerrit.osmocom.org/5615 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9fc16e24f7df5ebad6f4f1b389b2c5e861be95d7 Gerrit-PatchSet: 1 Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] python/osmo-python-tests[master]: Update ctrl command parsing for python3

2017-12-28 Thread Max
x27;Serving on {}...'.format(server.sockets[0].getsockname())) + +# Async client running in the subprocess plugged to the same event loop + loop.run_until_complete(asyncio.gather(asyncio.create_subprocess_exec('./scripts/osmo_ctrl.py', '-g', 'mnc', '

[MERGED] osmo-pcu[master]: Add optional profiling support

2017-12-28 Thread Max
Max has submitted this change and it was merged. Change subject: Add optional profiling support .. Add optional profiling support This facilitates the use of programs like uftrace. It's disabled by default due to assoc

[MERGED] osmo-bsc[master]: Add optional profiling support

2017-12-28 Thread Max
Max has submitted this change and it was merged. Change subject: Add optional profiling support .. Add optional profiling support This facilitates the use of programs like uftrace. It's disabled by default due to assoc

[PATCH] osmo-bsc[master]: Fix .deb builds

2017-12-29 Thread Max
sit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I613781495edbc53916ca70ff7b78d28ffabd3f5d Gerrit-PatchSet: 1 Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] osmo-msc[master]: VLR: remove unused parameter

2017-12-29 Thread Max
llist_for_each(entry, &vsub->cs.requests) -- To view, visit https://gerrit.osmocom.org/5620 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6f7ad1670836384d1e6a58f47a13464fdbbf8509 Gerrit-PatchSet: 1 Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Owner: Max

[PATCH] gapk[master]: Add git-review config

2017-12-29 Thread Max
: Id4304dc8248087c23aaf3a5d205cd341ed6a758a Gerrit-PatchSet: 1 Gerrit-Project: gapk Gerrit-Branch: master Gerrit-Owner: Max

<    1   2   3   4   5   6   7   8   9   10   >