[MERGED] osmo-gsm-tester[master]: contrib: build-osmo-bsc: Add aibsip-find and ipaccess-config...

2018-03-09 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged. Change subject: contrib: build-osmo-bsc: Add aibsip-find and ipaccess-config binaries to archive .. contrib: build-osmo-bsc: Add aibsip-find and ipaccess-config

[PATCH] osmo-bts[master]: sysinfo.c: SI1 is optional; Send SI2 at TC=0 if no SI1 exists

2018-03-09 Thread Harald Welte
Review at https://gerrit.osmocom.org/7184 sysinfo.c: SI1 is optional; Send SI2 at TC=0 if no SI1 exists SI1 is only required if frequency hopping is used or if NCH is used. So it's optional. If OsmoBTS has no SI1 configured, it will transmit the empty SI1 buffer at TC=0, and as a result no

osmo-gsm-tester[master]: contrib: build-osmo-bts: Remove dropped dependency openbsc

2018-03-09 Thread Pau Espin Pedrol
Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/7182 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I8a1918971388afad41308629c1851614d1381f25 Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-tester Gerrit-Branch:

[MERGED] osmo-gsm-tester[master]: contrib: build-osmo-bts: Remove dropped dependency openbsc

2018-03-09 Thread Pau Espin Pedrol
Pau Espin Pedrol has submitted this change and it was merged. Change subject: contrib: build-osmo-bts: Remove dropped dependency openbsc .. contrib: build-osmo-bts: Remove dropped dependency openbsc Since osmo-bts

osmo-gsm-tester[master]: contrib: build-osmo-bsc: Add aibsip-find and ipaccess-config...

2018-03-09 Thread Pau Espin Pedrol
Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/7183 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib0e003f74603c3146aa76d581ab493f960f73ab5 Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-tester Gerrit-Branch:

