From gitosis at osmocom.org Tue Dec 2 08:24:02 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 2 Dec 2014 08:24:02 GMT Subject: openbsc.git branch master updated. 0.13.0-765-gde4bbc7 Message-ID: <201412020824.sB28O2B1025199@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via de4bbc714600b9db0b913705efc3064defacae18 (commit) via aec03a1f136abcd9bf59f4ec7cce9bd490fe8c81 (commit) via 59ac49dc1fd3b1435ef2eeb0b5daf555a946cde6 (commit) from 175a240285897317fff4a94e4f9b62408797b4b6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=de4bbc714600b9db0b913705efc3064defacae18 commit de4bbc714600b9db0b913705efc3064defacae18 Author: Jacob Erlbeck Date: Mon Nov 24 15:04:15 2014 +0100 sgsn/test: Add test case for unexpected Detach Accepts The commit "sgsn: Don't send XID reset after Detach Accept" fixed the SGSN to not respond to a Detach Accept message when there is no MM context. This patch adds a test case to verify, that there is really no message sent in that case. The test fails when the commit mentioned aboved is reverted. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=aec03a1f136abcd9bf59f4ec7cce9bd490fe8c81 commit aec03a1f136abcd9bf59f4ec7cce9bd490fe8c81 Author: Jacob Erlbeck Date: Mon Nov 24 14:40:28 2014 +0100 sgsn/test: Don't rely on the actual PRNG sequence Currently the expected P-TMSI generated by the SGSN is hard-coded into the test. This adds a dependency on the implementation of rand() and thus the libc used. This breaks the test e.g. on FreeBSD. This patch modifies test_gmm_attach() to srand(1) first, generate the P-TMSI, and finally srand(1) again before starting the test. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=59ac49dc1fd3b1435ef2eeb0b5daf555a946cde6 commit 59ac49dc1fd3b1435ef2eeb0b5daf555a946cde6 Author: Jacob Erlbeck Date: Thu Oct 30 17:15:43 2014 +0100 gbproxy: Reset TLLIs when the link_info is found by IMSI/P-TMSI Currently when the MS does a re-attach without doing a proper detach first, the gbproxy uses the old local TLLI if patching and the keep mode are enabled. This leads to a failing attachment procedure when TLLI patching is also enabled. This patch changes gbproxy_update_link_state_ul to reset all TLLIs within the link_info if the message contains an unknown TLLI and an MI. This is generally the case with Attach Request messages. The gbproxy_get_link_info_ul gets an additional tlli_is_valid output parameter that is set, when a TLLI was present and found. This flag is then used instead of checking tlli.current == 0 to set TLLI/P-TMSI e.g. Attach Requests when a link_info was already present for the P-TMSI/IMSI used in such a request. Ticket: OW#1324 Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/src/gprs/gb_proxy_tlli.c | 30 +++++++++++++++++------ openbsc/tests/gbproxy/gbproxy_test.c | 16 ++++--------- openbsc/tests/gbproxy/gbproxy_test.ok | 4 ++-- openbsc/tests/sgsn/sgsn_test.c | 45 ++++++++++++++++++++++++++++++++++- openbsc/tests/sgsn/sgsn_test.ok | 1 + 5 files changed, 74 insertions(+), 22 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Dec 2 18:34:49 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 2 Dec 2014 18:34:49 GMT Subject: osmo-trx.git branch stop created. 53a1e2445b5dbcf6b8f400b39a72380f87363b1f Message-ID: <201412021834.sB2IYnQS080837@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "OpenBTS' transceiver retro-fit". The branch, stop has been created at 53a1e2445b5dbcf6b8f400b39a72380f87363b1f (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-trx/commit/?id=53a1e2445b5dbcf6b8f400b39a72380f87363b1f commit 53a1e2445b5dbcf6b8f400b39a72380f87363b1f Author: Tom Tsou Date: Tue Nov 25 16:06:32 2014 -0800 Transceiver52M: Implement POWEROFF command Add stop and restart capability through the POWEROFF and POWERON commands. Calling stop causes receive streaming to cease, and I/O threads to shutdown leaving only the control handling thread running. Upon receiving a POWERON command, I/O threads and device streaming are restarted. Proper shutdown of the transceiver is now initiated by the destructor, which calls the stop command internally to wind down and deallocate threads. Signed-off-by: Tom Tsou http://cgit.osmocom.org/osmo-trx/commit/?id=9f5b452bd74a51dfad133bde4c3d6f24a253ea49 commit 9f5b452bd74a51dfad133bde4c3d6f24a253ea49 Author: Tom Tsou Date: Tue Nov 25 15:46:56 2014 -0800 Transceiver52M: Allow setting gain before POWERON There is no reason gain settings should not be modifiable when the radio is running or not. Signed-off-by: Tom Tsou http://cgit.osmocom.org/osmo-trx/commit/?id=cc31807661f531366d4b42ea52039d6b03bf26d5 commit cc31807661f531366d4b42ea52039d6b03bf26d5 Author: Tom Tsou Date: Fri Nov 21 12:25:22 2014 -0800 CommonLibs: Add thread cancellation capability For clean shutdown in the transceiver we need to cancel and join running threads for orderly unwinding. Thread cancellation points already exist, so we just need to be able to call on the threads to exit out when stopping or shutting down. Don't error when joining a NULL thread, which would be the case if a thread was stopped before ever being started to begin with. Signed-off-by: Tom Tsou ----------------------------------------------------------------------- hooks/post-receive -- OpenBTS' transceiver retro-fit From gitosis at osmocom.org Tue Dec 2 23:38:18 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 2 Dec 2014 23:38:18 GMT Subject: osmo-trx.git branch stop updated. 7addb8ee25a6ee13a3cb1ec10d2b9dc9f8946c98 Message-ID: <201412022338.sB2NcI4d009190@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "OpenBTS' transceiver retro-fit". The branch, stop has been updated discards 53a1e2445b5dbcf6b8f400b39a72380f87363b1f (commit) via 7addb8ee25a6ee13a3cb1ec10d2b9dc9f8946c98 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (53a1e2445b5dbcf6b8f400b39a72380f87363b1f) \ N -- N -- N (7addb8ee25a6ee13a3cb1ec10d2b9dc9f8946c98) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-trx/commit/?id=7addb8ee25a6ee13a3cb1ec10d2b9dc9f8946c98 commit 7addb8ee25a6ee13a3cb1ec10d2b9dc9f8946c98 Author: Tom Tsou Date: Tue Nov 25 16:06:32 2014 -0800 Transceiver52M: Implement POWEROFF command Add stop and restart capability through the POWEROFF and POWERON commands. Calling stop causes receive streaming to cease, and I/O threads to shutdown leaving only the control handling thread running. Upon receiving a POWERON command, I/O threads and device streaming are restarted. Proper shutdown of the transceiver is now initiated by the destructor, which calls the stop command internally to wind down and deallocate threads. Signed-off-by: Tom Tsou ----------------------------------------------------------------------- Summary of changes: Transceiver52M/Transceiver.cpp | 4 ++++ 1 file changed, 4 insertions(+) hooks/post-receive -- OpenBTS' transceiver retro-fit From gitosis at osmocom.org Wed Dec 3 13:13:23 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 3 Dec 2014 13:13:23 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-784-g70c53a6 Message-ID: <201412031313.sB3DDNpO083551@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards e0169171146427b06d6c20759a6f3046cfb11f70 (commit) discards a3e82404e23458222d2ef9209a2e0dfcd645bc99 (commit) discards 266b34c4f1fe97c9547c5290f0351b18ed476e2a (commit) discards dc30dedcb857c9cfa9efb451a725ed83c0774def (commit) discards aa78094b4bc11caff7b3c3c90366448a75269d84 (commit) discards 4d1f467f4b78c5d630dc5aa0da847d7124e5b645 (commit) discards 2b8b8aeb85f20782be66e7968b63f0bb94139483 (commit) discards e920272bb4ef66dbc662c81ef852dec03bf3c124 (commit) discards 230c37ff165ee2cff7d9098fd15c7989861421df (commit) discards a464776f1513218645c5b4284c0b1fc1e1a17b59 (commit) discards 51ad560afe535d4c7528eca2aebb9e9de8a12df7 (commit) discards deddfdb54f878e64df11a8151239efd70b975015 (commit) discards 95617192e94c178ac36f3f379cbbcbfbaadb9939 (commit) via 70c53a622635f1770b2eef375c260ac731d40780 (commit) via 674fe423e6e9eb11bc787a5976943554d3f0fb82 (commit) via 5d97e6bf73833e024ee84cb348a2680c3ecc112b (commit) via 9c98d0a61cf5ca78e21031c5bcad86b778a054cb (commit) via c973693742619eaf999f56c5e3a9c08c1190eb9d (commit) via 6e80ec48a7dbe901072695876f2df6f1876cf79c (commit) via 9b083d517b832440b9245781180c946940673d11 (commit) via 590b5bd38ca5def9ff9e05f3e9f4dd6ba4baa792 (commit) via b1a65e9430115771a9ae14a06b21172910011937 (commit) via 62c9877ecd1586769eb354a047938a84e194fcd6 (commit) via 7b84828af0982f52de7eb8327d874cb97560605b (commit) via 0dffd57ce21d3966677097ac6fce831f9ece97cb (commit) via 31780d3e9eb0a901178368efee950fffdfbe76d6 (commit) via f76452152dcfae0982446c7188a06e6288557ada (commit) via a52ec93f5a243e72a4951c3c8dc8d6d8a0afd2d5 (commit) via 0185390bec605d0b9f024259fc27c6acc09bd332 (commit) via 2aa3e6c3f74f9b6353cd8b484615481ff8ba207a (commit) via d3e3eeb00557c9dbd10fef8c62556efc631cf5d6 (commit) via f95603d7e77982ecb2e63704b1276ae23136d695 (commit) via de4bbc714600b9db0b913705efc3064defacae18 (commit) via aec03a1f136abcd9bf59f4ec7cce9bd490fe8c81 (commit) via 59ac49dc1fd3b1435ef2eeb0b5daf555a946cde6 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (e0169171146427b06d6c20759a6f3046cfb11f70) \ N -- N -- N (70c53a622635f1770b2eef375c260ac731d40780) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=70c53a622635f1770b2eef375c260ac731d40780 commit 70c53a622635f1770b2eef375c260ac731d40780 Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Work on 2 phase authorization (WIP) This implements the MAP way of subscriber validation when the MS tries an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the AuthAndCiph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject This is currently accessible via the VTY interface. TODO: - Apply this to (periodic) RA Update Req - Delete Subscriber Data - Improve on procedure collisions (repeated Attach Req is sometimes not handled properly) - PDP info - Commit cleanup Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=674fe423e6e9eb11bc787a5976943554d3f0fb82 commit 674fe423e6e9eb11bc787a5976943554d3f0fb82 Author: Jacob Erlbeck Date: Tue Dec 2 11:35:41 2014 +0100 gsn: Auth and Ciph (WIP) TODO: - split this commit into several smaller ones (fixes, integration, triplet management, ...) - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=5d97e6bf73833e024ee84cb348a2680c3ecc112b commit 5d97e6bf73833e024ee84cb348a2680c3ecc112b Author: Jacob Erlbeck Date: Tue Dec 2 11:28:38 2014 +0100 sgsn: Put SGSN related subscriber data into separate struct (TODO) TODO: - commit message - remove _alloc entirely (also in 'Add gprs_subscriber.c' patch) - also move mm into this struct Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=9c98d0a61cf5ca78e21031c5bcad86b778a054cb commit 9c98d0a61cf5ca78e21031c5bcad86b778a054cb Author: Jacob Erlbeck Date: Tue Dec 2 09:47:26 2014 +0100 sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize Currently the Authentication and Ciphering procedure is not yet invoked by the GMM layer. This patch starts this procedure from within gsm48_gmm_authorize when the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call to gsm0408_gprs_authenticate has been issued directly or indirectly by the call to sgsn_auth_request. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=c973693742619eaf999f56c5e3a9c08c1190eb9d commit c973693742619eaf999f56c5e3a9c08c1190eb9d Author: Jacob Erlbeck Date: Mon Dec 1 12:44:24 2014 +0100 sgsn: Do authentication based on SRES values Currently the SRES value in the Auth & Ciph Response is ignored. This patch checks the SRES value in response against the value stored in mm->auth_triplet.sres. If they don't match, an Auth & Ciph Reject message is sent to the MS. If they match, the mm->is_authenticated flag is set. Note that the procedure will not be started yet. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=6e80ec48a7dbe901072695876f2df6f1876cf79c commit 6e80ec48a7dbe901072695876f2df6f1876cf79c Author: Jacob Erlbeck Date: Mon Dec 1 12:33:33 2014 +0100 sgsn: Change Auth&Ciph timer handling Currently mmctx_timer_start is called from within gsm48_tx_gmm_auth_ciph_req which differs from the way e.g. the identification procedure is implemented. It also makes it more difficult to restart the procedure after timeout, which is not implemented yet. In addition, the timer is not properly stopped when an AUTH & CIPH response is received. This patch removes this timer start from gsm48_tx_gmm_auth_ciph_req, adds the retransmission of Auth & Ciph requests to the timer callback function, and properly stops the timer in gsm48_rx_gmm_auth_ciph_resp. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=9b083d517b832440b9245781180c946940673d11 commit 9b083d517b832440b9245781180c946940673d11 Author: Jacob Erlbeck Date: Mon Dec 1 10:36:17 2014 +0100 sgsn: Fix and enable auth/ciph message generation Currently gsm48_tx_gmm_auth_ciph_req/_rej are commented out. In addition, gsm48_tx_gmm_auth_ciph_req uses a wrong encoding (two byte TV instead of two nibbles TV) of the CKSN information element. This patch fixes the encoding of the CKSN IE and enables the functions mentioned above. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=590b5bd38ca5def9ff9e05f3e9f4dd6ba4baa792 commit 590b5bd38ca5def9ff9e05f3e9f4dd6ba4baa792 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=b1a65e9430115771a9ae14a06b21172910011937 commit b1a65e9430115771a9ae14a06b21172910011937 Author: Jacob Erlbeck Date: Tue Nov 4 12:44:15 2014 +0100 sgsn: Notify an affected MM context if an ACL rule is removed (TODO) Currently if an ACL access rule is removed, MS already attached are not affected until they try to reattach to the SGSN. This patch adds sgsn_auth_update_all() that iterates through allMM contexts and calls sgsn_auth_update() on each of them. This function is then called when 'imsi-acl del IMSI' is executed after the ACL has been removed. TODO: - decide, whether ito replace that by a dedicated update command in the VTY ENABLE node Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=62c9877ecd1586769eb354a047938a84e194fcd6 commit 62c9877ecd1586769eb354a047938a84e194fcd6 Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=7b84828af0982f52de7eb8327d874cb97560605b commit 7b84828af0982f52de7eb8327d874cb97560605b Author: Jacob Erlbeck Date: Tue Nov 11 14:01:48 2014 +0100 sgsn: Add VTY commands to manage subscriber cache This adds the following commands to the ENABLE node: - show subscriber cache - update-subscriber imsi IMSI insert authorized (0|1) - update-subscriber imsi IMSI cancel These commands are mainly testing tools and maintenance helpers. The update commands work asynchronously and can be used to complete a pending update request or to terminate an existing connection. Note that the subscriber cache is not stored persistently and will always be empty after an SGSN restart. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=0dffd57ce21d3966677097ac6fce831f9ece97cb commit 0dffd57ce21d3966677097ac6fce831f9ece97cb Author: Jacob Erlbeck Date: Tue Nov 11 14:47:38 2014 +0100 sgsn: Add gsm0408_gprs_access_cancelled (TODO) This function is called to delete an established MM context without invoking a detach procedure that could disable the GPRS functionality of the MS until the next power cycle. It is called when a subscriber is cancelled. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=31780d3e9eb0a901178368efee950fffdfbe76d6 commit 31780d3e9eb0a901178368efee950fffdfbe76d6 Author: Jacob Erlbeck Date: Wed Nov 12 10:18:09 2014 +0100 sgsn: Integrate subscriber handling into the SGSN (TODO) This commit adds a new authorization policy 'remote' and uses the subscriber cache for authorization when this policy is being used. Note that there is no remote backend implemented yet. TODO: - tests - decide, whether 'remote' could be named better, e.g. sth based on 'subscriber' Ticket: OW#???? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f76452152dcfae0982446c7188a06e6288557ada commit f76452152dcfae0982446c7188a06e6288557ada Author: Jacob Erlbeck Date: Wed Nov 12 10:12:11 2014 +0100 sgsn: Add gprs_subscriber.c This patch adds GPRS specific functions for gsm_subscriber objects (allocation, retrieval, deletion) and subscriber data requests/updates. The sgsn_update_subscriber_data callback is used to notify the sgsn about updates and is extended by a parameter that passes a reference to a gsm_subscriber. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=a52ec93f5a243e72a4951c3c8dc8d6d8a0afd2d5 commit a52ec93f5a243e72a4951c3c8dc8d6d8a0afd2d5 Author: Jacob Erlbeck Date: Wed Dec 3 11:08:23 2014 +0100 msc: Add per subscriber keep flag Currently the keep_subscr flag refers to a whole group of subscribers which makes it difficult to really delete single entries if the flag is set. This patch adds a force_no_keep field to gsm_subscriber which allows for deleting single subscribers even if group->keep_subscr is set. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=0185390bec605d0b9f024259fc27c6acc09bd332 commit 0185390bec605d0b9f024259fc27c6acc09bd332 Author: Jacob Erlbeck Date: Wed Dec 3 13:05:16 2014 +0100 bsc/test: Add tests for gsm_subscriber base This commit adds test for the generic part of gsm_subscriber like reference counting and flag usage. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=2aa3e6c3f74f9b6353cd8b484615481ff8ba207a commit 2aa3e6c3f74f9b6353cd8b484615481ff8ba207a Author: Jacob Erlbeck Date: Wed Dec 3 09:28:24 2014 +0100 msc: Add and use gsm_subscriber_group Currently every subcriber object directly refers to the gsm_network which contains a flag shared by every related subscriber (keep_subscr). This adds a dependency on gsm_network even if only the function defined in gsm_subscriber_base.c are used. This patch adds a new struct gsm_subscriber_group which contains the keep_subscr flag and a back reference to the network object. The latter is not dereferenced in gsm_subscriber_base.c, so it can safely be set to NULL when only that part of the gsm_subscriber API is being used. It also changes that API to use gsm_subscriber_group instead of gsm_network parameters. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=d3e3eeb00557c9dbd10fef8c62556efc631cf5d6 commit d3e3eeb00557c9dbd10fef8c62556efc631cf5d6 Author: Jacob Erlbeck Date: Tue Dec 2 14:22:53 2014 +0100 msc: Don't use the subscriber to access the net object (TODO) Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f95603d7e77982ecb2e63704b1276ae23136d695 commit f95603d7e77982ecb2e63704b1276ae23136d695 Author: Jacob Erlbeck Date: Tue Dec 2 11:58:00 2014 +0100 msc: Add net back pointer to gsm_trans Currently the net pointer is obtained from trans->subscr->net. On the other hand, the list gsm_trans object is managed by the net object. This patch adds the back pointer to the structure and replaces all trans->subscr->net by trans->net expressions. In trans_alloc() the trans->net pointer is obtained from the subscr object. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/configure.ac | 1 + openbsc/include/openbsc/gprs_sgsn.h | 2 - openbsc/include/openbsc/gsm_data.h | 3 +- openbsc/include/openbsc/gsm_subscriber.h | 31 +++++--- openbsc/include/openbsc/transaction.h | 7 +- openbsc/src/gprs/gprs_gmm.c | 6 +- openbsc/src/gprs/gprs_subscriber.c | 22 +----- openbsc/src/libbsc/bsc_vty.c | 4 +- openbsc/src/libbsc/chan_alloc.c | 2 +- openbsc/src/libbsc/net_init.c | 7 ++ openbsc/src/libbsc/paging.c | 2 +- openbsc/src/libcommon/gsm_subscriber_base.c | 24 +++--- openbsc/src/libmsc/ctrl_commands.c | 6 +- openbsc/src/libmsc/db.c | 4 +- openbsc/src/libmsc/gsm_04_08.c | 104 +++++++++++++----------- openbsc/src/libmsc/gsm_04_11.c | 12 +-- openbsc/src/libmsc/gsm_subscriber.c | 35 +++++---- openbsc/src/libmsc/silent_call.c | 2 +- openbsc/src/libmsc/smpp_openbsc.c | 4 +- openbsc/src/libmsc/sms_queue.c | 8 +- openbsc/src/libmsc/token_auth.c | 6 +- openbsc/src/libmsc/transaction.c | 14 ++-- openbsc/src/libmsc/vty_interface_layer3.c | 14 ++-- openbsc/src/osmo-bsc/osmo_bsc_bssap.c | 2 +- openbsc/src/osmo-bsc/osmo_bsc_filter.c | 5 +- openbsc/src/osmo-bsc/osmo_bsc_grace.c | 7 +- openbsc/src/osmo-nitb/bsc_hack.c | 2 +- openbsc/tests/Makefile.am | 2 +- openbsc/tests/channel/channel_test.c | 2 +- openbsc/tests/db/db_test.c | 10 ++- openbsc/tests/sgsn/sgsn_test.c | 6 +- openbsc/tests/subscr/Makefile.am | 18 +++++ openbsc/tests/subscr/subscr_test.c | 118 ++++++++++++++++++++++++++++ openbsc/tests/subscr/subscr_test.ok | 3 + openbsc/tests/testsuite.at | 6 ++ 35 files changed, 336 insertions(+), 165 deletions(-) create mode 100644 openbsc/tests/subscr/Makefile.am create mode 100644 openbsc/tests/subscr/subscr_test.c create mode 100644 openbsc/tests/subscr/subscr_test.ok hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Thu Dec 4 13:17:21 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 4 Dec 2014 13:17:21 GMT Subject: libosmocore.git branch master updated. 0.7.0-81-ge15ac06 Message-ID: <201412041317.sB4DHLco017953@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, master has been updated via e15ac060e7ae78d4c3569d7fc9071bcf49807e05 (commit) from 20144f7bc5c04e57da36cd7d7883f576510f0298 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=e15ac060e7ae78d4c3569d7fc9071bcf49807e05 commit e15ac060e7ae78d4c3569d7fc9071bcf49807e05 Author: Harald Welte Date: Thu Dec 4 14:15:36 2014 +0100 fix libosmocore build for NuttX target this fixes some compilation issues with libosmocore under NuttX, particularly as some #defines are missing or some header files are slightly different. ----------------------------------------------------------------------- Summary of changes: configure.ac | 2 +- src/application.c | 6 ++++++ src/ctrl/control_if.c | 8 ++++++-- src/gsm/a5.c | 5 +++++ src/macaddr.c | 1 + 5 files changed, 19 insertions(+), 3 deletions(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Thu Dec 4 13:41:05 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 4 Dec 2014 13:41:05 GMT Subject: libosmocore.git branch master updated. 0.7.0-83-ga5dc19d Message-ID: <201412041341.sB4Df5GZ020628@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, master has been updated via a5dc19dc4053e45a4a9ae8facfbdb7393ad5fe69 (commit) via 9f0f978c8daa764d01f0892ef7b5e443f7c551a8 (commit) from e15ac060e7ae78d4c3569d7fc9071bcf49807e05 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=a5dc19dc4053e45a4a9ae8facfbdb7393ad5fe69 commit a5dc19dc4053e45a4a9ae8facfbdb7393ad5fe69 Author: Holger Hans Peter Freyther Date: Thu Dec 4 14:35:21 2014 +0100 gtp: Add a global region for the gtp library of OpenGGSN We want to use libosmocore/libosmovty in the GGSN sourcecode and reserve a global region here. http://cgit.osmocom.org/libosmocore/commit/?id=9f0f978c8daa764d01f0892ef7b5e443f7c551a8 commit 9f0f978c8daa764d01f0892ef7b5e443f7c551a8 Author: Holger Hans Peter Freyther Date: Fri Nov 21 10:40:07 2014 +0100 vty: Check with the application before writing the config For the BSC/NITB application we see that people modify the band without modifying the ARFCN. This creates an unbootable config. Using the new hook the BSC/NITB can check if the config is consistent and prevent the config file being written. Related: SYS#739 ----------------------------------------------------------------------- Summary of changes: TODO-RELEASE | 2 ++ include/osmocom/core/logging.h | 3 ++- include/osmocom/vty/vty.h | 2 ++ src/logging.c | 5 +++++ src/vty/command.c | 9 +++++++++ 5 files changed, 20 insertions(+), 1 deletion(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Thu Dec 4 15:52:11 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 4 Dec 2014 15:52:11 GMT Subject: openggsn.git branch sysmocom/libosmocore created. 0.91-63-g9c7fd8e Message-ID: <201412041552.sB4FqBjx032587@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenGGSN project". The branch, sysmocom/libosmocore has been created at 9c7fd8edc4f114ea77b955fb7aaac51fb5c828d4 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openggsn/commit/?id=9c7fd8edc4f114ea77b955fb7aaac51fb5c828d4 commit 9c7fd8edc4f114ea77b955fb7aaac51fb5c828d4 Author: Holger Hans Peter Freyther Date: Thu Dec 4 16:32:37 2014 +0100 logging: Switch to using libosmocore logging for all the code http://cgit.osmocom.org/openggsn/commit/?id=e527ef105f8742b1e37677e58c5b69530e674cce commit e527ef105f8742b1e37677e58c5b69530e674cce Author: Holger Hans Peter Freyther Date: Thu Dec 4 15:08:50 2014 +0100 syserr: Remove unused error packet logging code http://cgit.osmocom.org/openggsn/commit/?id=01b40d069083c8063b199976e635ffb85e70db82 commit 01b40d069083c8063b199976e635ffb85e70db82 Author: Holger Hans Peter Freyther Date: Thu Dec 4 15:01:53 2014 +0100 gtp: Make these regions runtime debuggable http://cgit.osmocom.org/openggsn/commit/?id=752314ac432785df0a90b4eae1792525b120ecde commit 752314ac432785df0a90b4eae1792525b120ecde Author: Holger Hans Peter Freyther Date: Thu Dec 4 14:43:46 2014 +0100 gtp: Kill unused and non public method http://cgit.osmocom.org/openggsn/commit/?id=42ca1d1a38a41f0377145c6243d42d1782dc304b commit 42ca1d1a38a41f0377145c6243d42d1782dc304b Author: Holger Hans Peter Freyther Date: Wed Dec 3 20:18:43 2014 +0100 gtp: Move to using LOGP for logging GTP packages Make libgtp depend on libosmocore and use the generic logging infrastructure for it. http://cgit.osmocom.org/openggsn/commit/?id=ca524ef344edcecf07d84a2cff7d14acd018486c commit ca524ef344edcecf07d84a2cff7d14acd018486c Author: Holger Hans Peter Freyther Date: Wed Dec 3 19:59:15 2014 +0100 Begin to require libosmocore and libosmovty We are not too specific about the version yet ----------------------------------------------------------------------- hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Thu Dec 4 18:13:27 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 4 Dec 2014 18:13:27 GMT Subject: openggsn.git branch sysmocom/libosmocore updated. 0.91-64-gc38bf64 Message-ID: <201412041813.sB4IDRrO045315@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenGGSN project". The branch, sysmocom/libosmocore has been updated via c38bf64e3fb97f92e603fec24760b1ef856cd08d (commit) from 9c7fd8edc4f114ea77b955fb7aaac51fb5c828d4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openggsn/commit/?id=c38bf64e3fb97f92e603fec24760b1ef856cd08d commit c38bf64e3fb97f92e603fec24760b1ef856cd08d Author: Holger Hans Peter Freyther Date: Thu Dec 4 18:54:58 2014 +0100 ggsn: Be able to set the log level for the text file Fixes: SYS#599 ----------------------------------------------------------------------- Summary of changes: ggsn/cmdline.c | 26 ++++++++++++++++++++++++++ ggsn/cmdline.ggo | 2 +- ggsn/cmdline.h | 4 ++++ ggsn/ggsn.c | 12 ++++++++++++ 4 files changed, 43 insertions(+), 1 deletion(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Thu Dec 4 18:31:56 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 4 Dec 2014 18:31:56 GMT Subject: openggsn.git branch sysmocom/libosmocore updated. 0.91-66-g6ab58b4 Message-ID: <201412041831.sB4IVuV9047100@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenGGSN project". The branch, sysmocom/libosmocore has been updated via 6ab58b466aed0a19db59689eb76e252a6b844963 (commit) via 8e7e3ef686ff18eeeb11d9de8ca48fd4bb001383 (commit) from c38bf64e3fb97f92e603fec24760b1ef856cd08d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openggsn/commit/?id=6ab58b466aed0a19db59689eb76e252a6b844963 commit 6ab58b466aed0a19db59689eb76e252a6b844963 Author: Holger Hans Peter Freyther Date: Thu Dec 4 19:29:57 2014 +0100 ggsn: Move printf to DEBUGP statements in the ggsn as well The specific log statements are not great yet but at least they will end up in the log file. In the future everything should be related to the IMSI or at least the tunnel id. http://cgit.osmocom.org/openggsn/commit/?id=8e7e3ef686ff18eeeb11d9de8ca48fd4bb001383 commit 8e7e3ef686ff18eeeb11d9de8ca48fd4bb001383 Author: Holger Hans Peter Freyther Date: Thu Dec 4 19:19:33 2014 +0100 ggsn: Remove unused dump/logging method ----------------------------------------------------------------------- Summary of changes: ggsn/ggsn.c | 51 +++++++++++---------------------------------------- 1 file changed, 11 insertions(+), 40 deletions(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Fri Dec 5 08:34:50 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 5 Dec 2014 08:34:50 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-784-g0e1f5ad Message-ID: <201412050834.sB58YoCE039520@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 70c53a622635f1770b2eef375c260ac731d40780 (commit) discards 674fe423e6e9eb11bc787a5976943554d3f0fb82 (commit) discards 5d97e6bf73833e024ee84cb348a2680c3ecc112b (commit) discards 9c98d0a61cf5ca78e21031c5bcad86b778a054cb (commit) discards c973693742619eaf999f56c5e3a9c08c1190eb9d (commit) discards 6e80ec48a7dbe901072695876f2df6f1876cf79c (commit) discards 9b083d517b832440b9245781180c946940673d11 (commit) discards 590b5bd38ca5def9ff9e05f3e9f4dd6ba4baa792 (commit) discards b1a65e9430115771a9ae14a06b21172910011937 (commit) discards 62c9877ecd1586769eb354a047938a84e194fcd6 (commit) discards 7b84828af0982f52de7eb8327d874cb97560605b (commit) discards 0dffd57ce21d3966677097ac6fce831f9ece97cb (commit) discards 31780d3e9eb0a901178368efee950fffdfbe76d6 (commit) discards f76452152dcfae0982446c7188a06e6288557ada (commit) discards a52ec93f5a243e72a4951c3c8dc8d6d8a0afd2d5 (commit) discards 0185390bec605d0b9f024259fc27c6acc09bd332 (commit) discards 2aa3e6c3f74f9b6353cd8b484615481ff8ba207a (commit) via 0e1f5ad735ca326c34fd7758e1f1304341eacde7 (commit) via 6f3f49f0e8a56763033d525eaac1904c716eb014 (commit) via 7d91723132285170d012caf5b8bb6fd6fb9fe051 (commit) via 5115593a1691de7435e06ca9c2a501e7105ba73a (commit) via f416810ffb3a3c224705fa12d97b3eb7f541eb5d (commit) via 94668b91701108382798d1d41f01fbada1c3345e (commit) via 85351066bec2d23fd5a27bc0081475ca649c30ae (commit) via ee0a289a1bd1db2d7883bfe799b450c64659abc5 (commit) via f565ef74ac74a3d78b796fac9579846c1f0e73a7 (commit) via aa4f556f669be4976b955df1ead4991a0497173e (commit) via fd1983f37608169199e0d260452c36ca3f993c07 (commit) via e1cead48ce8678b5d9f6bda503d8b2eecc708363 (commit) via 69b4280e38a3e575beb4a687dbb83393bb1f26a1 (commit) via ee2db53e97841b165f68441f4f4347c06f351c85 (commit) via 27b6dd2ad05f4837500ca91a6e9efe09fe351cb2 (commit) via fd56e58f1383d36caf35f5eea979a71266f474d7 (commit) via 521ece039e1d540189a1cbf2f7b6ba9c1ad3d314 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (70c53a622635f1770b2eef375c260ac731d40780) \ N -- N -- N (0e1f5ad735ca326c34fd7758e1f1304341eacde7) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=0e1f5ad735ca326c34fd7758e1f1304341eacde7 commit 0e1f5ad735ca326c34fd7758e1f1304341eacde7 Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Work on 2 phase authorization (WIP) This implements the MAP way of subscriber validation when the MS tries an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the AuthAndCiph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject This is currently accessible via the VTY interface. TODO: - Apply this to (periodic) RA Update Req - Delete Subscriber Data - Improve on procedure collisions (repeated Attach Req is sometimes not handled properly) - PDP info - Commit cleanup Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=6f3f49f0e8a56763033d525eaac1904c716eb014 commit 6f3f49f0e8a56763033d525eaac1904c716eb014 Author: Jacob Erlbeck Date: Tue Dec 2 11:35:41 2014 +0100 gsn: Auth and Ciph (WIP) TODO: - split this commit into several smaller ones (fixes, integration, triplet management, ...) - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=7d91723132285170d012caf5b8bb6fd6fb9fe051 commit 7d91723132285170d012caf5b8bb6fd6fb9fe051 Author: Jacob Erlbeck Date: Tue Dec 2 11:28:38 2014 +0100 sgsn: Put SGSN related subscriber data into separate struct (TODO) TODO: - commit message - remove _alloc entirely (also in 'Add gprs_subscriber.c' patch) - also move mm into this struct Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=5115593a1691de7435e06ca9c2a501e7105ba73a commit 5115593a1691de7435e06ca9c2a501e7105ba73a Author: Jacob Erlbeck Date: Tue Dec 2 09:47:26 2014 +0100 sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize Currently the Authentication and Ciphering procedure is not yet invoked by the GMM layer. This patch starts this procedure from within gsm48_gmm_authorize when the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call to gsm0408_gprs_authenticate has been issued directly or indirectly by the call to sgsn_auth_request. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f416810ffb3a3c224705fa12d97b3eb7f541eb5d commit f416810ffb3a3c224705fa12d97b3eb7f541eb5d Author: Jacob Erlbeck Date: Mon Dec 1 12:44:24 2014 +0100 sgsn: Do authentication based on SRES values Currently the SRES value in the Auth & Ciph Response is ignored. This patch checks the SRES value in response against the value stored in mm->auth_triplet.sres. If they don't match, an Auth & Ciph Reject message is sent to the MS. If they match, the mm->is_authenticated flag is set. Note that the procedure will not be started yet. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=94668b91701108382798d1d41f01fbada1c3345e commit 94668b91701108382798d1d41f01fbada1c3345e Author: Jacob Erlbeck Date: Mon Dec 1 12:33:33 2014 +0100 sgsn: Change Auth&Ciph timer handling Currently mmctx_timer_start is called from within gsm48_tx_gmm_auth_ciph_req which differs from the way e.g. the identification procedure is implemented. It also makes it more difficult to restart the procedure after timeout, which is not implemented yet. In addition, the timer is not properly stopped when an AUTH & CIPH response is received. This patch removes this timer start from gsm48_tx_gmm_auth_ciph_req, adds the retransmission of Auth & Ciph requests to the timer callback function, and properly stops the timer in gsm48_rx_gmm_auth_ciph_resp. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=85351066bec2d23fd5a27bc0081475ca649c30ae commit 85351066bec2d23fd5a27bc0081475ca649c30ae Author: Jacob Erlbeck Date: Mon Dec 1 10:36:17 2014 +0100 sgsn: Fix and enable auth/ciph message generation Currently gsm48_tx_gmm_auth_ciph_req/_rej are commented out. In addition, gsm48_tx_gmm_auth_ciph_req uses a wrong encoding (two byte TV instead of two nibbles TV) of the CKSN information element. This patch fixes the encoding of the CKSN IE and enables the functions mentioned above. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ee0a289a1bd1db2d7883bfe799b450c64659abc5 commit ee0a289a1bd1db2d7883bfe799b450c64659abc5 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f565ef74ac74a3d78b796fac9579846c1f0e73a7 commit f565ef74ac74a3d78b796fac9579846c1f0e73a7 Author: Jacob Erlbeck Date: Tue Nov 4 12:44:15 2014 +0100 sgsn: Notify an affected MM context if an ACL rule is removed (TODO) Currently if an ACL access rule is removed, MS already attached are not affected until they try to reattach to the SGSN. This patch adds sgsn_auth_update_all() that iterates through allMM contexts and calls sgsn_auth_update() on each of them. This function is then called when 'imsi-acl del IMSI' is executed after the ACL has been removed. TODO: - decide, whether ito replace that by a dedicated update command in the VTY ENABLE node Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=aa4f556f669be4976b955df1ead4991a0497173e commit aa4f556f669be4976b955df1ead4991a0497173e Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=fd1983f37608169199e0d260452c36ca3f993c07 commit fd1983f37608169199e0d260452c36ca3f993c07 Author: Jacob Erlbeck Date: Tue Nov 11 14:01:48 2014 +0100 sgsn: Add VTY commands to manage subscriber cache This adds the following commands to the ENABLE node: - show subscriber cache - update-subscriber imsi IMSI insert authorized (0|1) - update-subscriber imsi IMSI cancel These commands are mainly testing tools and maintenance helpers. The update commands work asynchronously and can be used to complete a pending update request or to terminate an existing connection. Note that the subscriber cache is not stored persistently and will always be empty after an SGSN restart. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=e1cead48ce8678b5d9f6bda503d8b2eecc708363 commit e1cead48ce8678b5d9f6bda503d8b2eecc708363 Author: Jacob Erlbeck Date: Tue Nov 11 14:47:38 2014 +0100 sgsn: Add gsm0408_gprs_access_cancelled (TODO) This function is called to delete an established MM context without invoking a detach procedure that could disable the GPRS functionality of the MS until the next power cycle. It is called when a subscriber is cancelled. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=69b4280e38a3e575beb4a687dbb83393bb1f26a1 commit 69b4280e38a3e575beb4a687dbb83393bb1f26a1 Author: Jacob Erlbeck Date: Wed Nov 12 10:18:09 2014 +0100 sgsn: Integrate subscriber handling into the SGSN (TODO) This commit adds a new authorization policy 'remote' and uses the subscriber cache for authorization when this policy is being used. Note that there is no remote backend implemented yet. TODO: - tests - decide, whether 'remote' could be named better, e.g. sth based on 'subscriber' Ticket: OW#???? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ee2db53e97841b165f68441f4f4347c06f351c85 commit ee2db53e97841b165f68441f4f4347c06f351c85 Author: Jacob Erlbeck Date: Wed Nov 12 10:12:11 2014 +0100 sgsn: Add gprs_subscriber.c This patch adds GPRS specific functions for gsm_subscriber objects (allocation, retrieval, deletion) and subscriber data requests/updates. The sgsn_update_subscriber_data callback is used to notify the sgsn about updates and is extended by a parameter that passes a reference to a gsm_subscriber. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=27b6dd2ad05f4837500ca91a6e9efe09fe351cb2 commit 27b6dd2ad05f4837500ca91a6e9efe09fe351cb2 Author: Jacob Erlbeck Date: Wed Dec 3 11:08:23 2014 +0100 msc: Add per subscriber keep flag Currently the keep_subscr flag refers to a whole group of subscribers which makes it difficult to really delete single entries if the flag is set. This patch adds a force_no_keep field to gsm_subscriber which allows for deleting single subscribers even if group->keep_subscr is set. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=fd56e58f1383d36caf35f5eea979a71266f474d7 commit fd56e58f1383d36caf35f5eea979a71266f474d7 Author: Jacob Erlbeck Date: Wed Dec 3 13:05:16 2014 +0100 bsc/test: Add tests for gsm_subscriber base This commit adds test for the generic part of gsm_subscriber like reference counting and flag usage. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=521ece039e1d540189a1cbf2f7b6ba9c1ad3d314 commit 521ece039e1d540189a1cbf2f7b6ba9c1ad3d314 Author: Jacob Erlbeck Date: Wed Dec 3 09:28:24 2014 +0100 msc: Add and use gsm_subscriber_group Currently every subcriber object directly refers to the gsm_network which contains a flag shared by every related subscriber (keep_subscr). This adds a dependency on gsm_network even if only the function defined in gsm_subscriber_base.c are used. This patch adds a new struct gsm_subscriber_group which contains the keep_subscr flag and a back reference to the network object. The latter is not dereferenced in gsm_subscriber_base.c, so it can safely be set to NULL when only that part of the gsm_subscriber API is being used. It also changes that API to use gsm_subscriber_group instead of gsm_network parameters. Since there are some places where a pointer to the gsm_network is needed but where only a gsm_subscriber is available, a 'net' back pointer is added to the group struct, too. Nevertheless subscr group and network could be separated completely, but this is not the topic of this commit. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/src/libbsc/net_init.c | 1 + openbsc/tests/channel/channel_test.c | 3 +++ 2 files changed, 4 insertions(+) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Fri Dec 5 14:21:14 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 5 Dec 2014 14:21:14 GMT Subject: openbsc.git branch master updated. 0.13.0-771-g0acc001 Message-ID: <201412051421.sB5ELEDs072627@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 0acc0018d9a395ded0408f5c95061562d0c528b3 (commit) via 1e30a28e51b5e8a14b977233858f267f839197d5 (commit) via dae1f64ba688eaa24aad6ce15a8529bdef788146 (commit) via f07c605361d21b7bc36b741297c6ecf8e4162782 (commit) via 1f6cce772ef1aac0ef8a66a3327d0ed9d4572366 (commit) via 5eebb7a814f0006c8ccba09e53f8b60e57d3fd2a (commit) from de4bbc714600b9db0b913705efc3064defacae18 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=0acc0018d9a395ded0408f5c95061562d0c528b3 commit 0acc0018d9a395ded0408f5c95061562d0c528b3 Author: Jacob Erlbeck Date: Wed Dec 3 13:05:16 2014 +0100 bsc/test: Add tests for gsm_subscriber base This commit adds test for the generic part of gsm_subscriber like reference counting and flag usage. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=1e30a28e51b5e8a14b977233858f267f839197d5 commit 1e30a28e51b5e8a14b977233858f267f839197d5 Author: Jacob Erlbeck Date: Wed Dec 3 09:28:24 2014 +0100 msc: Add and use gsm_subscriber_group Currently every subcriber object directly refers to the gsm_network which contains a flag shared by every related subscriber (keep_subscr). This adds a dependency on gsm_network even if only the function defined in gsm_subscriber_base.c are used. This patch adds a new struct gsm_subscriber_group which contains the keep_subscr flag and a back reference to the network object. The latter is not dereferenced in gsm_subscriber_base.c, so it can safely be set to NULL when only that part of the gsm_subscriber API is being used. It also changes that API to use gsm_subscriber_group instead of gsm_network parameters. Since there are some places where a pointer to the gsm_network is needed but where only a gsm_subscriber is available, a 'net' back pointer is added to the group struct, too. Nevertheless subscr group and network could be separated completely, but this is not the topic of this commit. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=dae1f64ba688eaa24aad6ce15a8529bdef788146 commit dae1f64ba688eaa24aad6ce15a8529bdef788146 Author: Jacob Erlbeck Date: Tue Dec 2 14:22:53 2014 +0100 msc: Don't use the subscriber to access the net object Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f07c605361d21b7bc36b741297c6ecf8e4162782 commit f07c605361d21b7bc36b741297c6ecf8e4162782 Author: Jacob Erlbeck Date: Tue Dec 2 11:58:00 2014 +0100 msc: Add net back pointer to gsm_trans Currently the net pointer is obtained from trans->subscr->net. On the other hand, the list gsm_trans object is managed by the net object. This patch adds the back pointer to the structure and replaces all trans->subscr->net by trans->net expressions. In trans_alloc() the trans->net pointer is obtained from the subscr object. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=1f6cce772ef1aac0ef8a66a3327d0ed9d4572366 commit 1f6cce772ef1aac0ef8a66a3327d0ed9d4572366 Author: Holger Hans Peter Freyther Date: Fri Dec 5 14:44:21 2014 +0100 ctrl: Allow to query if the OML link is connected or not Related: SYS#798 http://cgit.osmocom.org/openbsc/commit/?id=5eebb7a814f0006c8ccba09e53f8b60e57d3fd2a commit 5eebb7a814f0006c8ccba09e53f8b60e57d3fd2a Author: Holger Hans Peter Freyther Date: Fri Dec 5 12:03:24 2014 +0100 ctrl: Add command to get the current load of a BTS Add a command and test to see the current channel load and available channels per BTS. Related: SYS#798 ----------------------------------------------------------------------- Summary of changes: openbsc/.gitignore | 1 + openbsc/configure.ac | 1 + openbsc/include/openbsc/gsm_data.h | 3 +- openbsc/include/openbsc/gsm_subscriber.h | 28 +++++--- openbsc/include/openbsc/transaction.h | 7 +- openbsc/src/libbsc/bsc_ctrl_commands.c | 80 +++++++++++++++++++++ openbsc/src/libbsc/bsc_vty.c | 4 +- openbsc/src/libbsc/chan_alloc.c | 2 +- openbsc/src/libbsc/net_init.c | 8 +++ openbsc/src/libbsc/paging.c | 2 +- openbsc/src/libcommon/gsm_subscriber_base.c | 22 +++--- openbsc/src/libmsc/ctrl_commands.c | 6 +- openbsc/src/libmsc/db.c | 4 +- openbsc/src/libmsc/gsm_04_08.c | 104 +++++++++++++++------------- openbsc/src/libmsc/gsm_04_11.c | 12 ++-- openbsc/src/libmsc/gsm_subscriber.c | 35 +++++----- openbsc/src/libmsc/silent_call.c | 2 +- openbsc/src/libmsc/smpp_openbsc.c | 4 +- openbsc/src/libmsc/sms_queue.c | 8 +-- openbsc/src/libmsc/token_auth.c | 6 +- openbsc/src/libmsc/transaction.c | 14 ++-- openbsc/src/libmsc/vty_interface_layer3.c | 14 ++-- openbsc/src/osmo-bsc/osmo_bsc_bssap.c | 2 +- openbsc/src/osmo-bsc/osmo_bsc_filter.c | 5 +- openbsc/src/osmo-bsc/osmo_bsc_grace.c | 7 +- openbsc/src/osmo-nitb/bsc_hack.c | 2 +- openbsc/tests/Makefile.am | 2 +- openbsc/tests/channel/channel_test.c | 5 +- openbsc/tests/ctrl_test_runner.py | 21 ++++++ openbsc/tests/db/db_test.c | 10 ++- openbsc/tests/subscr/Makefile.am | 18 +++++ openbsc/tests/subscr/subscr_test.c | 104 ++++++++++++++++++++++++++++ openbsc/tests/subscr/subscr_test.ok | 3 + openbsc/tests/testsuite.at | 6 ++ 34 files changed, 413 insertions(+), 139 deletions(-) create mode 100644 openbsc/tests/subscr/Makefile.am create mode 100644 openbsc/tests/subscr/subscr_test.c create mode 100644 openbsc/tests/subscr/subscr_test.ok hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Sat Dec 6 19:32:00 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 6 Dec 2014 19:32:00 GMT Subject: osmo-bts.git branch zecke/power-control created. 0.3.0-251-g0940183 Message-ID: <201412061932.sB6JW0cT046606@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, zecke/power-control has been created at 09401832365953469cdb708ec8d950295eeec896 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=09401832365953469cdb708ec8d950295eeec896 commit 09401832365953469cdb708ec8d950295eeec896 Author: Holger Hans Peter Freyther Date: Sat Dec 6 20:30:52 2014 +0100 WIP power control * Decide if we want to wait for the MS to take the new power level or order changes based on measurement values * Add unit tests.. e.g. for the newdb < 0 case or > 30 for GSM1800 ----------------------------------------------------------------------- hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 8 09:54:31 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 8 Dec 2014 09:54:31 GMT Subject: openbsc.git branch master updated. 0.13.0-774-g8ff3fb0 Message-ID: <201412080954.sB89sVVh027923@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a (commit) via bd0cf1190a839bbaad38b86157eaa13b7c3f7ec4 (commit) via 65d8273bf342944db12fecff9140bf4b9d3e6ad2 (commit) from 0acc0018d9a395ded0408f5c95061562d0c528b3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a commit 8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a Author: Jacob Erlbeck Date: Mon Dec 1 12:44:24 2014 +0100 sgsn: Do authentication based on SRES values Currently the SRES value in the Auth & Ciph Response is ignored. This patch checks the SRES value in response against the value stored in mm->auth_triplet.sres. If they don't match, an Auth & Ciph Reject message is sent to the MS. If they match, the mm->is_authenticated flag is set. Note that the procedure will not be started yet. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=bd0cf1190a839bbaad38b86157eaa13b7c3f7ec4 commit bd0cf1190a839bbaad38b86157eaa13b7c3f7ec4 Author: Jacob Erlbeck Date: Mon Dec 1 12:33:33 2014 +0100 sgsn: Change Auth&Ciph timer handling Currently mmctx_timer_start is called from within gsm48_tx_gmm_auth_ciph_req which differs from the way e.g. the identification procedure is implemented. It also makes it more difficult to restart the procedure after timeout, which is not implemented yet. In addition, the timer is not properly stopped when an AUTH & CIPH response is received. This patch removes this timer start from gsm48_tx_gmm_auth_ciph_req, adds the retransmission of Auth & Ciph requests to the timer callback function, and properly stops the timer in gsm48_rx_gmm_auth_ciph_resp. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=65d8273bf342944db12fecff9140bf4b9d3e6ad2 commit 65d8273bf342944db12fecff9140bf4b9d3e6ad2 Author: Jacob Erlbeck Date: Mon Dec 1 10:36:17 2014 +0100 sgsn: Fix and enable auth/ciph message generation Currently gsm48_tx_gmm_auth_ciph_req/_rej are commented out. In addition, gsm48_tx_gmm_auth_ciph_req uses a wrong encoding (two byte TV instead of two nibbles TV) of the CKSN information element. This patch fixes the encoding of the CKSN IE and enables the functions mentioned above. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gprs_sgsn.h | 6 +++- openbsc/src/gprs/gprs_gmm.c | 59 +++++++++++++++++++++++++++++-------- openbsc/src/gprs/gprs_sgsn.c | 1 + 3 files changed, 53 insertions(+), 13 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 8 11:20:48 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 8 Dec 2014 11:20:48 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-782-g85a3619 Message-ID: <201412081120.sB8BKmCJ036695@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 0e1f5ad735ca326c34fd7758e1f1304341eacde7 (commit) discards 6f3f49f0e8a56763033d525eaac1904c716eb014 (commit) discards 7d91723132285170d012caf5b8bb6fd6fb9fe051 (commit) discards 5115593a1691de7435e06ca9c2a501e7105ba73a (commit) discards f416810ffb3a3c224705fa12d97b3eb7f541eb5d (commit) discards 94668b91701108382798d1d41f01fbada1c3345e (commit) discards 85351066bec2d23fd5a27bc0081475ca649c30ae (commit) discards ee0a289a1bd1db2d7883bfe799b450c64659abc5 (commit) discards f565ef74ac74a3d78b796fac9579846c1f0e73a7 (commit) discards aa4f556f669be4976b955df1ead4991a0497173e (commit) discards fd1983f37608169199e0d260452c36ca3f993c07 (commit) discards e1cead48ce8678b5d9f6bda503d8b2eecc708363 (commit) discards 69b4280e38a3e575beb4a687dbb83393bb1f26a1 (commit) discards ee2db53e97841b165f68441f4f4347c06f351c85 (commit) discards 27b6dd2ad05f4837500ca91a6e9efe09fe351cb2 (commit) discards fd56e58f1383d36caf35f5eea979a71266f474d7 (commit) discards 521ece039e1d540189a1cbf2f7b6ba9c1ad3d314 (commit) discards d3e3eeb00557c9dbd10fef8c62556efc631cf5d6 (commit) discards f95603d7e77982ecb2e63704b1276ae23136d695 (commit) via 85a3619c1ce96d9a81776b7e3776a952ee61fb54 (commit) via ad8a578d6a6a2ae9ac693675946e4870170c601c (commit) via 6a59acb3709f781517a245f6bdf89555272bf580 (commit) via bc903825595047e970a74064e548930b5bff68ec (commit) via 877b98bb1664fadecf59fc23ec4d75b9711c0262 (commit) via 10a10844c85682ae9582cab66dbfa729b408b5ae (commit) via 5d67f73eb71ac578254ef2cabd8d9db6d18c7a42 (commit) via d9beed523036eeec7872342c5ecc0452501d2a5a (commit) via 045f8f3dfa810ecfd7f528c32ebbef128f169797 (commit) via da03b777c23654dcf14b294c62cad2d781eeb93b (commit) via b66502c27779853ee5556e1bf9e8e41a138a2a87 (commit) via 0acc0018d9a395ded0408f5c95061562d0c528b3 (commit) via 1e30a28e51b5e8a14b977233858f267f839197d5 (commit) via dae1f64ba688eaa24aad6ce15a8529bdef788146 (commit) via f07c605361d21b7bc36b741297c6ecf8e4162782 (commit) via 1f6cce772ef1aac0ef8a66a3327d0ed9d4572366 (commit) via 5eebb7a814f0006c8ccba09e53f8b60e57d3fd2a (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (0e1f5ad735ca326c34fd7758e1f1304341eacde7) \ N -- N -- N (85a3619c1ce96d9a81776b7e3776a952ee61fb54) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=85a3619c1ce96d9a81776b7e3776a952ee61fb54 commit 85a3619c1ce96d9a81776b7e3776a952ee61fb54 Author: Jacob Erlbeck Date: Tue Dec 2 09:47:26 2014 +0100 sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize Currently the Authentication and Ciphering procedure is not yet invoked by the GMM layer. This patch starts this procedure from within gsm48_gmm_authorize when the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call to gsm0408_gprs_authenticate has been issued directly or indirectly by the call to sgsn_auth_request. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ad8a578d6a6a2ae9ac693675946e4870170c601c commit ad8a578d6a6a2ae9ac693675946e4870170c601c Author: Jacob Erlbeck Date: Mon Dec 1 12:44:24 2014 +0100 sgsn: Do authentication based on SRES values Currently the SRES value in the Auth & Ciph Response is ignored. This patch checks the SRES value in response against the value stored in mm->auth_triplet.sres. If they don't match, an Auth & Ciph Reject message is sent to the MS. If they match, the mm->is_authenticated flag is set. Note that the procedure will not be started yet. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=6a59acb3709f781517a245f6bdf89555272bf580 commit 6a59acb3709f781517a245f6bdf89555272bf580 Author: Jacob Erlbeck Date: Mon Dec 1 12:33:33 2014 +0100 sgsn: Change Auth&Ciph timer handling Currently mmctx_timer_start is called from within gsm48_tx_gmm_auth_ciph_req which differs from the way e.g. the identification procedure is implemented. It also makes it more difficult to restart the procedure after timeout, which is not implemented yet. In addition, the timer is not properly stopped when an AUTH & CIPH response is received. This patch removes this timer start from gsm48_tx_gmm_auth_ciph_req, adds the retransmission of Auth & Ciph requests to the timer callback function, and properly stops the timer in gsm48_rx_gmm_auth_ciph_resp. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=bc903825595047e970a74064e548930b5bff68ec commit bc903825595047e970a74064e548930b5bff68ec Author: Jacob Erlbeck Date: Mon Dec 1 10:36:17 2014 +0100 sgsn: Fix and enable auth/ciph message generation Currently gsm48_tx_gmm_auth_ciph_req/_rej are commented out. In addition, gsm48_tx_gmm_auth_ciph_req uses a wrong encoding (two byte TV instead of two nibbles TV) of the CKSN information element. This patch fixes the encoding of the CKSN IE and enables the functions mentioned above. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=877b98bb1664fadecf59fc23ec4d75b9711c0262 commit 877b98bb1664fadecf59fc23ec4d75b9711c0262 Author: Jacob Erlbeck Date: Tue Nov 11 14:01:48 2014 +0100 sgsn: Add VTY commands to manage subscriber cache This adds the following commands to the ENABLE node: - show subscriber cache - update-subscriber imsi IMSI insert authorized (0|1) - update-subscriber imsi IMSI cancel These commands are mainly testing tools and maintenance helpers. The update commands work asynchronously and can be used to complete a pending update request or to terminate an existing connection. Note that the subscriber cache is not stored persistently and will always be empty after an SGSN restart. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=10a10844c85682ae9582cab66dbfa729b408b5ae commit 10a10844c85682ae9582cab66dbfa729b408b5ae Author: Jacob Erlbeck Date: Tue Nov 11 14:47:38 2014 +0100 sgsn: Add gsm0408_gprs_access_cancelled This function is called to delete an established MM context silently without invoking a detach procedure. It is called when a subscriber is cancelled by the HLR. This generally happens, when an MS has moved to another routing area and has to use another SGSN. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=5d67f73eb71ac578254ef2cabd8d9db6d18c7a42 commit 5d67f73eb71ac578254ef2cabd8d9db6d18c7a42 Author: Jacob Erlbeck Date: Wed Nov 12 10:18:09 2014 +0100 sgsn: Integrate subscriber handling into the SGSN This commit adds a new authorization policy 'remote' and uses the subscriber cache for authorization when this policy is being used. Note that there is no remote backend implemented yet. After the IMSI/IMEI have been acquired, a request would be sent to the remote peer. The attach/auth-ciph procedure continues when authorization info has been received from the peer. This means, that gprs_subscr_update() must be called then to tell the GMM layer that it can proceed. A later commit will add VTY commands to do this manually. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=d9beed523036eeec7872342c5ecc0452501d2a5a commit d9beed523036eeec7872342c5ecc0452501d2a5a Author: Jacob Erlbeck Date: Wed Nov 12 10:12:11 2014 +0100 sgsn: Add gprs_subscriber.c This patch adds GPRS specific functions for gsm_subscriber objects (allocation, retrieval, deletion) and subscriber data requests/updates. The sgsn_update_subscriber_data callback is used to notify the sgsn about updates and is extended by a parameter that passes a reference to a gsm_subscriber. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=045f8f3dfa810ecfd7f528c32ebbef128f169797 commit 045f8f3dfa810ecfd7f528c32ebbef128f169797 Author: Jacob Erlbeck Date: Wed Dec 3 11:08:23 2014 +0100 msc: Add per subscriber keep_in_ram flag Currently the keep_subscr flag in gsm_subscriber_group refers to a whole group of subscribers which makes it difficult to really delete single entries if the flag is set. This patch adds a keep_in_ram field to gsm_subscriber which allows for keeping subscriber objects in RAM while deleting others. Note that really deleting an entry requires that both flags (subscr_group->keep_subscr and subscr->keep_in_ram) are set to 0. So only the latter should be used if a specification requires the deletion of a subscriber entry. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=da03b777c23654dcf14b294c62cad2d781eeb93b commit da03b777c23654dcf14b294c62cad2d781eeb93b Author: Jacob Erlbeck Date: Mon Dec 8 11:53:34 2014 +0100 sgsn: Remove warnings Remove warnings related to the SGSN specific code. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=b66502c27779853ee5556e1bf9e8e41a138a2a87 commit b66502c27779853ee5556e1bf9e8e41a138a2a87 Author: Jacob Erlbeck Date: Tue Dec 2 14:22:53 2014 +0100 msc: Add net parameter to trans_alloc The trans_alloc function still uses the subscr object to access the network object. This patch adds an explicit net parameter to this function and removes the access to subscr to obtain it. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/.gitignore | 1 + openbsc/include/openbsc/gprs_sgsn.h | 38 +----- openbsc/include/openbsc/gsm_subscriber.h | 6 +- openbsc/include/openbsc/transaction.h | 3 +- openbsc/src/gprs/gprs_llc.c | 29 ++--- openbsc/src/gprs/gprs_sgsn.c | 2 +- openbsc/src/gprs/gprs_subscriber.c | 138 ++++++--------------- openbsc/src/gprs/sgsn_auth.c | 126 +------------------ openbsc/src/gprs/sgsn_vty.c | 185 ++-------------------------- openbsc/src/libbsc/bsc_ctrl_commands.c | 80 ++++++++++++ openbsc/src/libcommon/gsm_subscriber_base.c | 4 +- openbsc/src/libmsc/gsm_04_08.c | 5 +- openbsc/src/libmsc/gsm_04_11.c | 6 +- openbsc/src/libmsc/transaction.c | 4 +- openbsc/tests/ctrl_test_runner.py | 21 ++++ openbsc/tests/sgsn/Makefile.am | 3 +- openbsc/tests/sgsn/sgsn_test.c | 180 +++++++++++++++++++++++++-- openbsc/tests/sgsn/sgsn_test.ok | 4 +- openbsc/tests/subscr/subscr_test.c | 9 +- 19 files changed, 360 insertions(+), 484 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 8 11:21:05 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 8 Dec 2014 11:21:05 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-787-gf279de7 Message-ID: <201412081121.sB8BL5nB036818@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated via f279de7e4c33f602a23badf71b2c17adfcb2d9e2 (commit) via 410e93c21a8b695e818d65af39f7e3600c73d677 (commit) via 65682b62e770cd7cc2dd70880d0742a789e7b296 (commit) via 0350211ecc0542f5d3c921bd1b130af1b1ad6111 (commit) via 4679832a916c5ea792c3312575bb5e4209365a77 (commit) from 85a3619c1ce96d9a81776b7e3776a952ee61fb54 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=f279de7e4c33f602a23badf71b2c17adfcb2d9e2 commit f279de7e4c33f602a23badf71b2c17adfcb2d9e2 Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Work on 2 phase authorization (WIP) This implements the MAP way of subscriber validation when the MS tries an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the AuthAndCiph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject This is currently accessible via the VTY interface. TODO: - Apply this to (periodic) RA Update Req - Delete Subscriber Data - Improve on procedure collisions (repeated Attach Req is sometimes not handled properly) - PDP info - Commit cleanup Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=410e93c21a8b695e818d65af39f7e3600c73d677 commit 410e93c21a8b695e818d65af39f7e3600c73d677 Author: Jacob Erlbeck Date: Tue Dec 2 11:35:41 2014 +0100 gsn: Auth and Ciph (WIP) TODO: - split this commit into several smaller ones (fixes, integration, triplet management, ...) - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=65682b62e770cd7cc2dd70880d0742a789e7b296 commit 65682b62e770cd7cc2dd70880d0742a789e7b296 Author: Jacob Erlbeck Date: Tue Dec 2 11:28:38 2014 +0100 sgsn: Put SGSN related subscriber data into separate struct (TODO) TODO: - commit message - remove _alloc entirely (also in 'Add gprs_subscriber.c' patch) - also move mm into this struct Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=0350211ecc0542f5d3c921bd1b130af1b1ad6111 commit 0350211ecc0542f5d3c921bd1b130af1b1ad6111 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=4679832a916c5ea792c3312575bb5e4209365a77 commit 4679832a916c5ea792c3312575bb5e4209365a77 Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gprs_sgsn.h | 38 ++++++- openbsc/include/openbsc/gsm_subscriber.h | 2 + openbsc/src/gprs/gprs_llc.c | 29 +++-- openbsc/src/gprs/gprs_sgsn.c | 2 +- openbsc/src/gprs/gprs_subscriber.c | 125 +++++++++++++++++----- openbsc/src/gprs/sgsn_auth.c | 118 +++++++++++++++++++- openbsc/src/gprs/sgsn_vty.c | 178 +++++++++++++++++++++++++++++-- openbsc/tests/sgsn/sgsn_test.c | 6 ++ 8 files changed, 445 insertions(+), 53 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Dec 9 07:24:41 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 9 Dec 2014 07:24:41 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-789-g9b0ac55 Message-ID: <201412090724.sB97Of60057717@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards f279de7e4c33f602a23badf71b2c17adfcb2d9e2 (commit) discards 410e93c21a8b695e818d65af39f7e3600c73d677 (commit) discards 65682b62e770cd7cc2dd70880d0742a789e7b296 (commit) discards 0350211ecc0542f5d3c921bd1b130af1b1ad6111 (commit) discards 4679832a916c5ea792c3312575bb5e4209365a77 (commit) discards 85a3619c1ce96d9a81776b7e3776a952ee61fb54 (commit) discards ad8a578d6a6a2ae9ac693675946e4870170c601c (commit) discards 6a59acb3709f781517a245f6bdf89555272bf580 (commit) discards bc903825595047e970a74064e548930b5bff68ec (commit) discards 877b98bb1664fadecf59fc23ec4d75b9711c0262 (commit) discards 10a10844c85682ae9582cab66dbfa729b408b5ae (commit) discards 5d67f73eb71ac578254ef2cabd8d9db6d18c7a42 (commit) discards d9beed523036eeec7872342c5ecc0452501d2a5a (commit) discards 045f8f3dfa810ecfd7f528c32ebbef128f169797 (commit) discards da03b777c23654dcf14b294c62cad2d781eeb93b (commit) discards b66502c27779853ee5556e1bf9e8e41a138a2a87 (commit) via 9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5 (commit) via 0cabe676b15a82d2eaf6b298ee2c38b5ea0533f6 (commit) via 1ba89ae5029fb0f3778d4cdc10bc2743502ac13f (commit) via b7084e3c4e33335d2309fd273c1727138b721dcc (commit) via 66b8c3d14fb21dd1540e37f58d5db160460ad333 (commit) via aad7de8f3b00dec210021c11cf968da2147d9aaa (commit) via 43aa366a08d67654ac17452d8c2b5078d4294c24 (commit) via 82eda228b23569374eedc304dd2178e3fb04084b (commit) via 626357bc3c086735d2742266b6b3d637fc045a6c (commit) via e2a2753a602f8fcfce71b26cb9df570d604b4ecc (commit) via 34d1ee49ee6d2c8633c0b08a75d19923d18437e9 (commit) via e5974b50c72823ac091d8424d87c7211692aaa2a (commit) via ecb22579dd53ad59d217e0f5c2fddfd7fa6f1136 (commit) via 6f881b9ff232f766f2e8ac8f10c763f45418f960 (commit) via 81bc955a9e9b2313306ad0121f37e37c2fbb1b11 (commit) via 8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a (commit) via bd0cf1190a839bbaad38b86157eaa13b7c3f7ec4 (commit) via 65d8273bf342944db12fecff9140bf4b9d3e6ad2 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (f279de7e4c33f602a23badf71b2c17adfcb2d9e2) \ N -- N -- N (9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5 commit 9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5 Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Work on 2 phase authorization (WIP) This implements the MAP way of subscriber validation when the MS tries an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the AuthAndCiph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject This is currently accessible via the VTY interface. TODO: - Apply this to (periodic) RA Update Req - Delete Subscriber Data - Improve on procedure collisions (repeated Attach Req is sometimes not handled properly) - PDP info - Commit cleanup Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=0cabe676b15a82d2eaf6b298ee2c38b5ea0533f6 commit 0cabe676b15a82d2eaf6b298ee2c38b5ea0533f6 Author: Jacob Erlbeck Date: Mon Dec 8 15:52:00 2014 +0100 sgsn: Add support for authentication triplets (TODO) TODO: - commit message - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=1ba89ae5029fb0f3778d4cdc10bc2743502ac13f commit 1ba89ae5029fb0f3778d4cdc10bc2743502ac13f Author: Jacob Erlbeck Date: Mon Dec 8 15:50:12 2014 +0100 sgsn: Add VTY commitcommand (TODO) TODO: - merge with later changes - move this before last commit Ticket: OW#???? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=b7084e3c4e33335d2309fd273c1727138b721dcc commit b7084e3c4e33335d2309fd273c1727138b721dcc Author: Jacob Erlbeck Date: Mon Dec 8 15:26:47 2014 +0100 sgsn: Support authentication (TODO) TODO: - title - commit message - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=66b8c3d14fb21dd1540e37f58d5db160460ad333 commit 66b8c3d14fb21dd1540e37f58d5db160460ad333 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=aad7de8f3b00dec210021c11cf968da2147d9aaa commit aad7de8f3b00dec210021c11cf968da2147d9aaa Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=43aa366a08d67654ac17452d8c2b5078d4294c24 commit 43aa366a08d67654ac17452d8c2b5078d4294c24 Author: Jacob Erlbeck Date: Tue Dec 2 11:28:38 2014 +0100 sgsn: Put SGSN related subscriber data into separate struct There will be an increasing number of SGSN related fields per subscriber. Instead of extending gsm_subscriber accordingly, a single struct sgsn_subscriber_data object is assigned to it. The talloc context used to allocated that object is the subscr object itself. Therefore it will be freed automatically along with the subscr object. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=82eda228b23569374eedc304dd2178e3fb04084b commit 82eda228b23569374eedc304dd2178e3fb04084b Author: Jacob Erlbeck Date: Tue Dec 2 09:47:26 2014 +0100 sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize Currently the Authentication and Ciphering procedure is not yet invoked by the GMM layer. This patch starts this procedure from within gsm48_gmm_authorize when the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call to gsm0408_gprs_authenticate has been issued directly or indirectly by the call to sgsn_auth_request. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=626357bc3c086735d2742266b6b3d637fc045a6c commit 626357bc3c086735d2742266b6b3d637fc045a6c Author: Jacob Erlbeck Date: Tue Nov 11 14:01:48 2014 +0100 sgsn: Add VTY commands to manage subscriber cache This adds the following commands to the ENABLE node: - show subscriber cache - update-subscriber imsi IMSI insert authorized (0|1) - update-subscriber imsi IMSI cancel These commands are mainly testing tools and maintenance helpers. The update commands work asynchronously and can be used to complete a pending update request or to terminate an existing connection. Note that the subscriber cache is not stored persistently and will always be empty after an SGSN restart. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=e2a2753a602f8fcfce71b26cb9df570d604b4ecc commit e2a2753a602f8fcfce71b26cb9df570d604b4ecc Author: Jacob Erlbeck Date: Tue Nov 11 14:47:38 2014 +0100 sgsn: Add gsm0408_gprs_access_cancelled This function is called to delete an established MM context silently without invoking a detach procedure. It is called when a subscriber is cancelled by the HLR. This generally happens, when an MS has moved to another routing area and has to use another SGSN. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=34d1ee49ee6d2c8633c0b08a75d19923d18437e9 commit 34d1ee49ee6d2c8633c0b08a75d19923d18437e9 Author: Jacob Erlbeck Date: Wed Nov 12 10:18:09 2014 +0100 sgsn: Integrate subscriber handling into the SGSN This commit adds a new authorization policy 'remote' and uses the subscriber cache for authorization when this policy is being used. Note that there is no remote backend implemented yet. After the IMSI/IMEI have been acquired, a request would be sent to the remote peer. The attach/auth-ciph procedure continues when authorization info has been received from the peer. This means, that gprs_subscr_update() must be called then to tell the GMM layer that it can proceed. A later commit will add VTY commands to do this manually. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=e5974b50c72823ac091d8424d87c7211692aaa2a commit e5974b50c72823ac091d8424d87c7211692aaa2a Author: Jacob Erlbeck Date: Wed Nov 12 10:12:11 2014 +0100 sgsn: Add gprs_subscriber.c This patch adds GPRS specific functions for gsm_subscriber objects (allocation, retrieval, deletion) and subscriber data requests/updates. The sgsn_update_subscriber_data callback is used to notify the sgsn about updates and is extended by a parameter that passes a reference to a gsm_subscriber. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ecb22579dd53ad59d217e0f5c2fddfd7fa6f1136 commit ecb22579dd53ad59d217e0f5c2fddfd7fa6f1136 Author: Jacob Erlbeck Date: Wed Dec 3 11:08:23 2014 +0100 msc: Add per subscriber keep_in_ram flag Currently the keep_subscr flag in gsm_subscriber_group refers to a whole group of subscribers which makes it difficult to really delete single entries if the flag is set. This patch adds a keep_in_ram field to gsm_subscriber which allows for keeping subscriber objects in RAM while deleting others. Note that really deleting an entry requires that both flags (subscr_group->keep_subscr and subscr->keep_in_ram) are set to 0. So only the latter should be used if a specification requires the deletion of a subscriber entry. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=6f881b9ff232f766f2e8ac8f10c763f45418f960 commit 6f881b9ff232f766f2e8ac8f10c763f45418f960 Author: Jacob Erlbeck Date: Mon Dec 8 11:53:34 2014 +0100 sgsn: Remove warnings Remove warnings related to the SGSN specific code. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=81bc955a9e9b2313306ad0121f37e37c2fbb1b11 commit 81bc955a9e9b2313306ad0121f37e37c2fbb1b11 Author: Jacob Erlbeck Date: Tue Dec 2 14:22:53 2014 +0100 msc: Add net parameter to trans_alloc The trans_alloc function still uses the subscr object to access the network object. This patch adds an explicit net parameter to this function and removes the access to subscr to obtain it. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gprs_sgsn.h | 1 + openbsc/include/openbsc/gsm_subscriber.h | 1 - openbsc/src/gprs/gprs_sgsn.c | 6 +++--- openbsc/src/gprs/gprs_subscriber.c | 25 +++++++++++++------------ openbsc/src/gprs/sgsn_auth.c | 21 ++++++++++----------- openbsc/src/gprs/sgsn_vty.c | 2 ++ openbsc/tests/sgsn/Makefile.am | 3 ++- openbsc/tests/sgsn/sgsn_test.c | 21 +++++++++++++++++++++ 8 files changed, 52 insertions(+), 28 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Dec 9 08:35:31 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 9 Dec 2014 08:35:31 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-788-ge0634bd Message-ID: <201412090835.sB98ZVqw064554@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5 (commit) discards 0cabe676b15a82d2eaf6b298ee2c38b5ea0533f6 (commit) discards 1ba89ae5029fb0f3778d4cdc10bc2743502ac13f (commit) discards b7084e3c4e33335d2309fd273c1727138b721dcc (commit) discards 66b8c3d14fb21dd1540e37f58d5db160460ad333 (commit) discards aad7de8f3b00dec210021c11cf968da2147d9aaa (commit) discards 43aa366a08d67654ac17452d8c2b5078d4294c24 (commit) discards 82eda228b23569374eedc304dd2178e3fb04084b (commit) discards 626357bc3c086735d2742266b6b3d637fc045a6c (commit) via e0634bdcc5c44ffa05ab84c7c07e48333493d71c (commit) via 714a165682349e9606261d82c7a1ce615716a538 (commit) via 69f49e9a4c0427d29000f08e6ea8958b16e38420 (commit) via 7f98b53262f46bcbdfc3bb16c4d527bb086c6445 (commit) via 12bf9cbbc0545eeb7482bac1c0a73768c4e77640 (commit) via fcfad973a9941c346f88fb901107e6ef90a59e89 (commit) via f6a5507f6804e33ecf2bcd2dfddff34768d499ee (commit) via 6ae51906333fc4756982f7f98d0f6bc882ae099b (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (9b0ac55bf618809a1c1b7a4657dc8040da7cd9d5) \ N -- N -- N (e0634bdcc5c44ffa05ab84c7c07e48333493d71c) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=e0634bdcc5c44ffa05ab84c7c07e48333493d71c commit e0634bdcc5c44ffa05ab84c7c07e48333493d71c Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Work on 2 phase authorization (WIP) This implements the MAP way of subscriber validation when the MS tries an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the AuthAndCiph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject This is currently accessible via the VTY interface. TODO: - Apply this to (periodic) RA Update Req - Delete Subscriber Data - Improve on procedure collisions (repeated Attach Req is sometimes not handled properly) - PDP info - Commit cleanup Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=714a165682349e9606261d82c7a1ce615716a538 commit 714a165682349e9606261d82c7a1ce615716a538 Author: Jacob Erlbeck Date: Mon Dec 8 15:52:00 2014 +0100 sgsn: Add support for authentication triplets (TODO) TODO: - commit message - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=69f49e9a4c0427d29000f08e6ea8958b16e38420 commit 69f49e9a4c0427d29000f08e6ea8958b16e38420 Author: Jacob Erlbeck Date: Mon Dec 8 15:26:47 2014 +0100 sgsn: Support authentication (TODO) TODO: - title - commit message - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=7f98b53262f46bcbdfc3bb16c4d527bb086c6445 commit 7f98b53262f46bcbdfc3bb16c4d527bb086c6445 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=12bf9cbbc0545eeb7482bac1c0a73768c4e77640 commit 12bf9cbbc0545eeb7482bac1c0a73768c4e77640 Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=fcfad973a9941c346f88fb901107e6ef90a59e89 commit fcfad973a9941c346f88fb901107e6ef90a59e89 Author: Jacob Erlbeck Date: Tue Dec 2 11:28:38 2014 +0100 sgsn: Put SGSN related subscriber data into separate struct There will be an increasing number of SGSN related fields per subscriber. Instead of extending gsm_subscriber accordingly, a single struct sgsn_subscriber_data object is assigned to it. The talloc context used to allocated that object is the subscr object itself. Therefore it will be freed automatically along with the subscr object. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f6a5507f6804e33ecf2bcd2dfddff34768d499ee commit f6a5507f6804e33ecf2bcd2dfddff34768d499ee Author: Jacob Erlbeck Date: Tue Dec 2 09:47:26 2014 +0100 sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize Currently the Authentication and Ciphering procedure is not yet invoked by the GMM layer. This patch starts this procedure from within gsm48_gmm_authorize when the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call to gsm0408_gprs_authenticate has been issued directly or indirectly by the call to sgsn_auth_request. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=6ae51906333fc4756982f7f98d0f6bc882ae099b commit 6ae51906333fc4756982f7f98d0f6bc882ae099b Author: Jacob Erlbeck Date: Tue Nov 11 14:01:48 2014 +0100 sgsn: Add VTY commands to manage subscriber cache This adds the following commands to the ENABLE node: - show subscriber cache - update-subscriber imsi IMSI insert authorized (0|1) - update-subscriber imsi IMSI cancel - update-subscriber imsi IMSI commit These commands are mainly testing tools and maintenance helpers. The update commands work asynchronously and can be used to complete a pending update request or to terminate an existing connection. The 'insert' command just update the subscriber records but does not notify the GMM layer. Invoke the 'commit' command to continue with pending procedures. Note that the subscriber cache is not stored persistently and will always be empty after an SGSN restart. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/tests/vty_test_runner.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Dec 9 10:56:32 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 9 Dec 2014 10:56:32 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-788-gdaaa141 Message-ID: <201412091056.sB9AuW4D077939@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards e0634bdcc5c44ffa05ab84c7c07e48333493d71c (commit) discards 714a165682349e9606261d82c7a1ce615716a538 (commit) discards 69f49e9a4c0427d29000f08e6ea8958b16e38420 (commit) discards 7f98b53262f46bcbdfc3bb16c4d527bb086c6445 (commit) discards 12bf9cbbc0545eeb7482bac1c0a73768c4e77640 (commit) discards fcfad973a9941c346f88fb901107e6ef90a59e89 (commit) discards f6a5507f6804e33ecf2bcd2dfddff34768d499ee (commit) discards 6ae51906333fc4756982f7f98d0f6bc882ae099b (commit) via daaa141ed43c54c9413b64b5d4a63454bcfd81ac (commit) via 031089299543662d4c6a74ca5c046e3d20c41c5c (commit) via d4500a943fe41d7434ee4906f354443cc856022d (commit) via d6b5e946f2564a53f231ba5007c020a87f53bbc1 (commit) via 28fb6490305f5c792942d8b60d8a6e93573aa364 (commit) via e61098d2440dd1538f276da16ce580834364d5bd (commit) via 52d7b8041e3c335780d82c399c4cfde9b419251d (commit) via b5ebe22468603b01dba841dc69e231990e612966 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (e0634bdcc5c44ffa05ab84c7c07e48333493d71c) \ N -- N -- N (daaa141ed43c54c9413b64b5d4a63454bcfd81ac) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=daaa141ed43c54c9413b64b5d4a63454bcfd81ac commit daaa141ed43c54c9413b64b5d4a63454bcfd81ac Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Work on 2 phase authorization (WIP) This implements the MAP way of subscriber validation when the MS tries an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the AuthAndCiph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject This is currently accessible via the VTY interface. TODO: - Apply this to (periodic) RA Update Req - Delete Subscriber Data - Improve on procedure collisions (repeated Attach Req is sometimes not handled properly) - PDP info - Commit cleanup Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=031089299543662d4c6a74ca5c046e3d20c41c5c commit 031089299543662d4c6a74ca5c046e3d20c41c5c Author: Jacob Erlbeck Date: Mon Dec 8 15:52:00 2014 +0100 sgsn: Add support for authentication triplets (TODO) TODO: - commit message - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=d4500a943fe41d7434ee4906f354443cc856022d commit d4500a943fe41d7434ee4906f354443cc856022d Author: Jacob Erlbeck Date: Mon Dec 8 15:26:47 2014 +0100 sgsn: Support authentication (TODO) TODO: - title - commit message - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=d6b5e946f2564a53f231ba5007c020a87f53bbc1 commit d6b5e946f2564a53f231ba5007c020a87f53bbc1 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=28fb6490305f5c792942d8b60d8a6e93573aa364 commit 28fb6490305f5c792942d8b60d8a6e93573aa364 Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=e61098d2440dd1538f276da16ce580834364d5bd commit e61098d2440dd1538f276da16ce580834364d5bd Author: Jacob Erlbeck Date: Tue Dec 2 11:28:38 2014 +0100 sgsn: Put SGSN related subscriber data into separate struct There will be an increasing number of SGSN related fields per subscriber. Instead of extending gsm_subscriber accordingly, a single struct sgsn_subscriber_data object is assigned to it. The talloc context used to allocated that object is the subscr object itself. Therefore it will be freed automatically along with the subscr object. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=52d7b8041e3c335780d82c399c4cfde9b419251d commit 52d7b8041e3c335780d82c399c4cfde9b419251d Author: Jacob Erlbeck Date: Tue Dec 2 09:47:26 2014 +0100 sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize Currently the Authentication and Ciphering procedure is not yet invoked by the GMM layer. This patch starts this procedure from within gsm48_gmm_authorize when the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call to gsm0408_gprs_authenticate has been issued directly or indirectly by the call to sgsn_auth_request. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=b5ebe22468603b01dba841dc69e231990e612966 commit b5ebe22468603b01dba841dc69e231990e612966 Author: Jacob Erlbeck Date: Tue Nov 11 14:01:48 2014 +0100 sgsn: Add VTY commands to manage subscriber cache This adds the following commands to the ENABLE node: - show subscriber cache - update-subscriber imsi IMSI insert authorized (0|1) - update-subscriber imsi IMSI cancel - update-subscriber imsi IMSI commit These commands are mainly testing tools and maintenance helpers. The update commands work asynchronously and can be used to complete a pending update request or to terminate an existing connection. The 'insert' command just update the subscriber records but does not notify the GMM layer. Invoke the 'commit' command to continue with pending procedures. Note that the subscriber cache is not stored persistently and will always be empty after an SGSN restart. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/src/gprs/sgsn_vty.c | 2 -- 1 file changed, 2 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Dec 9 13:11:24 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 9 Dec 2014 13:11:24 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-788-g2d1e099 Message-ID: <201412091311.sB9DBO5M090515@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards daaa141ed43c54c9413b64b5d4a63454bcfd81ac (commit) discards 031089299543662d4c6a74ca5c046e3d20c41c5c (commit) discards d4500a943fe41d7434ee4906f354443cc856022d (commit) discards d6b5e946f2564a53f231ba5007c020a87f53bbc1 (commit) discards 28fb6490305f5c792942d8b60d8a6e93573aa364 (commit) via 2d1e099f74e43106fd41197133408613f5cc991f (commit) via 77af7f21c5531b53c223000857242ff9b60634de (commit) via ae28ffd167fd136121c655145e682e9f3503c06f (commit) via c43a8c20bc62a03bf6ea6336069f827c53c2d213 (commit) via 21e9d9c53ddda7e83277fa9db7868ff5f1126696 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (daaa141ed43c54c9413b64b5d4a63454bcfd81ac) \ N -- N -- N (2d1e099f74e43106fd41197133408613f5cc991f) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=2d1e099f74e43106fd41197133408613f5cc991f commit 2d1e099f74e43106fd41197133408613f5cc991f Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Work on 2 phase authorization (WIP) This implements the MAP way of subscriber validation when the MS tries an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the AuthAndCiph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject This is currently accessible via the VTY interface. TODO: - Apply this to (periodic) RA Update Req - Delete Subscriber Data - Improve on procedure collisions (repeated Attach Req is sometimes not handled properly) - PDP info - Commit cleanup Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=77af7f21c5531b53c223000857242ff9b60634de commit 77af7f21c5531b53c223000857242ff9b60634de Author: Jacob Erlbeck Date: Mon Dec 8 15:52:00 2014 +0100 sgsn: Add support for authentication triplets (TODO) TODO: - commit message - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ae28ffd167fd136121c655145e682e9f3503c06f commit ae28ffd167fd136121c655145e682e9f3503c06f Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=c43a8c20bc62a03bf6ea6336069f827c53c2d213 commit c43a8c20bc62a03bf6ea6336069f827c53c2d213 Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=21e9d9c53ddda7e83277fa9db7868ff5f1126696 commit 21e9d9c53ddda7e83277fa9db7868ff5f1126696 Author: Jacob Erlbeck Date: Mon Dec 8 15:26:47 2014 +0100 sgsn: Support subscriber based authentication This commit mainly extends sgsn_auth.c to use and support the auth_state SGSN_AUTH_AUTHENTICATE. It will be activated when IMSI and IMEI are available, authentication is required (subscr->sgsn_data->authenticate is set), but the MM context is not marked as authenticated. If the state has been set to SGSN_AUTH_AUTHENTICATE and sgsn_auth_update() is called, the GMM layer will be informed by invoking gsm0408_gprs_authenticate(). Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/src/gprs/gprs_subscriber.c | 9 ---- openbsc/tests/sgsn/sgsn_test.c | 102 +++++++++++++++++++++++++++++++++++-- openbsc/tests/sgsn/sgsn_test.ok | 2 + 3 files changed, 100 insertions(+), 13 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Dec 9 18:13:51 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 9 Dec 2014 18:13:51 GMT Subject: openbsc.git branch master updated. 0.13.0-783-g416c08f Message-ID: <201412091813.sB9IDpnU019303@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 416c08f9ed340aae21a1d947bcf3a8ab41bb89ce (commit) via a1e0373224e02784f85eb47306a689fce45fb9e3 (commit) via 207f4a5deba610b34d5e140f512e538e34a7115f (commit) via 98647ca0ef59430f3cd7ddb7530d85db7fa2688f (commit) via be2c8d9358084092281e7d02dc7ae0b7e4c0b4f8 (commit) via 33b6dadc884ec1060e401ba097523086ac34b552 (commit) via 70d8e31a748026a92e5739147411dcf512df7205 (commit) via 901c40f55041d72220403c653646a2e8f82f1924 (commit) via af792d6bb272e14585d26c6c488d592b20fcf9c4 (commit) from 8ff3fb04f2e3ea192cb337c8a6dcee19fe40060a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=416c08f9ed340aae21a1d947bcf3a8ab41bb89ce commit 416c08f9ed340aae21a1d947bcf3a8ab41bb89ce Author: Holger Hans Peter Freyther Date: Tue Dec 9 19:13:00 2014 +0100 nat: Fix copy and paste in the test code The test didn't test that the access-list has been properly removed. Fix the test to only remove the list once and verify that it is gone. http://cgit.osmocom.org/openbsc/commit/?id=a1e0373224e02784f85eb47306a689fce45fb9e3 commit a1e0373224e02784f85eb47306a689fce45fb9e3 Author: Jacob Erlbeck Date: Tue Dec 2 11:28:38 2014 +0100 sgsn: Put SGSN related subscriber data into separate struct There will be an increasing number of SGSN related fields per subscriber. Instead of extending gsm_subscriber accordingly, a single struct sgsn_subscriber_data object is assigned to it. The talloc context used to allocated that object is the subscr object itself. Therefore it will be freed automatically along with the subscr object. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=207f4a5deba610b34d5e140f512e538e34a7115f commit 207f4a5deba610b34d5e140f512e538e34a7115f Author: Jacob Erlbeck Date: Tue Nov 11 14:01:48 2014 +0100 sgsn: Add VTY commands to manage subscriber cache This adds the following commands to the ENABLE node: - show subscriber cache - update-subscriber imsi IMSI insert authorized (0|1) - update-subscriber imsi IMSI cancel - update-subscriber imsi IMSI commit These commands are mainly testing tools and maintenance helpers. The update commands work asynchronously and can be used to complete a pending update request or to terminate an existing connection. The 'insert' command just update the subscriber records but does not notify the GMM layer. Invoke the 'commit' command to continue with pending procedures. Note that the subscriber cache is not stored persistently and will always be empty after an SGSN restart. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=98647ca0ef59430f3cd7ddb7530d85db7fa2688f commit 98647ca0ef59430f3cd7ddb7530d85db7fa2688f Author: Jacob Erlbeck Date: Tue Nov 11 14:47:38 2014 +0100 sgsn: Add gsm0408_gprs_access_cancelled This function is called to delete an established MM context silently without invoking a detach procedure. It is called when a subscriber is cancelled by the HLR. This generally happens, when an MS has moved to another routing area and has to use another SGSN. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=be2c8d9358084092281e7d02dc7ae0b7e4c0b4f8 commit be2c8d9358084092281e7d02dc7ae0b7e4c0b4f8 Author: Jacob Erlbeck Date: Wed Nov 12 10:18:09 2014 +0100 sgsn: Integrate subscriber handling into the SGSN This commit adds a new authorization policy 'remote' and uses the subscriber cache for authorization when this policy is being used. Note that there is no remote backend implemented yet. After the IMSI/IMEI have been acquired, a request would be sent to the remote peer. The attach/auth-ciph procedure continues when authorization info has been received from the peer. This means, that gprs_subscr_update() must be called then to tell the GMM layer that it can proceed. A later commit will add VTY commands to do this manually. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=33b6dadc884ec1060e401ba097523086ac34b552 commit 33b6dadc884ec1060e401ba097523086ac34b552 Author: Jacob Erlbeck Date: Wed Nov 12 10:12:11 2014 +0100 sgsn: Add gprs_subscriber.c This patch adds GPRS specific functions for gsm_subscriber objects (allocation, retrieval, deletion) and subscriber data requests/updates. The sgsn_update_subscriber_data callback is used to notify the sgsn about updates and is extended by a parameter that passes a reference to a gsm_subscriber. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=70d8e31a748026a92e5739147411dcf512df7205 commit 70d8e31a748026a92e5739147411dcf512df7205 Author: Jacob Erlbeck Date: Wed Dec 3 11:08:23 2014 +0100 msc: Add per subscriber keep_in_ram flag Currently the keep_subscr flag in gsm_subscriber_group refers to a whole group of subscribers which makes it difficult to really delete single entries if the flag is set. This patch adds a keep_in_ram field to gsm_subscriber which allows for keeping subscriber objects in RAM while deleting others. Note that really deleting an entry requires that both flags (subscr_group->keep_subscr and subscr->keep_in_ram) are set to 0. So only the latter should be used if a specification requires the deletion of a subscriber entry. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=901c40f55041d72220403c653646a2e8f82f1924 commit 901c40f55041d72220403c653646a2e8f82f1924 Author: Jacob Erlbeck Date: Mon Dec 8 11:53:34 2014 +0100 sgsn: Remove warnings Remove warnings related to the SGSN specific code. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=af792d6bb272e14585d26c6c488d592b20fcf9c4 commit af792d6bb272e14585d26c6c488d592b20fcf9c4 Author: Jacob Erlbeck Date: Tue Dec 2 14:22:53 2014 +0100 msc: Add net parameter to trans_alloc The trans_alloc function still uses the subscr object to access the network object. This patch adds an explicit net parameter to this function and removes the access to subscr to obtain it. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gprs_gmm.h | 1 + openbsc/include/openbsc/gprs_sgsn.h | 18 +- openbsc/include/openbsc/gsm_subscriber.h | 7 +- openbsc/include/openbsc/sgsn.h | 3 +- openbsc/include/openbsc/transaction.h | 3 +- openbsc/src/gprs/Makefile.am | 2 +- openbsc/src/gprs/gprs_gmm.c | 27 +++ openbsc/src/gprs/gprs_sgsn.c | 30 ++- openbsc/src/gprs/gprs_subscriber.c | 156 ++++++++++++++++ openbsc/src/gprs/sgsn_auth.c | 34 +++- openbsc/src/gprs/sgsn_main.c | 3 - openbsc/src/gprs/sgsn_vty.c | 151 ++++++++++++++- openbsc/src/libcommon/gsm_subscriber_base.c | 4 +- openbsc/src/libmsc/gsm_04_08.c | 5 +- openbsc/src/libmsc/gsm_04_11.c | 6 +- openbsc/src/libmsc/transaction.c | 4 +- openbsc/tests/ctrl_test_runner.py | 4 +- openbsc/tests/sgsn/Makefile.am | 6 + openbsc/tests/sgsn/sgsn_test.c | 272 +++++++++++++++++++++++++++- openbsc/tests/sgsn/sgsn_test.ok | 5 +- openbsc/tests/subscr/subscr_test.c | 19 +- openbsc/tests/vty_test_runner.py | 19 ++ 22 files changed, 745 insertions(+), 34 deletions(-) create mode 100644 openbsc/src/gprs/gprs_subscriber.c hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Wed Dec 10 09:06:52 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 10 Dec 2014 09:06:52 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-790-gf9d5e44 Message-ID: <201412100906.sBA96qhd009057@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 2d1e099f74e43106fd41197133408613f5cc991f (commit) discards 77af7f21c5531b53c223000857242ff9b60634de (commit) discards ae28ffd167fd136121c655145e682e9f3503c06f (commit) discards c43a8c20bc62a03bf6ea6336069f827c53c2d213 (commit) discards 21e9d9c53ddda7e83277fa9db7868ff5f1126696 (commit) discards e61098d2440dd1538f276da16ce580834364d5bd (commit) discards 52d7b8041e3c335780d82c399c4cfde9b419251d (commit) discards b5ebe22468603b01dba841dc69e231990e612966 (commit) discards e2a2753a602f8fcfce71b26cb9df570d604b4ecc (commit) discards 34d1ee49ee6d2c8633c0b08a75d19923d18437e9 (commit) discards e5974b50c72823ac091d8424d87c7211692aaa2a (commit) discards ecb22579dd53ad59d217e0f5c2fddfd7fa6f1136 (commit) discards 6f881b9ff232f766f2e8ac8f10c763f45418f960 (commit) discards 81bc955a9e9b2313306ad0121f37e37c2fbb1b11 (commit) via f9d5e4489fbea776f1919b8601cd40d2089b1852 (commit) via eb1fc4bc4a71431f2b7b5f775837ed1e4159b80b (commit) via 76f9967ae97a142c09136f6e355077ad7ab39765 (commit) via f0bb0ca612bb10ff85530e523f18b01dcb0d8fe9 (commit) via f9392971b5130fc06de50acf2daa2e0e836507aa (commit) via 00858678c71b5c90aae966bb245aed7aeaa9e3d1 (commit) via c9ac77e6345dd90589f58bddb1cd6cbfaa83e900 (commit) via 416c08f9ed340aae21a1d947bcf3a8ab41bb89ce (commit) via a1e0373224e02784f85eb47306a689fce45fb9e3 (commit) via 207f4a5deba610b34d5e140f512e538e34a7115f (commit) via 98647ca0ef59430f3cd7ddb7530d85db7fa2688f (commit) via be2c8d9358084092281e7d02dc7ae0b7e4c0b4f8 (commit) via 33b6dadc884ec1060e401ba097523086ac34b552 (commit) via 70d8e31a748026a92e5739147411dcf512df7205 (commit) via 901c40f55041d72220403c653646a2e8f82f1924 (commit) via af792d6bb272e14585d26c6c488d592b20fcf9c4 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (2d1e099f74e43106fd41197133408613f5cc991f) \ N -- N -- N (f9d5e4489fbea776f1919b8601cd40d2089b1852) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=f9d5e4489fbea776f1919b8601cd40d2089b1852 commit f9d5e4489fbea776f1919b8601cd40d2089b1852 Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Work on 2 phase authorization (WIP) This implements the MAP way of subscriber validation when the MS tries an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the AuthAndCiph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject This is currently accessible via the VTY interface. TODO: - Apply this to (periodic) RA Update Req - Delete Subscriber Data - Improve on procedure collisions (repeated Attach Req is sometimes not handled properly) - PDP info - Commit cleanup Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=eb1fc4bc4a71431f2b7b5f775837ed1e4159b80b commit eb1fc4bc4a71431f2b7b5f775837ed1e4159b80b Author: Jacob Erlbeck Date: Mon Dec 8 15:52:00 2014 +0100 sgsn: Add support for authentication triplets (TODO) TODO: - commit message - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=76f9967ae97a142c09136f6e355077ad7ab39765 commit 76f9967ae97a142c09136f6e355077ad7ab39765 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f0bb0ca612bb10ff85530e523f18b01dcb0d8fe9 commit f0bb0ca612bb10ff85530e523f18b01dcb0d8fe9 Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f9392971b5130fc06de50acf2daa2e0e836507aa commit f9392971b5130fc06de50acf2daa2e0e836507aa Author: Jacob Erlbeck Date: Mon Dec 8 15:26:47 2014 +0100 sgsn: Support subscriber based authentication This commit mainly extends sgsn_auth.c to use and support the auth_state SGSN_AUTH_AUTHENTICATE. It will be activated when IMSI and IMEI are available, authentication is required (subscr->sgsn_data->authenticate is set), but the MM context is not marked as authenticated. If the state has been set to SGSN_AUTH_AUTHENTICATE and sgsn_auth_update() is called, the GMM layer will be informed by invoking gsm0408_gprs_authenticate(). Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=00858678c71b5c90aae966bb245aed7aeaa9e3d1 commit 00858678c71b5c90aae966bb245aed7aeaa9e3d1 Author: Jacob Erlbeck Date: Tue Dec 2 09:47:26 2014 +0100 sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize Currently the Authentication and Ciphering procedure is not yet invoked by the GMM layer. This patch starts this procedure from within gsm48_gmm_authorize when the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call to gsm0408_gprs_authenticate has been issued directly or indirectly by the call to sgsn_auth_request. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=c9ac77e6345dd90589f58bddb1cd6cbfaa83e900 commit c9ac77e6345dd90589f58bddb1cd6cbfaa83e900 Author: Jacob Erlbeck Date: Tue Nov 11 14:01:48 2014 +0100 sgsn: Do not 'commit' implicitely when executing 'insert' Currently the gprs_subscr_update function is called when the 'update-subscriber ... insert ...' command is executed. This will eventually notify the GMM layer which is rather the purpose of the 'commit' command. This patch removes the call from update_subscr_insert. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/tests/ctrl_test_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Wed Dec 10 11:45:57 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 10 Dec 2014 11:45:57 GMT Subject: openbsc.git branch master updated. 0.13.0-786-g2e5e94c Message-ID: <201412101145.sBABjv38022786@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 2e5e94c3283fa4f5160962f42e7cd5d4e39b7d1e (commit) via 4adb136da63a1d3ed523ad85e12fd99fc62f5701 (commit) via 665acd1dbdec2c1e52599f6129ae00c5b5442e72 (commit) from 416c08f9ed340aae21a1d947bcf3a8ab41bb89ce (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=2e5e94c3283fa4f5160962f42e7cd5d4e39b7d1e commit 2e5e94c3283fa4f5160962f42e7cd5d4e39b7d1e Author: Jacob Erlbeck Date: Mon Dec 8 15:26:47 2014 +0100 sgsn: Support subscriber based authentication This commit mainly extends sgsn_auth.c to use and support the auth_state SGSN_AUTH_AUTHENTICATE. It will be activated when IMSI and IMEI are available, authentication is required (subscr->sgsn_data->authenticate is set), but the MM context is not marked as authenticated. If the state has been set to SGSN_AUTH_AUTHENTICATE and sgsn_auth_update() is called, the GMM layer will be informed by invoking gsm0408_gprs_authenticate(). Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=4adb136da63a1d3ed523ad85e12fd99fc62f5701 commit 4adb136da63a1d3ed523ad85e12fd99fc62f5701 Author: Jacob Erlbeck Date: Tue Dec 2 09:47:26 2014 +0100 sgsn: Integrate Auth & Ciph into gsm48_gmm_authorize Currently the Authentication and Ciphering procedure is not yet invoked by the GMM layer. This patch starts this procedure from within gsm48_gmm_authorize when the mm->auth_state has been set to SGSN_AUTH_AUTHENTICATE and a call to gsm0408_gprs_authenticate has been issued directly or indirectly by the call to sgsn_auth_request. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=665acd1dbdec2c1e52599f6129ae00c5b5442e72 commit 665acd1dbdec2c1e52599f6129ae00c5b5442e72 Author: Jacob Erlbeck Date: Tue Nov 11 14:01:48 2014 +0100 sgsn: Do not 'commit' implicitely when executing 'insert' Currently the gprs_subscr_update function is called when the 'update-subscriber ... insert ...' command is executed. This will eventually notify the GMM layer which is rather the purpose of the 'commit' command. This patch removes the call from update_subscr_insert. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gprs_gmm.h | 1 + openbsc/include/openbsc/gprs_sgsn.h | 5 ++-- openbsc/src/gprs/gprs_gmm.c | 28 ++++++++++++++++++- openbsc/src/gprs/sgsn_auth.c | 7 +++++ openbsc/src/gprs/sgsn_vty.c | 10 +++---- openbsc/tests/sgsn/sgsn_test.c | 55 +++++++++++++++++++++++++++++++++++++ openbsc/tests/sgsn/sgsn_test.ok | 1 + 7 files changed, 99 insertions(+), 8 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Wed Dec 10 18:33:50 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 10 Dec 2014 18:33:50 GMT Subject: osmo-bts.git branch zecke/power-control updated. 0.3.0-254-gd9efedd Message-ID: <201412101833.sBAIXoN1059817@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, zecke/power-control has been updated via d9efedd7642b19e18876208f91f78926386cde27 (commit) via ee5681149eb5a87f54abb508b291e347ef1ac6c7 (commit) via f9dbf1034b728bc8afce9b3c652115cebbfd6ba2 (commit) from 09401832365953469cdb708ec8d950295eeec896 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=d9efedd7642b19e18876208f91f78926386cde27 commit d9efedd7642b19e18876208f91f78926386cde27 Author: Holger Hans Peter Freyther Date: Wed Dec 10 19:33:16 2014 +0100 wip.. remove bogus printf http://cgit.osmocom.org/osmo-bts/commit/?id=ee5681149eb5a87f54abb508b291e347ef1ac6c7 commit ee5681149eb5a87f54abb508b291e347ef1ac6c7 Author: Holger Hans Peter Freyther Date: Wed Dec 10 19:33:07 2014 +0100 wip: Create a testcase http://cgit.osmocom.org/osmo-bts/commit/?id=f9dbf1034b728bc8afce9b3c652115cebbfd6ba2 commit f9dbf1034b728bc8afce9b3c652115cebbfd6ba2 Author: Holger Hans Peter Freyther Date: Wed Dec 10 18:54:46 2014 +0100 WIP: make the option configurable and inline ----------------------------------------------------------------------- Summary of changes: include/osmo-bts/bts.h | 2 +- src/common/bts.c | 5 +- src/common/rsl.c | 11 ++-- src/common/vty.c | 14 ++++++ src/osmo-bts-sysmo/l1_if.c | 108 ++++++++++++++++++++++++++-------------- src/osmo-bts-sysmo/l1_if.h | 2 + src/osmo-bts-sysmo/oml.c | 10 ++-- tests/sysmobts/sysmobts_test.c | 57 +++++++++++++++++++++ tests/sysmobts/sysmobts_test.ok | 1 + 9 files changed, 157 insertions(+), 53 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Thu Dec 11 13:38:37 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 11 Dec 2014 13:38:37 GMT Subject: osmo-bts.git branch zecke/power-control updated. 0.3.0-251-g4513d56 Message-ID: <201412111338.sBBDcbOI064718@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, zecke/power-control has been updated discards d9efedd7642b19e18876208f91f78926386cde27 (commit) discards ee5681149eb5a87f54abb508b291e347ef1ac6c7 (commit) discards f9dbf1034b728bc8afce9b3c652115cebbfd6ba2 (commit) discards 09401832365953469cdb708ec8d950295eeec896 (commit) via 4513d561eb6ff83095c230fedcf1e6179d61a364 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (d9efedd7642b19e18876208f91f78926386cde27) \ N -- N -- N (4513d561eb6ff83095c230fedcf1e6179d61a364) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=4513d561eb6ff83095c230fedcf1e6179d61a364 commit 4513d561eb6ff83095c230fedcf1e6179d61a364 Author: Holger Hans Peter Freyther Date: Sat Dec 6 20:30:52 2014 +0100 sysmobts: Add a manual ms power level control Currently the DSP is instructed to achieve a given uplink power target but there are circumstances (e.g. EMV testing) where we need more control over it. The "manual/software/osmo" power control can only be implemented per TRX and not per lchan. Add a very very basic control that checks the MS Power used by the phone, the actual receive level and then adjust the power. The code doesn't take the history into account, if the phone can not reach the requested power level the code will be stuck (e.g. no timeout based on multiframes). It has a mode for a fixed power control but no way to set it yet. ----------------------------------------------------------------------- Summary of changes: src/common/rsl.c | 8 +++++--- src/osmo-bts-sysmo/l1_if.c | 26 +++++++++++++------------- 2 files changed, 18 insertions(+), 16 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Thu Dec 11 14:15:38 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 11 Dec 2014 14:15:38 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-793-gb923bef Message-ID: <201412111415.sBBEFcCH068361@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards f9d5e4489fbea776f1919b8601cd40d2089b1852 (commit) discards eb1fc4bc4a71431f2b7b5f775837ed1e4159b80b (commit) discards 76f9967ae97a142c09136f6e355077ad7ab39765 (commit) discards f0bb0ca612bb10ff85530e523f18b01dcb0d8fe9 (commit) discards f9392971b5130fc06de50acf2daa2e0e836507aa (commit) discards 00858678c71b5c90aae966bb245aed7aeaa9e3d1 (commit) discards c9ac77e6345dd90589f58bddb1cd6cbfaa83e900 (commit) via b923befdec2444b5a0aba16832926a345b17e98f (commit) via 31eede3bbae06304351a29e401d5b4c8da70336d (commit) via 4d0c25c7630718384776a434b8851d5a0bfc792a (commit) via c2bfd9377f4fd0098e94e19d88e38e28c8d9538b (commit) via f805ee316c5ca21aa0ea2f3a9177411ca5a6de68 (commit) via 243bc83c0e1e109e99d16d7c0f950609c6825a39 (commit) via cf0c9486fe10830924b22bb50e9f172a1f363eac (commit) via 2e5e94c3283fa4f5160962f42e7cd5d4e39b7d1e (commit) via 4adb136da63a1d3ed523ad85e12fd99fc62f5701 (commit) via 665acd1dbdec2c1e52599f6129ae00c5b5442e72 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (f9d5e4489fbea776f1919b8601cd40d2089b1852) \ N -- N -- N (b923befdec2444b5a0aba16832926a345b17e98f) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=b923befdec2444b5a0aba16832926a345b17e98f commit b923befdec2444b5a0aba16832926a345b17e98f Author: Jacob Erlbeck Date: Thu Dec 11 15:14:14 2014 +0100 sgsn/doc: Add protocol specification for remote subscriber update This is the first version of the specification for the GPRS Subscriber Update Protocol. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=31eede3bbae06304351a29e401d5b4c8da70336d commit 31eede3bbae06304351a29e401d5b4c8da70336d Author: Jacob Erlbeck Date: Thu Dec 11 12:05:29 2014 +0100 gprs: Add gprs_shift_tlv function This function is similar to gprs_match_tlv with the exception, that the tag is not compared but returned in *tag instead. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=4d0c25c7630718384776a434b8851d5a0bfc792a commit 4d0c25c7630718384776a434b8851d5a0bfc792a Author: Jacob Erlbeck Date: Thu Dec 11 11:01:46 2014 +0100 gprs: Move TLV parser functions to gprs_utils.c and rename them Currently the parser functions for single information elements are defined within gprs_gb_parse.c and not exported explicitely. In addition they are named like libosmocore's TLV parser functions and do not have a proper name prefix. Since it is planned to use them for other protocols, they need to be globally accessible. This patch moves them to gprs_utils.c and renames them. The new names are: lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed In the long term, these functions should be moved to libosmocore (and renamed again). Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=c2bfd9377f4fd0098e94e19d88e38e28c8d9538b commit c2bfd9377f4fd0098e94e19d88e38e28c8d9538b Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Work on 2 phase authorization (WIP) This implements the MAP way of subscriber validation when the MS tries an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the AuthAndCiph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject This is currently accessible via the VTY interface. TODO: - Apply this to (periodic) RA Update Req - Delete Subscriber Data - Improve on procedure collisions (repeated Attach Req is sometimes not handled properly) - PDP info - Commit cleanup Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f805ee316c5ca21aa0ea2f3a9177411ca5a6de68 commit f805ee316c5ca21aa0ea2f3a9177411ca5a6de68 Author: Jacob Erlbeck Date: Mon Dec 8 15:52:00 2014 +0100 sgsn: Add support for authentication triplets (TODO) TODO: - commit message - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=243bc83c0e1e109e99d16d7c0f950609c6825a39 commit 243bc83c0e1e109e99d16d7c0f950609c6825a39 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=cf0c9486fe10830924b22bb50e9f172a1f363eac commit cf0c9486fe10830924b22bb50e9f172a1f363eac Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/doc/sgsn-remote-protocol.txt | 376 ++++++++++++++++++++++++++++++++++ openbsc/include/openbsc/gprs_utils.h | 12 ++ openbsc/src/gprs/gprs_gb_parse.c | 172 +++------------- openbsc/src/gprs/gprs_utils.c | 135 ++++++++++++ openbsc/tests/gbproxy/gbproxy_test.c | 236 --------------------- openbsc/tests/gbproxy/gbproxy_test.ok | 1 - openbsc/tests/gprs/gprs_test.c | 241 ++++++++++++++++++++++ openbsc/tests/gprs/gprs_test.ok | 1 + 8 files changed, 793 insertions(+), 381 deletions(-) create mode 100644 openbsc/doc/sgsn-remote-protocol.txt hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Thu Dec 11 14:56:01 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 11 Dec 2014 14:56:01 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-793-gbf49ab6 Message-ID: <201412111456.sBBEu1ap071919@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards b923befdec2444b5a0aba16832926a345b17e98f (commit) via bf49ab6defd3feced8f622d84fc7484b6cf4f829 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (b923befdec2444b5a0aba16832926a345b17e98f) \ N -- N -- N (bf49ab6defd3feced8f622d84fc7484b6cf4f829) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=bf49ab6defd3feced8f622d84fc7484b6cf4f829 commit bf49ab6defd3feced8f622d84fc7484b6cf4f829 Author: Jacob Erlbeck Date: Thu Dec 11 15:14:14 2014 +0100 sgsn/doc: Add protocol specification for remote subscriber update This is the first version of the specification for the GPRS Subscriber Update Protocol. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/doc/sgsn-remote-protocol.txt | 60 +++++++++++++++++------------------- 1 file changed, 28 insertions(+), 32 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Thu Dec 11 15:56:22 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 11 Dec 2014 15:56:22 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-794-g6450455 Message-ID: <201412111556.sBBFuMS3078002@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards bf49ab6defd3feced8f622d84fc7484b6cf4f829 (commit) via 6450455de01310d6ebb6fba5e503165382dd6d03 (commit) via 30d808e01a1c9c9283de915840b4c35e568c4e8d (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (bf49ab6defd3feced8f622d84fc7484b6cf4f829) \ N -- N -- N (6450455de01310d6ebb6fba5e503165382dd6d03) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=6450455de01310d6ebb6fba5e503165382dd6d03 commit 6450455de01310d6ebb6fba5e503165382dd6d03 Author: Jacob Erlbeck Date: Thu Dec 11 16:54:14 2014 +0100 gprs: Add encoder/decoder for the Subscriber Update Protocol (WIP) Status: compiles but is totally untested TODO: - Add commit message - Add encoder - Test cases Ticket: OW#???? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=30d808e01a1c9c9283de915840b4c35e568c4e8d commit 30d808e01a1c9c9283de915840b4c35e568c4e8d Author: Jacob Erlbeck Date: Thu Dec 11 15:14:14 2014 +0100 sgsn/doc: Add protocol specification for remote subscriber update This is the first version of the specification for the GPRS Subscriber Update Protocol. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/doc/sgsn-remote-protocol.txt | 20 +-- openbsc/src/gprs/Makefile.am | 3 +- openbsc/src/gprs/gprs_gsup_messages.c | 304 ++++++++++++++++++++++++++++++++++ 3 files changed, 316 insertions(+), 11 deletions(-) create mode 100644 openbsc/src/gprs/gprs_gsup_messages.c hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Thu Dec 11 15:57:35 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 11 Dec 2014 15:57:35 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-794-gc255606 Message-ID: <201412111557.sBBFvZIr078126@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 6450455de01310d6ebb6fba5e503165382dd6d03 (commit) via c255606f28106b23ca782f75af6befa3a0d860b5 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (6450455de01310d6ebb6fba5e503165382dd6d03) \ N -- N -- N (c255606f28106b23ca782f75af6befa3a0d860b5) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=c255606f28106b23ca782f75af6befa3a0d860b5 commit c255606f28106b23ca782f75af6befa3a0d860b5 Author: Jacob Erlbeck Date: Thu Dec 11 16:54:14 2014 +0100 gprs: Add encoder/decoder for the Subscriber Update Protocol (WIP) Status: compiles but is totally untested TODO: - Add commit message - Add encoder - Test cases - Moved declarations to header file Ticket: OW#???? Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Thu Dec 11 16:06:31 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 11 Dec 2014 16:06:31 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-794-g0b481c1 Message-ID: <201412111606.sBBG6Vxw078975@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards c255606f28106b23ca782f75af6befa3a0d860b5 (commit) via 0b481c1a8f0dcd4987a88e2dd5a19babbb06579c (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (c255606f28106b23ca782f75af6befa3a0d860b5) \ N -- N -- N (0b481c1a8f0dcd4987a88e2dd5a19babbb06579c) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=0b481c1a8f0dcd4987a88e2dd5a19babbb06579c commit 0b481c1a8f0dcd4987a88e2dd5a19babbb06579c Author: Jacob Erlbeck Date: Thu Dec 11 16:54:14 2014 +0100 gprs: Add encoder/decoder for the Subscriber Update Protocol (WIP) Status: compiles but is totally untested TODO: - Add commit message - Add encoder - Test cases - Moved declarations to header file Ticket: OW#???? Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/src/gprs/gprs_gsup_messages.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Thu Dec 11 16:54:51 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 11 Dec 2014 16:54:51 GMT Subject: openbsc.git branch master updated. 0.13.0-787-g27ca043 Message-ID: <201412111654.sBBGspZ6083121@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 27ca0436ace88d6f39348a62ba92f76468c420d4 (commit) from 2e5e94c3283fa4f5160962f42e7cd5d4e39b7d1e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=27ca0436ace88d6f39348a62ba92f76468c420d4 commit 27ca0436ace88d6f39348a62ba92f76468c420d4 Author: Holger Hans Peter Freyther Date: Wed Dec 10 14:38:43 2014 +0100 bts: Remove unused fields from the trx structure These have either never been used or were replaced with a more generic approach. ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gsm_data_shared.h | 10 ---------- 1 file changed, 10 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Fri Dec 12 11:24:40 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 12 Dec 2014 11:24:40 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-795-gbc443bc Message-ID: <201412121124.sBCBOe0r087126@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 0b481c1a8f0dcd4987a88e2dd5a19babbb06579c (commit) discards 30d808e01a1c9c9283de915840b4c35e568c4e8d (commit) discards 31eede3bbae06304351a29e401d5b4c8da70336d (commit) discards 4d0c25c7630718384776a434b8851d5a0bfc792a (commit) discards c2bfd9377f4fd0098e94e19d88e38e28c8d9538b (commit) discards f805ee316c5ca21aa0ea2f3a9177411ca5a6de68 (commit) discards 243bc83c0e1e109e99d16d7c0f950609c6825a39 (commit) discards cf0c9486fe10830924b22bb50e9f172a1f363eac (commit) via bc443bc23383c0a614ea07120f1693a0d969de98 (commit) via 45666f3ee24d32b6a1f7d22a89f1394db052ff32 (commit) via 35c839172fdc09c9a9a25bec29ad0efd9951a4fc (commit) via d46917036068afa8eade633e63aa9542fada8e4d (commit) via 677da180780e04b9ef9c9b21dba0a37f84f2cc86 (commit) via 662ed57a219ae62efdf6c80f61226a7b4f6bd09d (commit) via d26b234117c4a7fd4c3574d66a047715b136a6f7 (commit) via e21aa8f0e5249f4fe841fccbd8ab37055636e73d (commit) via 27ca0436ace88d6f39348a62ba92f76468c420d4 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (0b481c1a8f0dcd4987a88e2dd5a19babbb06579c) \ N -- N -- N (bc443bc23383c0a614ea07120f1693a0d969de98) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=bc443bc23383c0a614ea07120f1693a0d969de98 commit bc443bc23383c0a614ea07120f1693a0d969de98 Author: Jacob Erlbeck Date: Thu Dec 11 16:54:14 2014 +0100 gprs: Add encoder/decoder for the Subscriber Update Protocol (WIP) Status: compiles and test passes TODO: - Add commit message Ticket: OW#???? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=45666f3ee24d32b6a1f7d22a89f1394db052ff32 commit 45666f3ee24d32b6a1f7d22a89f1394db052ff32 Author: Jacob Erlbeck Date: Thu Dec 11 15:14:14 2014 +0100 sgsn/doc: Add protocol specification for remote subscriber update This is the first version of the specification for the GPRS Subscriber Update Protocol. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=35c839172fdc09c9a9a25bec29ad0efd9951a4fc commit 35c839172fdc09c9a9a25bec29ad0efd9951a4fc Author: Jacob Erlbeck Date: Thu Dec 11 12:05:29 2014 +0100 gprs: Add gprs_shift_tlv function This function is similar to gprs_match_tlv with the exception, that the tag is not compared but returned in *tag instead. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=d46917036068afa8eade633e63aa9542fada8e4d commit d46917036068afa8eade633e63aa9542fada8e4d Author: Jacob Erlbeck Date: Thu Dec 11 11:01:46 2014 +0100 gprs: Move TLV parser functions to gprs_utils.c and rename them Currently the parser functions for single information elements are defined within gprs_gb_parse.c and not exported explicitely. In addition they are named like libosmocore's TLV parser functions and do not have a proper name prefix. Since it is planned to use them for other protocols, they need to be globally accessible. This patch moves them to gprs_utils.c and renames them. The new names are: lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed In the long term, these functions should be moved to libosmocore (and renamed again). Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=677da180780e04b9ef9c9b21dba0a37f84f2cc86 commit 677da180780e04b9ef9c9b21dba0a37f84f2cc86 Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Work on 2 phase authorization (WIP) This implements the MAP way of subscriber validation when the MS tries an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the AuthAndCiph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject This is currently accessible via the VTY interface. TODO: - Apply this to (periodic) RA Update Req - Delete Subscriber Data - Improve on procedure collisions (repeated Attach Req is sometimes not handled properly) - PDP info - Commit cleanup Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=662ed57a219ae62efdf6c80f61226a7b4f6bd09d commit 662ed57a219ae62efdf6c80f61226a7b4f6bd09d Author: Jacob Erlbeck Date: Mon Dec 8 15:52:00 2014 +0100 sgsn: Add support for authentication triplets (TODO) TODO: - commit message - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=d26b234117c4a7fd4c3574d66a047715b136a6f7 commit d26b234117c4a7fd4c3574d66a047715b136a6f7 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=e21aa8f0e5249f4fe841fccbd8ab37055636e73d commit e21aa8f0e5249f4fe841fccbd8ab37055636e73d Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/doc/sgsn-remote-protocol.txt | 6 +- openbsc/include/openbsc/Makefile.am | 2 +- openbsc/include/openbsc/gprs_gsup_messages.h | 102 +++++++++++ openbsc/include/openbsc/gsm_data_shared.h | 10 -- openbsc/src/gprs/gprs_gsup_messages.c | 245 +++++++++++++++++---------- openbsc/tests/gprs/Makefile.am | 4 +- openbsc/tests/gprs/gprs_test.c | 132 +++++++++++++++ openbsc/tests/gprs/gprs_test.ok | 10 ++ 8 files changed, 411 insertions(+), 100 deletions(-) create mode 100644 openbsc/include/openbsc/gprs_gsup_messages.h hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Fri Dec 12 14:01:36 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 12 Dec 2014 14:01:36 GMT Subject: osmo-bts.git branch master updated. 0.3.0-252-g42cc96e Message-ID: <201412121401.sBCE1aKF001745@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, master has been updated via 42cc96e2c1edb6863909ef460770bd9e0b23ad58 (commit) via 8381a6a4835feae6b714fb6fac38c247b69958ee (commit) from 4d4dc2674252658330cdd581757d6168087ba4fb (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=42cc96e2c1edb6863909ef460770bd9e0b23ad58 commit 42cc96e2c1edb6863909ef460770bd9e0b23ad58 Author: Holger Hans Peter Freyther Date: Fri Dec 12 14:53:23 2014 +0100 sysmobts: Add an option to stop the systemd sysmobts.service For systems without direct access to the PA the best option is to simply switch off the bts service. This will stop the transmission which will take load from the DSP/FPGA/RF circuit and indirectly from the PA as well. We should introduce "pa-on and bts-on" that can be executed as "normal" action. http://cgit.osmocom.org/osmo-bts/commit/?id=8381a6a4835feae6b714fb6fac38c247b69958ee commit 8381a6a4835feae6b714fb6fac38c247b69958ee Author: Holger Hans Peter Freyther Date: Fri Dec 12 14:36:59 2014 +0100 sysmobts: Actions can be executed in all levels Somebody could decide to switch off the PA in the warning level already. Support this mode of operation. This means we could have a config that: * Enables the PA in the normal level * Disables it in the critical level With kdbus or better IPC we could even have the PA and other parts be represented as service that talk to a bts manager and then simply execute start/stop requests. This would make the entire TODO entry irrelevant as state would be managed by systemd and one can see the time the service was executed. ----------------------------------------------------------------------- Summary of changes: src/osmo-bts-sysmo/misc/sysmobts_mgr.h | 1 + src/osmo-bts-sysmo/misc/sysmobts_mgr_temp.c | 56 ++++++++++++++++++----------- src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c | 22 ++++++++++++ 3 files changed, 59 insertions(+), 20 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Fri Dec 12 14:03:27 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 12 Dec 2014 14:03:27 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-796-g0d912e6 Message-ID: <201412121403.sBCE3RT3001944@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated via 0d912e6bd9492b6ea3e11b261b74c8b24731651c (commit) from bc443bc23383c0a614ea07120f1693a0d969de98 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=0d912e6bd9492b6ea3e11b261b74c8b24731651c commit 0d912e6bd9492b6ea3e11b261b74c8b24731651c Author: Jacob Erlbeck Date: Fri Dec 12 15:01:37 2014 +0100 gprs: GSUP Integration (WIP) TODO: - some changes are fixes for other commits, take them out - testing - commit msg / title - VTY command to supply messages in hex (testing) Ticket: OW#???? Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gprs_gsup_messages.h | 4 +- openbsc/src/gprs/gprs_gsup_messages.c | 29 +++-- openbsc/src/gprs/gprs_subscriber.c | 157 ++++++++++++++++++++++++++- openbsc/tests/gprs/Makefile.am | 2 +- openbsc/tests/sgsn/Makefile.am | 2 + 5 files changed, 173 insertions(+), 21 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Fri Dec 12 20:58:47 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 12 Dec 2014 20:58:47 GMT Subject: osmo-bts.git branch zecke/sysmobts-calibration created. 0.3.0-258-g8480fbf Message-ID: <201412122058.sBCKwlIm039819@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, zecke/sysmobts-calibration has been created at 8480fbf803b410b3c7b67ce5f970a7a38f151a2e (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=8480fbf803b410b3c7b67ce5f970a7a38f151a2e commit 8480fbf803b410b3c7b67ce5f970a7a38f151a2e Author: Holger Hans Peter Freyther Date: Fri Dec 12 21:54:43 2014 +0100 sysmobts: Use the ctrl interface for calibration This runs the entire procedure for calibration with reasonable error and success checking. It can be triggered from the VTY of the sysmobts-mgr right now. What is missing is to hook up with GPSD to check if the system has a fix and provide a mode that will continously run the calibration command. http://cgit.osmocom.org/osmo-bts/commit/?id=6d54dee99d578834fa177d9f2a049c752105f9c4 commit 6d54dee99d578834fa177d9f2a049c752105f9c4 Author: Holger Hans Peter Freyther Date: Fri Dec 12 19:20:17 2014 +0100 sysmobts: Copy more of l1if_rf_clock_info_reset into the CTRL code The CTRL code should have used/extended the l1_if calibration code. The sysmobts-mgr code first needs to determine if the clock adjustment is necessary at all. This is done by first resetting the counters, then waiting, then asking for the diff and then applying the correction value. But the reference clock is only set by the application comand. Copy more code of l1if_rf_clock_info_reset to set the reference clock as value. This is leaving some todos inside the code that will be resolved as part of SYS#835. Related: SYS#835 http://cgit.osmocom.org/osmo-bts/commit/?id=2419e9ab3bf4fe58a2652c8d0133f7ad0eb7e74a commit 2419e9ab3bf4fe58a2652c8d0133f7ad0eb7e74a Author: Holger Hans Peter Freyther Date: Fri Dec 12 17:33:09 2014 +0100 sysmobts: Add FD_WRITE to the event situation libosmo-abis doesn't reset the ->when flags when (re)connecting. This leads to not receiving a "ready to write" information on the socket, which in turns leads to ipa_client_fd_cb not being called and then updown_cb would only be called at a very late stage. Work around and manually set the when flag http://cgit.osmocom.org/osmo-bts/commit/?id=f1cf0c29fd5467dc2cc49d2bc1c7b2d42478c14f commit f1cf0c29fd5467dc2cc49d2bc1c7b2d42478c14f Author: Holger Hans Peter Freyther Date: Fri Dec 12 16:59:41 2014 +0100 sysmobts: Begin with calib control from the sysmobts manager In the long run we will connect to GPSD and wait for a fix and then run the calibration. The first step is to open (and re-open) the control connection to the BTS. As the connection is on localhost there should not be a computation overhead to always have the connection open. When connecting assume that the ASYNC connect worked directly as otherwise we get no notification of the failure. This looks like a "bug" of libosmo-abis that should check if the socket has been connected or not. http://cgit.osmocom.org/osmo-bts/commit/?id=97b0f8dc07ede7181eead1eba414771e6af8452c commit 97b0f8dc07ede7181eead1eba414771e6af8452c Author: Holger Hans Peter Freyther Date: Fri Dec 12 16:54:08 2014 +0100 msg: Generalize the message structure test This was taken out of LaF0rge's OML router branch and is now used by the extended calibration feature. http://cgit.osmocom.org/osmo-bts/commit/?id=6c905943f93673ea5b5b21ac4ffcb549ac665d1c commit 6c905943f93673ea5b5b21ac4ffcb549ac665d1c Author: Holger Hans Peter Freyther Date: Fri Dec 12 15:17:02 2014 +0100 sysmobts: Remove unused global variables We do not need to have these variables anymore. Just remove them. ----------------------------------------------------------------------- hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Sun Dec 14 18:02:51 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 14 Dec 2014 18:02:51 GMT Subject: libosmocore.git branch master updated. 0.7.0-86-g4448048 Message-ID: <201412141802.sBEI2pmU084969@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, master has been updated via 4448048828db597aa99729b2b437986f59722c0e (commit) via 5f91a400685c0762df5f0f3bbb0b97daaf0d2371 (commit) via 2d6ad13d8daf860595e6d4025861e122ce574871 (commit) from a5dc19dc4053e45a4a9ae8facfbdb7393ad5fe69 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=4448048828db597aa99729b2b437986f59722c0e commit 4448048828db597aa99729b2b437986f59722c0e Author: Holger Hans Peter Freyther Date: Sun Dec 14 19:01:14 2014 +0100 ipa: Make a reservation for the GSUP protocol GSUP is a protocol to have the OpenBSC SGSN talk to an exterbal system for 3GPP MAP connectivity. http://cgit.osmocom.org/libosmocore/commit/?id=5f91a400685c0762df5f0f3bbb0b97daaf0d2371 commit 5f91a400685c0762df5f0f3bbb0b97daaf0d2371 Author: Holger Hans Peter Freyther Date: Fri Dec 5 10:29:45 2014 +0100 logging: Call color only once and use the result First we check if a color is defined and then we call it again and use the result. Avoid the second call and use the result of the previous call. http://cgit.osmocom.org/libosmocore/commit/?id=2d6ad13d8daf860595e6d4025861e122ce574871 commit 2d6ad13d8daf860595e6d4025861e122ce574871 Author: Holger Hans Peter Freyther Date: Fri Dec 5 09:35:30 2014 +0100 logging: Make it possible to print category/subsys and timestamps We want to see from which category/subsystem a certain log message is coming from and use a different timestamp format as well. Add two new bitfields. This doesn't change the size of the structure and on 32bit we still have 27bits left. The extended timestamp will take preference over the current and default timestamp format. Fixes: SYS#602 ----------------------------------------------------------------------- Summary of changes: include/osmocom/core/logging.h | 6 ++++ include/osmocom/gsm/protocol/ipaccess.h | 1 + src/logging.c | 52 +++++++++++++++++++++++++++++++-- src/vty/logging_vty.c | 49 +++++++++++++++++++++++++++++-- 4 files changed, 103 insertions(+), 5 deletions(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Mon Dec 15 09:47:08 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 15 Dec 2014 09:47:08 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-797-g116d9aa Message-ID: <201412150947.sBF9l8SE073363@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 0d912e6bd9492b6ea3e11b261b74c8b24731651c (commit) discards bc443bc23383c0a614ea07120f1693a0d969de98 (commit) via 116d9aac200398f15d408435efe492acfd51b1e1 (commit) via 9c5fbdcc5d4a8b3822f2e5009e8a36e9c5a55d79 (commit) via 55ef4c0f5d145cd435b8a28545643b9e48d36add (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (0d912e6bd9492b6ea3e11b261b74c8b24731651c) \ N -- N -- N (116d9aac200398f15d408435efe492acfd51b1e1) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=116d9aac200398f15d408435efe492acfd51b1e1 commit 116d9aac200398f15d408435efe492acfd51b1e1 Author: Jacob Erlbeck Date: Mon Dec 15 10:16:02 2014 +0100 sgsn/doc: Add IPA default parameters This commit adds the default protocol identifiers that should be used for GSUP by the IPA protocol. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=9c5fbdcc5d4a8b3822f2e5009e8a36e9c5a55d79 commit 9c5fbdcc5d4a8b3822f2e5009e8a36e9c5a55d79 Author: Jacob Erlbeck Date: Fri Dec 12 15:01:37 2014 +0100 gprs: GSUP Integration (WIP) TODO: - testing - commit msg / title - VTY command to supply messages in hex (testing) Ticket: OW#???? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=55ef4c0f5d145cd435b8a28545643b9e48d36add commit 55ef4c0f5d145cd435b8a28545643b9e48d36add Author: Jacob Erlbeck Date: Thu Dec 11 16:54:14 2014 +0100 gprs: Add encoder/decoder for the Subscriber Update Protocol (WIP) Status: compiles and test passes TODO: - Add commit message Ticket: OW#???? Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/doc/sgsn-remote-protocol.txt | 6 ++++++ openbsc/include/openbsc/gprs_gsup_messages.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 15 14:04:59 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 15 Dec 2014 14:04:59 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-798-gc603cb8 Message-ID: <201412151404.sBFE4xvo000774@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated via c603cb8212b6a4a156a64e850df71eaca6bcbf1b (commit) from 116d9aac200398f15d408435efe492acfd51b1e1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=c603cb8212b6a4a156a64e850df71eaca6bcbf1b commit c603cb8212b6a4a156a64e850df71eaca6bcbf1b Author: Jacob Erlbeck Date: Mon Dec 15 15:04:32 2014 +0100 sgsn: GSUP client (WIP) Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/Makefile.am | 2 +- openbsc/include/openbsc/gprs_sgsn.h | 2 +- openbsc/include/openbsc/sgsn.h | 7 ++++++ openbsc/src/gprs/Makefile.am | 2 +- openbsc/src/gprs/gprs_subscriber.c | 48 ++++++++++++++++++++++++++++++++++--- openbsc/src/gprs/sgsn_main.c | 6 +++++ openbsc/src/gprs/sgsn_vty.c | 25 +++++++++++++++++++ openbsc/tests/sgsn/Makefile.am | 2 ++ 8 files changed, 88 insertions(+), 6 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 15 17:20:53 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 15 Dec 2014 17:20:53 GMT Subject: openbsc.git branch ciaby/rhizomatica-test created. 0.13.0-789-g44889ba Message-ID: <201412151720.sBFHKrpk018078@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, ciaby/rhizomatica-test has been created at 44889ba6e16bdb0276e5a99d9101bb3f10318276 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=44889ba6e16bdb0276e5a99d9101bb3f10318276 commit 44889ba6e16bdb0276e5a99d9101bb3f10318276 Merge: 815b7e5 27ca043 Author: Ciaby Date: Mon Dec 15 18:17:49 2014 +0100 Merge branch 'master' into ciaby/rhizomatica-test Conflicts: openbsc/include/openbsc/gsm_subscriber.h openbsc/src/libmsc/gsm_04_08.c openbsc/src/libmsc/gsm_subscriber.c http://cgit.osmocom.org/openbsc/commit/?id=815b7e564e43af357000eb3ad62bcd69a529ec37 commit 815b7e564e43af357000eb3ad62bcd69a529ec37 Author: Ciaby Date: Mon Dec 15 18:10:27 2014 +0100 Initial patch for investigating paging behaviour. ----------------------------------------------------------------------- hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 15 23:14:42 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 15 Dec 2014 23:14:42 GMT Subject: gr-osmosdr.git branch master updated. v0.1.4-8-gcd2ce92 Message-ID: <201412152314.sBFNEgas053371@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNURadio hardware abstraction block". The branch, master has been updated via cd2ce9237ac802cca0768cef53ef648dca4b8836 (commit) from 20fd6a8c34339125dc509dc33ae7c3b1ed6e1959 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/gr-osmosdr/commit/?id=cd2ce9237ac802cca0768cef53ef648dca4b8836 commit cd2ce9237ac802cca0768cef53ef648dca4b8836 Author: Dimitri Stolnikov Date: Tue Dec 16 00:14:35 2014 +0100 airspy: increase version string size to 128 ----------------------------------------------------------------------- Summary of changes: lib/airspy/airspy_source_c.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- GNURadio hardware abstraction block From gitosis at osmocom.org Mon Dec 15 23:15:35 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 15 Dec 2014 23:15:35 GMT Subject: gr-osmosdr.git branch master updated. v0.1.4-8-g46bb1ad Message-ID: <201412152315.sBFNFZJO053509@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNURadio hardware abstraction block". The branch, master has been updated discards cd2ce9237ac802cca0768cef53ef648dca4b8836 (commit) via 46bb1ad1a08b44f9c06dd2bf099731aa3bc0e995 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (cd2ce9237ac802cca0768cef53ef648dca4b8836) \ N -- N -- N (46bb1ad1a08b44f9c06dd2bf099731aa3bc0e995) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/gr-osmosdr/commit/?id=46bb1ad1a08b44f9c06dd2bf099731aa3bc0e995 commit 46bb1ad1a08b44f9c06dd2bf099731aa3bc0e995 Author: Dimitri Stolnikov Date: Tue Dec 16 00:14:35 2014 +0100 airspy: increase version string size to 128 ----------------------------------------------------------------------- Summary of changes: lib/airspy/airspy_source_c.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- GNURadio hardware abstraction block From gitosis at osmocom.org Mon Dec 15 23:19:48 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 15 Dec 2014 23:19:48 GMT Subject: osmo-trx.git branch master updated. 1ae25561fa3f6fe8295526b28031686c1123a8b6 Message-ID: <201412152319.sBFNJmAf053815@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "OpenBTS' transceiver retro-fit". The branch, master has been updated via 1ae25561fa3f6fe8295526b28031686c1123a8b6 (commit) from 187225cf337244ad7061745b7834a027e44855be (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-trx/commit/?id=1ae25561fa3f6fe8295526b28031686c1123a8b6 commit 1ae25561fa3f6fe8295526b28031686c1123a8b6 Author: Tom Tsou Date: Fri Dec 5 12:56:34 2014 -0800 uhd: Display current timestamp with buffer status errors Existing implementation outputs sample buffer parameters, but it is helpful to know the submitted timestamp that led to the errant condition. Signed-off-by: Tom Tsou ----------------------------------------------------------------------- Summary of changes: Transceiver52M/UHDDevice.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) hooks/post-receive -- OpenBTS' transceiver retro-fit From gitosis at osmocom.org Tue Dec 16 02:25:55 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 16 Dec 2014 02:25:55 GMT Subject: osmo-trx.git branch staging created. 0fcfb5ea0ab84e73f99496ef5ba8a2a2c8c059ca Message-ID: <201412160225.sBG2PthG070317@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "OpenBTS' transceiver retro-fit". The branch, staging has been created at 0fcfb5ea0ab84e73f99496ef5ba8a2a2c8c059ca (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-trx/commit/?id=0fcfb5ea0ab84e73f99496ef5ba8a2a2c8c059ca commit 0fcfb5ea0ab84e73f99496ef5ba8a2a2c8c059ca Author: Tom Tsou Date: Wed Dec 3 18:47:20 2014 -0800 Transceiver52M: Add X300/X310 and E310 USRP support Add device detection and timing values. Signed-off-by: Tom Tsou http://cgit.osmocom.org/osmo-trx/commit/?id=eb54bddf47e087cf340c8a65b36a03cebd4f174b commit eb54bddf47e087cf340c8a65b36a03cebd4f174b Author: Tom Tsou Date: Tue Nov 25 16:06:32 2014 -0800 Transceiver52M: Implement POWEROFF command Add stop and restart capability through the POWEROFF and POWERON commands. Calling stop causes receive streaming to cease, and I/O threads to shutdown leaving only the control handling thread running. Upon receiving a POWERON command, I/O threads and device streaming are restarted. Proper shutdown of the transceiver is now initiated by the destructor, which calls the stop command internally to wind down and deallocate threads. Signed-off-by: Tom Tsou http://cgit.osmocom.org/osmo-trx/commit/?id=a4d1a4124421473f5f92255e2f3bc44bfa3937ea commit a4d1a4124421473f5f92255e2f3bc44bfa3937ea Author: Tom Tsou Date: Tue Nov 25 15:46:56 2014 -0800 Transceiver52M: Allow setting gain before POWERON There is no reason gain settings should not be modifiable when the radio is running or not. Signed-off-by: Tom Tsou http://cgit.osmocom.org/osmo-trx/commit/?id=b99975917585dc8973cc806a5da0aa3fc791b198 commit b99975917585dc8973cc806a5da0aa3fc791b198 Author: Tom Tsou Date: Fri Nov 21 12:25:22 2014 -0800 CommonLibs: Add thread cancellation capability For clean shutdown in the transceiver we need to cancel and join running threads for orderly unwinding. Thread cancellation points already exist, so we just need to be able to call on the threads to exit out when stopping or shutting down. Don't error when joining a NULL thread, which would be the case if a thread was stopped before ever being started to begin with. Signed-off-by: Tom Tsou ----------------------------------------------------------------------- hooks/post-receive -- OpenBTS' transceiver retro-fit From gitosis at osmocom.org Tue Dec 16 03:03:25 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 16 Dec 2014 03:03:25 GMT Subject: osmo-trx.git branch staging updated. 4ad9ea69aba4a556d105e55cc5b67c5b3fc78fca Message-ID: <201412160303.sBG33PC6078464@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "OpenBTS' transceiver retro-fit". The branch, staging has been updated discards 0fcfb5ea0ab84e73f99496ef5ba8a2a2c8c059ca (commit) via 4ad9ea69aba4a556d105e55cc5b67c5b3fc78fca (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (0fcfb5ea0ab84e73f99496ef5ba8a2a2c8c059ca) \ N -- N -- N (4ad9ea69aba4a556d105e55cc5b67c5b3fc78fca) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-trx/commit/?id=4ad9ea69aba4a556d105e55cc5b67c5b3fc78fca commit 4ad9ea69aba4a556d105e55cc5b67c5b3fc78fca Author: Tom Tsou Date: Wed Dec 3 18:47:20 2014 -0800 Transceiver52M: Add X300/X310 and E310 USRP support Treat X300 similar to N200 and resample with 100 MHz base clocking, which provides some amount of oversampling for reduced phase error compared to the 1 sample per symbol receiver. Treat E310 similar to 13 MHz rate devices for the lowest computational use. Signed-off-by: Tom Tsou ----------------------------------------------------------------------- Summary of changes: Transceiver52M/UHDDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- OpenBTS' transceiver retro-fit From gitosis at osmocom.org Tue Dec 16 03:03:30 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 16 Dec 2014 03:03:30 GMT Subject: osmo-trx.git branch stop deleted. 7addb8ee25a6ee13a3cb1ec10d2b9dc9f8946c98 Message-ID: <201412160303.sBG33UOE078523@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "OpenBTS' transceiver retro-fit". The branch, stop has been deleted was 7addb8ee25a6ee13a3cb1ec10d2b9dc9f8946c98 ----------------------------------------------------------------------- 7addb8ee25a6ee13a3cb1ec10d2b9dc9f8946c98 Transceiver52M: Implement POWEROFF command ----------------------------------------------------------------------- hooks/post-receive -- OpenBTS' transceiver retro-fit From gitosis at osmocom.org Tue Dec 16 04:25:44 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 16 Dec 2014 04:25:44 GMT Subject: osmo-trx.git branch staging updated. 93b7f373097f3b1563ff327ffa163846b8da0987 Message-ID: <201412160425.sBG4Pic1085263@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "OpenBTS' transceiver retro-fit". The branch, staging has been updated via 93b7f373097f3b1563ff327ffa163846b8da0987 (commit) from 4ad9ea69aba4a556d105e55cc5b67c5b3fc78fca (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-trx/commit/?id=93b7f373097f3b1563ff327ffa163846b8da0987 commit 93b7f373097f3b1563ff327ffa163846b8da0987 Author: Tom Tsou Date: Mon Dec 15 20:23:33 2014 -0800 b210: Lock dual-channel tuning access Frequency tuning is a multi-step process with RF and DDC/DUC protoimns that can be corrupted if both channels attempt to tune at the same time. Signed-off-by: Tom Tsou ----------------------------------------------------------------------- Summary of changes: Transceiver52M/UHDDevice.cpp | 3 +++ 1 file changed, 3 insertions(+) hooks/post-receive -- OpenBTS' transceiver retro-fit From gitosis at osmocom.org Tue Dec 16 07:43:37 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 16 Dec 2014 07:43:37 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-799-g363a67f Message-ID: <201412160743.sBG7hb2Q001275@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards c603cb8212b6a4a156a64e850df71eaca6bcbf1b (commit) via 363a67f814b5864ec6e28fda525a59da129792ea (commit) via 486d80c7fee30540ddcdbc48f5901347de723c09 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (c603cb8212b6a4a156a64e850df71eaca6bcbf1b) \ N -- N -- N (363a67f814b5864ec6e28fda525a59da129792ea) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=363a67f814b5864ec6e28fda525a59da129792ea commit 363a67f814b5864ec6e28fda525a59da129792ea Author: Jacob Erlbeck Date: Tue Dec 16 08:41:34 2014 +0100 openbsc: Ignore generated coverage analysis files This patch adds *.gcda and *.gcno to .gitignore to skip files that are generated by gcc --coverage and related tools. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=486d80c7fee30540ddcdbc48f5901347de723c09 commit 486d80c7fee30540ddcdbc48f5901347de723c09 Author: Jacob Erlbeck Date: Mon Dec 15 15:04:32 2014 +0100 sgsn: GSUP client (WIP) Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/.gitignore | 2 + .../openbsc/gprs_gsup_client.h} | 40 ++-- openbsc/src/gprs/gprs_gsup_client.c | 225 +++++++++++++++++++++ 3 files changed, 249 insertions(+), 18 deletions(-) copy openbsc/{src/libbsc/bts_unknown.c => include/openbsc/gprs_gsup_client.h} (50%) create mode 100644 openbsc/src/gprs/gprs_gsup_client.c hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Dec 16 12:29:44 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 16 Dec 2014 12:29:44 GMT Subject: osmo-trx.git branch fairwaves/master updated. 19c392df82fe7acd303e4340059c87c432623881 Message-ID: <201412161229.sBGCTiCZ024984@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "OpenBTS' transceiver retro-fit". The branch, fairwaves/master has been updated via 19c392df82fe7acd303e4340059c87c432623881 (commit) from 48da6f97e3274f751a133365b526f4ca0f3b7ea1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-trx/commit/?id=19c392df82fe7acd303e4340059c87c432623881 commit 19c392df82fe7acd303e4340059c87c432623881 Author: Ivan Kluchnikov Date: Tue Dec 16 15:12:57 2014 +0300 Handover support for transceiver (TCH/F TCH/H SDCCH4 SDCCH8) It allows to enable/disable access burst detection on each subslot individually. ----------------------------------------------------------------------- Summary of changes: Transceiver52M/Transceiver.cpp | 38 ++++++++++++++++++++++++++++++++++++++ Transceiver52M/Transceiver.h | 1 + 2 files changed, 39 insertions(+) hooks/post-receive -- OpenBTS' transceiver retro-fit From gitosis at osmocom.org Tue Dec 16 13:13:09 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 16 Dec 2014 13:13:09 GMT Subject: osmo-bts.git branch fairwaves/master updated. 0.3.0-248-ga6ad0b4 Message-ID: <201412161313.sBGDD9Px028636@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, fairwaves/master has been updated via a6ad0b44ae45a2fd51b6a55507e8295605431e92 (commit) from d913322b474d4a7d3f359d55214c896505606917 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=a6ad0b44ae45a2fd51b6a55507e8295605431e92 commit a6ad0b44ae45a2fd51b6a55507e8295605431e92 Author: Ivan Kluchnikov Date: Tue Dec 16 16:10:37 2014 +0300 handover fix: we can receive handover rach on trx == bts->c0 ----------------------------------------------------------------------- Summary of changes: src/common/l1sap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Tue Dec 16 13:28:29 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 16 Dec 2014 13:28:29 GMT Subject: osmo-bts.git branch fairwaves/debian updated. 0.3.0-251-g28a0d6e Message-ID: <201412161328.sBGDSTpI030067@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, fairwaves/debian has been updated discards 705532b83f068a610602abe09b4f9e84d70f8ffc (commit) discards 94dcada5d24819ce6aaa3888e4e97a67cb8dce94 (commit) discards 9b3680c7bc53ee680416e847b6fe9920e45937a6 (commit) via 28a0d6e6e342e1e882ca0930c80daff7081ee18d (commit) via ce8fee2baa964dcb1b42b2f9ad0e1080eb6aabb4 (commit) via 0de292473551733229ac2947dc7ab72d6e2038bf (commit) via a6ad0b44ae45a2fd51b6a55507e8295605431e92 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (705532b83f068a610602abe09b4f9e84d70f8ffc) \ N -- N -- N (28a0d6e6e342e1e882ca0930c80daff7081ee18d) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=28a0d6e6e342e1e882ca0930c80daff7081ee18d commit 28a0d6e6e342e1e882ca0930c80daff7081ee18d Author: Ivan Kluchnikov Date: Tue Sep 23 14:34:02 2014 +0400 debian: Add gsm_data_shared.h file to make packaging possible http://cgit.osmocom.org/osmo-bts/commit/?id=ce8fee2baa964dcb1b42b2f9ad0e1080eb6aabb4 commit ce8fee2baa964dcb1b42b2f9ad0e1080eb6aabb4 Author: Ivan Kluchnikov Date: Tue Sep 23 13:49:09 2014 +0400 debian: Add debian directory to ease building packages http://cgit.osmocom.org/osmo-bts/commit/?id=0de292473551733229ac2947dc7ab72d6e2038bf commit 0de292473551733229ac2947dc7ab72d6e2038bf Author: Ivan Kluchnikov Date: Tue Sep 23 13:40:11 2014 +0400 debian: Add gsm_data_shared.c file to make packaging possible ----------------------------------------------------------------------- Summary of changes: src/common/l1sap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Tue Dec 16 14:16:16 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 16 Dec 2014 14:16:16 GMT Subject: osmo-bts.git branch master updated. 0.3.0-256-g8968b48 Message-ID: <201412161416.sBGEGGPM033928@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, master has been updated via 8968b48643686683046a0af403178960f8baf9ed (commit) via 641a9349317e7b9dec2e38b6cec02a1904267954 (commit) via 69897d7eed6dc2f992db3499bf9bfe0950f0b34a (commit) via 0d09e75f9ca09ddbfe10117f2f4caa8993eb9144 (commit) from 42cc96e2c1edb6863909ef460770bd9e0b23ad58 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=8968b48643686683046a0af403178960f8baf9ed commit 8968b48643686683046a0af403178960f8baf9ed Author: Holger Hans Peter Freyther Date: Fri Dec 12 15:17:02 2014 +0100 sysmobts: Remove unused global variables We do not need to have these variables anymore. Just remove them. http://cgit.osmocom.org/osmo-bts/commit/?id=641a9349317e7b9dec2e38b6cec02a1904267954 commit 641a9349317e7b9dec2e38b6cec02a1904267954 Author: Holger Hans Peter Freyther Date: Tue Dec 16 15:07:15 2014 +0100 sysmobts: Read the clock calibration from another place Read the clock calibration from the place that will be read by the BTS process. Use the standard eeprom code for doing that. The code assumes that this and the other eeprom code don't write/invlidate the others reason. If that assumption would not be true calls to eeprom_free_resources should be added. http://cgit.osmocom.org/osmo-bts/commit/?id=69897d7eed6dc2f992db3499bf9bfe0950f0b34a commit 69897d7eed6dc2f992db3499bf9bfe0950f0b34a Author: Holger Hans Peter Freyther Date: Tue Dec 16 11:17:41 2014 +0100 sysmobts: Don't list non integer parameters in the help The command can only read integer parameters. Don't offer buffers as this will lead to error 22. http://cgit.osmocom.org/osmo-bts/commit/?id=0d09e75f9ca09ddbfe10117f2f4caa8993eb9144 commit 0d09e75f9ca09ddbfe10117f2f4caa8993eb9144 Author: Holger Hans Peter Freyther Date: Tue Dec 16 15:01:09 2014 +0100 eeprom: Fix brown paper bag introduced a long while ago 91d204e2db8f53a6ae4827ecc4b0ccb0137375d0 while adding checks to resolve coverity issues. We simply had no one writing to the eeprom so this was unnoticed for a long time. ----------------------------------------------------------------------- Summary of changes: src/osmo-bts-sysmo/Makefile.am | 5 +++-- src/osmo-bts-sysmo/eeprom.c | 2 +- src/osmo-bts-sysmo/main.c | 2 -- src/osmo-bts-sysmo/misc/sysmobts_eeprom.h | 2 +- src/osmo-bts-sysmo/misc/sysmobts_par.c | 36 +++++++++++++++++++++++++++++-- src/osmo-bts-sysmo/misc/sysmobts_par.h | 2 ++ src/osmo-bts-sysmo/misc/sysmobts_util.c | 33 +++++++++++++++++++++------- tests/stubs.c | 2 -- 8 files changed, 66 insertions(+), 18 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Tue Dec 16 19:34:53 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 16 Dec 2014 19:34:53 GMT Subject: osmo-bts.git branch master updated. 0.3.0-259-gc265bef Message-ID: <201412161934.sBGJYr2w064645@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, master has been updated via c265bef48c414ca6c135f803c0c5dfdecbeece72 (commit) via 02a2afa962799c1519eb78cffa8877fd3da75b2e (commit) via ffc193443c177c3e41851c445c71fc1095ae2201 (commit) from 8968b48643686683046a0af403178960f8baf9ed (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=c265bef48c414ca6c135f803c0c5dfdecbeece72 commit c265bef48c414ca6c135f803c0c5dfdecbeece72 Author: Holger Hans Peter Freyther Date: Tue Dec 16 20:20:27 2014 +0100 sysmobts: Add slave on/off action for the sysmoBTS2050 Add new power actions for the sysmoBTS2050. This allows to switch off the secondary/slave when the system temperature is too high and back on when the normal level is reached. Do not allow to switch off the master (so remove the enum value), do not check if the slave is switching itself off. http://cgit.osmocom.org/osmo-bts/commit/?id=02a2afa962799c1519eb78cffa8877fd3da75b2e commit 02a2afa962799c1519eb78cffa8877fd3da75b2e Author: Holger Hans Peter Freyther Date: Tue Dec 16 19:09:30 2014 +0100 sysmobts: Comment out the varpoware options that are not implemented http://cgit.osmocom.org/osmo-bts/commit/?id=ffc193443c177c3e41851c445c71fc1095ae2201 commit ffc193443c177c3e41851c445c71fc1095ae2201 Author: Holger Hans Peter Freyther Date: Tue Dec 16 18:26:35 2014 +0100 sysmobts: Add "normal" actions to execute Instead of keeping state to remember what was done and needs to be undone this patch introduces actions that will be executed when the system is back to normal. By design the system is considered to be in the normal state and these actions will be only executed after the system is coming back to the normal state. One advantage of this scheme is that an operator can decide that an overheated systems hould be off duty and requires manual interaction to be allowed back in service. The change has only been smoke tested Fixes: SYS#833 ----------------------------------------------------------------------- Summary of changes: src/osmo-bts-sysmo/misc/sysmobts_mgr.h | 15 +++- src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c | 20 +++++ src/osmo-bts-sysmo/misc/sysmobts_mgr_temp.c | 70 +++++++++++++--- src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c | 122 ++++++++++++++++++++++++++-- src/osmo-bts-sysmo/misc/sysmobts_misc.h | 1 + 5 files changed, 211 insertions(+), 17 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Thu Dec 18 14:02:39 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 18 Dec 2014 14:02:39 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-804-g5b4c44f Message-ID: <201412181402.sBIE2d6h037059@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 363a67f814b5864ec6e28fda525a59da129792ea (commit) discards 486d80c7fee30540ddcdbc48f5901347de723c09 (commit) discards 116d9aac200398f15d408435efe492acfd51b1e1 (commit) discards 9c5fbdcc5d4a8b3822f2e5009e8a36e9c5a55d79 (commit) discards 55ef4c0f5d145cd435b8a28545643b9e48d36add (commit) discards 45666f3ee24d32b6a1f7d22a89f1394db052ff32 (commit) discards 35c839172fdc09c9a9a25bec29ad0efd9951a4fc (commit) discards d46917036068afa8eade633e63aa9542fada8e4d (commit) discards 677da180780e04b9ef9c9b21dba0a37f84f2cc86 (commit) discards 662ed57a219ae62efdf6c80f61226a7b4f6bd09d (commit) discards d26b234117c4a7fd4c3574d66a047715b136a6f7 (commit) discards e21aa8f0e5249f4fe841fccbd8ab37055636e73d (commit) via 5b4c44f4f0f902fa3762793b9a10b3392031f140 (commit) via b26b9383507a0b11db0f97c6e6e3f3b1cb403f37 (commit) via 52678bb8dcd0da85496e6351afe6f068fe94e0b6 (commit) via 16a158c64e65b0361888b6cc00e77c6e5e6afeed (commit) via fbbc4a98998840a98402f75c2caa5e0bd548e724 (commit) via 449619df45c76003b3d276b11e3ce03f57caac92 (commit) via 1083ca12326f3f51d2822371603a83eb45dbd5e8 (commit) via f49426120f298adcbacd93635a2b86042d059266 (commit) via e45cf6c991905e33bdc8e4c7d3ccd6d4c26f1c5c (commit) via 67b6f95811cfa2599e483457fcd3516b815bb7db (commit) via 28fe5af26e62e0ac770de4c2d92de6387564eb34 (commit) via d32673d270c4331682cd8f9125c8af5e4f220e78 (commit) via a0a1cfd7b31296e990c934b3606e69f5b0b0c071 (commit) via 707858260d79b533a86b4c055a980a184d3b8339 (commit) via ea8279db8b9566d8864c05e13800fa88b0cfc014 (commit) via 94b669fa7d70192eb75764d6228c0a5e2a20cede (commit) via 89d84efdeb1a26d3294a360ecbcc1ac1012742ee (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (363a67f814b5864ec6e28fda525a59da129792ea) \ N -- N -- N (5b4c44f4f0f902fa3762793b9a10b3392031f140) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=5b4c44f4f0f902fa3762793b9a10b3392031f140 commit 5b4c44f4f0f902fa3762793b9a10b3392031f140 Author: Jacob Erlbeck Date: Thu Dec 18 15:00:29 2014 +0100 sgsn: GSUP client reconnect (WIP) TODO: - basically works - commit text - when requests are lost, the SGSN is (sometimes?) in a state, where when it receives repeated Attach Req message, it sends Update Location via GSUP, receives the Res but doesn't continue with the procedure. Ticket: OW#???? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=b26b9383507a0b11db0f97c6e6e3f3b1cb403f37 commit b26b9383507a0b11db0f97c6e6e3f3b1cb403f37 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=52678bb8dcd0da85496e6351afe6f068fe94e0b6 commit 52678bb8dcd0da85496e6351afe6f068fe94e0b6 Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=16a158c64e65b0361888b6cc00e77c6e5e6afeed commit 16a158c64e65b0361888b6cc00e77c6e5e6afeed Author: Jacob Erlbeck Date: Wed Dec 17 14:03:35 2014 +0100 sgsn: Add PDP info to subscriber data (TODO) TODO: - commit message - raw binary representation ??? - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=fbbc4a98998840a98402f75c2caa5e0bd548e724 commit fbbc4a98998840a98402f75c2caa5e0bd548e724 Author: Jacob Erlbeck Date: Wed Dec 17 13:20:08 2014 +0100 sgsn: Replace subscr.authenticate by global require_authentication flag Currently the flag 'authenticate' is managed per subscriber. This patch replaces that flag by a global cfg.require_authentication flag that enables/disables the use of the Auth & Ciph procedure for every subscriber. The flag is set by the VTY, if and only if the authorization policy is 'remote'. The VTY command - update-subscriber imsi IMSI insert authenticate <0-1> is removed. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=449619df45c76003b3d276b11e3ce03f57caac92 commit 449619df45c76003b3d276b11e3ce03f57caac92 Author: Jacob Erlbeck Date: Tue Dec 16 08:41:34 2014 +0100 openbsc: Ignore generated coverage analysis files This patch adds *.gcda and *.gcno to .gitignore to skip files that are generated by gcc --coverage and related tools. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=1083ca12326f3f51d2822371603a83eb45dbd5e8 commit 1083ca12326f3f51d2822371603a83eb45dbd5e8 Author: Jacob Erlbeck Date: Thu Dec 18 12:46:47 2014 +0100 sgsn: Integrate the GSUP client into the SGSN This commit adds GSUP client configuration (via VTY), connection set up, and real message sending. The following configuration commands are added: - gsup remote-ip A.B.C.D set server IP address - gsup remote-port PORT set server TCP port Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f49426120f298adcbacd93635a2b86042d059266 commit f49426120f298adcbacd93635a2b86042d059266 Author: Jacob Erlbeck Date: Thu Dec 18 12:28:21 2014 +0100 sgsn: Add GSUP client This commit adds the client code to get subscriber information from a remote server. It provides an IPA over TCP connection to transmit and receive GSUP messages. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=e45cf6c991905e33bdc8e4c7d3ccd6d4c26f1c5c commit e45cf6c991905e33bdc8e4c7d3ccd6d4c26f1c5c Author: Jacob Erlbeck Date: Mon Dec 15 10:16:02 2014 +0100 sgsn/doc: Add IPA default parameters This commit adds the default protocol identifiers that should be used for GSUP by the IPA protocol. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=67b6f95811cfa2599e483457fcd3516b815bb7db commit 67b6f95811cfa2599e483457fcd3516b815bb7db Author: Jacob Erlbeck Date: Fri Dec 12 15:01:37 2014 +0100 gprs: Add subscriber functions to create/handle GSUP messages This patch extends gprs_subscr_query_auth_info and gprs_subscr_location_update to create GSUP messages with the help of a static gprs_subscr_tx_gsup_message function. A corresponding gprs_subscr_rx_gsup_message is added which takes a messages, gets the subscr, and updates it accordingly. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=28fe5af26e62e0ac770de4c2d92de6387564eb34 commit 28fe5af26e62e0ac770de4c2d92de6387564eb34 Author: Jacob Erlbeck Date: Thu Dec 11 16:54:14 2014 +0100 gprs: Add encoder/decoder for the Subscriber Update Protocol This patch adds functions to encode and decode GSUP messages. This does not include the layer 1 framing (IPA). The messages so far supported are: send_auth_info_*, update_location_*, location_cancellation_*. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=d32673d270c4331682cd8f9125c8af5e4f220e78 commit d32673d270c4331682cd8f9125c8af5e4f220e78 Author: Jacob Erlbeck Date: Thu Dec 11 15:14:14 2014 +0100 sgsn/doc: Add protocol specification for remote subscriber update This is the first version of the specification for the GPRS Subscriber Update Protocol. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=a0a1cfd7b31296e990c934b3606e69f5b0b0c071 commit a0a1cfd7b31296e990c934b3606e69f5b0b0c071 Author: Jacob Erlbeck Date: Thu Dec 11 12:05:29 2014 +0100 gprs: Add gprs_shift_tlv function This function is similar to gprs_match_tlv with the exception, that the tag is not compared but returned in *tag instead. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=707858260d79b533a86b4c055a980a184d3b8339 commit 707858260d79b533a86b4c055a980a184d3b8339 Author: Jacob Erlbeck Date: Thu Dec 11 11:01:46 2014 +0100 gprs: Move TLV parser functions to gprs_utils.c and rename them Currently the parser functions for single information elements are defined within gprs_gb_parse.c and not exported explicitely. In addition they are named like libosmocore's TLV parser functions and do not have a proper name prefix. Since it is planned to use them for other protocols, they need to be globally accessible. This patch moves them to gprs_utils.c and renames them. The new names are: lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed In the long term, these functions should be moved to libosmocore (and renamed again). Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ea8279db8b9566d8864c05e13800fa88b0cfc014 commit ea8279db8b9566d8864c05e13800fa88b0cfc014 Author: Jacob Erlbeck Date: Thu Dec 18 09:53:07 2014 +0100 sgsn: Add missing LF in log message Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=94b669fa7d70192eb75764d6228c0a5e2a20cede commit 94b669fa7d70192eb75764d6228c0a5e2a20cede Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Add a subscriber based authentication phase This implements the MAP way of subscriber validation when the MS tries to perform an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the Auth & Ciph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject The authentication triplet are used and eventually updated if all of them have been used. This is currently accessible via the VTY interface by the following commands: - update-subscriber imsi IMSI update-auth-info - update-subscriber imsi IMSI update-location-result (ok|ERR-CAUSE) Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=89d84efdeb1a26d3294a360ecbcc1ac1012742ee commit 89d84efdeb1a26d3294a360ecbcc1ac1012742ee Author: Jacob Erlbeck Date: Mon Dec 8 15:52:00 2014 +0100 sgsn: Add support for authentication triplets This commit add data structures, functions, initialization, and VTY commands for per subscriber authentication triplets. The following VTY command is added: - update-subscriber imsi IMSI \ insert auth-triplet <1-5> sres SRES rand RAND kc KC Note that the triplets are not really used by the SGSN yet. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/doc/sgsn-remote-protocol.txt | 70 +++++---- openbsc/include/openbsc/gprs_gsup_client.h | 10 +- openbsc/include/openbsc/gprs_sgsn.h | 2 +- openbsc/include/openbsc/sgsn.h | 2 + openbsc/src/gprs/gprs_gsup_client.c | 167 ++++++++------------- openbsc/src/gprs/gprs_gsup_messages.c | 29 +++- openbsc/src/gprs/gprs_subscriber.c | 80 ++++++++-- openbsc/src/gprs/sgsn_auth.c | 4 +- openbsc/src/gprs/sgsn_vty.c | 17 ++- openbsc/tests/gprs/gprs_test.c | 23 +-- openbsc/tests/sgsn/sgsn_test.c | 228 ++++++++++++++++++++++++++++- openbsc/tests/sgsn/sgsn_test.ok | 2 + 12 files changed, 451 insertions(+), 183 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Fri Dec 19 08:51:47 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 19 Dec 2014 08:51:47 GMT Subject: osmo-gmr.git branch sylvain/gr updated. v0.2-83-gce3c947 Message-ID: <201412190851.sBJ8ploR044878@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Software for ETSI GMR (GEO Mobile Radio)". The branch, sylvain/gr has been updated discards d534e856df4502d25fa7d36485f2efce4270f9eb (commit) discards a3edab22845fccf8e4d45ef01a4a23ce34b2cb67 (commit) discards 83e5e435bbab2661988c9da510870c312fe9b1e1 (commit) discards c8d97ee6786f9774dd204c69239e2001640e7509 (commit) discards eb977c16ea076606916e7aba5654588bc49fe193 (commit) discards e2f16292365510609e8c9b0c1c075c1efd635e7c (commit) via ce3c94735cf8cfb832868e73bca6ccae178548be (commit) via 4ad89fc9bb43e94dfae0da0af2907c746c8b209c (commit) via a681c363103ea35890b0a16d2325697ea69c08fa (commit) via 1dc9cff788933e135c139a501ee2477826128111 (commit) via 6a109c35cc2ee7f209d9f126f9f07346016d2ae8 (commit) via 2c42fab8aeea59cde5298e719e4e2a84767b07a3 (commit) via 43498b223e82cb14cdd3f8288d48c928b2974248 (commit) via ebe29d32359d0927034291d90ebc72d69fbb1606 (commit) via 3cec874ad26f8318c572dcf54de9f1026a29ea21 (commit) via 1654db12d7b2ef168d00755887c5ed6f1f6b4780 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (d534e856df4502d25fa7d36485f2efce4270f9eb) \ N -- N -- N (ce3c94735cf8cfb832868e73bca6ccae178548be) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-gmr/commit/?id=ce3c94735cf8cfb832868e73bca6ccae178548be commit ce3c94735cf8cfb832868e73bca6ccae178548be Author: Sylvain Munaut Date: Mon Oct 13 23:27:52 2014 +0200 add parser http://cgit.osmocom.org/osmo-gmr/commit/?id=4ad89fc9bb43e94dfae0da0af2907c746c8b209c commit 4ad89fc9bb43e94dfae0da0af2907c746c8b209c Author: Sylvain Munaut Date: Sun Oct 12 17:55:02 2014 +0200 updates ... http://cgit.osmocom.org/osmo-gmr/commit/?id=a681c363103ea35890b0a16d2325697ea69c08fa commit a681c363103ea35890b0a16d2325697ea69c08fa Author: Sylvain Munaut Date: Sat Oct 11 16:49:29 2014 +0200 Commit the new FFT detect code (WIP) Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmo-gmr/commit/?id=1dc9cff788933e135c139a501ee2477826128111 commit 1dc9cff788933e135c139a501ee2477826128111 Author: Sylvain Munaut Date: Sun Sep 28 16:41:44 2014 +0200 minor fix to gsmtap http://cgit.osmocom.org/osmo-gmr/commit/?id=6a109c35cc2ee7f209d9f126f9f07346016d2ae8 commit 6a109c35cc2ee7f209d9f126f9f07346016d2ae8 Author: Sylvain Munaut Date: Sun Sep 28 16:41:31 2014 +0200 gr-gmr1: Add new FFT detection code Signed-off-by: Sylvain Munaut http://cgit.osmocom.org/osmo-gmr/commit/?id=2c42fab8aeea59cde5298e719e4e2a84767b07a3 commit 2c42fab8aeea59cde5298e719e4e2a84767b07a3 Author: Sylvain Munaut Date: Sun Aug 31 22:10:41 2014 +0200 gr-gmr1: First code import Nothing really serious yet, just experimenting on how GNURadio bindings would look Signed-off-by: Sylvain Munaut ----------------------------------------------------------------------- Summary of changes: Makefile.am | 13 +++++-------- src/Makefile.am | 11 ++++++----- src/codec/Makefile.am | 1 + 3 files changed, 12 insertions(+), 13 deletions(-) hooks/post-receive -- Software for ETSI GMR (GEO Mobile Radio) From gitosis at osmocom.org Fri Dec 19 08:51:48 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 19 Dec 2014 08:51:48 GMT Subject: osmo-gmr.git branch sylvain/live updated. v0.2-78-gbe52b56 Message-ID: <201412190851.sBJ8pmIF044941@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Software for ETSI GMR (GEO Mobile Radio)". The branch, sylvain/live has been updated discards ae431b5ba7263b1997ba59f92c5ece0e9e7eee9f (commit) via be52b56a14f8b0f6cc2a939d4ca84f202d5aa361 (commit) via 43498b223e82cb14cdd3f8288d48c928b2974248 (commit) via ebe29d32359d0927034291d90ebc72d69fbb1606 (commit) via 3cec874ad26f8318c572dcf54de9f1026a29ea21 (commit) via 1654db12d7b2ef168d00755887c5ed6f1f6b4780 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (ae431b5ba7263b1997ba59f92c5ece0e9e7eee9f) \ N -- N -- N (be52b56a14f8b0f6cc2a939d4ca84f202d5aa361) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-gmr/commit/?id=be52b56a14f8b0f6cc2a939d4ca84f202d5aa361 commit be52b56a14f8b0f6cc2a939d4ca84f202d5aa361 Author: Sylvain Munaut Date: Wed Mar 14 10:48:46 2012 +0100 [hack] Add first attempt at live stream processing Signed-off-by: Sylvain Munaut ----------------------------------------------------------------------- Summary of changes: Makefile.am | 13 +++++-------- src/Makefile.am | 17 +++++++++-------- src/codec/Makefile.am | 1 + 3 files changed, 15 insertions(+), 16 deletions(-) hooks/post-receive -- Software for ETSI GMR (GEO Mobile Radio) From gitosis at osmocom.org Fri Dec 19 08:52:08 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 19 Dec 2014 08:52:08 GMT Subject: osmo-gmr.git branch master updated. v0.2-77-g43498b2 Message-ID: <201412190852.sBJ8q85m045025@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Software for ETSI GMR (GEO Mobile Radio)". The branch, master has been updated via 43498b223e82cb14cdd3f8288d48c928b2974248 (commit) from ebe29d32359d0927034291d90ebc72d69fbb1606 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: src/Makefile.am | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) hooks/post-receive -- Software for ETSI GMR (GEO Mobile Radio) From gitosis at osmocom.org Fri Dec 19 16:08:20 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 19 Dec 2014 16:08:20 GMT Subject: libosmo-abis.git branch master updated. 0.3.0-3-g687046b Message-ID: <201412191608.sBJG8KWt082649@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom A-bis protcol interface library". The branch, master has been updated via 687046ba2f0527456ae47365a9709fc939fdaf48 (commit) from 37fcd93a508b52f6f33bf47191bba41cb7367b0d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmo-abis/commit/?id=687046ba2f0527456ae47365a9709fc939fdaf48 commit 687046ba2f0527456ae47365a9709fc939fdaf48 Author: Holger Hans Peter Freyther Date: Fri Dec 12 17:39:58 2014 +0100 ipa: Set the BSC_FD_WRITE in ipa_client_conn_open When the link is being created BSC_FD_WRITE and BSC_FD_READ are being ored into the flag. When the socket connects the first time the ipa_client_fd_cb function is called and the link->state is moved from connecting to connect. In case the connection drops and ipa_client_conn_open is called again the BSC_FD_WRITE flag might not be set. This means that after the socket is connected, ipa_client_fd_cb will not be called. This means that the updown_cb will not be called until after the first write or read on the socket. It might even lead to missing some data. When re-connecting set the write flag again. ----------------------------------------------------------------------- Summary of changes: src/input/ipa.c | 1 + 1 file changed, 1 insertion(+) hooks/post-receive -- Osmocom A-bis protcol interface library From gitosis at osmocom.org Fri Dec 19 18:20:20 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 19 Dec 2014 18:20:20 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-816-g35aa453 Message-ID: <201412191820.sBJIKKv2094454@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated via 35aa453126a061ad6fa06e0ea86969529de9cd28 (commit) via b26e659a088ad866c56eb3397bc8aff0a7350640 (commit) via 318bcda0c07c4bc3c3be6d622ce312faa1b5a6a5 (commit) via 392c4754e2ddd572ac1d1c2ed80cf481b1c63ee8 (commit) via 34887ace4d92eed6c478c44add5056e93e695d2e (commit) via b3116782778dc8125e232fb2808a523782ab30af (commit) via 637ba7592e37ffe1bf8053bd7e56ad48b1347fb7 (commit) via b908f5b672827402e59af33a03e9df1350e0453b (commit) via 407bff0c6e0c607f8e7d5ec6e0a093df57284707 (commit) via c1b63debaa95506b9e0ca066c0f93d6d00b07967 (commit) via 4a73b1aed68590370fbeb9bc0ec5b7bf7daa8300 (commit) via 4e8f42720a530fca0a44f761990b64bb77446ddb (commit) from 5b4c44f4f0f902fa3762793b9a10b3392031f140 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=35aa453126a061ad6fa06e0ea86969529de9cd28 commit 35aa453126a061ad6fa06e0ea86969529de9cd28 Author: Jacob Erlbeck Date: Fri Dec 19 19:19:46 2014 +0100 sgsn: Show GSUP client info on 'show sgsn' (TODO) Ticket: OW#???? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=b26e659a088ad866c56eb3397bc8aff0a7350640 commit b26e659a088ad866c56eb3397bc8aff0a7350640 Author: Jacob Erlbeck Date: Fri Dec 19 19:18:54 2014 +0100 sgsn: Send PING and eventually reconnect (TODO) Ticket: OW#???? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=318bcda0c07c4bc3c3be6d622ce312faa1b5a6a5 commit 318bcda0c07c4bc3c3be6d622ce312faa1b5a6a5 Author: Jacob Erlbeck Date: Fri Dec 19 19:15:55 2014 +0100 sgsn: Handle incoming IPA CCM message in gsup_client_read_cb (TODO) This patch adds a call to ipaccess_bts_handle_ccm and continues depending on the return code. TODO: - commit message (what changes this?) Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=392c4754e2ddd572ac1d1c2ed80cf481b1c63ee8 commit 392c4754e2ddd572ac1d1c2ed80cf481b1c63ee8 Author: Jacob Erlbeck Date: Fri Dec 19 19:11:20 2014 +0100 sgsn: Add logging to connect_timer_cb (TODO) TODO: - LOGLevel ? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=34887ace4d92eed6c478c44add5056e93e695d2e commit 34887ace4d92eed6c478c44add5056e93e695d2e Author: Jacob Erlbeck Date: Fri Dec 19 19:00:56 2014 +0100 sgsn: Handle return code of ipa_client_conn_open correctly The ipa_client_conn_open function does not distinguish between a connection being already established or waiting for establishment. In either case, the application gets informed about the connection state via the updown_cb. The 'up' parameter is only set, if poll/select consider the socket as writable. This patch handles both cases equally and fully relies on the updown_cb to adjust the gsupc obejct state. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=b3116782778dc8125e232fb2808a523782ab30af commit b3116782778dc8125e232fb2808a523782ab30af Author: Jacob Erlbeck Date: Fri Dec 19 18:50:05 2014 +0100 sgsn: Avoid sending stale GSUP requests after reconnect Currently, messages are added to the tx queue even if the connection is down for some reason and all of these messages are eventually sent after a re-connect. The MS has probably sent several Attach Requests while the connection was down and will continue doing so. Therefore these stored messages could be dropped. This patch clears the queue before re-connecting and also extends gprs_gsup_client_send to return immediately, when the connection is not established instead of calling ipa_client_conn_send. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=637ba7592e37ffe1bf8053bd7e56ad48b1347fb7 commit 637ba7592e37ffe1bf8053bd7e56ad48b1347fb7 Author: Jacob Erlbeck Date: Fri Dec 19 18:43:41 2014 +0100 gprs: Stop the GSUP client connect timer Currently the connection timer is not stopped before reconnect before calling talloc_free on the gsupc object. This patch adds calls to osmo_timer_del() to gsup_client_connect and gprs_gsup_client_destroy. The latter is now called instead of talloc_free in gprs_gsup_client_create on error to be on the safe side. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=b908f5b672827402e59af33a03e9df1350e0453b commit b908f5b672827402e59af33a03e9df1350e0453b Author: Jacob Erlbeck Date: Fri Dec 19 18:30:41 2014 +0100 sgsn/test: Extend tests to simulate lost GSUP requests This patch extends test_gmm_attach to optionally resend Attach Requests until the SGSN responds to it instead of calling OSMO_ASSERT at a few places. The test_gmm_attach_subscr_gsup_auth test optionally uses this feature. It is called once in either mode. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=407bff0c6e0c607f8e7d5ec6e0a093df57284707 commit 407bff0c6e0c607f8e7d5ec6e0a093df57284707 Author: Jacob Erlbeck Date: Fri Dec 19 18:26:09 2014 +0100 sgsn/test: Add GMM test for a GSUP based attach procedure This test calls test_gmm_attach() where the mocked subscriber functions insert GSUP messages instead of manipulating the subscriber structure directly. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=c1b63debaa95506b9e0ca066c0f93d6d00b07967 commit c1b63debaa95506b9e0ca066c0f93d6d00b07967 Author: Jacob Erlbeck Date: Fri Dec 19 18:19:50 2014 +0100 sgsn/test: Add wrapper for gprs_subscr_rx_gsup_message Currently, several lines of boiler plate are needed around a call to gprs_subscr_rx_gsup_message. This patch puts all of this (including the call to gprs_subscr_rx_gsup_message) into a separate function. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=4a73b1aed68590370fbeb9bc0ec5b7bf7daa8300 commit 4a73b1aed68590370fbeb9bc0ec5b7bf7daa8300 Author: Jacob Erlbeck Date: Fri Dec 19 18:17:10 2014 +0100 sgsn: Log requested state change in sgsn_auth_update Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=4e8f42720a530fca0a44f761990b64bb77446ddb commit 4e8f42720a530fca0a44f761990b64bb77446ddb Author: Jacob Erlbeck Date: Fri Dec 19 18:08:48 2014 +0100 sgsn: Add global require_update_location flag This flag is used to determine, whether the Update Location procedure shall be invoked. This is currently only set, when the 'remote' authorization policy is set. When the flag is set, sgsn_auth_update will not never be called directly by sgsn_auth_request, if an Attach Request procedure is pending, even if the remote connection fails for some reason. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gprs_gsup_client.h | 2 + openbsc/include/openbsc/sgsn.h | 1 + openbsc/src/gprs/gprs_gsup_client.c | 125 +++++++++++++++++++-- openbsc/src/gprs/sgsn_auth.c | 18 ++- openbsc/src/gprs/sgsn_vty.c | 12 ++ openbsc/tests/sgsn/sgsn_test.c | 171 +++++++++++++++++++++++------ 6 files changed, 278 insertions(+), 51 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Sat Dec 20 14:22:24 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 20 Dec 2014 14:22:24 GMT Subject: osmo-pcu.git branch master updated. 0.2-371-g49f26bf Message-ID: <201412201422.sBKEMOpg043545@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "UNNAMED PROJECT". The branch, master has been updated via 49f26bf6e8285cd99f7e5d71d9f902f10b9212a1 (commit) from 07e39302ecc1fc995f3b9fee5d867ea771621474 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-pcu/commit/?id=49f26bf6e8285cd99f7e5d71d9f902f10b9212a1 commit 49f26bf6e8285cd99f7e5d71d9f902f10b9212a1 Author: Holger Hans Peter Freyther Date: Sat Dec 20 15:21:43 2014 +0100 Fix VTY documentation Documentation error (missing docs): ----------------------------------------------------------------------- Summary of changes: src/pcu_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Mon Dec 22 11:22:37 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 11:22:37 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-815-gcbfe8ef Message-ID: <201412221122.sBMBMbvt020417@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 35aa453126a061ad6fa06e0ea86969529de9cd28 (commit) discards b26e659a088ad866c56eb3397bc8aff0a7350640 (commit) discards 318bcda0c07c4bc3c3be6d622ce312faa1b5a6a5 (commit) discards 392c4754e2ddd572ac1d1c2ed80cf481b1c63ee8 (commit) discards 34887ace4d92eed6c478c44add5056e93e695d2e (commit) discards b3116782778dc8125e232fb2808a523782ab30af (commit) discards 637ba7592e37ffe1bf8053bd7e56ad48b1347fb7 (commit) discards b908f5b672827402e59af33a03e9df1350e0453b (commit) discards 407bff0c6e0c607f8e7d5ec6e0a093df57284707 (commit) discards c1b63debaa95506b9e0ca066c0f93d6d00b07967 (commit) discards 4a73b1aed68590370fbeb9bc0ec5b7bf7daa8300 (commit) discards 4e8f42720a530fca0a44f761990b64bb77446ddb (commit) discards 5b4c44f4f0f902fa3762793b9a10b3392031f140 (commit) discards b26b9383507a0b11db0f97c6e6e3f3b1cb403f37 (commit) discards 52678bb8dcd0da85496e6351afe6f068fe94e0b6 (commit) discards 16a158c64e65b0361888b6cc00e77c6e5e6afeed (commit) via cbfe8ef90a319af5d79b9daf71d2b9b7724b6b8e (commit) via f3c47fa3d806c03ded03db2df066d99d02746eb6 (commit) via 27615b08821ce28274781c0fdeb3b346790f48f9 (commit) via de8cc00347b8a7a6f84a118061ff12f692e13c6b (commit) via 64565a42bd0671a0a76ff52067b3f89e84580f88 (commit) via d3d8ad8fb942a09b9181d4af4fd1b253228f016a (commit) via ca4cd173b7c5967d07f54361516431391c6ec246 (commit) via a53f256fc4c60ddc248c706ac78937fdc4bb4626 (commit) via ea14a214ce3d0113eb2568d5c1b25c36b43a4c52 (commit) via afdd20dfb0dfc744ce36a36bb701ff7e5292886c (commit) via c88796ae5543f4ef44cffd818abec4e357606737 (commit) via fac8bf97e1efb4edabcd7d216d2077a8e7860517 (commit) via 5276257deb22cbb21d9412c5f4314f852dd22e64 (commit) via 53031a102b78d5d24ee0bb533062fe35bdf5fd7b (commit) via 1ede9ba708b25479c3d339d3275a33996f032ae4 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (35aa453126a061ad6fa06e0ea86969529de9cd28) \ N -- N -- N (cbfe8ef90a319af5d79b9daf71d2b9b7724b6b8e) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=cbfe8ef90a319af5d79b9daf71d2b9b7724b6b8e commit cbfe8ef90a319af5d79b9daf71d2b9b7724b6b8e Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f3c47fa3d806c03ded03db2df066d99d02746eb6 commit f3c47fa3d806c03ded03db2df066d99d02746eb6 Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=27615b08821ce28274781c0fdeb3b346790f48f9 commit 27615b08821ce28274781c0fdeb3b346790f48f9 Author: Jacob Erlbeck Date: Wed Dec 17 14:03:35 2014 +0100 sgsn: Add PDP info to subscriber data (TODO) TODO: - commit message - raw binary representation ??? - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=de8cc00347b8a7a6f84a118061ff12f692e13c6b commit de8cc00347b8a7a6f84a118061ff12f692e13c6b Author: Jacob Erlbeck Date: Fri Dec 19 19:11:20 2014 +0100 sgsn: Add logging to connect_timer_cb (TODO) TODO: - LOGLevel ? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=64565a42bd0671a0a76ff52067b3f89e84580f88 commit 64565a42bd0671a0a76ff52067b3f89e84580f88 Author: Jacob Erlbeck Date: Fri Dec 19 19:19:46 2014 +0100 sgsn: Show GSUP client info on 'show sgsn' This commit adds a line to the output of 'show sgsn' if the GSUP client has been initialized: - Remote authorization: [not] connected to HOST:PORT via GSUP Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=d3d8ad8fb942a09b9181d4af4fd1b253228f016a commit d3d8ad8fb942a09b9181d4af4fd1b253228f016a Author: Jacob Erlbeck Date: Fri Dec 19 19:18:54 2014 +0100 sgsn: Send PING and eventually reconnect Currently, the reconnect mechanism relies on gsup_client_updown_cb which in turn gets called based on the OS' view of connection state. This patch adds a timer based PING mechanism that regularly sends PING messages and forces a reconnect if a PONG message won't be received until the next PING message is scheduled. The current ping interval is 20s. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ca4cd173b7c5967d07f54361516431391c6ec246 commit ca4cd173b7c5967d07f54361516431391c6ec246 Author: Jacob Erlbeck Date: Fri Dec 19 19:15:55 2014 +0100 sgsn: Handle incoming IPA CCM message in gsup_client_read_cb Currently the IPA CCM messages are not handled by the GSUP client. This means, that the client doesn't answer to PING and ID_GET and logs notices when receiving PONG or ID_ACK. At least the PING functionality (remotely originated PING) shall be supported. This patch extends gsup_client_read_cb by a call to ipaccess_bts_handle_ccm. Only when the return code is 0, the message is processed further and checked for an OSMO/GSUP message. ID_GET messages are answered by a dummy description, where only the unit_name is set to 'SGSN'. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=a53f256fc4c60ddc248c706ac78937fdc4bb4626 commit a53f256fc4c60ddc248c706ac78937fdc4bb4626 Author: Jacob Erlbeck Date: Fri Dec 19 19:00:56 2014 +0100 sgsn: Handle return code of ipa_client_conn_open correctly The ipa_client_conn_open function does not distinguish between a connection being already established or waiting for establishment. In either case, the application gets informed about the connection state via the updown_cb. The 'up' parameter is only set, if poll/select consider the socket as writable. This patch handles both cases equally and fully relies on the updown_cb to adjust the gsupc obejct state. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ea14a214ce3d0113eb2568d5c1b25c36b43a4c52 commit ea14a214ce3d0113eb2568d5c1b25c36b43a4c52 Author: Jacob Erlbeck Date: Fri Dec 19 18:50:05 2014 +0100 sgsn: Avoid sending stale GSUP requests after reconnect Currently, messages are added to the tx queue even if the connection is down for some reason and all of these messages are eventually sent after a re-connect. The MS has probably sent several Attach Requests while the connection was down and will continue doing so. Therefore these stored messages could be dropped. This patch clears the queue before re-connecting and also extends gprs_gsup_client_send to return immediately, when the connection is not established instead of calling ipa_client_conn_send. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=afdd20dfb0dfc744ce36a36bb701ff7e5292886c commit afdd20dfb0dfc744ce36a36bb701ff7e5292886c Author: Jacob Erlbeck Date: Thu Dec 18 15:00:29 2014 +0100 sgsn: Add automatic re-connect if the GSUP connection is down Currently the GSUP connection to a server is not restarted if the connection cannot be established or is terminated during operation. This commit adds a timer based connection mechanism, basically consisting of a timer callback that calls gsup_client_connect. The timer is eventually triggered (up == 0) or cleared (up != 0) by gsup_client_updown_cb. It adds calls to osmo_timer_del() to gsup_client_connect and gprs_gsup_client_destroy. The latter is now called instead of talloc_free in gprs_gsup_client_create on error to be on the safe side. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=c88796ae5543f4ef44cffd818abec4e357606737 commit c88796ae5543f4ef44cffd818abec4e357606737 Author: Jacob Erlbeck Date: Fri Dec 19 18:30:41 2014 +0100 sgsn/test: Extend tests to simulate lost GSUP requests This patch extends test_gmm_attach to optionally resend Attach Requests until the SGSN responds to it instead of calling OSMO_ASSERT at a few places. The test_gmm_attach_subscr_gsup_auth test optionally uses this feature. It is called once in either mode. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=fac8bf97e1efb4edabcd7d216d2077a8e7860517 commit fac8bf97e1efb4edabcd7d216d2077a8e7860517 Author: Jacob Erlbeck Date: Fri Dec 19 18:26:09 2014 +0100 sgsn/test: Add GMM test for a GSUP based attach procedure This test calls test_gmm_attach() where the mocked subscriber functions insert GSUP messages instead of manipulating the subscriber structure directly. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=5276257deb22cbb21d9412c5f4314f852dd22e64 commit 5276257deb22cbb21d9412c5f4314f852dd22e64 Author: Jacob Erlbeck Date: Fri Dec 19 18:19:50 2014 +0100 sgsn/test: Add wrapper for gprs_subscr_rx_gsup_message Currently, several lines of boiler plate are needed around a call to gprs_subscr_rx_gsup_message. This patch puts all of this (including the call to gprs_subscr_rx_gsup_message) into a separate function. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=53031a102b78d5d24ee0bb533062fe35bdf5fd7b commit 53031a102b78d5d24ee0bb533062fe35bdf5fd7b Author: Jacob Erlbeck Date: Fri Dec 19 18:17:10 2014 +0100 sgsn: Log requested state change in sgsn_auth_update Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=1ede9ba708b25479c3d339d3275a33996f032ae4 commit 1ede9ba708b25479c3d339d3275a33996f032ae4 Author: Jacob Erlbeck Date: Fri Dec 19 18:08:48 2014 +0100 sgsn: Add global require_update_location flag This flag is used to determine, whether the Update Location procedure shall be invoked. This is currently only set, when the 'remote' authorization policy is set. When the flag is set, sgsn_auth_update will not never be called directly by sgsn_auth_request, if an Attach Request procedure is pending, even if the remote connection fails for some reason. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/tests/sgsn/sgsn_test.ok | 2 ++ 1 file changed, 2 insertions(+) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 22 11:56:34 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 11:56:34 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-815-g72b5499 Message-ID: <201412221156.sBMBuYrb023165@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards cbfe8ef90a319af5d79b9daf71d2b9b7724b6b8e (commit) discards f3c47fa3d806c03ded03db2df066d99d02746eb6 (commit) discards 27615b08821ce28274781c0fdeb3b346790f48f9 (commit) discards de8cc00347b8a7a6f84a118061ff12f692e13c6b (commit) discards 64565a42bd0671a0a76ff52067b3f89e84580f88 (commit) discards d3d8ad8fb942a09b9181d4af4fd1b253228f016a (commit) discards ca4cd173b7c5967d07f54361516431391c6ec246 (commit) discards a53f256fc4c60ddc248c706ac78937fdc4bb4626 (commit) discards ea14a214ce3d0113eb2568d5c1b25c36b43a4c52 (commit) discards afdd20dfb0dfc744ce36a36bb701ff7e5292886c (commit) discards c88796ae5543f4ef44cffd818abec4e357606737 (commit) discards fac8bf97e1efb4edabcd7d216d2077a8e7860517 (commit) discards 5276257deb22cbb21d9412c5f4314f852dd22e64 (commit) discards 53031a102b78d5d24ee0bb533062fe35bdf5fd7b (commit) discards 1ede9ba708b25479c3d339d3275a33996f032ae4 (commit) discards fbbc4a98998840a98402f75c2caa5e0bd548e724 (commit) discards 449619df45c76003b3d276b11e3ce03f57caac92 (commit) discards 1083ca12326f3f51d2822371603a83eb45dbd5e8 (commit) via 72b54994d68d89ff2cccf3e113d92ebbe0f7ca17 (commit) via 8a429f4242565cb7b93fe2339ce79b25a0206ca4 (commit) via cc010b38444238f3492b8863c50d58b43b141c34 (commit) via 84d82ddbc66ae37a8e275bd4be7d317133d63a4a (commit) via a50c77163fc84dab5d137cbfe06335571387fbf1 (commit) via fed0c790379929813407108618db7b7143e7be97 (commit) via 8efcafd1bd5f825d2e88c8e0ded1e16e9107ca6b (commit) via 468eebefdd5e98748c47891c381e0a91b27b8161 (commit) via cebc8b091949338b11c69b0d5ec090bc80773ac5 (commit) via e70c27ff1174bd43c95ce1f18e64b7ced20889f7 (commit) via 6dad5dfb86f36ba9ef152cab8f1116ed8b9ed85e (commit) via ae361bf3597f208e36c248b1481e1a52cb163089 (commit) via a284f119e360d69805a355f13e037a56a4b61613 (commit) via b48e6dd0919fca3a2d311a1fd4bb422f4dfba1c7 (commit) via 6484925e96df54873ce2e3eb3b44bd2db86a4341 (commit) via 8d3c3c7b8be945b303d221e689e49f07ddeede43 (commit) via 55c141829282d7c367922a5ff3505c5671b37015 (commit) via 35a058d09e0dcdabf2887608c7e38a73413b7fb1 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (cbfe8ef90a319af5d79b9daf71d2b9b7724b6b8e) \ N -- N -- N (72b54994d68d89ff2cccf3e113d92ebbe0f7ca17) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=72b54994d68d89ff2cccf3e113d92ebbe0f7ca17 commit 72b54994d68d89ff2cccf3e113d92ebbe0f7ca17 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=8a429f4242565cb7b93fe2339ce79b25a0206ca4 commit 8a429f4242565cb7b93fe2339ce79b25a0206ca4 Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=cc010b38444238f3492b8863c50d58b43b141c34 commit cc010b38444238f3492b8863c50d58b43b141c34 Author: Jacob Erlbeck Date: Wed Dec 17 14:03:35 2014 +0100 sgsn: Add PDP info to subscriber data (TODO) TODO: - commit message - raw binary representation ??? - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=84d82ddbc66ae37a8e275bd4be7d317133d63a4a commit 84d82ddbc66ae37a8e275bd4be7d317133d63a4a Author: Jacob Erlbeck Date: Fri Dec 19 19:11:20 2014 +0100 sgsn: Add logging to connect_timer_cb (TODO) TODO: - LOGLevel ? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=a50c77163fc84dab5d137cbfe06335571387fbf1 commit a50c77163fc84dab5d137cbfe06335571387fbf1 Author: Jacob Erlbeck Date: Fri Dec 19 19:19:46 2014 +0100 sgsn: Show GSUP client info on 'show sgsn' This commit adds a line to the output of 'show sgsn' if the GSUP client has been initialized: - Remote authorization: [not] connected to HOST:PORT via GSUP Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=fed0c790379929813407108618db7b7143e7be97 commit fed0c790379929813407108618db7b7143e7be97 Author: Jacob Erlbeck Date: Fri Dec 19 19:18:54 2014 +0100 sgsn: Send PING and eventually reconnect Currently, the reconnect mechanism relies on gsup_client_updown_cb which in turn gets called based on the OS' view of connection state. This patch adds a timer based PING mechanism that regularly sends PING messages and forces a reconnect if a PONG message won't be received until the next PING message is scheduled. The current ping interval is 20s. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=8efcafd1bd5f825d2e88c8e0ded1e16e9107ca6b commit 8efcafd1bd5f825d2e88c8e0ded1e16e9107ca6b Author: Jacob Erlbeck Date: Fri Dec 19 19:15:55 2014 +0100 sgsn: Handle incoming IPA CCM message in gsup_client_read_cb Currently the IPA CCM messages are not handled by the GSUP client. This means, that the client doesn't answer to PING and ID_GET and logs notices when receiving PONG or ID_ACK. At least the PING functionality (remotely originated PING) shall be supported. This patch extends gsup_client_read_cb by a call to ipaccess_bts_handle_ccm. Only when the return code is 0, the message is processed further and checked for an OSMO/GSUP message. ID_GET messages are answered by a dummy description, where only the unit_name is set to 'SGSN'. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=468eebefdd5e98748c47891c381e0a91b27b8161 commit 468eebefdd5e98748c47891c381e0a91b27b8161 Author: Jacob Erlbeck Date: Fri Dec 19 19:00:56 2014 +0100 sgsn: Handle return code of ipa_client_conn_open correctly The ipa_client_conn_open function does not distinguish between a connection being already established or waiting for establishment. In either case, the application gets informed about the connection state via the updown_cb. The 'up' parameter is only set, if poll/select consider the socket as writable. This patch handles both cases equally and fully relies on the updown_cb to adjust the gsupc obejct state. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=cebc8b091949338b11c69b0d5ec090bc80773ac5 commit cebc8b091949338b11c69b0d5ec090bc80773ac5 Author: Jacob Erlbeck Date: Fri Dec 19 18:50:05 2014 +0100 sgsn: Avoid sending stale GSUP requests after reconnect Currently, messages are added to the tx queue even if the connection is down for some reason and all of these messages are eventually sent after a re-connect. The MS has probably sent several Attach Requests while the connection was down and will continue doing so. Therefore these stored messages could be dropped. This patch clears the queue before re-connecting and also extends gprs_gsup_client_send to return immediately, when the connection is not established instead of calling ipa_client_conn_send. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=e70c27ff1174bd43c95ce1f18e64b7ced20889f7 commit e70c27ff1174bd43c95ce1f18e64b7ced20889f7 Author: Jacob Erlbeck Date: Thu Dec 18 15:00:29 2014 +0100 sgsn: Add automatic re-connect if the GSUP connection is down Currently the GSUP connection to a server is not restarted if the connection cannot be established or is terminated during operation. This commit adds a timer based connection mechanism, basically consisting of a timer callback that calls gsup_client_connect. The timer is eventually triggered (up == 0) or cleared (up != 0) by gsup_client_updown_cb. It adds calls to osmo_timer_del() to gsup_client_connect and gprs_gsup_client_destroy. The latter is now called instead of talloc_free in gprs_gsup_client_create on error to be on the safe side. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=6dad5dfb86f36ba9ef152cab8f1116ed8b9ed85e commit 6dad5dfb86f36ba9ef152cab8f1116ed8b9ed85e Author: Jacob Erlbeck Date: Fri Dec 19 18:30:41 2014 +0100 sgsn/test: Extend tests to simulate lost GSUP requests This patch extends test_gmm_attach to optionally resend Attach Requests until the SGSN responds to it instead of calling OSMO_ASSERT at a few places. The test_gmm_attach_subscr_gsup_auth test optionally uses this feature. It is called once in either mode. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ae361bf3597f208e36c248b1481e1a52cb163089 commit ae361bf3597f208e36c248b1481e1a52cb163089 Author: Jacob Erlbeck Date: Fri Dec 19 18:26:09 2014 +0100 sgsn/test: Add GMM test for a GSUP based attach procedure This test calls test_gmm_attach() where the mocked subscriber functions insert GSUP messages instead of manipulating the subscriber structure directly. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=a284f119e360d69805a355f13e037a56a4b61613 commit a284f119e360d69805a355f13e037a56a4b61613 Author: Jacob Erlbeck Date: Fri Dec 19 18:19:50 2014 +0100 sgsn/test: Add wrapper for gprs_subscr_rx_gsup_message Currently, several lines of boiler plate are needed around a call to gprs_subscr_rx_gsup_message. This patch puts all of this (including the call to gprs_subscr_rx_gsup_message) into a separate function. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=b48e6dd0919fca3a2d311a1fd4bb422f4dfba1c7 commit b48e6dd0919fca3a2d311a1fd4bb422f4dfba1c7 Author: Jacob Erlbeck Date: Fri Dec 19 18:17:10 2014 +0100 sgsn: Log requested state change in sgsn_auth_update Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=6484925e96df54873ce2e3eb3b44bd2db86a4341 commit 6484925e96df54873ce2e3eb3b44bd2db86a4341 Author: Jacob Erlbeck Date: Fri Dec 19 18:08:48 2014 +0100 sgsn: Add global require_update_location flag This flag is used to determine, whether the Update Location procedure shall be invoked. This is currently only set, when the 'remote' authorization policy is set. When the flag is set, sgsn_auth_update will not never be called directly by sgsn_auth_request, if an Attach Request procedure is pending, even if the remote connection fails for some reason. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=8d3c3c7b8be945b303d221e689e49f07ddeede43 commit 8d3c3c7b8be945b303d221e689e49f07ddeede43 Author: Jacob Erlbeck Date: Wed Dec 17 13:20:08 2014 +0100 sgsn: Replace subscr.authenticate by global require_authentication flag Currently the flag 'authenticate' is managed per subscriber. This patch replaces that flag by a global cfg.require_authentication flag that enables/disables the use of the Auth & Ciph procedure for every subscriber. The flag is set by the VTY, if and only if the authorization policy is 'remote'. The VTY command - update-subscriber imsi IMSI insert authenticate <0-1> is removed. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=55c141829282d7c367922a5ff3505c5671b37015 commit 55c141829282d7c367922a5ff3505c5671b37015 Author: Jacob Erlbeck Date: Tue Dec 16 08:41:34 2014 +0100 openbsc: Ignore generated coverage analysis files This patch adds *.gcda and *.gcno to .gitignore to skip files that are generated by gcc --coverage and related tools. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=35a058d09e0dcdabf2887608c7e38a73413b7fb1 commit 35a058d09e0dcdabf2887608c7e38a73413b7fb1 Author: Jacob Erlbeck Date: Thu Dec 18 12:46:47 2014 +0100 sgsn: Integrate the GSUP client into the SGSN This commit adds GSUP client configuration (via VTY), connection set up, and real message sending. The following configuration commands are added: - gsup remote-ip A.B.C.D set server IP address - gsup remote-port PORT set server TCP port Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/src/gprs/gprs_subscriber.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 22 13:40:57 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 13:40:57 GMT Subject: openbsc.git branch master updated. 0.13.0-791-g22fd3cd Message-ID: <201412221340.sBMDevNN032066@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 22fd3cd0de098de3816d687e41d42fe551412a33 (commit) via d30ed6b6f2d8eb56a035354694d12f4395103edc (commit) via f7e23c5ff7d28c985d6c1e6d1dc0b9e8f5895a30 (commit) via c22930e24b8d61cecb1fa7c46fd5dc96355d4978 (commit) from 27ca0436ace88d6f39348a62ba92f76468c420d4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=22fd3cd0de098de3816d687e41d42fe551412a33 commit 22fd3cd0de098de3816d687e41d42fe551412a33 Author: Holger Hans Peter Freyther Date: Thu Dec 18 18:31:54 2014 +0100 ho: Copy the multirate config to the new lchan The new lchan will be in speech mode already but for AMR we will need to provide a working multirate config in the channel activation, otherwise the channel act might be nacked. Copy the config from the current lchan into the new lchan. The abis code simply added the mrconf if the speech mode was amr. Before this commit the invalidate mrconf with all zeroes was copied/sent. http://cgit.osmocom.org/openbsc/commit/?id=d30ed6b6f2d8eb56a035354694d12f4395103edc commit d30ed6b6f2d8eb56a035354694d12f4395103edc Author: Holger Hans Peter Freyther Date: Wed Dec 17 21:21:36 2014 +0100 ho: Make sure the timer is always stopped In case of a ho_chan_activ_nack (sent due another bug inside both sysmobts and openbsc) the code would not stop the timer but free the datastructure. This can lead to a clear segfault when the timer has expired. Create a "free" function which is responsible to detach the handover structure, stop the timer (which is idempotent) and free the structure. http://cgit.osmocom.org/openbsc/commit/?id=f7e23c5ff7d28c985d6c1e6d1dc0b9e8f5895a30 commit f7e23c5ff7d28c985d6c1e6d1dc0b9e8f5895a30 Author: Holger Hans Peter Freyther Date: Wed Dec 17 15:44:32 2014 +0100 bts: When one link drops.. check what needs to be dropped In case a BTS is dropped, iterate over the list of BTS and check if a dependency is now missing and then drop the BTS. This check could lead to check of 256*256 checks (e.g. all BTS on each other in the chain and the master is being dropped). The performance aspect of it doesn't matter for our usecase. We expect to have pairs of BTS right now. http://cgit.osmocom.org/openbsc/commit/?id=c22930e24b8d61cecb1fa7c46fd5dc96355d4978 commit c22930e24b8d61cecb1fa7c46fd5dc96355d4978 Author: Holger Hans Peter Freyther Date: Wed Dec 17 14:46:17 2014 +0100 bts: Add some simple dependency between different BTS E.g. for the sysmoBTS2050 we have the requirement that the first board connects before the second due clocking. The easiest point to enforce this is the BSC. Add a simple bitmask based system to allow to express dependencies for IP based systems. ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gsm_data.h | 6 +++ openbsc/include/openbsc/gsm_data_shared.h | 3 ++ openbsc/src/libbsc/bsc_vty.c | 63 +++++++++++++++++++++++++++++++ openbsc/src/libbsc/bts_ipaccess_nanobts.c | 23 +++++++++++ openbsc/src/libbsc/handover_logic.c | 31 ++++++++------- openbsc/src/libcommon/gsm_data.c | 58 ++++++++++++++++++++++++++++ 6 files changed, 170 insertions(+), 14 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 22 13:48:14 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 13:48:14 GMT Subject: libosmocore.git branch master updated. 0.7.0-88-ga6be224 Message-ID: <201412221348.sBMDmEe2032809@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, master has been updated via a6be224b889baa8aecc4e7247e596583bbcfc8cb (commit) via 3cd6753a1135b89e4665c78d18650f9addc1e874 (commit) from 4448048828db597aa99729b2b437986f59722c0e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=a6be224b889baa8aecc4e7247e596583bbcfc8cb commit a6be224b889baa8aecc4e7247e596583bbcfc8cb Author: Jacob Erlbeck Date: Mon Dec 22 10:58:46 2014 +0100 ipa: Return -errno instead of -1 in ipa_send Currently, the ipa_send function returns -1 in one execution branch to indicate an error and -EIO in another. This is not consistent and can lead to a misinterpretation of the error code, since -1 is -EPERM and in general, EPERM is not returned by write(2). This patch changes the return code to -errno instead of -1 for the case that write(2) fails for same reason. So -rc is always a sensible error value if there is a failure. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/libosmocore/commit/?id=3cd6753a1135b89e4665c78d18650f9addc1e874 commit 3cd6753a1135b89e4665c78d18650f9addc1e874 Author: Jacob Erlbeck Date: Mon Dec 22 10:58:45 2014 +0100 ipa: Add forward declaration of struct osmo_fd A pointer to struct osmo_fd is used in a few prototypes declared in gsm/ipa.h, but is neither declared explicitly nor is such a declaration reachable via the given include directives. This patch adds a forward declaration of this type to ensure proper compilation. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: include/osmocom/gsm/ipa.h | 2 ++ src/gsm/ipa.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Mon Dec 22 13:49:02 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 13:49:02 GMT Subject: libosmo-abis.git branch master updated. 0.3.0-4-g1acf4cb Message-ID: <201412221349.sBMDn2GJ032893@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom A-bis protcol interface library". The branch, master has been updated via 1acf4cbd75e1d50d2605c75759235e7cdea5fbdc (commit) from 687046ba2f0527456ae47365a9709fc939fdaf48 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmo-abis/commit/?id=1acf4cbd75e1d50d2605c75759235e7cdea5fbdc commit 1acf4cbd75e1d50d2605c75759235e7cdea5fbdc Author: Jacob Erlbeck Date: Mon Dec 22 11:14:34 2014 +0100 ipa: Declare all structs used A few declarations are missing. This patch adds forward declarations for struct used for pointers only and an include directive (osmocom/core/select.h) to get a full definition of struct osmo_fd. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: include/osmocom/abis/ipa.h | 5 +++++ 1 file changed, 5 insertions(+) hooks/post-receive -- Osmocom A-bis protcol interface library From gitosis at osmocom.org Mon Dec 22 13:50:19 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 13:50:19 GMT Subject: openbsc.git branch ciaby/rhizomatica-queue created. 0.13.0-797-gd73fb3a Message-ID: <201412221350.sBMDoJvg033077@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, ciaby/rhizomatica-queue has been created at d73fb3af49ef646dc215488ec43b1bf57e9a22a6 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=d73fb3af49ef646dc215488ec43b1bf57e9a22a6 commit d73fb3af49ef646dc215488ec43b1bf57e9a22a6 Merge: fa9e0e2 b33b50f Author: Ciaby Date: Mon Dec 22 14:49:49 2014 +0100 Merge branch 'ciaby/rhizomatica-token' into ciaby/rhizomatica-queue Conflicts: openbsc/src/libmsc/gsm_04_11.c http://cgit.osmocom.org/openbsc/commit/?id=fa9e0e2c98a3befade008464f969fc003d975e85 commit fa9e0e2c98a3befade008464f969fc003d975e85 Author: Ruben Pollan Date: Sun Dec 21 16:36:47 2014 -0600 Add subscriber_show_queue to VTY http://cgit.osmocom.org/openbsc/commit/?id=27ff38dc99e104bf925f65b1be288155601aa9cd commit 27ff38dc99e104bf925f65b1be288155601aa9cd Author: Ruben Pollan Date: Sun Dec 21 15:36:53 2014 -0600 Holger's patch to add reason to get_channel ----------------------------------------------------------------------- hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 22 13:52:08 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 13:52:08 GMT Subject: openbsc.git branch ciaby/rhizomatica-test deleted. 0.13.0-789-g44889ba Message-ID: <201412221352.sBMDq8aY033238@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, ciaby/rhizomatica-test has been deleted was 44889ba6e16bdb0276e5a99d9101bb3f10318276 ----------------------------------------------------------------------- 44889ba6e16bdb0276e5a99d9101bb3f10318276 Merge branch 'master' into ciaby/rhizomatica-test ----------------------------------------------------------------------- hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 22 13:54:38 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 13:54:38 GMT Subject: openbsc.git branch ciaby/rhizomatica-queue updated. 0.13.0-802-g1e12f37 Message-ID: <201412221354.sBMDscsl033493@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, ciaby/rhizomatica-queue has been updated via 1e12f3777ae7e659d82d8c0f390e612b146c3e9f (commit) via 22fd3cd0de098de3816d687e41d42fe551412a33 (commit) via d30ed6b6f2d8eb56a035354694d12f4395103edc (commit) via f7e23c5ff7d28c985d6c1e6d1dc0b9e8f5895a30 (commit) via c22930e24b8d61cecb1fa7c46fd5dc96355d4978 (commit) from d73fb3af49ef646dc215488ec43b1bf57e9a22a6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=1e12f3777ae7e659d82d8c0f390e612b146c3e9f commit 1e12f3777ae7e659d82d8c0f390e612b146c3e9f Merge: d73fb3a 22fd3cd Author: Ciaby Date: Mon Dec 22 14:54:23 2014 +0100 Merge branch 'master' into ciaby/rhizomatica-queue ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gsm_data.h | 6 +++ openbsc/include/openbsc/gsm_data_shared.h | 3 ++ openbsc/src/libbsc/bsc_vty.c | 63 +++++++++++++++++++++++++++++++ openbsc/src/libbsc/bts_ipaccess_nanobts.c | 23 +++++++++++ openbsc/src/libbsc/handover_logic.c | 31 ++++++++------- openbsc/src/libcommon/gsm_data.c | 58 ++++++++++++++++++++++++++++ 6 files changed, 170 insertions(+), 14 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 22 17:08:33 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 17:08:33 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-816-g9fb4588 Message-ID: <201412221708.sBMH8XJE050319@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated via 9fb4588727df8284b71ebc14946f024daefb1652 (commit) from 72b54994d68d89ff2cccf3e113d92ebbe0f7ca17 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=9fb4588727df8284b71ebc14946f024daefb1652 commit 9fb4588727df8284b71ebc14946f024daefb1652 Author: Jacob Erlbeck Date: Mon Dec 22 17:58:18 2014 +0100 sgsn: Be more tolerant with state and SUSPEND/RESUME Currently, when a BSSGP SUSPEND is received and the corresponding MM context is already in the state GMM_REGISTERED_SUSPENDED, a SUSPEND_NACK is returned which is not covered by GSM 08.18, 7.4.1. The same goes for RESUME in the state GMM_REGISTERED_NORMAL. This commit changes gprs_gmm_rx_suspend and gprs_gmm_rx_resume to not complain (and thus answer a NACK) when the MM context is either in GMM_REGISTERED_SUSPENDED or GMM_REGISTERED_NORMAL. Note that GSM 08.18, 7.4.1 and 7.5.1 only mention to send an NACK if the MS is not known. Even with this patch, the SGSN returns a NACK if either the MS is unknown _or_ the MM context ist not in one of the state GMM_REGISTERED_SUSPENDED and GMM_REGISTERED_NORMAL. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/src/gprs/gprs_gmm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 22 17:18:27 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 17:18:27 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-816-g542cd9b Message-ID: <201412221718.sBMHIRBg051174@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 9fb4588727df8284b71ebc14946f024daefb1652 (commit) discards 72b54994d68d89ff2cccf3e113d92ebbe0f7ca17 (commit) discards 8a429f4242565cb7b93fe2339ce79b25a0206ca4 (commit) discards cc010b38444238f3492b8863c50d58b43b141c34 (commit) discards 84d82ddbc66ae37a8e275bd4be7d317133d63a4a (commit) via 542cd9bf6930fe10bc5ef6192b594befee165608 (commit) via 768b6c0a1c7d1b1c2cebf4d10937ff0d5b31e3bf (commit) via edb002881b3ce7aa0b670124558eed1aa5213413 (commit) via b780f2ccb9d7f7475e798a222f7715554843d852 (commit) via c3770be508faca723b2155bd775401a3ad052cec (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (9fb4588727df8284b71ebc14946f024daefb1652) \ N -- N -- N (542cd9bf6930fe10bc5ef6192b594befee165608) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=542cd9bf6930fe10bc5ef6192b594befee165608 commit 542cd9bf6930fe10bc5ef6192b594befee165608 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=768b6c0a1c7d1b1c2cebf4d10937ff0d5b31e3bf commit 768b6c0a1c7d1b1c2cebf4d10937ff0d5b31e3bf Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=edb002881b3ce7aa0b670124558eed1aa5213413 commit edb002881b3ce7aa0b670124558eed1aa5213413 Author: Jacob Erlbeck Date: Wed Dec 17 14:03:35 2014 +0100 sgsn: Add PDP info to subscriber data (TODO) TODO: - commit message - raw binary representation ??? - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=b780f2ccb9d7f7475e798a222f7715554843d852 commit b780f2ccb9d7f7475e798a222f7715554843d852 Author: Jacob Erlbeck Date: Fri Dec 19 19:11:20 2014 +0100 sgsn: Add logging to connect_timer_cb (TODO) TODO: - LOGLevel ? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=c3770be508faca723b2155bd775401a3ad052cec commit c3770be508faca723b2155bd775401a3ad052cec Author: Jacob Erlbeck Date: Mon Dec 22 17:58:18 2014 +0100 sgsn: Be more tolerant with state and SUSPEND/RESUME Currently, when a BSSGP SUSPEND is received and the corresponding MM context is already in the state GMM_REGISTERED_SUSPENDED, a SUSPEND_NACK is returned which is not covered by GSM 08.18, 7.4.1. The same goes for RESUME in the state GMM_REGISTERED_NORMAL. This commit changes gprs_gmm_rx_suspend and gprs_gmm_rx_resume to not complain (and thus answer a NACK) when the MM context is either in GMM_REGISTERED_SUSPENDED or GMM_REGISTERED_NORMAL. Note that GSM 08.18, 7.4.1 and 7.5.1 only mention to send an NACK if the MS is not known. Even with this patch, the SGSN returns a NACK if either the MS is unknown _or_ the MM context ist not in one of the state GMM_REGISTERED_SUSPENDED and GMM_REGISTERED_NORMAL. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 22 21:33:22 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 21:33:22 GMT Subject: osmo-pcap.git branch master updated. 0.0.4-3-g07d96eb Message-ID: <201412222133.sBMLXMQN073512@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Tools to centralize packet capture and storing". The branch, master has been updated via 07d96eb65441e46647d05e690c557ed3c14cb79b (commit) from 4edd6e6f1e5fd75b60b7443c024c01018b7485f6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-pcap/commit/?id=07d96eb65441e46647d05e690c557ed3c14cb79b commit 07d96eb65441e46647d05e690c557ed3c14cb79b Author: Sylvain Munaut Date: Mon Dec 22 22:33:31 2014 +0100 build: Replace deprecated INCLUDES with AM_CPPFLAGS Thanks to mnhauke Signed-off-by: Sylvain Munaut ----------------------------------------------------------------------- Summary of changes: src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Tools to centralize packet capture and storing From gitosis at osmocom.org Mon Dec 22 21:36:09 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 22 Dec 2014 21:36:09 GMT Subject: cellmgr-ng.git branch master updated. 1.3.0-29-g9544ee2 Message-ID: <201412222136.sBMLa91U073780@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cellmanager NG, intended to interface with BSplus". The branch, master has been updated via 9544ee2955c77e5edbff31436714f26ed1cec5ca (commit) from 95d8272311bc4eeb32cc0c431b659727b73e170a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/cellmgr-ng/commit/?id=9544ee2955c77e5edbff31436714f26ed1cec5ca commit 9544ee2955c77e5edbff31436714f26ed1cec5ca Author: Sylvain Munaut Date: Mon Dec 22 22:36:17 2014 +0100 build: Replace deprecated INCLUDES with AM_CPPFLAGS Thanks to mnhauke for the patch Signed-off-by: Sylvain Munaut ----------------------------------------------------------------------- Summary of changes: Makefile.am | 2 +- src/Makefile.am | 2 +- tests/dtmf/Makefile.am | 2 +- tests/isup/Makefile.am | 2 +- tests/mgcp/Makefile.am | 2 +- tests/mtp/Makefile.am | 2 +- tests/patching/Makefile.am | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) hooks/post-receive -- Cellmanager NG, intended to interface with BSplus From gitosis at osmocom.org Tue Dec 23 08:49:26 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 23 Dec 2014 08:49:26 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-820-g18d3450 Message-ID: <201412230849.sBN8nQ4D036557@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 542cd9bf6930fe10bc5ef6192b594befee165608 (commit) discards 768b6c0a1c7d1b1c2cebf4d10937ff0d5b31e3bf (commit) discards edb002881b3ce7aa0b670124558eed1aa5213413 (commit) discards b780f2ccb9d7f7475e798a222f7715554843d852 (commit) discards c3770be508faca723b2155bd775401a3ad052cec (commit) discards a50c77163fc84dab5d137cbfe06335571387fbf1 (commit) discards fed0c790379929813407108618db7b7143e7be97 (commit) discards 8efcafd1bd5f825d2e88c8e0ded1e16e9107ca6b (commit) discards 468eebefdd5e98748c47891c381e0a91b27b8161 (commit) discards cebc8b091949338b11c69b0d5ec090bc80773ac5 (commit) discards e70c27ff1174bd43c95ce1f18e64b7ced20889f7 (commit) discards 6dad5dfb86f36ba9ef152cab8f1116ed8b9ed85e (commit) discards ae361bf3597f208e36c248b1481e1a52cb163089 (commit) discards a284f119e360d69805a355f13e037a56a4b61613 (commit) discards b48e6dd0919fca3a2d311a1fd4bb422f4dfba1c7 (commit) discards 6484925e96df54873ce2e3eb3b44bd2db86a4341 (commit) discards 8d3c3c7b8be945b303d221e689e49f07ddeede43 (commit) discards 55c141829282d7c367922a5ff3505c5671b37015 (commit) discards 35a058d09e0dcdabf2887608c7e38a73413b7fb1 (commit) discards f49426120f298adcbacd93635a2b86042d059266 (commit) discards e45cf6c991905e33bdc8e4c7d3ccd6d4c26f1c5c (commit) discards 67b6f95811cfa2599e483457fcd3516b815bb7db (commit) discards 28fe5af26e62e0ac770de4c2d92de6387564eb34 (commit) discards d32673d270c4331682cd8f9125c8af5e4f220e78 (commit) discards a0a1cfd7b31296e990c934b3606e69f5b0b0c071 (commit) discards 707858260d79b533a86b4c055a980a184d3b8339 (commit) discards ea8279db8b9566d8864c05e13800fa88b0cfc014 (commit) discards 94b669fa7d70192eb75764d6228c0a5e2a20cede (commit) discards 89d84efdeb1a26d3294a360ecbcc1ac1012742ee (commit) via 18d3450120796026837803177a9b39862effdcc3 (commit) via ac4c60a3df10e436f21a522a0a10e285f8a7b5e1 (commit) via 8243b2643ec61ea471ff5f57f6c625575d6a8c95 (commit) via c0d0293319faf0e5d254c6150b18780b462a1e17 (commit) via d955555e7dccee0eeb8aa4b5300ec0d44f182a9e (commit) via 7afcad12a5011e121a8c9727efe2954fe9b48033 (commit) via 37a9de32ab6ead088fad421de0ee82a676fb3f20 (commit) via cecedbf4478d65d0bf76f3ec922c00ed60f551b4 (commit) via bb7048fbf731b768f4a982854145b56c616ed0ad (commit) via e5b78fb52e06d9008ce09f8429bb49c7df9d2401 (commit) via be5f5cf232e80926b62cd3d42d75a50aa60dbd19 (commit) via 58affb6cf017e869bd89c6fa04dc4bf539a999d3 (commit) via d7ee04647aa9d5ad69d86a6bb60e1543e2a1f1a1 (commit) via 3ef64da79208515ccdd1b707a3e629581537bfa0 (commit) via ced7abab7695a1c3019933b8dfc838693505d14e (commit) via ed47c392a848a59f77f973aa578179d9565bf36c (commit) via 64cae3b725c93d98aff6bc244190df309ea44150 (commit) via c8b72181fef62e4be671fdba1e075d402cc0841e (commit) via 4feb7f8f13d64aea5e4fbf7d8f1b104cd3fd4ca4 (commit) via 57a0ab1b78cce5bc61b738b0066e663362973346 (commit) via f6f00e526428811286b2cb60779f78a629efc396 (commit) via 0666b6d027a5674e004be679100510481eb5ce33 (commit) via 6398f890fdee5a5b8d5c759c62b5d355489a55ad (commit) via 9dcfad0aaf7dde706b2731ca02dbe435fd23205a (commit) via 3454b19788cb40e94d8dcc83c79a11190a48479a (commit) via f90a0222471e81f7795012325ab6975450c78ef9 (commit) via 68c53a87f6a142b2c2d24b06a2bc4c71802f1751 (commit) via 0da1846420d7d1e049e30ab04bc37cce7a96a204 (commit) via 10248d02767e4110c654548b8154b7d3d6806e2e (commit) via 22fd3cd0de098de3816d687e41d42fe551412a33 (commit) via d30ed6b6f2d8eb56a035354694d12f4395103edc (commit) via f7e23c5ff7d28c985d6c1e6d1dc0b9e8f5895a30 (commit) via c22930e24b8d61cecb1fa7c46fd5dc96355d4978 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (542cd9bf6930fe10bc5ef6192b594befee165608) \ N -- N -- N (18d3450120796026837803177a9b39862effdcc3) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=18d3450120796026837803177a9b39862effdcc3 commit 18d3450120796026837803177a9b39862effdcc3 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ac4c60a3df10e436f21a522a0a10e285f8a7b5e1 commit ac4c60a3df10e436f21a522a0a10e285f8a7b5e1 Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=8243b2643ec61ea471ff5f57f6c625575d6a8c95 commit 8243b2643ec61ea471ff5f57f6c625575d6a8c95 Author: Jacob Erlbeck Date: Wed Dec 17 14:03:35 2014 +0100 sgsn: Add PDP info to subscriber data (TODO) TODO: - commit message - raw binary representation ??? - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=c0d0293319faf0e5d254c6150b18780b462a1e17 commit c0d0293319faf0e5d254c6150b18780b462a1e17 Author: Jacob Erlbeck Date: Fri Dec 19 19:11:20 2014 +0100 sgsn: Add logging to connect_timer_cb (TODO) TODO: - LOGLevel ? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=d955555e7dccee0eeb8aa4b5300ec0d44f182a9e commit d955555e7dccee0eeb8aa4b5300ec0d44f182a9e Author: Jacob Erlbeck Date: Mon Dec 22 17:58:18 2014 +0100 sgsn: Be more tolerant with state and SUSPEND/RESUME Currently, when a BSSGP SUSPEND is received and the corresponding MM context is already in the state GMM_REGISTERED_SUSPENDED, a SUSPEND_NACK is returned which is not covered by GSM 08.18, 7.4.1. The same goes for RESUME in the state GMM_REGISTERED_NORMAL. This commit changes gprs_gmm_rx_suspend and gprs_gmm_rx_resume to not complain (and thus answer a NACK) when the MM context is either in GMM_REGISTERED_SUSPENDED or GMM_REGISTERED_NORMAL. Note that GSM 08.18, 7.4.1 and 7.5.1 only mention to send an NACK if the MS is not known. Even with this patch, the SGSN returns a NACK if either the MS is unknown _or_ the MM context ist not in one of the state GMM_REGISTERED_SUSPENDED and GMM_REGISTERED_NORMAL. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=7afcad12a5011e121a8c9727efe2954fe9b48033 commit 7afcad12a5011e121a8c9727efe2954fe9b48033 Author: Jacob Erlbeck Date: Fri Dec 19 19:19:46 2014 +0100 sgsn: Show GSUP client info on 'show sgsn' This commit adds a line to the output of 'show sgsn' if the GSUP client has been initialized: - Remote authorization: [not] connected to HOST:PORT via GSUP Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=37a9de32ab6ead088fad421de0ee82a676fb3f20 commit 37a9de32ab6ead088fad421de0ee82a676fb3f20 Author: Jacob Erlbeck Date: Fri Dec 19 19:18:54 2014 +0100 sgsn: Send PING and eventually reconnect Currently, the reconnect mechanism relies on gsup_client_updown_cb which in turn gets called based on the OS' view of connection state. This patch adds a timer based PING mechanism that regularly sends PING messages and forces a reconnect if a PONG message won't be received until the next PING message is scheduled. The current ping interval is 20s. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=cecedbf4478d65d0bf76f3ec922c00ed60f551b4 commit cecedbf4478d65d0bf76f3ec922c00ed60f551b4 Author: Jacob Erlbeck Date: Fri Dec 19 19:15:55 2014 +0100 sgsn: Handle incoming IPA CCM message in gsup_client_read_cb Currently the IPA CCM messages are not handled by the GSUP client. This means, that the client doesn't answer to PING and ID_GET and logs notices when receiving PONG or ID_ACK. At least the PING functionality (remotely originated PING) shall be supported. This patch extends gsup_client_read_cb by a call to ipaccess_bts_handle_ccm. Only when the return code is 0, the message is processed further and checked for an OSMO/GSUP message. ID_GET messages are answered by a dummy description, where only the unit_name is set to 'SGSN'. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=bb7048fbf731b768f4a982854145b56c616ed0ad commit bb7048fbf731b768f4a982854145b56c616ed0ad Author: Jacob Erlbeck Date: Fri Dec 19 19:00:56 2014 +0100 sgsn: Handle return code of ipa_client_conn_open correctly The ipa_client_conn_open function does not distinguish between a connection being already established or waiting for establishment. In either case, the application gets informed about the connection state via the updown_cb. The 'up' parameter is only set, if poll/select consider the socket as writable. This patch handles both cases equally and fully relies on the updown_cb to adjust the gsupc obejct state. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=e5b78fb52e06d9008ce09f8429bb49c7df9d2401 commit e5b78fb52e06d9008ce09f8429bb49c7df9d2401 Author: Jacob Erlbeck Date: Fri Dec 19 18:50:05 2014 +0100 sgsn: Avoid sending stale GSUP requests after reconnect Currently, messages are added to the tx queue even if the connection is down for some reason and all of these messages are eventually sent after a re-connect. The MS has probably sent several Attach Requests while the connection was down and will continue doing so. Therefore these stored messages could be dropped. This patch clears the queue before re-connecting and also extends gprs_gsup_client_send to return immediately, when the connection is not established instead of calling ipa_client_conn_send. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=be5f5cf232e80926b62cd3d42d75a50aa60dbd19 commit be5f5cf232e80926b62cd3d42d75a50aa60dbd19 Author: Jacob Erlbeck Date: Thu Dec 18 15:00:29 2014 +0100 sgsn: Add automatic re-connect if the GSUP connection is down Currently the GSUP connection to a server is not restarted if the connection cannot be established or is terminated during operation. This commit adds a timer based connection mechanism, basically consisting of a timer callback that calls gsup_client_connect. The timer is eventually triggered (up == 0) or cleared (up != 0) by gsup_client_updown_cb. It adds calls to osmo_timer_del() to gsup_client_connect and gprs_gsup_client_destroy. The latter is now called instead of talloc_free in gprs_gsup_client_create on error to be on the safe side. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=58affb6cf017e869bd89c6fa04dc4bf539a999d3 commit 58affb6cf017e869bd89c6fa04dc4bf539a999d3 Author: Jacob Erlbeck Date: Fri Dec 19 18:30:41 2014 +0100 sgsn/test: Extend tests to simulate lost GSUP requests This patch extends test_gmm_attach to optionally resend Attach Requests until the SGSN responds to it instead of calling OSMO_ASSERT at a few places. The test_gmm_attach_subscr_gsup_auth test optionally uses this feature. It is called once in either mode. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=d7ee04647aa9d5ad69d86a6bb60e1543e2a1f1a1 commit d7ee04647aa9d5ad69d86a6bb60e1543e2a1f1a1 Author: Jacob Erlbeck Date: Fri Dec 19 18:26:09 2014 +0100 sgsn/test: Add GMM test for a GSUP based attach procedure This test calls test_gmm_attach() where the mocked subscriber functions insert GSUP messages instead of manipulating the subscriber structure directly. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=3ef64da79208515ccdd1b707a3e629581537bfa0 commit 3ef64da79208515ccdd1b707a3e629581537bfa0 Author: Jacob Erlbeck Date: Fri Dec 19 18:19:50 2014 +0100 sgsn/test: Add wrapper for gprs_subscr_rx_gsup_message Currently, several lines of boiler plate are needed around a call to gprs_subscr_rx_gsup_message. This patch puts all of this (including the call to gprs_subscr_rx_gsup_message) into a separate function. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ced7abab7695a1c3019933b8dfc838693505d14e commit ced7abab7695a1c3019933b8dfc838693505d14e Author: Jacob Erlbeck Date: Fri Dec 19 18:17:10 2014 +0100 sgsn: Log requested state change in sgsn_auth_update Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=ed47c392a848a59f77f973aa578179d9565bf36c commit ed47c392a848a59f77f973aa578179d9565bf36c Author: Jacob Erlbeck Date: Fri Dec 19 18:08:48 2014 +0100 sgsn: Add global require_update_location flag This flag is used to determine, whether the Update Location procedure shall be invoked. This is currently only set, when the 'remote' authorization policy is set. When the flag is set, sgsn_auth_update will not never be called directly by sgsn_auth_request, if an Attach Request procedure is pending, even if the remote connection fails for some reason. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=64cae3b725c93d98aff6bc244190df309ea44150 commit 64cae3b725c93d98aff6bc244190df309ea44150 Author: Jacob Erlbeck Date: Wed Dec 17 13:20:08 2014 +0100 sgsn: Replace subscr.authenticate by global require_authentication flag Currently the flag 'authenticate' is managed per subscriber. This patch replaces that flag by a global cfg.require_authentication flag that enables/disables the use of the Auth & Ciph procedure for every subscriber. The flag is set by the VTY, if and only if the authorization policy is 'remote'. The VTY command - update-subscriber imsi IMSI insert authenticate <0-1> is removed. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=c8b72181fef62e4be671fdba1e075d402cc0841e commit c8b72181fef62e4be671fdba1e075d402cc0841e Author: Jacob Erlbeck Date: Tue Dec 16 08:41:34 2014 +0100 openbsc: Ignore generated coverage analysis files This patch adds *.gcda and *.gcno to .gitignore to skip files that are generated by gcc --coverage and related tools. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=4feb7f8f13d64aea5e4fbf7d8f1b104cd3fd4ca4 commit 4feb7f8f13d64aea5e4fbf7d8f1b104cd3fd4ca4 Author: Jacob Erlbeck Date: Thu Dec 18 12:46:47 2014 +0100 sgsn: Integrate the GSUP client into the SGSN This commit adds GSUP client configuration (via VTY), connection set up, and real message sending. The following configuration commands are added: - gsup remote-ip A.B.C.D set server IP address - gsup remote-port PORT set server TCP port Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=57a0ab1b78cce5bc61b738b0066e663362973346 commit 57a0ab1b78cce5bc61b738b0066e663362973346 Author: Jacob Erlbeck Date: Thu Dec 18 12:28:21 2014 +0100 sgsn: Add GSUP client This commit adds the client code to get subscriber information from a remote server. It provides an IPA over TCP connection to transmit and receive GSUP messages. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f6f00e526428811286b2cb60779f78a629efc396 commit f6f00e526428811286b2cb60779f78a629efc396 Author: Jacob Erlbeck Date: Mon Dec 15 10:16:02 2014 +0100 sgsn/doc: Add IPA default parameters This commit adds the default protocol identifiers that should be used for GSUP by the IPA protocol. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=0666b6d027a5674e004be679100510481eb5ce33 commit 0666b6d027a5674e004be679100510481eb5ce33 Author: Jacob Erlbeck Date: Fri Dec 12 15:01:37 2014 +0100 gprs: Add subscriber functions to create/handle GSUP messages This patch extends gprs_subscr_query_auth_info and gprs_subscr_location_update to create GSUP messages with the help of a static gprs_subscr_tx_gsup_message function. A corresponding gprs_subscr_rx_gsup_message is added which takes a messages, gets the subscr, and updates it accordingly. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=6398f890fdee5a5b8d5c759c62b5d355489a55ad commit 6398f890fdee5a5b8d5c759c62b5d355489a55ad Author: Jacob Erlbeck Date: Thu Dec 11 16:54:14 2014 +0100 gprs: Add encoder/decoder for the Subscriber Update Protocol This patch adds functions to encode and decode GSUP messages. This does not include the layer 1 framing (IPA). The messages so far supported are: send_auth_info_*, update_location_*, location_cancellation_*. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=9dcfad0aaf7dde706b2731ca02dbe435fd23205a commit 9dcfad0aaf7dde706b2731ca02dbe435fd23205a Author: Jacob Erlbeck Date: Thu Dec 11 15:14:14 2014 +0100 sgsn/doc: Add protocol specification for remote subscriber update This is the first version of the specification for the GPRS Subscriber Update Protocol. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=3454b19788cb40e94d8dcc83c79a11190a48479a commit 3454b19788cb40e94d8dcc83c79a11190a48479a Author: Jacob Erlbeck Date: Thu Dec 11 12:05:29 2014 +0100 gprs: Add gprs_shift_tlv function This function is similar to gprs_match_tlv with the exception, that the tag is not compared but returned in *tag instead. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=f90a0222471e81f7795012325ab6975450c78ef9 commit f90a0222471e81f7795012325ab6975450c78ef9 Author: Jacob Erlbeck Date: Thu Dec 11 11:01:46 2014 +0100 gprs: Move TLV parser functions to gprs_utils.c and rename them Currently the parser functions for single information elements are defined within gprs_gb_parse.c and not exported explicitely. In addition they are named like libosmocore's TLV parser functions and do not have a proper name prefix. Since it is planned to use them for other protocols, they need to be globally accessible. This patch moves them to gprs_utils.c and renames them. The new names are: lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed In the long term, these functions should be moved to libosmocore (and renamed again). Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=68c53a87f6a142b2c2d24b06a2bc4c71802f1751 commit 68c53a87f6a142b2c2d24b06a2bc4c71802f1751 Author: Jacob Erlbeck Date: Thu Dec 18 09:53:07 2014 +0100 sgsn: Add missing LF in log message Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=0da1846420d7d1e049e30ab04bc37cce7a96a204 commit 0da1846420d7d1e049e30ab04bc37cce7a96a204 Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Add a subscriber based authentication phase This implements the MAP way of subscriber validation when the MS tries to perform an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the Auth & Ciph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject The authentication triplet are used and eventually updated if all of them have been used. This is currently accessible via the VTY interface by the following commands: - update-subscriber imsi IMSI update-auth-info - update-subscriber imsi IMSI update-location-result (ok|ERR-CAUSE) Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=10248d02767e4110c654548b8154b7d3d6806e2e commit 10248d02767e4110c654548b8154b7d3d6806e2e Author: Jacob Erlbeck Date: Mon Dec 8 15:52:00 2014 +0100 sgsn: Add support for authentication triplets This commit add data structures, functions, initialization, and VTY commands for per subscriber authentication triplets. The following VTY command is added: - update-subscriber imsi IMSI \ insert auth-triplet <1-5> sres SRES rand RAND kc KC Note that the triplets are not really used by the SGSN yet. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gsm_data.h | 6 +++ openbsc/include/openbsc/gsm_data_shared.h | 3 ++ openbsc/src/libbsc/bsc_vty.c | 63 +++++++++++++++++++++++++++++++ openbsc/src/libbsc/bts_ipaccess_nanobts.c | 23 +++++++++++ openbsc/src/libbsc/handover_logic.c | 31 ++++++++------- openbsc/src/libcommon/gsm_data.c | 58 ++++++++++++++++++++++++++++ 6 files changed, 170 insertions(+), 14 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Dec 23 11:16:25 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 23 Dec 2014 11:16:25 GMT Subject: osmo-bts.git branch zecke/sysmobts-calibration updated. 0.3.0-266-g2eb9812 Message-ID: <201412231116.sBNBGPxV050235@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, zecke/sysmobts-calibration has been updated discards 8480fbf803b410b3c7b67ce5f970a7a38f151a2e (commit) discards 6d54dee99d578834fa177d9f2a049c752105f9c4 (commit) discards 2419e9ab3bf4fe58a2652c8d0133f7ad0eb7e74a (commit) discards f1cf0c29fd5467dc2cc49d2bc1c7b2d42478c14f (commit) discards 97b0f8dc07ede7181eead1eba414771e6af8452c (commit) discards 6c905943f93673ea5b5b21ac4ffcb549ac665d1c (commit) via 2eb9812ec53fcaccf5623a1b7aad7fd6373552e5 (commit) via cbe5e35c60c74cd511a6b4965aae7614863a393c (commit) via e4894b25e63b25ac3360a483113adc3e6818ae27 (commit) via 3d75cb056d4b67b6cd3aeb6c786a201c4f9a6638 (commit) via 2048b09a6443fab269ee2da55c32c4813482cad4 (commit) via 814ec0773161fb9d4074cf35edef2ab2c8b2ac65 (commit) via 1716cb479cfe1ddaa240e7ed1dc6a47f00bdc234 (commit) via c265bef48c414ca6c135f803c0c5dfdecbeece72 (commit) via 02a2afa962799c1519eb78cffa8877fd3da75b2e (commit) via ffc193443c177c3e41851c445c71fc1095ae2201 (commit) via 8968b48643686683046a0af403178960f8baf9ed (commit) via 641a9349317e7b9dec2e38b6cec02a1904267954 (commit) via 69897d7eed6dc2f992db3499bf9bfe0950f0b34a (commit) via 0d09e75f9ca09ddbfe10117f2f4caa8993eb9144 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (8480fbf803b410b3c7b67ce5f970a7a38f151a2e) \ N -- N -- N (2eb9812ec53fcaccf5623a1b7aad7fd6373552e5) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=2eb9812ec53fcaccf5623a1b7aad7fd6373552e5 commit 2eb9812ec53fcaccf5623a1b7aad7fd6373552e5 Author: Holger Hans Peter Freyther Date: Tue Dec 23 11:47:28 2014 +0100 sysmobts: Create a calibration loop that will be run Continously run the calibration process. Everytime we call the reset function classify the outcome. In case of a failure schedule the next command soon and otherwise wait several hours. Remember if the process was started through the VTY or the run loop. In case it can't be started immediately reset and schedule a new run. http://cgit.osmocom.org/osmo-bts/commit/?id=cbe5e35c60c74cd511a6b4965aae7614863a393c commit cbe5e35c60c74cd511a6b4965aae7614863a393c Author: Holger Hans Peter Freyther Date: Tue Dec 23 09:45:55 2014 +0100 sysmobts: Start the calibration the first time the link is up After a reboot the system might have been off for a long time and the currently used value might be wrong. Remember that we never ran the calibration and execute it on start. http://cgit.osmocom.org/osmo-bts/commit/?id=e4894b25e63b25ac3360a483113adc3e6818ae27 commit e4894b25e63b25ac3360a483113adc3e6818ae27 Author: Holger Hans Peter Freyther Date: Mon Dec 22 18:24:57 2014 +0100 sysmobts: Initial version to use libgps to determine FIX state We should only calibrate the clock if there is a GPS fix. Start gpsd to determine if there is a fix or not. This commit lacks: * A timeout for getting the fix * Verifying that gps_open/gps_close can be done without leaking * Schedule synchronization after start and after failures, then after a long time of operation. http://cgit.osmocom.org/osmo-bts/commit/?id=3d75cb056d4b67b6cd3aeb6c786a201c4f9a6638 commit 3d75cb056d4b67b6cd3aeb6c786a201c4f9a6638 Author: Holger Hans Peter Freyther Date: Fri Dec 12 21:54:43 2014 +0100 sysmobts: Use the ctrl interface for calibration This runs the entire procedure for calibration with reasonable error and success checking. It can be triggered from the VTY of the sysmobts-mgr right now. What is missing is to hook up with GPSD to check if the system has a fix and provide a mode that will continously run the calibration command. http://cgit.osmocom.org/osmo-bts/commit/?id=2048b09a6443fab269ee2da55c32c4813482cad4 commit 2048b09a6443fab269ee2da55c32c4813482cad4 Author: Holger Hans Peter Freyther Date: Fri Dec 12 19:20:17 2014 +0100 sysmobts: Copy more of l1if_rf_clock_info_reset into the CTRL code The CTRL code should have used/extended the l1_if calibration code. The sysmobts-mgr code first needs to determine if the clock adjustment is necessary at all. This is done by first resetting the counters, then waiting, then asking for the diff and then applying the correction value. But the reference clock is only set by the application comand. Copy more code of l1if_rf_clock_info_reset to set the reference clock as value. This is leaving some todos inside the code that will be resolved as part of SYS#835. Related: SYS#835 http://cgit.osmocom.org/osmo-bts/commit/?id=814ec0773161fb9d4074cf35edef2ab2c8b2ac65 commit 814ec0773161fb9d4074cf35edef2ab2c8b2ac65 Author: Holger Hans Peter Freyther Date: Fri Dec 12 16:59:41 2014 +0100 sysmobts: Begin with calib control from the sysmobts manager In the long run we will connect to GPSD and wait for a fix and then run the calibration. The first step is to open (and re-open) the control connection to the BTS. As the connection is on localhost there should not be a computation overhead to always have the connection open. When connecting assume that the ASYNC connect worked directly as otherwise we get no notification of the failure. This looks like a "bug" of libosmo-abis that should check if the socket has been connected or not. http://cgit.osmocom.org/osmo-bts/commit/?id=1716cb479cfe1ddaa240e7ed1dc6a47f00bdc234 commit 1716cb479cfe1ddaa240e7ed1dc6a47f00bdc234 Author: Holger Hans Peter Freyther Date: Fri Dec 12 16:54:08 2014 +0100 msg: Generalize the message structure test This was taken out of LaF0rge's OML router branch and is now used by the extended calibration feature. ----------------------------------------------------------------------- Summary of changes: configure.ac | 1 + src/osmo-bts-sysmo/Makefile.am | 9 +- src/osmo-bts-sysmo/eeprom.c | 2 +- src/osmo-bts-sysmo/misc/sysmobts_eeprom.h | 2 +- src/osmo-bts-sysmo/misc/sysmobts_mgr.h | 29 +++- src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c | 20 +++ src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c | 189 ++++++++++++++++++++++++--- src/osmo-bts-sysmo/misc/sysmobts_mgr_temp.c | 70 ++++++++-- src/osmo-bts-sysmo/misc/sysmobts_mgr_vty.c | 122 ++++++++++++++++- src/osmo-bts-sysmo/misc/sysmobts_misc.h | 1 + src/osmo-bts-sysmo/misc/sysmobts_par.c | 36 ++++- src/osmo-bts-sysmo/misc/sysmobts_par.h | 2 + src/osmo-bts-sysmo/misc/sysmobts_util.c | 33 +++-- 13 files changed, 465 insertions(+), 51 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Tue Dec 23 11:38:30 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 23 Dec 2014 11:38:30 GMT Subject: osmo-bts.git branch zecke/sysmobts-calibration updated. 0.3.0-266-gbc7b625 Message-ID: <201412231138.sBNBcUTC053239@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, zecke/sysmobts-calibration has been updated discards 2eb9812ec53fcaccf5623a1b7aad7fd6373552e5 (commit) discards cbe5e35c60c74cd511a6b4965aae7614863a393c (commit) discards e4894b25e63b25ac3360a483113adc3e6818ae27 (commit) via bc7b625afb3e5cf88e3e4e1320a5415bd48a9606 (commit) via e121a761baaa2414de4a744392cacdc35db0d324 (commit) via 02f2ded39e9ae83c89017b9036a6c6cd5bafd0b0 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (2eb9812ec53fcaccf5623a1b7aad7fd6373552e5) \ N -- N -- N (bc7b625afb3e5cf88e3e4e1320a5415bd48a9606) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=bc7b625afb3e5cf88e3e4e1320a5415bd48a9606 commit bc7b625afb3e5cf88e3e4e1320a5415bd48a9606 Author: Holger Hans Peter Freyther Date: Tue Dec 23 11:47:28 2014 +0100 sysmobts: Create a calibration loop that will be run Continously run the calibration process. Everytime we call the reset function classify the outcome. In case of a failure schedule the next command soon and otherwise wait several hours. Remember if the process was started through the VTY or the run loop. In case it can't be started immediately reset and schedule a new run. http://cgit.osmocom.org/osmo-bts/commit/?id=e121a761baaa2414de4a744392cacdc35db0d324 commit e121a761baaa2414de4a744392cacdc35db0d324 Author: Holger Hans Peter Freyther Date: Tue Dec 23 09:45:55 2014 +0100 sysmobts: Start the calibration the first time the link is up After a reboot the system might have been off for a long time and the currently used value might be wrong. Remember that we never ran the calibration and execute it on start. http://cgit.osmocom.org/osmo-bts/commit/?id=02f2ded39e9ae83c89017b9036a6c6cd5bafd0b0 commit 02f2ded39e9ae83c89017b9036a6c6cd5bafd0b0 Author: Holger Hans Peter Freyther Date: Mon Dec 22 18:24:57 2014 +0100 sysmobts: Initial version to use libgps to determine FIX state We should only calibrate the clock if there is a GPS fix. Start gpsd to determine if there is a fix or not. Work around trimble decoding issues (sent an email upstream). We need to gain some more experience to see if there memory leaks. We also need to re-schedule the calibration depending on the outcome. ----------------------------------------------------------------------- Summary of changes: hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Tue Dec 23 11:55:36 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 23 Dec 2014 11:55:36 GMT Subject: openggsn.git branch master updated. 0.91-66-g6ab58b4 Message-ID: <201412231155.sBNBtaGl054635@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenGGSN project". The branch, master has been updated via 6ab58b466aed0a19db59689eb76e252a6b844963 (commit) via 8e7e3ef686ff18eeeb11d9de8ca48fd4bb001383 (commit) via c38bf64e3fb97f92e603fec24760b1ef856cd08d (commit) via 9c7fd8edc4f114ea77b955fb7aaac51fb5c828d4 (commit) via e527ef105f8742b1e37677e58c5b69530e674cce (commit) via 01b40d069083c8063b199976e635ffb85e70db82 (commit) via 752314ac432785df0a90b4eae1792525b120ecde (commit) via 42ca1d1a38a41f0377145c6243d42d1782dc304b (commit) via ca524ef344edcecf07d84a2cff7d14acd018486c (commit) from 839c2211dca029583c4b7e6011b02efc053f8799 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: configure.in | 5 +- configure.scan | 48 ---- doc/ggsn.8 | 8 +- doc/ggsn.8.pl | 272 ---------------------- doc/sgsnemu.8 | 7 +- doc/sgsnemu.8.pl | 407 --------------------------------- ggsn/Makefile.am | 4 +- ggsn/cmdline.c | 26 +++ ggsn/cmdline.ggo | 2 +- ggsn/cmdline.h | 4 + ggsn/ggsn.c | 136 +++++------ gtp/Makefile.am | 3 +- gtp/gtp.c | 634 +++++++++++++++++++++++----------------------------- gtp/gtp.h | 2 - gtp/pdp.c | 26 +-- gtp/pdp.h | 2 - lib/Makefile.am | 2 +- lib/debug.c | 34 +++ lib/ippool.c | 45 ++-- lib/syserr.c | 93 -------- lib/syserr.h | 23 +- lib/tun.c | 91 ++++---- sgsnemu/Makefile.am | 4 +- sgsnemu/sgsnemu.c | 45 ++-- 24 files changed, 530 insertions(+), 1393 deletions(-) delete mode 100644 configure.scan delete mode 100644 doc/ggsn.8.pl delete mode 100644 doc/sgsnemu.8.pl create mode 100644 lib/debug.c delete mode 100644 lib/syserr.c hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Tue Dec 23 14:18:25 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 23 Dec 2014 14:18:25 GMT Subject: openbsc.git branch master updated. 0.13.0-797-g7dba11f Message-ID: <201412231418.sBNEIPDG066621@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 7dba11fe32615fb5e49fae0a3bbd787ce4abc9b7 (commit) via 3ea2260d00b42e6e5172d0db27aac30ca28d6640 (commit) via 4b59d24f4f97f75f7f62ef31112870892d08b8f8 (commit) via 697a534ed64e76de3cfb8b558e40d081f70b31ff (commit) via dcfd456640b6e15f15c94f175eb145220b96ee1a (commit) via c93919655753591bc883165f03f204a8773c4f64 (commit) from 22fd3cd0de098de3816d687e41d42fe551412a33 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=7dba11fe32615fb5e49fae0a3bbd787ce4abc9b7 commit 7dba11fe32615fb5e49fae0a3bbd787ce4abc9b7 Author: Jacob Erlbeck Date: Mon Dec 22 17:58:18 2014 +0100 sgsn: Be more tolerant with state and SUSPEND/RESUME Currently, when a BSSGP SUSPEND is received and the corresponding MM context is already in the state GMM_REGISTERED_SUSPENDED, a SUSPEND_NACK is returned which is not covered by GSM 08.18, 7.4.1. The same goes for RESUME in the state GMM_REGISTERED_NORMAL. This commit changes gprs_gmm_rx_suspend and gprs_gmm_rx_resume to not complain (and thus answer a NACK) when the MM context is either in GMM_REGISTERED_SUSPENDED or GMM_REGISTERED_NORMAL. Note that GSM 08.18, 7.4.1 and 7.5.1 only mention to send an NACK if the MS is not known. Even with this patch, the SGSN returns a NACK if either the MS is unknown _or_ the MM context ist not in one of the state GMM_REGISTERED_SUSPENDED and GMM_REGISTERED_NORMAL. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=3ea2260d00b42e6e5172d0db27aac30ca28d6640 commit 3ea2260d00b42e6e5172d0db27aac30ca28d6640 Author: Jacob Erlbeck Date: Fri Dec 19 18:17:10 2014 +0100 sgsn: Log requested state change in sgsn_auth_update Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=4b59d24f4f97f75f7f62ef31112870892d08b8f8 commit 4b59d24f4f97f75f7f62ef31112870892d08b8f8 Author: Jacob Erlbeck Date: Tue Dec 16 08:41:34 2014 +0100 openbsc: Ignore generated coverage analysis files This patch adds *.gcda and *.gcno to .gitignore to skip files that are generated by gcc --coverage and related tools. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=697a534ed64e76de3cfb8b558e40d081f70b31ff commit 697a534ed64e76de3cfb8b558e40d081f70b31ff Author: Jacob Erlbeck Date: Thu Dec 11 12:05:29 2014 +0100 gprs: Add gprs_shift_tlv function This function is similar to gprs_match_tlv with the exception, that the tag is not compared but returned in *tag instead. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=dcfd456640b6e15f15c94f175eb145220b96ee1a commit dcfd456640b6e15f15c94f175eb145220b96ee1a Author: Jacob Erlbeck Date: Thu Dec 11 11:01:46 2014 +0100 gprs: Move TLV parser functions to gprs_utils.c and rename them Currently the parser functions for single information elements are defined within gprs_gb_parse.c and not exported explicitely. In addition they are named like libosmocore's TLV parser functions and do not have a proper name prefix. Since it is planned to use them for other protocols, they need to be globally accessible. This patch moves them to gprs_utils.c and renames them. The new names are: lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed lv_shift -> gprs_shift_lv v_fixed_shift -> gprs_shift_v_fixed In the long term, these functions should be moved to libosmocore (and renamed again). Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=c93919655753591bc883165f03f204a8773c4f64 commit c93919655753591bc883165f03f204a8773c4f64 Author: Jacob Erlbeck Date: Thu Dec 18 09:53:07 2014 +0100 sgsn: Add missing LF in log message Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/.gitignore | 2 + openbsc/include/openbsc/gprs_utils.h | 12 ++ openbsc/src/gprs/gprs_gb_parse.c | 172 ++++-------------------- openbsc/src/gprs/gprs_gmm.c | 6 +- openbsc/src/gprs/gprs_sgsn.c | 2 +- openbsc/src/gprs/gprs_utils.c | 135 +++++++++++++++++++ openbsc/src/gprs/sgsn_auth.c | 7 +- openbsc/tests/gbproxy/gbproxy_test.c | 236 --------------------------------- openbsc/tests/gbproxy/gbproxy_test.ok | 1 - openbsc/tests/gprs/gprs_test.c | 241 ++++++++++++++++++++++++++++++++++ openbsc/tests/gprs/gprs_test.ok | 1 + 11 files changed, 429 insertions(+), 386 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Dec 23 16:02:20 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 23 Dec 2014 16:02:20 GMT Subject: openbsc.git branch jerlbeck/wip/gprs-patching updated. 0.13.0-821-g3fb6fbd Message-ID: <201412231602.sBNG2K1N075703@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, jerlbeck/wip/gprs-patching has been updated discards 18d3450120796026837803177a9b39862effdcc3 (commit) discards ac4c60a3df10e436f21a522a0a10e285f8a7b5e1 (commit) discards 8243b2643ec61ea471ff5f57f6c625575d6a8c95 (commit) discards c0d0293319faf0e5d254c6150b18780b462a1e17 (commit) discards d955555e7dccee0eeb8aa4b5300ec0d44f182a9e (commit) discards 7afcad12a5011e121a8c9727efe2954fe9b48033 (commit) discards 37a9de32ab6ead088fad421de0ee82a676fb3f20 (commit) discards cecedbf4478d65d0bf76f3ec922c00ed60f551b4 (commit) discards bb7048fbf731b768f4a982854145b56c616ed0ad (commit) discards e5b78fb52e06d9008ce09f8429bb49c7df9d2401 (commit) discards be5f5cf232e80926b62cd3d42d75a50aa60dbd19 (commit) discards 58affb6cf017e869bd89c6fa04dc4bf539a999d3 (commit) discards d7ee04647aa9d5ad69d86a6bb60e1543e2a1f1a1 (commit) discards 3ef64da79208515ccdd1b707a3e629581537bfa0 (commit) discards ced7abab7695a1c3019933b8dfc838693505d14e (commit) discards ed47c392a848a59f77f973aa578179d9565bf36c (commit) discards 64cae3b725c93d98aff6bc244190df309ea44150 (commit) discards c8b72181fef62e4be671fdba1e075d402cc0841e (commit) discards 4feb7f8f13d64aea5e4fbf7d8f1b104cd3fd4ca4 (commit) discards 57a0ab1b78cce5bc61b738b0066e663362973346 (commit) discards f6f00e526428811286b2cb60779f78a629efc396 (commit) discards 0666b6d027a5674e004be679100510481eb5ce33 (commit) discards 6398f890fdee5a5b8d5c759c62b5d355489a55ad (commit) discards 9dcfad0aaf7dde706b2731ca02dbe435fd23205a (commit) discards 3454b19788cb40e94d8dcc83c79a11190a48479a (commit) discards f90a0222471e81f7795012325ab6975450c78ef9 (commit) discards 68c53a87f6a142b2c2d24b06a2bc4c71802f1751 (commit) discards 0da1846420d7d1e049e30ab04bc37cce7a96a204 (commit) discards 10248d02767e4110c654548b8154b7d3d6806e2e (commit) via 3fb6fbddfd6c7c524d9718953e11d1253c176c03 (commit) via 615c0089f0dd6c9794a93ff30136f4d5680b3527 (commit) via 69dbfccd9617d890ab47f8f3be5f12268ef97fe4 (commit) via 477687d28b2fd4d0c802980d9520a0dac9f48b1c (commit) via fc1a40a908eed3783fd1ef952bff4439e92c011e (commit) via 52cbc48dc3b34c8cbf0fbe4c3dec80fc115d6103 (commit) via 0898453bcc9a4d29c1b7a350af3bb2c657c13887 (commit) via d0d19575645fbb55675a920dddf9e0b908e344a6 (commit) via dc705156990875cce47e91be02d6e11eb42ec297 (commit) via 7ba0f5153d236baafae9c4fa35bd19b9dae8fa79 (commit) via 877eaefa8b2f13758103eb77aeaa57db4bb58ef4 (commit) via 20fba7e41677012efaf84b869f270c364b44067e (commit) via 0331b92277f541f64b2928a7996e23f55ef86e1e (commit) via b633cac56859a73cfe955aaca42e4624064c7a24 (commit) via 8c53be038f73ef0ec41990cca44e3acf51c608e2 (commit) via db0f3dc595fd081cb26df84b0a534614cf35e018 (commit) via a458d7ef7835891237b2c271d9365e59691cbb0a (commit) via 9b731ee8145248104016a66a5617706321d112a1 (commit) via 82c9c6a70704677fd691e6a2c5e865d490a944bc (commit) via 3e2ade7f718ceaaa7bfdc70da0c666c2a4096d6d (commit) via db7e1e46f258f8697a952d0cec52601f8fb9d0e1 (commit) via fd40f97341add367623ce9133ee47df62956db94 (commit) via 91ba21fc94d0e2bcb1b2416d111e893232bc0c1b (commit) via 20d9b880e538c8728e825b4bb74ededb1a67ee20 (commit) via 7dba11fe32615fb5e49fae0a3bbd787ce4abc9b7 (commit) via 3ea2260d00b42e6e5172d0db27aac30ca28d6640 (commit) via 4b59d24f4f97f75f7f62ef31112870892d08b8f8 (commit) via 697a534ed64e76de3cfb8b558e40d081f70b31ff (commit) via dcfd456640b6e15f15c94f175eb145220b96ee1a (commit) via c93919655753591bc883165f03f204a8773c4f64 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (18d3450120796026837803177a9b39862effdcc3) \ N -- N -- N (3fb6fbddfd6c7c524d9718953e11d1253c176c03) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=3fb6fbddfd6c7c524d9718953e11d1253c176c03 commit 3fb6fbddfd6c7c524d9718953e11d1253c176c03 Author: Jacob Erlbeck Date: Tue Dec 23 14:24:16 2014 +0100 sgsn: Handle GSUP errors (WIP) Ticket: OW#???? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=615c0089f0dd6c9794a93ff30136f4d5680b3527 commit 615c0089f0dd6c9794a93ff30136f4d5680b3527 Author: Jacob Erlbeck Date: Tue Sep 30 13:53:26 2014 +0200 sgsn: Added TODOs (TODO) TODO: - fix and remove TODOs - add test cases for Detach(reattach) - add test cases for PDP context deletion (OW#1311) - add test cases for Cancel pending timer in sgsn_mm_ctx_free - remove this commit Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=69dbfccd9617d890ab47f8f3be5f12268ef97fe4 commit 69dbfccd9617d890ab47f8f3be5f12268ef97fe4 Author: Jacob Erlbeck Date: Fri Oct 17 10:08:02 2014 +0200 sgsn: Do not die in _bssgp_tx_dl_ud on TLLI mismatch (TODO) Currently an OSMO_ASSERT fails, if the message's and the mmctx's TLLIs do not match. This commit turns the assertion into an ERROR log message and uses the default values for IMSI, DRX, and RA CAP instead of the MM context values in this case. TODO: - find the real source for the problem - add test cases derived from what is being described in the ticket Ticket: OW#1322 Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=477687d28b2fd4d0c802980d9520a0dac9f48b1c commit 477687d28b2fd4d0c802980d9520a0dac9f48b1c Author: Jacob Erlbeck Date: Wed Dec 17 14:03:35 2014 +0100 sgsn: Add PDP info to subscriber data (TODO) TODO: - commit message - raw binary representation ??? - tests Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=fc1a40a908eed3783fd1ef952bff4439e92c011e commit fc1a40a908eed3783fd1ef952bff4439e92c011e Author: Jacob Erlbeck Date: Fri Dec 19 19:11:20 2014 +0100 sgsn: Add logging to connect_timer_cb (TODO) TODO: - LOGLevel ? Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=52cbc48dc3b34c8cbf0fbe4c3dec80fc115d6103 commit 52cbc48dc3b34c8cbf0fbe4c3dec80fc115d6103 Author: Jacob Erlbeck Date: Fri Dec 19 19:19:46 2014 +0100 sgsn: Show GSUP client info on 'show sgsn' This commit adds a line to the output of 'show sgsn' if the GSUP client has been initialized: - Remote authorization: [not] connected to HOST:PORT via GSUP Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=0898453bcc9a4d29c1b7a350af3bb2c657c13887 commit 0898453bcc9a4d29c1b7a350af3bb2c657c13887 Author: Jacob Erlbeck Date: Fri Dec 19 19:18:54 2014 +0100 sgsn: Send PING and eventually reconnect Currently, the reconnect mechanism relies on gsup_client_updown_cb which in turn gets called based on the OS' view of connection state. This patch adds a timer based PING mechanism that regularly sends PING messages and forces a reconnect if a PONG message won't be received until the next PING message is scheduled. The current ping interval is 20s. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=d0d19575645fbb55675a920dddf9e0b908e344a6 commit d0d19575645fbb55675a920dddf9e0b908e344a6 Author: Jacob Erlbeck Date: Fri Dec 19 19:15:55 2014 +0100 sgsn: Handle incoming IPA CCM message in gsup_client_read_cb Currently the IPA CCM messages are not handled by the GSUP client. This means, that the client doesn't answer to PING and ID_GET and logs notices when receiving PONG or ID_ACK. At least the PING functionality (remotely originated PING) shall be supported. This patch extends gsup_client_read_cb by a call to ipaccess_bts_handle_ccm. Only when the return code is 0, the message is processed further and checked for an OSMO/GSUP message. ID_GET messages are answered by a dummy description, where only the unit_name is set to 'SGSN'. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=dc705156990875cce47e91be02d6e11eb42ec297 commit dc705156990875cce47e91be02d6e11eb42ec297 Author: Jacob Erlbeck Date: Fri Dec 19 19:00:56 2014 +0100 sgsn: Handle return code of ipa_client_conn_open correctly The ipa_client_conn_open function does not distinguish between a connection being already established or waiting for establishment. In either case, the application gets informed about the connection state via the updown_cb. The 'up' parameter is only set, if poll/select consider the socket as writable. This patch handles both cases equally and fully relies on the updown_cb to adjust the gsupc obejct state. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=7ba0f5153d236baafae9c4fa35bd19b9dae8fa79 commit 7ba0f5153d236baafae9c4fa35bd19b9dae8fa79 Author: Jacob Erlbeck Date: Fri Dec 19 18:50:05 2014 +0100 sgsn: Avoid sending stale GSUP requests after reconnect Currently, messages are added to the tx queue even if the connection is down for some reason and all of these messages are eventually sent after a re-connect. The MS has probably sent several Attach Requests while the connection was down and will continue doing so. Therefore these stored messages could be dropped. This patch clears the queue before re-connecting and also extends gprs_gsup_client_send to return immediately, when the connection is not established instead of calling ipa_client_conn_send. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=877eaefa8b2f13758103eb77aeaa57db4bb58ef4 commit 877eaefa8b2f13758103eb77aeaa57db4bb58ef4 Author: Jacob Erlbeck Date: Thu Dec 18 15:00:29 2014 +0100 sgsn: Add automatic re-connect if the GSUP connection is down Currently the GSUP connection to a server is not restarted if the connection cannot be established or is terminated during operation. This commit adds a timer based connection mechanism, basically consisting of a timer callback that calls gsup_client_connect. The timer is eventually triggered (up == 0) or cleared (up != 0) by gsup_client_updown_cb. It adds calls to osmo_timer_del() to gsup_client_connect and gprs_gsup_client_destroy. The latter is now called instead of talloc_free in gprs_gsup_client_create on error to be on the safe side. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=20fba7e41677012efaf84b869f270c364b44067e commit 20fba7e41677012efaf84b869f270c364b44067e Author: Jacob Erlbeck Date: Fri Dec 19 18:30:41 2014 +0100 sgsn/test: Extend tests to simulate lost GSUP requests This patch extends test_gmm_attach to optionally resend Attach Requests until the SGSN responds to it instead of calling OSMO_ASSERT at a few places. The test_gmm_attach_subscr_gsup_auth test optionally uses this feature. It is called once in either mode. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=0331b92277f541f64b2928a7996e23f55ef86e1e commit 0331b92277f541f64b2928a7996e23f55ef86e1e Author: Jacob Erlbeck Date: Fri Dec 19 18:26:09 2014 +0100 sgsn/test: Add GMM test for a GSUP based attach procedure This test calls test_gmm_attach() where the mocked subscriber functions insert GSUP messages instead of manipulating the subscriber structure directly. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=b633cac56859a73cfe955aaca42e4624064c7a24 commit b633cac56859a73cfe955aaca42e4624064c7a24 Author: Jacob Erlbeck Date: Fri Dec 19 18:19:50 2014 +0100 sgsn/test: Add wrapper for gprs_subscr_rx_gsup_message Currently, several lines of boiler plate are needed around a call to gprs_subscr_rx_gsup_message. This patch puts all of this (including the call to gprs_subscr_rx_gsup_message) into a separate function. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=8c53be038f73ef0ec41990cca44e3acf51c608e2 commit 8c53be038f73ef0ec41990cca44e3acf51c608e2 Author: Jacob Erlbeck Date: Fri Dec 19 18:08:48 2014 +0100 sgsn: Add global require_update_location flag This flag is used to determine, whether the Update Location procedure shall be invoked. This is currently only set, when the 'remote' authorization policy is set. When the flag is set, sgsn_auth_update will not never be called directly by sgsn_auth_request, if an Attach Request procedure is pending, even if the remote connection fails for some reason. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=db0f3dc595fd081cb26df84b0a534614cf35e018 commit db0f3dc595fd081cb26df84b0a534614cf35e018 Author: Jacob Erlbeck Date: Wed Dec 17 13:20:08 2014 +0100 sgsn: Replace subscr.authenticate by global require_authentication flag Currently the flag 'authenticate' is managed per subscriber. This patch replaces that flag by a global cfg.require_authentication flag that enables/disables the use of the Auth & Ciph procedure for every subscriber. The flag is set by the VTY, if and only if the authorization policy is 'remote'. The VTY command - update-subscriber imsi IMSI insert authenticate <0-1> is removed. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=a458d7ef7835891237b2c271d9365e59691cbb0a commit a458d7ef7835891237b2c271d9365e59691cbb0a Author: Jacob Erlbeck Date: Thu Dec 18 12:46:47 2014 +0100 sgsn: Integrate the GSUP client into the SGSN This commit adds GSUP client configuration (via VTY), connection set up, and real message sending. The following configuration commands are added: - gsup remote-ip A.B.C.D set server IP address - gsup remote-port PORT set server TCP port Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=9b731ee8145248104016a66a5617706321d112a1 commit 9b731ee8145248104016a66a5617706321d112a1 Author: Jacob Erlbeck Date: Thu Dec 18 12:28:21 2014 +0100 sgsn: Add GSUP client This commit adds the client code to get subscriber information from a remote server. It provides an IPA over TCP connection to transmit and receive GSUP messages. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=82c9c6a70704677fd691e6a2c5e865d490a944bc commit 82c9c6a70704677fd691e6a2c5e865d490a944bc Author: Jacob Erlbeck Date: Mon Dec 15 10:16:02 2014 +0100 sgsn/doc: Add IPA default parameters This commit adds the default protocol identifiers that should be used for GSUP by the IPA protocol. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=3e2ade7f718ceaaa7bfdc70da0c666c2a4096d6d commit 3e2ade7f718ceaaa7bfdc70da0c666c2a4096d6d Author: Jacob Erlbeck Date: Fri Dec 12 15:01:37 2014 +0100 gprs: Add subscriber functions to create/handle GSUP messages This patch extends gprs_subscr_query_auth_info and gprs_subscr_location_update to create GSUP messages with the help of a static gprs_subscr_tx_gsup_message function. A corresponding gprs_subscr_rx_gsup_message is added which takes a messages, gets the subscr, and updates it accordingly. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=db7e1e46f258f8697a952d0cec52601f8fb9d0e1 commit db7e1e46f258f8697a952d0cec52601f8fb9d0e1 Author: Jacob Erlbeck Date: Thu Dec 11 16:54:14 2014 +0100 gprs: Add encoder/decoder for the Subscriber Update Protocol This patch adds functions to encode and decode GSUP messages. This does not include the layer 1 framing (IPA). The messages so far supported are: send_auth_info_*, update_location_*, location_cancellation_*. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=fd40f97341add367623ce9133ee47df62956db94 commit fd40f97341add367623ce9133ee47df62956db94 Author: Jacob Erlbeck Date: Thu Dec 11 15:14:14 2014 +0100 sgsn/doc: Add protocol specification for remote subscriber update This is the first version of the specification for the GPRS Subscriber Update Protocol. Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=91ba21fc94d0e2bcb1b2416d111e893232bc0c1b commit 91ba21fc94d0e2bcb1b2416d111e893232bc0c1b Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Add a subscriber based authentication phase This implements the MAP way of subscriber validation when the MS tries to perform an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the Auth & Ciph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject The authentication triplets are used and eventually updated if all of them have been used. This is currently accessible via the VTY interface by the following commands: - update-subscriber imsi IMSI update-auth-info - update-subscriber imsi IMSI update-location-result (ok|ERR-CAUSE) Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=20d9b880e538c8728e825b4bb74ededb1a67ee20 commit 20d9b880e538c8728e825b4bb74ededb1a67ee20 Author: Jacob Erlbeck Date: Mon Dec 8 15:52:00 2014 +0100 sgsn: Add support for authentication triplets This commit add data structures, functions, initialization, and VTY commands for per subscriber authentication triplets. The following VTY command is added: - update-subscriber imsi IMSI \ insert auth-triplet <1-5> sres SRES rand RAND kc KC Note that the triplets are not really used by the SGSN yet. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/doc/sgsn-remote-protocol.txt | 23 ++++--- openbsc/include/openbsc/gprs_gmm.h | 4 +- openbsc/include/openbsc/gprs_sgsn.h | 7 +- openbsc/src/gprs/gprs_gmm.c | 58 +++++++--------- openbsc/src/gprs/gprs_subscriber.c | 127 ++++++++++++++++++++++++++--------- openbsc/src/gprs/sgsn_auth.c | 45 ++++++------- openbsc/src/gprs/sgsn_vty.c | 10 ++- openbsc/tests/sgsn/Makefile.am | 2 +- openbsc/tests/sgsn/sgsn_test.c | 43 +++++++----- 9 files changed, 192 insertions(+), 127 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Dec 23 18:53:56 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 23 Dec 2014 18:53:56 GMT Subject: openggsn.git branch master updated. 0.91-67-g91d0ee5 Message-ID: <201412231853.sBNIruPo091929@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenGGSN project". The branch, master has been updated via 91d0ee5c140a7b9cff8fb71d7fd19025a92bc71b (commit) from 6ab58b466aed0a19db59689eb76e252a6b844963 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openggsn/commit/?id=91d0ee5c140a7b9cff8fb71d7fd19025a92bc71b commit 91d0ee5c140a7b9cff8fb71d7fd19025a92bc71b Author: Holger Hans Peter Freyther Date: Tue Dec 23 19:52:54 2014 +0100 lib: Speculatively add libosmocore cflags to the lib ----------------------------------------------------------------------- Summary of changes: lib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- The OpenGGSN project From gitosis at osmocom.org Wed Dec 24 15:51:17 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Wed, 24 Dec 2014 15:51:17 GMT Subject: openbsc.git branch master updated. 0.13.0-799-g98a95ac Message-ID: <201412241551.sBOFpHLr004197@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 98a95ac17f701d94d2fa62d91cfe42a5beef4f23 (commit) via 7921ab1593f45f12588e074ad1280472416ae930 (commit) from 7dba11fe32615fb5e49fae0a3bbd787ce4abc9b7 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=98a95ac17f701d94d2fa62d91cfe42a5beef4f23 commit 98a95ac17f701d94d2fa62d91cfe42a5beef4f23 Author: Jacob Erlbeck Date: Fri Nov 28 14:55:25 2014 +0100 sgsn: Add a subscriber based authentication phase This implements the MAP way of subscriber validation when the MS tries to perform an Attach Request: 1. perform authentication (optionally invoke the sendAuthInfo procedure), starts the Auth & Ciph procedure 2. perform update location 3. insert subscriber data 4. finish the update location 5. Attach Accept / Attach Reject The authentication triplets are used and eventually updated if all of them have been used. This is currently accessible via the VTY interface by the following commands: - update-subscriber imsi IMSI update-auth-info - update-subscriber imsi IMSI update-location-result (ok|ERR-CAUSE) Sponsored-by: On-Waves ehf http://cgit.osmocom.org/openbsc/commit/?id=7921ab1593f45f12588e074ad1280472416ae930 commit 7921ab1593f45f12588e074ad1280472416ae930 Author: Jacob Erlbeck Date: Mon Dec 8 15:52:00 2014 +0100 sgsn: Add support for authentication triplets This commit add data structures, functions, initialization, and VTY commands for per subscriber authentication triplets. The following VTY command is added: - update-subscriber imsi IMSI \ insert auth-triplet <1-5> sres SRES rand RAND kc KC Note that the triplets are not really used by the SGSN yet. Sponsored-by: On-Waves ehf ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gprs_sgsn.h | 19 +++- openbsc/src/gprs/gprs_subscriber.c | 95 +++++++++++------ openbsc/src/gprs/sgsn_auth.c | 116 +++++++++++++++++++-- openbsc/src/gprs/sgsn_vty.c | 151 ++++++++++++++++++++++++++- openbsc/tests/sgsn/Makefile.am | 3 +- openbsc/tests/sgsn/sgsn_test.c | 197 +++++++++++++++++++++++++++++------- openbsc/tests/sgsn/sgsn_test.ok | 2 + 7 files changed, 500 insertions(+), 83 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Thu Dec 25 16:34:00 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 25 Dec 2014 16:34:00 GMT Subject: openbsc.git branch master updated. 0.13.0-800-gbe8e775 Message-ID: <201412251634.sBPGY0AR055937@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via be8e775776b2f39fe8a31412a4fcaaf5dcaae25e (commit) from 98a95ac17f701d94d2fa62d91cfe42a5beef4f23 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=be8e775776b2f39fe8a31412a4fcaaf5dcaae25e commit be8e775776b2f39fe8a31412a4fcaaf5dcaae25e Author: Holger Hans Peter Freyther Date: Thu Dec 25 17:27:15 2014 +0100 db: Extend the test to mark a SMS as delivered and verify it Mark the SMS as delivered, then free it and try to get an undelivered SMS to that subscriber again and make sure it is failing. ----------------------------------------------------------------------- Summary of changes: openbsc/tests/db/db_test.c | 7 +++++++ 1 file changed, 7 insertions(+) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Thu Dec 25 17:48:30 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Thu, 25 Dec 2014 17:48:30 GMT Subject: openbsc.git branch master updated. 0.13.0-801-g65be6de Message-ID: <201412251748.sBPHmUwX062273@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 65be6de155407142ddab44faf8aee5f8d5ebf628 (commit) from be8e775776b2f39fe8a31412a4fcaaf5dcaae25e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=65be6de155407142ddab44faf8aee5f8d5ebf628 commit 65be6de155407142ddab44faf8aee5f8d5ebf628 Author: Holger Hans Peter Freyther Date: Thu Dec 25 18:41:32 2014 +0100 rtp: Remove the "correction" of timestamps We tend to comment out this code every XXC3, let's just get rid off it. The nanoBTS has a rather odd timing behavior. Jacob has spent hours this summer to trial/document/fix it in the MGCP code and this code is not getting close to working around the ip.access audio issues. If someobody still wants to use the nanoBTS then he should help to have the MGCP MGW use/share code with the rtp_proxy.c ----------------------------------------------------------------------- Summary of changes: openbsc/src/libtrau/rtp_proxy.c | 21 --------------------- 1 file changed, 21 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Fri Dec 26 00:46:45 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 26 Dec 2014 00:46:45 GMT Subject: osmo-bts.git branch master updated. 0.3.0-260-g50dc965 Message-ID: <201412260046.sBQ0kjTm098461@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, master has been updated via 50dc96507caba9480938eb3d9d0db9236f877b49 (commit) from c265bef48c414ca6c135f803c0c5dfdecbeece72 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=50dc96507caba9480938eb3d9d0db9236f877b49 commit 50dc96507caba9480938eb3d9d0db9236f877b49 Author: Holger Hans Peter Freyther Date: Fri Dec 26 01:41:41 2014 +0100 sysmobts: Include the serial number in the find response Read the serial number once and format it as a string. In case no serial number is present -1 will be returned. Manually tested with a slightly modified version. serial_nr was the expected one. ----------------------------------------------------------------------- Summary of changes: src/osmo-bts-sysmo/misc/sysmobts_mgr_nl.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Fri Dec 26 15:07:02 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 26 Dec 2014 15:07:02 GMT Subject: openbsc.git branch shared/31c3 created. 0.13.0-802-g237dd5e Message-ID: <201412261507.sBQF7296076448@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, shared/31c3 has been created at 237dd5e283dbdf91c775f62e2cdcabed3fa2788e (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=237dd5e283dbdf91c775f62e2cdcabed3fa2788e commit 237dd5e283dbdf91c775f62e2cdcabed3fa2788e Author: Holger Hans Peter Freyther Date: Thu Dec 25 17:29:19 2014 +0100 sms: Remove the text of delivered SMS when they are sent When a SMS is marked as sent, clear the paypload. We might want to know about connections and delivered sms but certainly not about the content. ----------------------------------------------------------------------- hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Fri Dec 26 15:28:49 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 26 Dec 2014 15:28:49 GMT Subject: osmo-bts.git branch shared/31c3 created. 0.3.0-261-g5a906c7 Message-ID: <201412261528.sBQFSnL4078397@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been created at 5a906c7b725af6d73d5b38f666833d1e56c3a673 (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=5a906c7b725af6d73d5b38f666833d1e56c3a673 commit 5a906c7b725af6d73d5b38f666833d1e56c3a673 Author: Holger Hans Peter Freyther Date: Fri Dec 26 16:26:03 2014 +0100 sysmobts: WIP: allow to use the serial number as unit id ----------------------------------------------------------------------- hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Fri Dec 26 17:14:43 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 26 Dec 2014 17:14:43 GMT Subject: libosmo-abis.git branch master updated. 0.3.0-5-gadfa01f Message-ID: <201412261714.sBQHEhgw033831@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom A-bis protcol interface library". The branch, master has been updated via adfa01f041e3b9a515b65a732c92eabf74e2ba08 (commit) from 1acf4cbd75e1d50d2605c75759235e7cdea5fbdc (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmo-abis/commit/?id=adfa01f041e3b9a515b65a732c92eabf74e2ba08 commit adfa01f041e3b9a515b65a732c92eabf74e2ba08 Author: Holger Hans Peter Freyther Date: Fri Dec 26 18:13:55 2014 +0100 misdn: Close the file descriptor if the ioctl is failing Fixes: Coverity CID#1040691 ----------------------------------------------------------------------- Summary of changes: src/input/misdn.c | 1 + 1 file changed, 1 insertion(+) hooks/post-receive -- Osmocom A-bis protcol interface library From gitosis at osmocom.org Fri Dec 26 17:39:09 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Fri, 26 Dec 2014 17:39:09 GMT Subject: osmo-pcu.git branch master updated. 0.2-372-gf5c9747 Message-ID: <201412261739.sBQHd9RO036296@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "UNNAMED PROJECT". The branch, master has been updated via f5c97476de68ac7ce2fba48be1e7502c1c794606 (commit) from 49f26bf6e8285cd99f7e5d71d9f902f10b9212a1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-pcu/commit/?id=f5c97476de68ac7ce2fba48be1e7502c1c794606 commit f5c97476de68ac7ce2fba48be1e7502c1c794606 Author: Holger Hans Peter Freyther Date: Fri Dec 26 18:32:00 2014 +0100 tbf: Fix dereference before null check m_new_tbf might be NULL. Assign was_releasing _after_ we have done the NULL check. Related: Coverity CID#1238847 ----------------------------------------------------------------------- Summary of changes: src/tbf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- UNNAMED PROJECT From gitosis at osmocom.org Sat Dec 27 18:06:08 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 27 Dec 2014 18:06:08 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-262-g1f27fda Message-ID: <201412271806.sBRI68pw069162@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via 1f27fda1945cbddacce45bd5587a1909f7cb0bf6 (commit) from 5a906c7b725af6d73d5b38f666833d1e56c3a673 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=1f27fda1945cbddacce45bd5587a1909f7cb0bf6 commit 1f27fda1945cbddacce45bd5587a1909f7cb0bf6 Author: Holger Hans Peter Freyther Date: Sat Dec 27 19:05:09 2014 +0100 wip... handle ----------------------------------------------------------------------- Summary of changes: include/osmo-bts/paging.h | 6 ++++++ src/common/paging.c | 26 ++++++++++++++++++++++---- src/common/vty.c | 20 ++++++++++++++++++++ 3 files changed, 48 insertions(+), 4 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Sat Dec 27 22:06:16 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 27 Dec 2014 22:06:16 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-264-g7f12860 Message-ID: <201412272206.sBRM6GXO090937@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via 7f12860f08784f4a789c9bb9664db917ccba630d (commit) via 96efd189ccab412b0f42bf4564c72359ef358a1c (commit) from 1f27fda1945cbddacce45bd5587a1909f7cb0bf6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=7f12860f08784f4a789c9bb9664db917ccba630d commit 7f12860f08784f4a789c9bb9664db917ccba630d Author: Holger Hans Peter Freyther Date: Sat Dec 27 23:05:51 2014 +0100 wip... encoding and stuff http://cgit.osmocom.org/osmo-bts/commit/?id=96efd189ccab412b0f42bf4564c72359ef358a1c commit 96efd189ccab412b0f42bf4564c72359ef358a1c Author: Holger Hans Peter Freyther Date: Sat Dec 27 19:33:23 2014 +0100 wip... ----------------------------------------------------------------------- Summary of changes: include/osmo-bts/paging.h | 4 +- src/common/Makefile.am | 3 +- src/common/etws_p1.c | 109 ++++++++++++++++++++++++++++++++++++++++++++++ src/common/paging.c | 15 ++++--- src/common/vty.c | 37 +++++++++++++++- 5 files changed, 158 insertions(+), 10 deletions(-) create mode 100644 src/common/etws_p1.c hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Sat Dec 27 22:43:42 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sat, 27 Dec 2014 22:43:42 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-265-g03483cf Message-ID: <201412272243.sBRMhgF7094046@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via 03483cf0f2ca8900971652dc562cd91750ca0d1a (commit) from 7f12860f08784f4a789c9bb9664db917ccba630d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=03483cf0f2ca8900971652dc562cd91750ca0d1a commit 03483cf0f2ca8900971652dc562cd91750ca0d1a Author: Harald Welte Date: Sat Dec 27 23:43:09 2014 +0100 etws_p1: Add missing 'Group Call Information' to P1 Rest Octets ----------------------------------------------------------------------- Summary of changes: src/common/etws_p1.c | 2 ++ 1 file changed, 2 insertions(+) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Sun Dec 28 11:16:20 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 28 Dec 2014 11:16:20 GMT Subject: openbsc.git branch shared/31c3 updated. 0.13.0-803-g4dadbde Message-ID: <201412281116.sBSBGK3j064319@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, shared/31c3 has been updated via 4dadbdebf53e72a70dabb91677b18d3d300dacc2 (commit) from 237dd5e283dbdf91c775f62e2cdcabed3fa2788e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=4dadbdebf53e72a70dabb91677b18d3d300dacc2 commit 4dadbdebf53e72a70dabb91677b18d3d300dacc2 Author: Holger Hans Peter Freyther Date: Sun Dec 28 12:08:28 2014 +0100 lchan: Remember why a channel is broken using static strings Remember why a channel is being marked as broken. So we can maybe understand what happend. ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/abis_rsl.h | 1 + openbsc/include/openbsc/gsm_data_shared.h | 1 + openbsc/src/libbsc/abis_rsl.c | 22 +++++++++++++++------- openbsc/src/libbsc/bsc_vty.c | 7 +++++-- openbsc/src/libbsc/chan_alloc.c | 2 ++ 5 files changed, 24 insertions(+), 9 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Sun Dec 28 11:37:33 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 28 Dec 2014 11:37:33 GMT Subject: openbsc.git branch shared/31c3 updated. 0.13.0-804-gdb81ad9 Message-ID: <201412281137.sBSBbXNJ066264@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, shared/31c3 has been updated via db81ad9d9fb04ef161351cabd79bca228a1ff78e (commit) from 4dadbdebf53e72a70dabb91677b18d3d300dacc2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=db81ad9d9fb04ef161351cabd79bca228a1ff78e commit db81ad9d9fb04ef161351cabd79bca228a1ff78e Author: Holger Hans Peter Freyther Date: Sun Dec 28 12:23:35 2014 +0100 db: Begin with some indexes to speed up look-ups For MT-SMS we need to look-up a subscriber based on the extension and to find a undelivered SMS we need to search for the sent column to be NULL. Add two indexes to speed-up this operation. ----------------------------------------------------------------------- Summary of changes: openbsc/src/libmsc/db.c | 6 ++++++ 1 file changed, 6 insertions(+) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Sun Dec 28 12:37:30 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 28 Dec 2014 12:37:30 GMT Subject: libosmocore.git branch master updated. 0.7.0-89-g1b12d16 Message-ID: <201412281237.sBSCbU7Z075265@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, master has been updated via 1b12d16c4c6a2914e4d3def56b304cb0da9246b0 (commit) from a6be224b889baa8aecc4e7247e596583bbcfc8cb (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=1b12d16c4c6a2914e4d3def56b304cb0da9246b0 commit 1b12d16c4c6a2914e4d3def56b304cb0da9246b0 Author: Harald Welte Date: Sun Dec 28 13:37:01 2014 +0100 libosmo-gsm: Add PCHAN/LCHAN types for CBCH ----------------------------------------------------------------------- Summary of changes: include/osmocom/gsm/gsm_utils.h | 3 +++ src/gsm/abis_nm.c | 2 ++ 2 files changed, 5 insertions(+) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Sun Dec 28 14:23:14 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 28 Dec 2014 14:23:14 GMT Subject: openbsc.git branch shared/31c3 updated. 0.13.0-805-g59a765d Message-ID: <201412281423.sBSENEuX085374@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, shared/31c3 has been updated via 59a765d46f04cd22818d1624bda7000e26837fe9 (commit) from db81ad9d9fb04ef161351cabd79bca228a1ff78e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=59a765d46f04cd22818d1624bda7000e26837fe9 commit 59a765d46f04cd22818d1624bda7000e26837fe9 Author: Holger Hans Peter Freyther Date: Sun Dec 28 15:00:36 2014 +0100 log: Set the context for paging requests as well. ----------------------------------------------------------------------- Summary of changes: openbsc/src/libbsc/paging.c | 11 +++++++++++ openbsc/src/libmsc/gsm_04_08.c | 1 + 2 files changed, 12 insertions(+) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Sun Dec 28 17:32:45 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 28 Dec 2014 17:32:45 GMT Subject: libosmocore.git branch master updated. 0.7.0-91-g6ec6bd9 Message-ID: <201412281732.sBSHWjni001245@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, master has been updated via 6ec6bd9d887e02b868c1492fe24c0c8f1cc20f7c (commit) via c8c33094afe13b78a5c75ecfd62eff06e68d197d (commit) from 1b12d16c4c6a2914e4d3def56b304cb0da9246b0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=6ec6bd9d887e02b868c1492fe24c0c8f1cc20f7c commit 6ec6bd9d887e02b868c1492fe24c0c8f1cc20f7c Author: Holger Hans Peter Freyther Date: Sun Dec 28 18:27:38 2014 +0100 log: "logging level everything" is a badly named option. We tried to fix it but it isn't that easy. The original fix was cd6ed82d1ff48f47ad9e33e6322df62896a76ed5 but we had to revert it as "everything" is present/used in existing config files. If we ever change the ABI we can make everything be something that is > 0. For now use a wording that makes it obvious that people should not use "everything". http://cgit.osmocom.org/libosmocore/commit/?id=c8c33094afe13b78a5c75ecfd62eff06e68d197d commit c8c33094afe13b78a5c75ecfd62eff06e68d197d Author: Holger Hans Peter Freyther Date: Sun Dec 28 18:22:48 2014 +0100 bitvec: Fix typo in the csn1 encoding code We can curse about CSN.1 and 3GPP but I think we want to call it cursor here. ----------------------------------------------------------------------- Summary of changes: include/osmocom/core/bitvec.h | 2 +- src/logging.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Sun Dec 28 17:57:46 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Sun, 28 Dec 2014 17:57:46 GMT Subject: openbsc.git branch laforge/cbch created. 0.13.0-802-g6ee2024 Message-ID: <201412281757.sBSHvknG003762@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, laforge/cbch has been created at 6ee2024bdc0df80c3542b64399e493c8b4bc2bcf (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=6ee2024bdc0df80c3542b64399e493c8b4bc2bcf commit 6ee2024bdc0df80c3542b64399e493c8b4bc2bcf Author: Harald Welte Date: Sun Dec 28 15:00:45 2014 +0100 Add support for configuring CBCH channel configuration We can now configure the pyisical channel types for CBCH either in the CCCH+SDCCH4 or in the SDCCH8 chanel combination. Depending on whether a CBCH exists on the BTS, we also generate the SI4 with matching CBCH channel description to notify the phones of the existance of the CBCH. We do not yet have any logic at all for actual scheduling of CBCH RSL messages towards the BTSs yet, though. ----------------------------------------------------------------------- hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 29 00:08:29 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 00:08:29 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-267-gadb6a5f Message-ID: <201412290008.sBT08T9h037272@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via adb6a5f952f76fb1ac9388c17b891c8cabad6e7a (commit) via 411870929104891f76737accb69a97248f786afd (commit) from 03483cf0f2ca8900971652dc562cd91750ca0d1a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=adb6a5f952f76fb1ac9388c17b891c8cabad6e7a commit adb6a5f952f76fb1ac9388c17b891c8cabad6e7a Author: Harald Welte Date: Mon Dec 29 01:02:29 2014 +0100 CBCH: Implement CBCH block segmentation and RSL_MT_SMS_BC_CMD * CBCH load indications are not yet sent * The queue length is not yet limited! This code is not yet tested. http://cgit.osmocom.org/osmo-bts/commit/?id=411870929104891f76737accb69a97248f786afd commit 411870929104891f76737accb69a97248f786afd Author: Harald Welte Date: Sun Dec 28 15:18:09 2014 +0100 Initial CBCH support This should handle OML channel combinations with CBCH and activate the CBCH SAPI towards the DSP correspondingly. What is still missing is sending any actual information over the CBCH in respons to the PH-RTS.ind coming up from L1. ----------------------------------------------------------------------- Summary of changes: include/osmo-bts/Makefile.am | 2 +- include/osmo-bts/cbch.h | 16 ++++ include/osmo-bts/gsm_data.h | 6 ++ src/common/Makefile.am | 2 +- src/common/bts.c | 2 + src/common/cbch.c | 187 +++++++++++++++++++++++++++++++++++++++++++ src/common/measurement.c | 4 + src/common/oml.c | 18 ++++- src/common/rsl.c | 37 ++++++++- src/common/support.c | 4 + src/common/vty.c | 15 +++- src/osmo-bts-sysmo/l1_if.c | 5 ++ src/osmo-bts-sysmo/oml.c | 14 ++++ 13 files changed, 303 insertions(+), 9 deletions(-) create mode 100644 include/osmo-bts/cbch.h create mode 100644 src/common/cbch.c hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 00:19:24 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 00:19:24 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-267-g2bf0e96 Message-ID: <201412290019.sBT0JOsQ038160@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated discards adb6a5f952f76fb1ac9388c17b891c8cabad6e7a (commit) via 2bf0e96fe77cee30e241deb098cc53a5ea4986d5 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (adb6a5f952f76fb1ac9388c17b891c8cabad6e7a) \ N -- N -- N (2bf0e96fe77cee30e241deb098cc53a5ea4986d5) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=2bf0e96fe77cee30e241deb098cc53a5ea4986d5 commit 2bf0e96fe77cee30e241deb098cc53a5ea4986d5 Author: Harald Welte Date: Mon Dec 29 01:02:29 2014 +0100 CBCH: Implement CBCH block segmentation and RSL_MT_SMS_BC_CMD * CBCH load indications are not yet sent * The queue length is not yet limited! This code is not yet tested. ----------------------------------------------------------------------- Summary of changes: src/common/cbch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 00:46:54 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 00:46:54 GMT Subject: openbsc.git branch laforge/cbch updated. 0.13.0-803-g186ef85 Message-ID: <201412290046.sBT0kswu040719@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, laforge/cbch has been updated via 186ef853866c7ff44426e9cfad1d5ce71c657027 (commit) from 6ee2024bdc0df80c3542b64399e493c8b4bc2bcf (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=186ef853866c7ff44426e9cfad1d5ce71c657027 commit 186ef853866c7ff44426e9cfad1d5ce71c657027 Author: Harald Welte Date: Mon Dec 29 01:45:12 2014 +0100 Add VTY command to send RSL SMS CB COMMAND to a given BTS ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/abis_rsl.h | 3 ++- openbsc/src/libbsc/abis_rsl.c | 7 +++--- openbsc/src/libbsc/bsc_vty.c | 50 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 4 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 29 12:15:21 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 12:15:21 GMT Subject: libosmocore.git branch master updated. 0.7.0-92-ga19717a Message-ID: <201412291215.sBTCFLD9003998@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, master has been updated via a19717a7c50dededf0c8ec8ccb347c1c5d019382 (commit) from 6ec6bd9d887e02b868c1492fe24c0c8f1cc20f7c (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=a19717a7c50dededf0c8ec8ccb347c1c5d019382 commit a19717a7c50dededf0c8ec8ccb347c1c5d019382 Author: Harald Welte Date: Mon Dec 29 13:14:01 2014 +0100 Add Cell Broadcast MSGIDs from TS 23.041 v12.6.0 Release 12 ----------------------------------------------------------------------- Summary of changes: include/osmocom/gsm/protocol/gsm_03_41.h | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Mon Dec 29 15:26:28 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 15:26:28 GMT Subject: osmocom-bb.git branch jolly/testing updated. osmocon_v0.0.0-1782-g39304b7 Message-ID: <201412291526.sBTFQSkF020352@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The Open Source GSM Base Band stack". The branch, jolly/testing has been updated via 39304b742ab18fe8a9f06310e17b8a95a7fcee0e (commit) from c1d728975f4c062907b024a286c1a72f0ae05c11 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmocom-bb/commit/?id=39304b742ab18fe8a9f06310e17b8a95a7fcee0e commit 39304b742ab18fe8a9f06310e17b8a95a7fcee0e Author: Andreas Eversberg Date: Tue Dec 24 07:32:33 2013 +0100 mobile/SS: Fixed bug in parsing of known supplemenary service codes Use correct variable to check if supplementary service code is known or not. ----------------------------------------------------------------------- Summary of changes: src/host/layer23/src/mobile/gsm480_ss.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) hooks/post-receive -- The Open Source GSM Base Band stack From gitosis at osmocom.org Mon Dec 29 16:47:31 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 16:47:31 GMT Subject: openbsc.git branch laforge/cbch updated. 0.13.0-804-gcc5208d Message-ID: <201412291647.sBTGlV4J027841@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, laforge/cbch has been updated via cc5208d8b1d89854bf733497dd90bad34601e021 (commit) from 186ef853866c7ff44426e9cfad1d5ce71c657027 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=cc5208d8b1d89854bf733497dd90bad34601e021 commit cc5208d8b1d89854bf733497dd90bad34601e021 Author: Harald Welte Date: Mon Dec 29 17:47:08 2014 +0100 move gsm_bts_get_cbch() to gsm_data_shared() as its needed in osmo-bts ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gsm_data.h | 1 + openbsc/include/openbsc/gsm_data_shared.h | 3 +++ openbsc/src/libbsc/system_information.c | 23 +---------------------- openbsc/src/libcommon/gsm_data_shared.c | 21 +++++++++++++++++++++ 4 files changed, 26 insertions(+), 22 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 29 16:48:53 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 16:48:53 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-268-gd6fc659 Message-ID: <201412291648.sBTGmriM027979@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via d6fc65995d19ae295472f6107285cd57ad553670 (commit) from 2bf0e96fe77cee30e241deb098cc53a5ea4986d5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=d6fc65995d19ae295472f6107285cd57ad553670 commit d6fc65995d19ae295472f6107285cd57ad553670 Author: Harald Welte Date: Mon Dec 29 17:48:30 2014 +0100 actually activate CBCH lchan during startup, if it exists ----------------------------------------------------------------------- Summary of changes: src/osmo-bts-sysmo/oml.c | 3 +++ 1 file changed, 3 insertions(+) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 17:39:23 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 17:39:23 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-270-gcace2ae Message-ID: <201412291739.sBTHdN9K032479@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via cace2aef387dda5578fe3e18325b9fddd1761ba1 (commit) via 783026e653654468994eb60c7426cbe4d785bcb7 (commit) from d6fc65995d19ae295472f6107285cd57ad553670 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=cace2aef387dda5578fe3e18325b9fddd1761ba1 commit cace2aef387dda5578fe3e18325b9fddd1761ba1 Author: Harald Welte Date: Mon Dec 29 18:37:45 2014 +0100 cbch: add debug statements http://cgit.osmocom.org/osmo-bts/commit/?id=783026e653654468994eb60c7426cbe4d785bcb7 commit 783026e653654468994eb60c7426cbe4d785bcb7 Author: Harald Welte Date: Mon Dec 29 18:22:12 2014 +0100 cbch: Fix memory leak in error path ----------------------------------------------------------------------- Summary of changes: src/common/cbch.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 18:06:37 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 18:06:37 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-271-g519b649 Message-ID: <201412291806.sBTI6b5S034831@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via 519b64991aec6411c14ff448cb888f46c53b322e (commit) from cace2aef387dda5578fe3e18325b9fddd1761ba1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=519b64991aec6411c14ff448cb888f46c53b322e commit 519b64991aec6411c14ff448cb888f46c53b322e Author: Harald Welte Date: Mon Dec 29 19:06:05 2014 +0100 rsl: Fix handling of CBCH-bearing pchan types ----------------------------------------------------------------------- Summary of changes: src/common/rsl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 18:21:19 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 18:21:19 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-273-g6a04a79 Message-ID: <201412291821.sBTILJmd036211@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via 6a04a7983749f1f581afedf0e2d5be52617cc811 (commit) via 33e9078332a622d5bda4bcd507cc36e2ff8c8213 (commit) from 519b64991aec6411c14ff448cb888f46c53b322e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=6a04a7983749f1f581afedf0e2d5be52617cc811 commit 6a04a7983749f1f581afedf0e2d5be52617cc811 Author: Harald Welte Date: Mon Dec 29 19:20:53 2014 +0100 SMS-CB: print error message in case of too large message size http://cgit.osmocom.org/osmo-bts/commit/?id=33e9078332a622d5bda4bcd507cc36e2ff8c8213 commit 33e9078332a622d5bda4bcd507cc36e2ff8c8213 Author: Harald Welte Date: Mon Dec 29 19:20:01 2014 +0100 RSL / SMS-CB: RSL CHAN_NR IE is not part of our TLV parser ... it is part of our header definition (which is a bit odd, addmittedly), so we cannot check for its presence with TLVP_PRESENT(). ----------------------------------------------------------------------- Summary of changes: src/common/cbch.c | 6 +++++- src/common/rsl.c | 6 +----- 2 files changed, 6 insertions(+), 6 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 18:51:58 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 18:51:58 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-274-g1b0c733 Message-ID: <201412291851.sBTIpwwx038641@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via 1b0c733f514d10ddf9f2a5d85947de67b197ba96 (commit) from 6a04a7983749f1f581afedf0e2d5be52617cc811 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=1b0c733f514d10ddf9f2a5d85947de67b197ba96 commit 1b0c733f514d10ddf9f2a5d85947de67b197ba96 Author: Harald Welte Date: Mon Dec 29 19:51:03 2014 +0100 SMS-CB: avoid double llist_del() for a single list element ----------------------------------------------------------------------- Summary of changes: src/common/cbch.c | 1 - 1 file changed, 1 deletion(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 19:04:01 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 19:04:01 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-275-g21e86c7 Message-ID: <201412291904.sBTJ41iO039777@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via 21e86c77e88d8aa71b8b4a239c8f98e995492eb9 (commit) from 1b0c733f514d10ddf9f2a5d85947de67b197ba96 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=21e86c77e88d8aa71b8b4a239c8f98e995492eb9 commit 21e86c77e88d8aa71b8b4a239c8f98e995492eb9 Author: Harald Welte Date: Mon Dec 29 20:01:56 2014 +0100 SMS-CB: fix llist_del() on queue head causing segfault ----------------------------------------------------------------------- Summary of changes: src/common/cbch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 20:12:16 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 20:12:16 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-276-gac5d25f Message-ID: <201412292012.sBTKCGsN045518@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via ac5d25f1c659fec67049c3cb5df0bfefc268d052 (commit) from 21e86c77e88d8aa71b8b4a239c8f98e995492eb9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=ac5d25f1c659fec67049c3cb5df0bfefc268d052 commit ac5d25f1c659fec67049c3cb5df0bfefc268d052 Author: Harald Welte Date: Mon Dec 29 21:11:26 2014 +0100 SMS CB: Set last block correctly ----------------------------------------------------------------------- Summary of changes: src/common/cbch.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 21:35:38 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 21:35:38 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-277-gdef122e Message-ID: <201412292135.sBTLZcrW052658@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated via def122ecb96318db2c7a280234c947065a5b3324 (commit) from ac5d25f1c659fec67049c3cb5df0bfefc268d052 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=def122ecb96318db2c7a280234c947065a5b3324 commit def122ecb96318db2c7a280234c947065a5b3324 Author: Harald Welte Date: Mon Dec 29 22:35:22 2014 +0100 CBCH: make sure to send NULL frames during Extended CBCH ----------------------------------------------------------------------- Summary of changes: src/common/cbch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 23:27:32 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 23:27:32 GMT Subject: osmo-bts.git branch shared/31c3 updated. 0.3.0-268-gc328371 Message-ID: <201412292327.sBTNRW9i062639@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, shared/31c3 has been updated discards def122ecb96318db2c7a280234c947065a5b3324 (commit) discards ac5d25f1c659fec67049c3cb5df0bfefc268d052 (commit) discards 21e86c77e88d8aa71b8b4a239c8f98e995492eb9 (commit) discards 1b0c733f514d10ddf9f2a5d85947de67b197ba96 (commit) discards 6a04a7983749f1f581afedf0e2d5be52617cc811 (commit) discards 33e9078332a622d5bda4bcd507cc36e2ff8c8213 (commit) discards 519b64991aec6411c14ff448cb888f46c53b322e (commit) discards cace2aef387dda5578fe3e18325b9fddd1761ba1 (commit) discards 783026e653654468994eb60c7426cbe4d785bcb7 (commit) discards d6fc65995d19ae295472f6107285cd57ad553670 (commit) discards 2bf0e96fe77cee30e241deb098cc53a5ea4986d5 (commit) discards 411870929104891f76737accb69a97248f786afd (commit) via c328371b54ad76585a6427401a02e6846d139bff (commit) via ffcdd0da7e2e05eed4eb77bcf51861fbcf89fb5c (commit) via 265d0635f2566d8bd53ffdeeff6a4f32152f55d6 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (def122ecb96318db2c7a280234c947065a5b3324) \ N -- N -- N (c328371b54ad76585a6427401a02e6846d139bff) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=c328371b54ad76585a6427401a02e6846d139bff commit c328371b54ad76585a6427401a02e6846d139bff Author: Harald Welte Date: Mon Dec 29 18:37:45 2014 +0100 cbch: add debug statements http://cgit.osmocom.org/osmo-bts/commit/?id=ffcdd0da7e2e05eed4eb77bcf51861fbcf89fb5c commit ffcdd0da7e2e05eed4eb77bcf51861fbcf89fb5c Author: Harald Welte Date: Mon Dec 29 01:02:29 2014 +0100 CBCH: Implement CBCH block segmentation and RSL_MT_SMS_BC_CMD * CBCH load indications are not yet sent * The queue length is not yet limited! http://cgit.osmocom.org/osmo-bts/commit/?id=265d0635f2566d8bd53ffdeeff6a4f32152f55d6 commit 265d0635f2566d8bd53ffdeeff6a4f32152f55d6 Author: Harald Welte Date: Sun Dec 28 15:18:09 2014 +0100 Initial CBCH support This should handle OML channel combinations with CBCH and activate the CBCH SAPI towards the DSP correspondingly. What is still missing is sending any actual information over the CBCH in respons to the PH-RTS.ind coming up from L1. ----------------------------------------------------------------------- Summary of changes: hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 23:32:36 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 23:32:36 GMT Subject: osmo-bts.git branch master updated. 0.3.0-262-g660116f Message-ID: <201412292332.sBTNWajb063023@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, master has been updated via 660116fb9d7b382808377274ae4aed7c45e980e3 (commit) via b15d2c9d2f8ebe56672ab2191a4dc39d22fa0ab8 (commit) from 50dc96507caba9480938eb3d9d0db9236f877b49 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=660116fb9d7b382808377274ae4aed7c45e980e3 commit 660116fb9d7b382808377274ae4aed7c45e980e3 Author: Harald Welte Date: Mon Dec 29 01:02:29 2014 +0100 CBCH: Implement CBCH block segmentation and RSL_MT_SMS_BC_CMD * CBCH load indications are not yet sent * The queue length is not yet limited! http://cgit.osmocom.org/osmo-bts/commit/?id=b15d2c9d2f8ebe56672ab2191a4dc39d22fa0ab8 commit b15d2c9d2f8ebe56672ab2191a4dc39d22fa0ab8 Author: Harald Welte Date: Sun Dec 28 15:18:09 2014 +0100 Initial CBCH support This should handle OML channel combinations with CBCH and activate the CBCH SAPI towards the DSP correspondingly. What is still missing is sending any actual information over the CBCH in respons to the PH-RTS.ind coming up from L1. ----------------------------------------------------------------------- Summary of changes: include/osmo-bts/Makefile.am | 2 +- include/osmo-bts/cbch.h | 16 ++++ include/osmo-bts/gsm_data.h | 6 ++ src/common/Makefile.am | 3 +- src/common/bts.c | 2 + src/common/cbch.c | 195 +++++++++++++++++++++++++++++++++++++++++++ src/common/measurement.c | 4 + src/common/oml.c | 18 +++- src/common/rsl.c | 33 +++++++- src/common/support.c | 4 + src/common/vty.c | 15 +++- src/osmo-bts-sysmo/l1_if.c | 5 ++ src/osmo-bts-sysmo/oml.c | 17 ++++ 13 files changed, 311 insertions(+), 9 deletions(-) create mode 100644 include/osmo-bts/cbch.h create mode 100644 src/common/cbch.c hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...) From gitosis at osmocom.org Mon Dec 29 23:37:19 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 23:37:19 GMT Subject: openbsc.git branch laforge/cbch updated. 0.13.0-803-g142d12d Message-ID: <201412292337.sBTNbJRx063630@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, laforge/cbch has been updated discards cc5208d8b1d89854bf733497dd90bad34601e021 (commit) discards 186ef853866c7ff44426e9cfad1d5ce71c657027 (commit) discards 6ee2024bdc0df80c3542b64399e493c8b4bc2bcf (commit) via 142d12d829d4207e2fe7dee34b8d82dd89015615 (commit) via 30f1f376383df3ae8d85e96542bf14d174c25d89 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (cc5208d8b1d89854bf733497dd90bad34601e021) \ N -- N -- N (142d12d829d4207e2fe7dee34b8d82dd89015615) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=142d12d829d4207e2fe7dee34b8d82dd89015615 commit 142d12d829d4207e2fe7dee34b8d82dd89015615 Author: Harald Welte Date: Mon Dec 29 17:47:08 2014 +0100 move gsm_bts_get_cbch() to gsm_data_shared() as its needed in osmo-bts http://cgit.osmocom.org/openbsc/commit/?id=30f1f376383df3ae8d85e96542bf14d174c25d89 commit 30f1f376383df3ae8d85e96542bf14d174c25d89 Author: Harald Welte Date: Sun Dec 28 15:00:45 2014 +0100 Add basic support for CBCH / SMS-CB (Cell Brroadcast) We can now configure the pyisical channel types for CBCH either in the CCCH+SDCCH4 or in the SDCCH8 chanel combination. Depending on whether a CBCH exists on the BTS, we also generate the SI4 with matching CBCH channel description to notify the phones of the existance of the CBCH. There is now a VTY command how a SMS-CB message can be sent to a given BTS. We do not yet have any logic at all for actual scheduling of multiple CBCH RSL messages towards one or multiple BTSs yet, though. ----------------------------------------------------------------------- Summary of changes: openbsc/src/libbsc/abis_rsl.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 29 23:37:34 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 23:37:34 GMT Subject: openbsc.git branch master updated. 0.13.0-803-g142d12d Message-ID: <201412292337.sBTNbYDZ063695@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 142d12d829d4207e2fe7dee34b8d82dd89015615 (commit) via 30f1f376383df3ae8d85e96542bf14d174c25d89 (commit) from 65be6de155407142ddab44faf8aee5f8d5ebf628 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/abis_rsl.h | 3 +- openbsc/include/openbsc/gsm_data.h | 1 + openbsc/include/openbsc/gsm_data_shared.h | 9 ++++-- openbsc/src/libbsc/abis_rsl.c | 21 ++++++++----- openbsc/src/libbsc/bsc_vty.c | 50 +++++++++++++++++++++++++++++++ openbsc/src/libbsc/chan_alloc.c | 23 +++++++++++--- openbsc/src/libbsc/system_information.c | 16 ++++++++-- openbsc/src/libcommon/gsm_data_shared.c | 34 +++++++++++++++++++-- 8 files changed, 136 insertions(+), 21 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 29 23:37:41 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 23:37:41 GMT Subject: openbsc.git branch laforge/cbch deleted. 0.13.0-803-g142d12d Message-ID: <201412292337.sBTNbf9R063742@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, laforge/cbch has been deleted was 142d12d829d4207e2fe7dee34b8d82dd89015615 ----------------------------------------------------------------------- 142d12d829d4207e2fe7dee34b8d82dd89015615 move gsm_bts_get_cbch() to gsm_data_shared() as its needed in osmo-bts ----------------------------------------------------------------------- hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Mon Dec 29 23:47:12 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Mon, 29 Dec 2014 23:47:12 GMT Subject: libosmocore.git branch laforge/smscb created. 0.7.0-95-g65f676d Message-ID: <201412292347.sBTNlCWv064607@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, laforge/smscb has been created at 65f676dac581d5ff6240aa76104d38df2cbf93ab (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=65f676dac581d5ff6240aa76104d38df2cbf93ab commit 65f676dac581d5ff6240aa76104d38df2cbf93ab Author: Harald Welte Date: Tue Dec 30 00:43:39 2014 +0100 test http://cgit.osmocom.org/libosmocore/commit/?id=63b156a9e04546dae0970e658cfd2d4d1230ced4 commit 63b156a9e04546dae0970e658cfd2d4d1230ced4 Author: Harald Welte Date: Tue Dec 30 00:43:32 2014 +0100 fixup http://cgit.osmocom.org/libosmocore/commit/?id=783d073a370191cdb9cba0f205ded50459663500 commit 783d073a370191cdb9cba0f205ded50459663500 Author: Harald Welte Date: Mon Dec 29 17:09:11 2014 +0100 add gsm0341_test to generate SMSCB hex strings Those hex strings can then be copy+pasted into the OSmoNITB VTY ----------------------------------------------------------------------- hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Tue Dec 30 00:22:43 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 30 Dec 2014 00:22:43 GMT Subject: libosmocore.git branch master updated. 0.7.0-96-gbe4bbeb Message-ID: <201412300022.sBU0MhFV067853@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, master has been updated via be4bbeb01b85cbe38c70e0f272e59e4c57f13aa2 (commit) via 65f676dac581d5ff6240aa76104d38df2cbf93ab (commit) via 63b156a9e04546dae0970e658cfd2d4d1230ced4 (commit) via 783d073a370191cdb9cba0f205ded50459663500 (commit) from a19717a7c50dededf0c8ec8ccb347c1c5d019382 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=be4bbeb01b85cbe38c70e0f272e59e4c57f13aa2 commit be4bbeb01b85cbe38c70e0f272e59e4c57f13aa2 Author: Harald Welte Date: Tue Dec 30 01:22:26 2014 +0100 add missing gsm0341.h ----------------------------------------------------------------------- Summary of changes: include/Makefile.am | 1 + include/osmocom/gsm/gsm0341.h | 9 ++++++ src/gsm/Makefile.am | 2 +- src/gsm/gsm0341.c | 60 +++++++++++++++++++++++++++++++++++++++ src/gsm/libosmogsm.map | 2 ++ tests/Makefile.am | 6 +++- tests/smscb/gsm0341_test.c | 65 +++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 143 insertions(+), 2 deletions(-) create mode 100644 include/osmocom/gsm/gsm0341.h create mode 100644 src/gsm/gsm0341.c create mode 100644 tests/smscb/gsm0341_test.c hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Tue Dec 30 09:13:47 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 30 Dec 2014 09:13:47 GMT Subject: libosmocore.git branch laforge/nuttx updated. 0.6.5-26-g91a9c99 Message-ID: <201412300913.sBU9Dlt8016855@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, laforge/nuttx has been updated via 91a9c994c63828fcbd1efdb24a78f6d9db5b323b (commit) from 7711ef73f32c1eaaa20b4fd5ba1a7b3d9bdcd25d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=91a9c994c63828fcbd1efdb24a78f6d9db5b323b commit 91a9c994c63828fcbd1efdb24a78f6d9db5b323b Author: Holger Hans Peter Freyther Date: Tue Dec 30 02:48:16 2014 +0100 misc: Attempt to fix compiler warnings 'sighup_hdlr' defined but not used [-Wunused-function] ----------------------------------------------------------------------- Summary of changes: src/application.c | 2 ++ 1 file changed, 2 insertions(+) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Tue Dec 30 11:08:14 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 30 Dec 2014 11:08:14 GMT Subject: libosmocore.git branch master updated. 0.7.0-97-gf626123 Message-ID: <201412301108.sBUB8EQ5026705@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, master has been updated via f626123f83675af8ea1ffd5d578dc40f71270bef (commit) from be4bbeb01b85cbe38c70e0f272e59e4c57f13aa2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=f626123f83675af8ea1ffd5d578dc40f71270bef commit f626123f83675af8ea1ffd5d578dc40f71270bef Author: Daniel Willmann Date: Tue Dec 30 12:07:17 2014 +0100 smscb/gsm0341_test: Add \r padding to the message ----------------------------------------------------------------------- Summary of changes: tests/smscb/gsm0341_test.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Tue Dec 30 11:39:03 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 30 Dec 2014 11:39:03 GMT Subject: openbsc.git branch master updated. 0.13.0-805-g979ac86 Message-ID: <201412301139.sBUBd3u3029913@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)". The branch, master has been updated via 979ac860954459ea8707815abeda96274e3de27b (commit) via 695675f53991a33681ab1fa6662f318170f72992 (commit) from 142d12d829d4207e2fe7dee34b8d82dd89015615 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=979ac860954459ea8707815abeda96274e3de27b commit 979ac860954459ea8707815abeda96274e3de27b Author: Daniel Willmann Date: Tue Dec 30 12:15:08 2014 +0100 libbsc/chan_alloc: Fix size of pchan to hold the +CBCH channels as well show net with an CCCH+SDCCH/4+CBCH channel active caused bts_chan_load to read from invalid memory. Fix this by making sure the pchan array is large enough. ==30346==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fff9bdc5dc8 at pc 0x5aeece bp 0x7fff9bdc5350 sp 0x7fff9bdc5348 READ of size 4 at 0x7fff9bdc5dc8 thread T0 #0 0x5aeecd in bts_chan_load /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/chan_alloc.c:490 #1 0x5af706 in network_chan_load /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/chan_alloc.c:511 #2 0x4b7410 in net_dump_vty /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/bsc_vty.c:208 #3 0x4b5f23 in show_net /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/bsc_vty.c:227 #4 0x7fdabaa425bd in cmd_execute_command_real /home/alphaone/scm/osmo/libosmocore/src/vty/command.c:2042 #5 0x7fdabaa3f124 in cmd_execute_command /home/alphaone/scm/osmo/libosmocore/src/vty/command.c:2077 #6 0x7fdabaa850e9 in vty_command /home/alphaone/scm/osmo/libosmocore/src/vty/vty.c:402 #7 0x7fdabaa75962 in vty_execute /home/alphaone/scm/osmo/libosmocore/src/vty/vty.c:666 #8 0x7fdabaa6d947 in vty_read /home/alphaone/scm/osmo/libosmocore/src/vty/vty.c:1408 #9 0x7fdabaa9165f in client_data /home/alphaone/scm/osmo/libosmocore/src/vty/telnet_interface.c:119 #10 0x7fdaba7860b6 in osmo_select_main /home/alphaone/scm/osmo/libosmocore/src/select.c:160 #11 0x43c656 in main /home/alphaone/scm/osmo/openbsc/openbsc/src/osmo-nitb/bsc_hack.c:355 #12 0x7fdab92604bc (/lib64/libc.so.6+0x224bc) #13 0x43b6cc (/home/alphaone/local/osmo-asan/bin/osmo-nitb+0x43b6cc) Address 0x7fff9bdc5dc8 is located in stack of thread T0 at offset 232 in frame #0 0x4b5faf in net_dump_vty /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/bsc_vty.c:182 This frame has 3 object(s): [32, 40) '' [96, 104) '' [160, 224) 'pl' HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-buffer-overflow /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/chan_alloc.c:490 bts_chan_load http://cgit.osmocom.org/openbsc/commit/?id=695675f53991a33681ab1fa6662f318170f72992 commit 695675f53991a33681ab1fa6662f318170f72992 Author: Daniel Willmann Date: Tue Dec 30 12:10:25 2014 +0100 libbsc/system_information.c: Fix off-by-one error in si4 generation with CBCH enabled ==25637==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7fff3f587c43 at pc 0x5bf591 bp 0x7fff3f587630 sp 0x7fff3f587628 READ of size 4 at 0x7fff3f587c43 thread T0 #0 0x5bf590 in tv_fixed_put /home/alphaone/local/osmo-asan/include/osmocom/gsm/tlv.h:237 #1 0x5b7e14 in generate_si4 /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/system_information.c:607 #2 0x5b488b in gsm_generate_si /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/system_information.c:882 #3 0x4cb247 in gsm_bts_trx_set_system_infos /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/bsc_init.c:166 #4 0x4d3c26 in bootstrap_rsl /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/bsc_init.c:272 #5 0x4ced44 in inp_sig_cb /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/bsc_init.c:316 #6 0x7f4f15b563d7 in osmo_signal_dispatch /home/alphaone/scm/osmo/libosmocore/src/signal.c:105 #7 0x7f4f156c0e3f in e1inp_int_snd_event (/home/alphaone/local/osmo-asan/lib/libosmoabis.so.4+0x17e3f) #8 0x7f4f156be7e5 in e1inp_event (/home/alphaone/local/osmo-asan/lib/libosmoabis.so.4+0x157e5) #9 0x583a6a in ipaccess_sign_link /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/bts_ipaccess_nanobts.c:675 #10 0x7f4f156e63b0 in handle_ts1_read (/home/alphaone/local/osmo-asan/lib/libosmoabis.so.4+0x3d3b0) #11 0x7f4f156e4f4e in ipaccess_fd_cb (/home/alphaone/local/osmo-asan/lib/libosmoabis.so.4+0x3bf4e) #12 0x7f4f15b540b6 in osmo_select_main /home/alphaone/scm/osmo/libosmocore/src/select.c:160 #13 0x43c656 in main /home/alphaone/scm/osmo/openbsc/openbsc/src/osmo-nitb/bsc_hack.c:355 #14 0x7f4f1462e4bc (/lib64/libc.so.6+0x224bc) #15 0x43b6cc (/home/alphaone/local/osmo-asan/bin/osmo-nitb+0x43b6cc) Address 0x7fff3f587c43 is located in stack of thread T0 at offset 483 in frame #0 0x5b712f in generate_si4 /home/alphaone/scm/osmo/openbsc/openbsc/src/libbsc/system_information.c:580 This frame has 8 object(s): [32, 40) '' [96, 104) '' [160, 164) 'rc' [224, 232) 'si4' [288, 296) 'cbch_lchan' [352, 360) 'restoct' [416, 420) 'l2_plen' [480, 483) 'cd' HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext (longjmp and C++ exceptions *are* supported) SUMMARY: AddressSanitizer: stack-buffer-overflow /home/alphaone/local/osmo-asan/include/osmocom/gsm/tlv.h:237 tv_fixed_put ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/chan_alloc.h | 2 +- openbsc/src/libbsc/system_information.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN) From gitosis at osmocom.org Tue Dec 30 12:23:24 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 30 Dec 2014 12:23:24 GMT Subject: libosmocore.git branch master updated. 0.7.0-99-gc993a07 Message-ID: <201412301223.sBUCNOTC034223@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, master has been updated via c993a07ceb8cff0226885d39c6af17f0f903e01a (commit) via 61ced83a700aa4426390c2c12326f00d72ec193e (commit) from f626123f83675af8ea1ffd5d578dc40f71270bef (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=c993a07ceb8cff0226885d39c6af17f0f903e01a commit c993a07ceb8cff0226885d39c6af17f0f903e01a Author: Harald Welte Date: Tue Dec 30 13:22:56 2014 +0100 use the new GSM341 / GSM412 size constants http://cgit.osmocom.org/libosmocore/commit/?id=61ced83a700aa4426390c2c12326f00d72ec193e commit 61ced83a700aa4426390c2c12326f00d72ec193e Author: Harald Welte Date: Tue Dec 30 13:18:26 2014 +0100 SMS-CB: Add #defines for maximum block/msg size and payload chars ----------------------------------------------------------------------- Summary of changes: include/osmocom/gsm/protocol/gsm_03_41.h | 5 +++++ include/osmocom/gsm/protocol/gsm_04_12.h | 3 +++ tests/smscb/gsm0341_test.c | 6 +++--- 3 files changed, 11 insertions(+), 3 deletions(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Tue Dec 30 12:32:09 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 30 Dec 2014 12:32:09 GMT Subject: libosmocore.git branch master updated. 0.7.0-100-gc13cf8b Message-ID: <201412301232.sBUCW9Tv034934@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "An utility library for Open Source Mobile Communications". The branch, master has been updated via c13cf8bbd3a0650993b43e1cea071c02d0f00d8f (commit) from c993a07ceb8cff0226885d39c6af17f0f903e01a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmocore/commit/?id=c13cf8bbd3a0650993b43e1cea071c02d0f00d8f commit c13cf8bbd3a0650993b43e1cea071c02d0f00d8f Author: Harald Welte Date: Tue Dec 30 13:25:44 2014 +0100 SMS-CB: introduce and use GSM341_7BIT_PADDING ----------------------------------------------------------------------- Summary of changes: include/osmocom/gsm/protocol/gsm_03_41.h | 1 + tests/smscb/gsm0341_test.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) hooks/post-receive -- An utility library for Open Source Mobile Communications From gitosis at osmocom.org Tue Dec 30 12:47:33 2014 From: gitosis at osmocom.org (gitosis at osmocom.org) Date: Tue, 30 Dec 2014 12:47:33 GMT Subject: osmo-bts.git branch master updated. 0.3.0-266-g8fc2630 Message-ID: <201412301247.sBUClXkV036403@git.osmocom.org> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom BTS-side code (Abis, scheduling, ...)". The branch, master has been updated via 8fc2630dd4884ffeb4c5fc93457c8c06e6dbf918 (commit) via bd988f6ad3624ae0be3bdc19143d4db0290744f5 (commit) via 1e245336ecfe6cbdf3c4253ca5557146d493126d (commit) via 4457c0d9ba73a0f8f9e95bb24dd3f33f469b4fe3 (commit) from 660116fb9d7b382808377274ae4aed7c45e980e3 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/osmo-bts/commit/?id=8fc2630dd4884ffeb4c5fc93457c8c06e6dbf918 commit 8fc2630dd4884ffeb4c5fc93457c8c06e6dbf918 Author: Harald Welte Date: Tue Dec 30 13:45:02 2014 +0100 SMS-CB: Clean up + centralize generation of NULL block http://cgit.osmocom.org/osmo-bts/commit/?id=bd988f6ad3624ae0be3bdc19143d4db0290744f5 commit bd988f6ad3624ae0be3bdc19143d4db0290744f5 Author: Harald Welte Date: Tue Dec 30 13:34:57 2014 +0100 SMS-CB: Use GSM412_SEQ_NULL_MSG rather than 0xf http://cgit.osmocom.org/osmo-bts/commit/?id=1e245336ecfe6cbdf3c4253ca5557146d493126d commit 1e245336ecfe6cbdf3c4253ca5557146d493126d Author: Harald Welte Date: Tue Dec 30 13:33:54 2014 +0100 SMS-CB: use gsm412_block_type from libosmocore .. and not our own local re-definition of the structure. http://cgit.osmocom.org/osmo-bts/commit/?id=4457c0d9ba73a0f8f9e95bb24dd3f33f469b4fe3 commit 4457c0d9ba73a0f8f9e95bb24dd3f33f469b4fe3 Author: Harald Welte Date: Tue Dec 30 13:32:52 2014 +0100 SMS-CB: Use GSM412_ #defines from libosmocore rather than our own ----------------------------------------------------------------------- Summary of changes: src/common/cbch.c | 53 +++++++++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 26 deletions(-) hooks/post-receive -- Osmocom BTS-side code (Abis, scheduling, ...)