[PATCH] osmo-msc[master]: fix: clear vlr_subscr->msc_conn_ref when the conn is discarded

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7176 to look at the new patch set (#3). fix: clear vlr_subscr->msc_conn_ref when the conn is discarded Before this, it was for example possible to crash the MSC by the vty 'show subscriber'

[PATCH] osmo-msc[master]: msc_vlr_test_umts_authen: test response with too long RES

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7191 msc_vlr_test_umts_authen: test response with too long RES Change-Id: Ie5473f06fc2d04c6a9f343da5764ec95b292a5f9 --- M tests/msc_vlr/msc_vlr_test_umts_authen.c M tests/msc_vlr/msc_vlr_test_umts_authen.err 2 files changed, 289 insertions(+), 0

[PATCH] osmo-msc[master]: msc_vlr_test_gsm_ciph: add test for GSM AKA in UMTS environment

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7186 msc_vlr_test_gsm_ciph: add test for GSM AKA in UMTS environment Even on an R99 capable UE with a UMTS AKA capable USIM, the ME may still choose to only perform GSM AKA, as long as the bearer is GERAN. In that case, we must make sure to send the GSM AKA

[PATCH] osmo-msc[master]: msc_vlr_test_umts_authen: test response with too short RES

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7190 msc_vlr_test_umts_authen: test response with too short RES Change-Id: Ia1bc57b3dc1f3c3c654ba2d907b16ba925cd03e8 --- M tests/msc_vlr/msc_vlr_test_umts_authen.c M tests/msc_vlr/msc_vlr_test_umts_authen.err 2 files changed, 290 insertions(+), 0

[PATCH] osmo-msc[master]: cosmetic: vlr_auth_fsm: log RAN and size along with SRES/RES

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7194 cosmetic: vlr_auth_fsm: log RAN and size along with SRES/RES Change-Id: Ib0f9f573ffac2302fbd3ee28f48ccd8fce5fe286 --- M src/libvlr/vlr_auth_fsm.c M tests/msc_vlr/msc_vlr_test_authen_reuse.err M tests/msc_vlr/msc_vlr_test_call.err M

[PATCH] osmo-msc[master]: gsm48_rx_mm_auth_resp(): pass is_r99 from classmark, not res...

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7189 gsm48_rx_mm_auth_resp(): pass is_r99 from classmark, not response size Do not interpret the SRES/RES length returned in the auth response as the R99 capability bit, instead determine it from the actual Classmark information associated with the conn.

[PATCH] osmo-msc[master]: vlr auth: gracefully reject malformed auth response

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7188 vlr auth: gracefully reject malformed auth response Instead of just closing down the conn hard, actually feed invalid auth response data to vlr_subscr_rc_auth_resp() in order to trigger all the actions we want to see with a failed authentication: - a

[PATCH] osmo-msc[master]: msc_vlr_test_umts_authen: test response with only SRES half ...

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7192 msc_vlr_test_umts_authen: test response with only SRES half of RES Change-Id: I0e9099625bd9d3de3db5ee29fbf81b2d8a30071d --- M tests/msc_vlr/msc_vlr_test_umts_authen.c M tests/msc_vlr/msc_vlr_test_umts_authen.err 2 files changed, 294 insertions(+), 0

[PATCH] osmo-msc[master]: vlr: fix GSM AKA in a UMTS AKA capable environment

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7187 vlr: fix GSM AKA in a UMTS AKA capable environment Switch by vsub->sec_ctx to use the proper Kc for ciphering. Even on an R99 capable UE with a UMTS AKA capable USIM, the ME may still choose to only perform GSM AKA, as long as the bearer is GERAN. The

[PATCH] osmo-msc[master]: cosmetic: vlr_auth_fsm: clarify decision on UMTS AKA or GSM AKA

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7193 cosmetic: vlr_auth_fsm: clarify decision on UMTS AKA or GSM AKA The code deciding on whether UMTS AKA is used was cascaded and convoluted. By flattening the decisions, they become easier to read and possibly catch more weird corner cases / log

[PATCH] osmo-msc[master]: msc_vlr_tests: clearly separate Ciph Mode from Security Mode...

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7185 msc_vlr_tests: clearly separate Ciph Mode from Security Mode checking Clearly distinguish between Ciphering Mode Command on GERAN and Security Mode Control on UTRAN. Cosmetic: explicitly verify the key strings in the testing code (not only in the

[PATCH] osmo-msc[master]: gsm48_rx_mm_auth_resp(): pass is_r99 from classmark, not res...

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7189 to look at the new patch set (#3). gsm48_rx_mm_auth_resp(): pass is_r99 from classmark, not response size Do not interpret the SRES/RES length returned in the auth response as the R99

[PATCH] osmo-msc[master]: vlr auth: gracefully reject malformed auth response

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7188 to look at the new patch set (#3). vlr auth: gracefully reject malformed auth response Instead of just closing down the conn hard, signal auth failure to the VLR in order to trigger

[PATCH] osmo-msc[master]: cosmetic: gsm48_rx_mm_auth_resp(): log 'UMTS AKA', not 'R99 ...

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7195 cosmetic: gsm48_rx_mm_auth_resp(): log 'UMTS AKA', not 'R99 AKA' Change-Id: Iba43c685cbe238d96175267e9cc954b2f2f3e7fc --- M src/libmsc/gsm_04_08.c M tests/msc_vlr/msc_vlr_test_authen_reuse.err M tests/msc_vlr/msc_vlr_test_call.err M

[PATCH] osmo-msc[master]: msc_vlr_test_umts_authen: test response with too short RES

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7190 to look at the new patch set (#3). msc_vlr_test_umts_authen: test response with too short RES Change-Id: Ia1bc57b3dc1f3c3c654ba2d907b16ba925cd03e8 --- M

[PATCH] osmo-msc[master]: cosmetic: vlr_auth_fsm: clarify decision on UMTS AKA or GSM AKA

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7193 to look at the new patch set (#3). cosmetic: vlr_auth_fsm: clarify decision on UMTS AKA or GSM AKA The code deciding on whether UMTS AKA is used was cascaded and convoluted. By

[PATCH] osmo-msc[master]: cosmetic: vlr_auth_fsm: log RAN and size along with SRES/RES

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7194 to look at the new patch set (#3). cosmetic: vlr_auth_fsm: log RAN and size along with SRES/RES Change-Id: Ib0f9f573ffac2302fbd3ee28f48ccd8fce5fe286 --- M src/libvlr/vlr_auth_fsm.c M

[PATCH] osmo-msc[master]: msc_vlr_test_umts_authen: test response with too long RES

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7191 to look at the new patch set (#3). msc_vlr_test_umts_authen: test response with too long RES Change-Id: Ie5473f06fc2d04c6a9f343da5764ec95b292a5f9 --- M

[PATCH] osmo-msc[master]: msc_vlr_test_gsm_ciph: add test for GSM AKA in UMTS environment

2018-03-09 Thread Neels Hofmeyr
msc_vlr_test_gsm_ciph: add test for GSM AKA in UMTS environment Even on an R99 capable MS with a UMTS AKA capable USIM, the MS may still choose to only perform GSM AKA, as long as the bearer is GERAN. In that case, we must make sure to send the GSM AKA Kc for ciphering. Add

[PATCH] osmo-msc[master]: vlr: fix GSM AKA in a UMTS AKA capable environment

2018-03-09 Thread Neels Hofmeyr
vlr: fix GSM AKA in a UMTS AKA capable environment Switch by vsub->sec_ctx to use the proper Kc for ciphering. Even on an R99 capable MS with a UMTS AKA capable USIM, the MS may still choose to only perform GSM AKA, as long as the bearer is GERAN. The VLR already stores whether the MS replied

osmo-msc[master]: vlr auth: gracefully reject malformed auth response

2018-03-09 Thread Neels Hofmeyr
Patch Set 3: (1 comment) https://gerrit.osmocom.org/#/c/7188/3/src/libmsc/gsm_04_08.c File src/libmsc/gsm_04_08.c: Line 978: return vlr_subscr_rx_auth_fail(conn->vsub, NULL); hmm, this is actually meant for the MM Authentication Failure message from the MS, which also is capable

[PATCH] osmo-msc[master]: cosmetic: vlr_auth_fsm: clarify decision on UMTS AKA or GSM AKA

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7193 to look at the new patch set (#2). cosmetic: vlr_auth_fsm: clarify decision on UMTS AKA or GSM AKA The code deciding on whether UMTS AKA is used was cascaded and convoluted. By

[PATCH] osmo-msc[master]: cosmetic: vlr_auth_fsm: log RAN and size along with SRES/RES

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7194 to look at the new patch set (#2). cosmetic: vlr_auth_fsm: log RAN and size along with SRES/RES Change-Id: Ib0f9f573ffac2302fbd3ee28f48ccd8fce5fe286 --- M src/libvlr/vlr_auth_fsm.c M

[PATCH] osmo-msc[master]: msc_vlr_test_umts_authen: test response with only SRES half ...

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7192 to look at the new patch set (#2). msc_vlr_test_umts_authen: test response with only SRES half of RES Change-Id: I0e9099625bd9d3de3db5ee29fbf81b2d8a30071d --- M

[PATCH] osmo-msc[master]: msc_vlr_test_umts_authen: test response with too long RES

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7191 to look at the new patch set (#2). msc_vlr_test_umts_authen: test response with too long RES Change-Id: Ie5473f06fc2d04c6a9f343da5764ec95b292a5f9 --- M

[PATCH] osmo-msc[master]: msc_vlr_test_umts_authen: test response with too short RES

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7190 to look at the new patch set (#2). msc_vlr_test_umts_authen: test response with too short RES Change-Id: Ia1bc57b3dc1f3c3c654ba2d907b16ba925cd03e8 --- M

[PATCH] osmo-msc[master]: gsm48_rx_mm_auth_resp(): pass is_r99 from classmark, not res...

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7189 to look at the new patch set (#2). gsm48_rx_mm_auth_resp(): pass is_r99 from classmark, not response size Do not interpret the SRES/RES length returned in the auth response as the R99

[PATCH] osmo-msc[master]: vlr auth: gracefully reject malformed auth response

2018-03-09 Thread Neels Hofmeyr
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7188 to look at the new patch set (#2). vlr auth: gracefully reject malformed auth response Instead of just closing down the conn hard, actually feed invalid auth response data to

[MERGED] osmo-bts[master]: fix handover: handle_ph_ra_ind(): evaluate ra_ind before msg...

2018-03-09 Thread Harald Welte
Harald Welte has submitted this change and it was merged. Change subject: fix handover: handle_ph_ra_ind(): evaluate ra_ind before msgb_trim() .. fix handover: handle_ph_ra_ind(): evaluate ra_ind before msgb_trim() Commit

osmo-bts[master]: fix handover: handle_ph_ra_ind(): evaluate ra_ind before msg...

2018-03-09 Thread Harald Welte
Patch Set 2: merge this now, we can still improve further upon it later -- To view, visit https://gerrit.osmocom.org/7169 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I203021ee57f49cb963679ba8bec5943e2abb67fb Gerrit-PatchSet: 2

libasn1c[master]: configure: add --enable-werror

2018-03-09 Thread Neels Hofmeyr
Patch Set 1: > So clearly =pragma is wrong Ah, you meant, not suppress #pragma, but use #pragma instead of #warning. Ok, possible, but with -Wno-error=cpp we can also keep the #warnings :) -- To view, visit https://gerrit.osmocom.org/7096 To unsubscribe, visit

libasn1c[master]: configure: add --enable-werror

2018-03-09 Thread Harald Welte
Patch Set 1: well, as nobody is proposign any feasible alternative, I'm inclined to say "go ahead mark all of those as +2 and merge it'. I still don't like it, but I don't have time for a counter-proposal either. -- To view, visit https://gerrit.osmocom.org/7096 To unsubscribe, visit

[MERGED] libosmocore[master]: src/msgb.c: print an error if msgb allocation failed

2018-03-09 Thread Harald Welte
Harald Welte has submitted this change and it was merged. Change subject: src/msgb.c: print an error if msgb allocation failed .. src/msgb.c: print an error if msgb allocation failed Printing an error message when msgb

[MERGED] libosmocore[master]: src/msgb.c: remove dead includes from OpenBSC

2018-03-09 Thread Harald Welte
Harald Welte has submitted this change and it was merged. Change subject: src/msgb.c: remove dead includes from OpenBSC .. src/msgb.c: remove dead includes from OpenBSC The MSGB API is not a part of OpenBSC anymore, so let's

[MERGED] libosmocore[master]: src/msgb.c: cosmetic: fix spelling mistakes

2018-03-09 Thread Harald Welte
Harald Welte has submitted this change and it was merged. Change subject: src/msgb.c: cosmetic: fix spelling mistakes .. src/msgb.c: cosmetic: fix spelling mistakes Change-Id: I6b473aadaa22d95f2a8cc87580c638ccd7e531a4 --- M

libosmocore[master]: src/msgb.c: avoid using internal talloc API

2018-03-09 Thread Harald Welte
Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/7165 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I1080c9071e997944cc0f9fc3716129e9395437ad Gerrit-PatchSet: 2 Gerrit-Project: libosmocore Gerrit-Branch: master

[MERGED] libosmocore[master]: src/msgb.c: avoid using internal talloc API

2018-03-09 Thread Harald Welte
Harald Welte has submitted this change and it was merged. Change subject: src/msgb.c: avoid using internal talloc API .. src/msgb.c: avoid using internal talloc API An internal symbol '_talloc_zero' of talloc library was used

osmo-bsc[master]: debian: Move abisip-find from osmo-bsc to its own package

2018-03-09 Thread Pau Espin Pedrol
Patch Set 1: It would be nice if somebody with better knowledge on how the debian packages are being generated can have a look at this and test it. -- To view, visit https://gerrit.osmocom.org/7175 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment

[PATCH] osmo-bsc[master]: debian: Move abisip-find from osmo-bsc to its own package

2018-03-09 Thread Pau Espin Pedrol
Review at https://gerrit.osmocom.org/7175 debian: Move abisip-find from osmo-bsc to its own package In some scenarios osmo-bsc is not required, only abisip-find to do the initial set-up of the BTS, so no need to install osmo-bsc with it. Change-Id: If3d476a1bd67abcb9cff241ab5989db923873986

osmo-bts[master]: fix handover: handle_ph_ra_ind(): evaluate ra_ind before msg...

2018-03-09 Thread Harald Welte
Patch Set 2: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/7169 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I203021ee57f49cb963679ba8bec5943e2abb67fb Gerrit-PatchSet: 2 Gerrit-Project: osmo-bts Gerrit-Branch: master

osmo-trx[master]: Transceiver.cpp: use a define for the MAX_PACKET_LENGTH

2018-03-09 Thread Pau Espin Pedrol
Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/7170 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: If9ffb03b9e7b642f45732ba5938977bca271f1c7 Gerrit-PatchSet: 1 Gerrit-Project: osmo-trx Gerrit-Branch: master

osmo-trx[master]: Transceiver.cpp: use pointer arithmetics for CMD parsing

2018-03-09 Thread Pau Espin Pedrol
Patch Set 1: Code-Review-1 (3 comments) https://gerrit.osmocom.org/#/c/7172/1/Transceiver52M/Transceiver.cpp File Transceiver52M/Transceiver.cpp: Line 672: size_t cmd_len = strlen(cmd); as the string of cmd is known at compile time, better pass cmd_len as param and use eg.

osmo-trx[master]: Transceiver.cpp: properly zero-terminate received commands

2018-03-09 Thread Pau Espin Pedrol
Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/7171 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I69f413f33156c38a853efc5a8cdc66fbfb0ca6af Gerrit-PatchSet: 1 Gerrit-Project: osmo-trx Gerrit-Branch: master

osmo-trx[master]: Transceiver.cpp: fix incorrect format string for SETTSC

2018-03-09 Thread Pau Espin Pedrol
Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/7173 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: If69a478121a31aa7df945548cc17271c476d6a6b Gerrit-PatchSet: 1 Gerrit-Project: osmo-trx Gerrit-Branch: master

libasn1c[master]: configure: add --enable-werror

2018-03-09 Thread Neels Hofmeyr
Patch Set 1: > Regarding deprecated, I think it's good that it fails when using a > deprecated symbol, this way it forces us to fix it. That part is good, yes, but the pattern that has emerged recently is: our jenkins builds use -Werror. That means as soon as we create some foo2() and

osmo-trx[master]: Transceiver.cpp: use pointer arithmetics for CMD parsing

2018-03-09 Thread Vadim Yanitskiy
Patch Set 1: (3 comments) https://gerrit.osmocom.org/#/c/7172/1/Transceiver52M/Transceiver.cpp File Transceiver52M/Transceiver.cpp: Line 672: size_t cmd_len = strlen(cmd); > as the string of cmd is known at compile time, better pass cmd_len as param Thanks! > mark it as static and let the

[PATCH] osmo-trx[master]: Transceiver.cpp: use pointer arithmetics for CMD parsing

2018-03-09 Thread Vadim Yanitskiy
Hello Pau Espin Pedrol, Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7172 to look at the new patch set (#2). Transceiver.cpp: use pointer arithmetics for CMD parsing It looks like the author of control command parsing code was not familar

[PATCH] osmo-trx[master]: Transceiver.cpp: prevent out-of-range array access

2018-03-09 Thread Vadim Yanitskiy
Hello Pau Espin Pedrol, Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7174 to look at the new patch set (#2). Transceiver.cpp: prevent out-of-range array access There was no a simple range check for both (NO)HANDOVER commands, so an

osmo-trx[master]: Transceiver.cpp: use pointer arithmetics for CMD parsing

2018-03-09 Thread Pau Espin Pedrol
Patch Set 1: (1 comment) https://gerrit.osmocom.org/#/c/7172/1/Transceiver52M/Transceiver.cpp File Transceiver52M/Transceiver.cpp: Line 672: size_t cmd_len = strlen(cmd); > Thanks! You can add a macro: #define MATCH_CMD(buf, cmd, params) match_cmd(buf, cmd, sizeof(cmd) - 1, params) You can

[PATCH] osmo-gsm-tester[master]: WIP: Introduce ip.access nanobts support

2018-03-09 Thread Pau Espin Pedrol
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7168 to look at the new patch set (#2). WIP: Introduce ip.access nanobts support Change-Id: Ibaea025b3a503dfe897d36701234445de6d49f82 --- M example/resources.conf A

[PATCH] osmo-gsm-tester[master]: Create Pcu abstract class and make OsmoPcu inherit from it

2018-03-09 Thread Pau Espin Pedrol
Hello Harald Welte, Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7158 to look at the new patch set (#2). Create Pcu abstract class and make OsmoPcu inherit from it This base class will be used to describe the required accessors for all PCU

[PATCH] osmo-gsm-tester[master]: Create Bts abstract class and make OsmoBts inherit from it

2018-03-09 Thread Pau Espin Pedrol
Hello Harald Welte, Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7160 to look at the new patch set (#2). Create Bts abstract class and make OsmoBts inherit from it This base class will be used to describe the required accessors for all BTS

[PATCH] osmo-gsm-tester[master]: contrib: build-osmo-bsc: Add aibsip-find and ipaccess-config...

2018-03-09 Thread Pau Espin Pedrol
Review at https://gerrit.osmocom.org/7183 contrib: build-osmo-bsc: Add aibsip-find and ipaccess-config binaries to archive They will be required by Nanobts class. Change-Id: Ib0e003f74603c3146aa76d581ab493f960f73ab5 --- M contrib/jenkins-build-osmo-bsc.sh 1 file changed, 1 insertion(+), 1

[PATCH] osmo-gsm-tester[master]: contrib: build-osmo-bts: Remove dropped dependency openbsc

2018-03-09 Thread Pau Espin Pedrol
Review at https://gerrit.osmocom.org/7182 contrib: build-osmo-bts: Remove dropped dependency openbsc Since osmo-bts ec33b0397f5d71248c5834513d4be7b9b0e46366, it doesn't require openbsc anymore to build. Change-Id: I8a1918971388afad41308629c1851614d1381f25 --- M

[PATCH] osmo-gsm-tester[master]: Introduce PowerSupply interface and PowerSupplySispm

2018-03-09 Thread Pau Espin Pedrol
Hello Harald Welte, Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/7167 to look at the new patch set (#2). Introduce PowerSupply interface and PowerSupplySispm File powersupply.py defines the interface to be used by child classes implementing

[PATCH] osmo-msc[master]: fix: clear vlr_subscr->msc_conn_ref when the conn is discarded

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7176 fix: clear vlr_subscr->msc_conn_ref when the conn is discarded Change-Id: Ia4105d9f135ba3216ad3c86157be7658b1d568fb --- M src/libmsc/osmo_msc.c 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc

[PATCH] osmo-msc[master]: silent call: clarify rc and error messages logged on vty

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7181 silent call: clarify rc and error messages logged on vty In gsm_silent_call_{start,stop}(), return meaningful error codes and interpret them on the VTY to clearly indicate the result. Change-Id: Id5abb8f2ba901689e03040af8e51483b6c618e7f --- M

[PATCH] osmo-msc[master]: msc_main: do not say 'osmo-nitb' in the usage

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7180 msc_main: do not say 'osmo-nitb' in the usage Change-Id: I2090097dc0d7e0251c116b95b802076df3419455 --- M src/osmo-msc/msc_main.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/80/7180/1

[PATCH] osmo-msc[master]: vty: add 'subscriber ... paging' cmd

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7179 vty: add 'subscriber ... paging' cmd Allow issuing an empty paging from the VTY, for debugging purposes. Change-Id: I403904cb789ece699f14b4cbd52c336eb02d45e4 --- M src/libmsc/vty_interface_layer3.c 1 file changed, 26 insertions(+), 0 deletions(-)

[PATCH] osmo-msc[master]: vty: drop unused commands

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7177 vty: drop unused commands Change-Id: I76d6777ebe9105b8abf37993b86c3749a7e18008 --- M src/libmsc/vty_interface_layer3.c 1 file changed, 0 insertions(+), 30 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/77/7177/1 diff

[PATCH] osmo-msc[master]: fix: clear vlr_subscr->msc_conn_ref when the conn is discarded

2018-03-09 Thread Neels Hofmeyr
fix: clear vlr_subscr->msc_conn_ref when the conn is discarded Before this, it was for example possible to crash the MSC by the vty 'show subscriber' command, which would dereference a potentially stale vsub->msc_conn_ref pointer. Related: OS#3050 Change-Id:

[PATCH] osmo-msc[master]: vty: add 'msisdn' as alias for 'extension'

2018-03-09 Thread Neels Hofmeyr
Review at https://gerrit.osmocom.org/7178 vty: add 'msisdn' as alias for 'extension' Rationale: in the HLR, it is called 'msisdn' after the database column, so a user going back and forth between osmo-hlr and osmo-msc would appreciate being able to type 'msisdn' in the MSC's vty as well.