This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.
gitosis at osmocom.org gitosis at osmocom.orgThis 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, users/neels/iucs has been updated discards 5a065e7c7568932ddf914049808ec7cf90f9526f (commit) discards 3a7a0af0cb82742a9e7a298d0e4b9e9db1c247dc (commit) discards cc0df1fc4ee338e6a6103f8d0d99309884da045f (commit) discards 0dc609b3caa0d7635ec7275da3325717924e7f5d (commit) discards 2c95fc8a495621f64fd353b50f2dd88d5672e14e (commit) discards 4c632bb958cff16ed4df97729d58878cafd64e57 (commit) discards deb990d445419f34e07b6486d0e71179ae827cf1 (commit) discards 4180f95e274d2e470e54f99ac223c5a0db729db2 (commit) discards b7316b518f962c4a22b8537ac4d813387537377a (commit) discards 1f9cad42cff8df8dee2afad8f1a8209991835c6b (commit) discards 3fee15ccf58a12cbae1244d0477a34c687151057 (commit) discards 7f6e0d1b44a94d975d1b4a240b7f13f4f8ad042b (commit) discards 08e2c115e22a893c40ccd427dfd844fd06fdcdab (commit) discards 07e9ec208b719aa65e018f97c7f36d0ac448a88f (commit) discards 29e1562167c876b02338281acde3dbdfa7cdd01f (commit) discards 6061e0766375d5076350358261c54899e506b035 (commit) discards 5bf8f27ce095ded8ab702100e03584950fdc21fb (commit) discards a5ba0040ee677d3aaccd29fd3f67d63bd34c60ff (commit) discards 979a677739c8043f1e87ae4571e26057fbadb6d7 (commit) discards 141e88acb7a1f3241eb3ad9e457619b94829be55 (commit) discards cf96f3be6bf899fc11559159ac2cf9e11259bf89 (commit) discards bb963046e12ae4074b299d8b43f4594b830470ce (commit) discards 94f207687666083418a55aeb47889c17d6fbfec2 (commit) discards 62abaf4cd0d68e83f106621442877fc2addd8344 (commit) discards 297cf3404b82d41ce68834d57c142c91b97826f7 (commit) discards bcfa2af9884fcebe4a2522c85d19dbb40a0b2d71 (commit) discards 60caf11271f0e6b24ea66dcd24fbe37524551b0f (commit) discards 99dadad31a443a995c15ec434388d12eb3e9c25c (commit) discards 5df7300ee6e37e9feee18c919f1f57e69aedb97e (commit) discards 0d23b707c1f86606b084ee2b7e08f8dcfd5d8220 (commit) discards 07202040e0df9beddb8bd8abd4e5f4f9c968ccc3 (commit) discards 534e585f720a439c06f14a0bdbda8d1d1997ded6 (commit) discards 974ace7ff9ecd233dbd0c4a7ff8242929152d2ea (commit) discards 63d435828557c5a8b7e4453c286cbb8a75199f81 (commit) discards 0e0333f1899d5061cde9aa32345ed915f925387a (commit) discards 63f0b613559f0c14fe64ec3f919b741ac868ed56 (commit) discards c53dac7b9141f7c5fb3468e168d399a7eec26de7 (commit) discards f87d3492d0d0aba22a1f1fbc24b904db9c38ebd8 (commit) discards 8ecc4e3d1a72c5faca6e663f0d48975b1225a787 (commit) discards 1e49ad3c2e99440bc44a2e5d6431e4f39b8174fc (commit) discards 63b098495b91ef456bcf1f653148cd27369103c2 (commit) discards 9751ef6dc51f3806f6792a6ca88b07f937d43a0a (commit) discards fa1ca8c629864386a8c58ecc521061b70c126fe2 (commit) discards 9f93fc9979893ce48110d3cf675f29e10f12c473 (commit) discards a1a32914ea4e0602b6205d4a3410e6485991e016 (commit) discards 46a58548c44ffab7f183d3accb9b94cb3c31b1f7 (commit) discards d67c8ffce10bfe14a0a8cb1896a28df381f78e77 (commit) discards f83803f7f4283d49ccb2c7ab475cfa2214fea259 (commit) discards e1f2c8785b6087d0834c319a5cd408ec31a27a37 (commit) discards 6464ead9245d8f53f06e61ee5ce33a65785e2029 (commit) discards 0a1d82f4ee77b949318bbfba30a06a1887e3d8be (commit) discards ff95474fc02f81a699b3795e47261726bb491429 (commit) discards 816ffc7523dfe3af6aac904cdde0eeb34dc4c5c4 (commit) discards 84ae34a51d422ddbd4f525f008caa79b413b97d3 (commit) discards 3ceeb40b031d3b27b5d340a225f0486181c746e0 (commit) discards 9f01314fdae8dc7274c5b767d6c1f56f082b6853 (commit) discards 46bcf5343d233d4f69bd47b74b58eb1daf75a531 (commit) discards b6b8b8016ff625afff5e966319b62f24168b326d (commit) discards e7da294e68fbde205f8fe38de94340c27e9206b0 (commit) discards 213b87437dc199bb26b9286e08cdec11e0b7dd78 (commit) discards b93f6eb20ed795e46b9487b73167f695d3f342e6 (commit) discards e56c982229c5810af987d62f7f07e4c9b8bf88cf (commit) discards c45cfaec4052a3e240d1f3020cd1631f8b6c1817 (commit) discards a2dcc04205a7f7e9e93270657e4f8bc1473a7cc0 (commit) discards d5f976edd9abb0815b2891ca368c4be27bf70ef3 (commit) discards a8c25905b47146738994712c5d7482b109c71704 (commit) discards 726ac18e58c8b327ea53143c4b5575e1d9aad354 (commit) discards 070d838a4505fc64ad0151fbf56dbbb445feccbf (commit) discards e6678dc87d252b77a05cfbfc278ecb17716e8397 (commit) discards 8945aedcb8b0d23341b3350afa90274ac5a76cf1 (commit) discards 234565bc2c4cd187ee6fd8237ce8e61b0a5e622b (commit) discards 54b9a45a0d6d856c63b1d8015ca984af1cb9e3e7 (commit) discards f994c5c3b96e24d62451ef7ed531e86572040c2b (commit) discards 3e839fcc89450a88f77b840107365af546739b0b (commit) discards 29ab44c6f69aa2eb464c21da9fddfa6189b58dda (commit) discards 6ebdddecda35f5bd5094f638b9906d0f7723dac4 (commit) discards 0d5a11ec44a2f5f397fad790d4ea86598ac796b8 (commit) discards 8cbf0ed571a74703e71b42fc4f97348cefabf9fa (commit) discards 40164d43b9ad5fd8594618e14ca1e55290fbc743 (commit) discards 4f382eb9b1c23f90db634a06d0122352498633b7 (commit) discards d3ce79e4fa02d4589abcc25f716938542f87b4ef (commit) discards 7e6aba963fc14d2c9baacefdbd891fb4cd34ba00 (commit) discards 1956137ca996ed810392f224501c83130dd17656 (commit) discards 047d1a1c04373e87c6f554b7d149bb3bb8dc1d4c (commit) discards 27b7575014565bcd4e30f6bce4f70f1266d2734e (commit) via af60a1e0619f0a9c7d84fd420a7e7e14b81f2add (commit) via 98eb48e67f482b09650d15718b3c2b07b82cb28f (commit) via ab2d1583828ef478ba445af99eb8f0b6f55b457d (commit) via c71643ad0a19baee6e6cc9f0a5f48aa16e51407c (commit) via 1460d15c168f9362abdaa782e41eaf2ee8ca0a57 (commit) via d103103e3372e080372a8a66bb3cd3788c4b5123 (commit) via 31c4d1faf2c13549c5827762bbba6d101820f242 (commit) via fe512fe5243e46f592e9d7c006ba2348482bf094 (commit) via a2eba6c353a3944251948c2fb75d01e4c555d85a (commit) via 90c16d8dc49f09ae366e9b89fce5a718d37d1f22 (commit) via 546f03751163e2b0ed23a1161399e539d7866811 (commit) via c9958c750786b4a53078e148978fbd15911cba6f (commit) via 4eafa7b896c1ec279b57cbf9007799a6c4d626be (commit) via 2ed7218b74b3d45d46d3f95e6cc3aa0c4f1f821c (commit) via b90c2f41bd4b6d2718445c7a986f7c7d092c71ce (commit) via bdfe6e951a5f10e2aa0ded1291670e932c0a9867 (commit) via ee462d4a58326d40c163a04021a8702818af2f7d (commit) via 3d8ce182769b088a17b9bac2d1553d33d3644f30 (commit) via 90c8290820d846889704441984e70f6cceca2df2 (commit) via d8a2ccf8c2578a8fdaa40517ff10591f89c1d4a7 (commit) via 07dad802f81a085017ec12ab5be635ad2ba84b31 (commit) via 5c3756deadb2f54f7eae81d800b13d966871ef37 (commit) via bf5e919b92b1d995e2064e1a8db52e6054c746f5 (commit) via 4650e0afb9b81af9b8f2e6347a8f1bf48953475b (commit) via bba9fb52babeb7c6a691eaf7c8fb72b7e61aa164 (commit) via 73b60bbe4172a7f13894c7f982f9088c8ac5ba4a (commit) via 052dd119b9f95a556c5fbb92db382db6fa1e45f6 (commit) via 96184d6c353d1af9889960b497377d379badeac4 (commit) via 79bf7eab3a9c69c6473932e5acd455bcd75ba25a (commit) via b891781cdc1ff6bb3145588c3c139a7c8a59599f (commit) via 437772337177430eaf3986ff493dd5df6a2caa02 (commit) via 442637891a969427b49c9a0bf422560913556dfa (commit) via bc6b646a241cb27df2ae24be59f7e3b2112d61ec (commit) via f24a9bbc6838c95b68e350339a2ff41d74b7e00e (commit) via 862c11d13a4dd097796d85e7f50bb045c2a4c823 (commit) via 0a849f4104b81046b147101d016dcd2d9aab9965 (commit) via 164d45d834eeed3672c7d9e1fb142f32406909f6 (commit) via 70ac73ad42488fcf36b181903d7107a3ed47e288 (commit) via 765728d33e2adb2638d7ce622119705cbee72876 (commit) via 08ca12bee72e7201c74a7ba943cdb34e625dd8e9 (commit) via 62ba1c4b49a052419d1b43430b04b164eaae93ec (commit) via a9831ae91d340b6e3c26b8b2f1b0210abb60da6d (commit) via 218a07eff48e6f6ff08265f9600dbb967f776ddc (commit) via d8de716a97560fba35644c866a9dcb096c808c83 (commit) via ecfc7c42106935c2b83349a7c056e6ec09272644 (commit) via ec6f1e85a67592bea424fe04a20d3315478ff393 (commit) via 8a688191dd98053e2860489ff993ed6ba28865ae (commit) via e999b6ff7f60a8970156a08ef07eabcf97492cad (commit) via 15e9456a78fdc1a54cd1743b60d1aad7fd43ff6d (commit) via 6ae1cf7b36a4e44ce6cd4e0bd5f9197fb11fded2 (commit) via 3265a7df047fe022530a93d7eced8dee168ea8bb (commit) via e525c7f853e392e3fdb798498dfa578107fd13e6 (commit) via 1ce6e42b0eeb7f2d6a858ea723edf7e52d1e0f54 (commit) via a559883fa4f0b4154dfb5f65787c4577721d5c60 (commit) via a37e5654bcedf194a5f3886e59a4cdacc7ea2e50 (commit) via bcf256f58d22e9590afce2476e7d04a18fab8378 (commit) via 5d5e6f73192c72c3310763e57a17083464963b0e (commit) via b0dc4d7fd63ce548d2c98d55a7376a40df8bfdee (commit) via 8d52389729afbc997ebaf5d8c8db81ca5814794d (commit) via 2e9cb629aebc4f17257434847528627c653d6ee5 (commit) via 389d41af3cb4dfe9361ac1c00abce21822f20d47 (commit) via e261ee18cd4c7d406fdf9916901961fc98e150da (commit) via 870917ffce3cf85970fccc17f0722bd60c98ba4a (commit) via 5b034f81dd04cc6eb0760004b47d5316853c8898 (commit) via 843bdaee7e45e58ad027e971ada0573a25caee1c (commit) via ba631e5dfb581aeb2aad070abe31e0218a679ece (commit) via e8d9b936fd72736e295e3c94dcb9d823970ed8de (commit) via 377cbf0ddeec875c31cb68702e06d144c7827756 (commit) via 96b8605d49450433904fa6df8ea42f9e5527c19a (commit) via 141cff9bfe53be95865e806d151039f5c6684d97 (commit) via 0207f61e7340c7ac6de08fe1448e16ef9c3c1cd1 (commit) via de62acdd762ac24ec8fdba86d1baa228961aa695 (commit) via 8500fc23c766083f3c97a55f0656459c948660a7 (commit) via 242c24038ab1c021fffd9d8ae0eea069781593c1 (commit) via 4b1272fa31de0afc716d6ace62271f0d41932516 (commit) via 76b1e14d56f16157a8b25a2db731546e9abf70bd (commit) via 8c8500d0f2a55fbb70b46afd03e6c27004bcdb63 (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 (5a065e7c7568932ddf914049808ec7cf90f9526f) \ N -- N -- N (af60a1e0619f0a9c7d84fd420a7e7e14b81f2add) 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=af60a1e0619f0a9c7d84fd420a7e7e14b81f2add commit af60a1e0619f0a9c7d84fd420a7e7e14b81f2add Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:21:52 2016 +0200 remove handle_abisip_signal() Change-Id: I9cf80f9c2c8a53a29e42f000029e680a9922cb41 http://cgit.osmocom.org/openbsc/commit/?id=98eb48e67f482b09650d15718b3c2b07b82cb28f commit 98eb48e67f482b09650d15718b3c2b07b82cb28f Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed May 4 15:35:37 2016 +0200 gsm0408_clear_request(): actually free the released conn By having conn->in_release == 1, calling msc_release_connection() has no effect and thus never frees the conn. So, after all pending requests have been discarded, also discard and free the unused connection. http://cgit.osmocom.org/openbsc/commit/?id=ab2d1583828ef478ba445af99eb8f0b6f55b457d commit ab2d1583828ef478ba445af99eb8f0b6f55b457d Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:24:12 2016 +0200 add iu.h to gsm_subscriber.c Change-Id: I398aaa4a7328a58fb0d563725f3bea26482929ef http://cgit.osmocom.org/openbsc/commit/?id=c71643ad0a19baee6e6cc9f0a5f48aa16e51407c commit c71643ad0a19baee6e6cc9f0a5f48aa16e51407c Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:11:39 2016 +0200 gsm_04_08.c: iu.h Change-Id: I624612b5d5cd70770326347634aee2a42ba88945 http://cgit.osmocom.org/openbsc/commit/?id=1460d15c168f9362abdaa782e41eaf2ee8ca0a57 commit 1460d15c168f9362abdaa782e41eaf2ee8ca0a57 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:09:47 2016 +0200 temporary dev: set debug log level almost everywhere Change-Id: I0d5a36560e7edde27497de57e579f5b1d00eb525 http://cgit.osmocom.org/openbsc/commit/?id=d103103e3372e080372a8a66bb3cd3788c4b5123 commit d103103e3372e080372a8a66bb3cd3788c4b5123 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:26:47 2016 +0200 comment on mscsplit, indent comment http://cgit.osmocom.org/openbsc/commit/?id=31c4d1faf2c13549c5827762bbba6d101820f242 commit 31c4d1faf2c13549c5827762bbba6d101820f242 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:44:39 2016 +0200 move to libbsc: lchan_next_meas_rep() -- TODO really? Change-Id: I4ea799c5fa61f81c404e6ef1b9ac86a8faa1fb49 http://cgit.osmocom.org/openbsc/commit/?id=fe512fe5243e46f592e9d7c006ba2348482bf094 commit fe512fe5243e46f592e9d7c006ba2348482bf094 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:59:16 2016 +0200 move to libbsc: gsm_bts_neighbor() -- TODO really? Change-Id: I63d4835dc7aabdf176e0ca634a6a4ca527612693 http://cgit.osmocom.org/openbsc/commit/?id=a2eba6c353a3944251948c2fb75d01e4c555d85a commit a2eba6c353a3944251948c2fb75d01e4c555d85a Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed May 11 14:21:58 2016 +0200 gsm0408_test: use NULL for root ctx -- TODO really? http://cgit.osmocom.org/openbsc/commit/?id=90c16d8dc49f09ae366e9b89fce5a718d37d1f22 commit 90c16d8dc49f09ae366e9b89fce5a718d37d1f22 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 21:30:26 2016 +0200 gsm_04_08: remove apply_codec_restrictions() -- TODO really? This function is wrongly placed on the MSC level. Unfortunately I cannot remember the very plausible details that hwelte had back in the days to argue for this change. (Refactoring an old commit that fails to explain in more detail.) Change-Id: I82623847e652a59a921d2fb142b77cf22420a746 http://cgit.osmocom.org/openbsc/commit/?id=546f03751163e2b0ed23a1161399e539d7866811 commit 546f03751163e2b0ed23a1161399e539d7866811 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu May 12 02:14:33 2016 +0200 move to libmsc: osmo_stats_vty_add_cmds() -- todo MSCSPLIT http://cgit.osmocom.org/openbsc/commit/?id=c9958c750786b4a53078e148978fbd15911cba6f commit c9958c750786b4a53078e148978fbd15911cba6f Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:04:28 2016 +0200 include msc_ifaces.h in gsm_04_08.c Change-Id: I11be1bdfe6993f89b34319e7d1526c729d6e0cde http://cgit.osmocom.org/openbsc/commit/?id=4eafa7b896c1ec279b57cbf9007799a6c4d626be commit 4eafa7b896c1ec279b57cbf9007799a6c4d626be Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:04:56 2016 +0200 complete IuCS paging implementation Add paging timeout to struct gsm_subscriber. Previously, paging timeout was implemented only on BSC level, where each request has its own timeout value. The MSC will still send individual requests to BSC or RNC level, where they timeout individually. However, the MSC must also have an own timeout to be sure to discard stale pagings that the BSC or RNC never replied for. Add handle_paging_resp(), copying the few libmsc relevant parts of gsm48_handle_paging_resp(). http://cgit.osmocom.org/openbsc/commit/?id=2ed7218b74b3d45d46d3f95e6cc3aa0c4f1f821c commit 2ed7218b74b3d45d46d3f95e6cc3aa0c4f1f821c Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:57:25 2016 +0200 paging: add todo comments for paging and mscsplit Change-Id: I7e72c9db2837ea5edf45f6037cb0288a264d492c http://cgit.osmocom.org/openbsc/commit/?id=b90c2f41bd4b6d2718445c7a986f7c7d092c71ce commit b90c2f41bd4b6d2718445c7a986f7c7d092c71ce Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 2 15:57:53 2016 +0200 paging: actually verify subscriber authorization Before this, any paging response would be accepted by the CN, without checking the database whether the subscriber is in fact authorized. The probability that a subscriber would be able to take unauthorized action is slim, nevertheless checking authorization status with the database should happen before we accept a connection. http://cgit.osmocom.org/openbsc/commit/?id=bdfe6e951a5f10e2aa0ded1291670e932c0a9867 commit bdfe6e951a5f10e2aa0ded1291670e932c0a9867 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 2 15:55:22 2016 +0200 paging: change subscr_paging_cb() into subscr_rx_paging_response() Remove one layer of callback indirection in paging. When a paging response arrives, we always want to first secure the connection, thus a fixed subscr_rx_paging_response() function is more appropriate and avoids having to store a cbfn. The actual actions to be taken upon successful paging are of course still in callback functions stored with each subscriber. Remove paging_request_stop() call from subscr_paging_dispatch(), which stops paging on all BTSs, which is not the responsibility of libmsc. Change-Id: Ic2c785c9cc48b2c2c6557cbe1060d25afa89e38d http://cgit.osmocom.org/openbsc/commit/?id=ee462d4a58326d40c163a04021a8702818af2f7d commit ee462d4a58326d40c163a04021a8702818af2f7d Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:11:17 2016 +0200 IuCS auth -- TODO commit log details Change-Id: Id09e26126979d418a422df24bc50b56454b16c7e http://cgit.osmocom.org/openbsc/commit/?id=3d8ce182769b088a17b9bac2d1553d33d3644f30 commit 3d8ce182769b088a17b9bac2d1553d33d3644f30 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:07:23 2016 +0200 subscr_request_channel() -> subscr_request_conn() Change-Id: Ife8e10b240693a8d369139881774f1892044aa65 http://cgit.osmocom.org/openbsc/commit/?id=90c8290820d846889704441984e70f6cceca2df2 commit 90c8290820d846889704441984e70f6cceca2df2 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:06:55 2016 +0200 add subscr_authorized() Change-Id: If2ef06b1229351127c61477ca14653d6ae4cb6bb http://cgit.osmocom.org/openbsc/commit/?id=d8a2ccf8c2578a8fdaa40517ff10591f89c1d4a7 commit d8a2ccf8c2578a8fdaa40517ff10591f89c1d4a7 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:05:13 2016 +0200 move subscr_request to gsm_subscriber.h Change-Id: Idbbd39b0e068da17aafa97e315143509c69c50ea http://cgit.osmocom.org/openbsc/commit/?id=07dad802f81a085017ec12ab5be635ad2ba84b31 commit 07dad802f81a085017ec12ab5be635ad2ba84b31 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:01:01 2016 +0200 add gsm_encr to subscr_conn Change-Id: Id5797cd1f1bfa2cca2d3fbabc1981aa75546421b http://cgit.osmocom.org/openbsc/commit/?id=5c3756deadb2f54f7eae81d800b13d966871ef37 commit 5c3756deadb2f54f7eae81d800b13d966871ef37 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 14:57:14 2016 +0200 osmo-nitb becomes osmo-cscn Change-Id: I3787050b524954d8a4dd13495c458f3ee293807b http://cgit.osmocom.org/openbsc/commit/?id=bf5e919b92b1d995e2064e1a8db52e6054c746f5 commit bf5e919b92b1d995e2064e1a8db52e6054c746f5 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed May 11 17:13:28 2016 +0200 remove unneccessary linking from some tests The recent shifts and cuts have made some library linking for bsc, channel and db tests unnecessary. http://cgit.osmocom.org/openbsc/commit/?id=4650e0afb9b81af9b8f2e6347a8f1bf48953475b commit 4650e0afb9b81af9b8f2e6347a8f1bf48953475b Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 14:46:23 2016 +0200 msc_release_connection(): don't call gsm0808_clear() gsm0808_clear() is all about clearing lchans. To be able to link libmsc without libbsc, don't call it directly. Change-Id: I149146fc3cb99ef4a21ee2a798231bb070f398cd http://cgit.osmocom.org/openbsc/commit/?id=bba9fb52babeb7c6a691eaf7c8fb72b7e61aa164 commit bba9fb52babeb7c6a691eaf7c8fb72b7e61aa164 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 21:44:32 2016 +0200 temporarily disable all paging to be able to link libmsc without libbsc Skip the paging part of channel_test because the paging is now disabled. http://cgit.osmocom.org/openbsc/commit/?id=73b60bbe4172a7f13894c7f982f9088c8ac5ba4a commit 73b60bbe4172a7f13894c7f982f9088c8ac5ba4a Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 13:09:14 2016 +0200 libmsc: duplicate gsm0808 / gsm48 functions (towards BSC) In osmo-nitb, libmsc would directly call the functions on the BSC level, not always via the bsc_api. When separating libmsc from libbsc, some functions are missing from the linkage. Hence duplicate these functions to libmsc, add an msc_ prefix for clarity, also add a _tx to gsm0808_cipher_mode(): * add msc_gsm0808_tx_cipher_mode() (dummy/stub) * add msc_gsm48_tx_mm_serv_ack() * add msc_gsm48_tx_mm_serv_rej() Call these from libmsc instead of * gsm0808_cipher_mode() * gsm48_tx_mm_serv_ack() * gsm48_tx_mm_serv_rej() Also add a comment relatd to msc_gsm0808_tx_cipher_mode() in two places. Change-Id: I5b276853d3af71f5e3f0a031fd17b4fff0580020 http://cgit.osmocom.org/openbsc/commit/?id=052dd119b9f95a556c5fbb92db382db6fa1e45f6 commit 052dd119b9f95a556c5fbb92db382db6fa1e45f6 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 20:40:34 2016 +0200 Use new msc_tx_dtap() instead of gsm0808_submit_dtap() Aim: msc_tx_dtap() shall redirect to IuCS or A interfaces depending on subscr conn. Change-Id: I30d961f16eb7b9c0ab9cc3f43198098d3f1a909f http://cgit.osmocom.org/openbsc/commit/?id=96184d6c353d1af9889960b497377d379badeac4 commit 96184d6c353d1af9889960b497377d379badeac4 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:41:08 2016 +0200 add libiudummy, to avoid linking Iu deps in tests Change-Id: I4a66c4122011dbc87c6fcb336ab0461b86522c98 http://cgit.osmocom.org/openbsc/commit/?id=79bf7eab3a9c69c6473932e5acd455bcd75ba25a commit 79bf7eab3a9c69c6473932e5acd455bcd75ba25a Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:59:02 2016 +0200 move to libxsc: gsm48_extract_mi(), gsm48_paging_extract_mi() -- TODO move to libfilter instead? Change-Id: I00ca0caf8224de029f53f4dedb1146e3cf7650ec http://cgit.osmocom.org/openbsc/commit/?id=b891781cdc1ff6bb3145588c3c139a7c8a59599f commit b891781cdc1ff6bb3145588c3c139a7c8a59599f Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:37:59 2016 +0200 msc_compl_l3(): publish in .h, tweak return value Use new libmsc enum values for return val, to avoid dependency on libbsc headers. Make callable from other scopes: publish in osmo_msc.h and remove 'static' in osmo_msc.c Change-Id: If24007445899e9c75553a0dbf843ada3566b3380 http://cgit.osmocom.org/openbsc/commit/?id=437772337177430eaf3986ff493dd5df6a2caa02 commit 437772337177430eaf3986ff493dd5df6a2caa02 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 14:58:46 2016 +0200 add cscn vty, remove nitb vty Change-Id: I8f8980d6cfbf26f1b0e0197939833e55dbe521fb http://cgit.osmocom.org/openbsc/commit/?id=442637891a969427b49c9a0bf422560913556dfa commit 442637891a969427b49c9a0bf422560913556dfa Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 14:56:06 2016 +0200 add iucs.[hc] Change-Id: I88e981f4c31393a98ae8d61176c65c9251a6f28b http://cgit.osmocom.org/openbsc/commit/?id=bc6b646a241cb27df2ae24be59f7e3b2112d61ec commit bc6b646a241cb27df2ae24be59f7e3b2112d61ec Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:59:55 2016 +0200 add DIUCS debug log constant Change-Id: Id347a3024fa495a1ab680db7320648d933a4018b http://cgit.osmocom.org/openbsc/commit/?id=f24a9bbc6838c95b68e350339a2ff41d74b7e00e commit f24a9bbc6838c95b68e350339a2ff41d74b7e00e Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:16:45 2016 +0200 gsm0408_loc_upd_rej(): remove bts use (used only for debug log) Change-Id: I3ac38f4b701ad8308470573260fa91a4b04c2f18 http://cgit.osmocom.org/openbsc/commit/?id=862c11d13a4dd097796d85e7f50bb045c2a4c823 commit 862c11d13a4dd097796d85e7f50bb045c2a4c823 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:05:43 2016 +0200 subscr_update(): remove bts arg, add lac arg The idea is to not have a direct pointer to a bts struct (into BSC land), but a LAC to resolve the BSC or RNC depending on the appropriate A or IuCS interface. Change-Id: I9f2b298a785bf4b2a1b3fcdd91b8256106b2d9de http://cgit.osmocom.org/openbsc/commit/?id=0a849f4104b81046b147101d016dcd2d9aab9965 commit 0a849f4104b81046b147101d016dcd2d9aab9965 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:06:35 2016 +0200 subscr_update_expire_lu(): remove bts arg Change-Id: I26cafd9389aac65e53dc4280a1687c6b8bce3106 http://cgit.osmocom.org/openbsc/commit/?id=164d45d834eeed3672c7d9e1fb142f32406909f6 commit 164d45d834eeed3672c7d9e1fb142f32406909f6 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:03:18 2016 +0200 move t3212 to network level (periodic lu) Set the T3212 default value in struct gsm_network and take that value when creating a BTS. Adjust VTY accordingly. Change-Id: Ifb730f9d0106fe195adc30459a39290a07313b50 http://cgit.osmocom.org/openbsc/commit/?id=70ac73ad42488fcf36b181903d7107a3ed47e288 commit 70ac73ad42488fcf36b181903d7107a3ed47e288 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:11:50 2016 +0200 libmsc: iucs dev: disable large parts of the code Change-Id: I3ef6ca26150b6102a0fa22a88a60d9a442d640b4 http://cgit.osmocom.org/openbsc/commit/?id=765728d33e2adb2638d7ce622119705cbee72876 commit 765728d33e2adb2638d7ce622119705cbee72876 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 12:50:31 2016 +0200 Prepare entry/exit point for MSC -> BSC and MSC -> RNC communication. Add msc_ifaces.[hc], a_iface.c, with a general msc_tx_dtap() to redirect to different interfaces depending on the actual subscriber connection. While iu_tx() is going to be functional on this branch, the a_tx() is so far just a dummy (see comment). Add via_iface marker to gsm_subscriber_connection with enum values IFACE_A and IFACE_IU so far. Add Iu specific fields in a sub-struct: the UE connection pointer and an indicator for the Integrity Protection status on Iu (to be fully implemented in later commits). http://cgit.osmocom.org/openbsc/commit/?id=08ca12bee72e7201c74a7ba943cdb34e625dd8e9 commit 08ca12bee72e7201c74a7ba943cdb34e625dd8e9 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:13:32 2016 +0200 don't use lchan in libmsc Change-Id: Ic7ed7faa2bcc7aae799f41ed4abc2c001bfb61b7 http://cgit.osmocom.org/openbsc/commit/?id=62ba1c4b49a052419d1b43430b04b164eaae93ec commit 62ba1c4b49a052419d1b43430b04b164eaae93ec Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:00:23 2016 +0200 gsm_subscriber_connection: mark BSC specific items The struct shall be split in two later. Change-Id: Ib9666225fb9bfec2cf1e364343560571869fe6a7 http://cgit.osmocom.org/openbsc/commit/?id=a9831ae91d340b6e3c26b8b2f1b0210abb60da6d commit a9831ae91d340b6e3c26b8b2f1b0210abb60da6d Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 21:56:42 2016 +0200 osmo-nitb: exit when MNCC socket init failed http://cgit.osmocom.org/openbsc/commit/?id=218a07eff48e6f6ff08265f9600dbb967f776ddc commit 218a07eff48e6f6ff08265f9600dbb967f776ddc Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed May 11 14:12:00 2016 +0200 split bsc_bootstrap_network() in alloc and config Change-Id: I480a09a31a79766ad07b627dd5238b7e37f3be7a http://cgit.osmocom.org/openbsc/commit/?id=d8de716a97560fba35644c866a9dcb096c808c83 commit d8de716a97560fba35644c866a9dcb096c808c83 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 17:15:44 2016 +0200 split subscr_con_allocate()/_free() in bsc_ and msc_ Rename current subscr_con_allocate() and subscr_con_free to bsc_*, and add two separate msc_subscr_con_allocate() and _free(). The msc_subscr_con_free() ignores all lchan members. In libbsc use bsc_*, in libmsc use msc_*. Change-Id: I3cf7c7cafdf4672ec7b26058bba8a77159855257 Future: there will be distinct subscr conns for libbsc and libmsc. http://cgit.osmocom.org/openbsc/commit/?id=ecfc7c42106935c2b83349a7c056e6ec09272644 commit ecfc7c42106935c2b83349a7c056e6ec09272644 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 14 03:24:41 2016 +0200 move to libxsc: net timezone VTY config Leave the timezone VTY output in libbsc's config_write_net(), until the BSC/MSC separation of struct gsm_network is completed. Change-Id: I9712b2e07b4f1ab8d2e4ad40a8d771e98ed25b20 http://cgit.osmocom.org/openbsc/commit/?id=ec6f1e85a67592bea424fe04a20d3315478ff393 commit ec6f1e85a67592bea424fe04a20d3315478ff393 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:29:33 2016 +0200 Move timezone settings up to network level Time zone used to be configurable per-BTS. In the upcoming MSC-split, no BTS structures will be available on the MSC level. To simplify, drop the ability to manage several time zones in a core network and place the time zone config on the network VTY level, i.e. in gsm_network. If we are going to re-add fine grained time zone settings, it should probably be tied to the LAC. Adjust time zone VTY config code (to be moved to libxsc in subsequent commit). Adjust time zone Ctrl Interface code. Change-Id: I69848887d92990f3d6f969be80f6ef91f6bdbbe8 http://cgit.osmocom.org/openbsc/commit/?id=8a688191dd98053e2860489ff993ed6ba28865ae commit 8a688191dd98053e2860489ff993ed6ba28865ae Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:56:43 2016 +0200 reinvent connection_for_subscr() and move to libmsc Implement connection_for_subscr() from a completely different angle: instead of looking up lchans in bts structs, look up the subscriber in the global list of gsm_subscriber_connection. static lchan_find() is thus obsoleted. All callers of connection_for_subscr() live in libmsc, so move to libmsc. The move and edit are done in a single commit since the old and new implementation have nothing in common. Future: osmo-cscn will use this, without bts being present. Remove implementation of connection_for_subscr() from channel_test.c -- it is possible that the abort() in there was intended for a regression test, but actually it seems the implementation was merely added for linking reasons, and the abort() added to guard against the NULL return value: no comment nor the commit log indicate that the abort() is test critical; the addition was the only change in channel_test.c for that commit; at the same time a connection_for_subscr() call was added in libmsc. http://cgit.osmocom.org/openbsc/commit/?id=e999b6ff7f60a8970156a08ef07eabcf97492cad commit e999b6ff7f60a8970156a08ef07eabcf97492cad Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu May 12 01:53:23 2016 +0200 bsc vty: rename show_net_cmd to bsc_show_net_cmd Future: there will be an MSC-land show-net-cmd, so rename to something with bsc in its name. http://cgit.osmocom.org/openbsc/commit/?id=15e9456a78fdc1a54cd1743b60d1aad7fd43ff6d commit 15e9456a78fdc1a54cd1743b60d1aad7fd43ff6d Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu May 12 01:16:58 2016 +0200 move to libxsc: network VTY that isn't BSC-specific Keep only BSC specific bits of the 'network' VTY node in bsc_vty.c, move more general VTY commands to xsc_vty.c. Add arg to xsc_vty_init() to pass a config_write_net() function. Pass a libbsc specific config_write_net() function. Future: upcoming omso-cscn will re-use the VTY bits moved to libxsc and pass a different config_write_net() function. Change-Id: I871b7b32a0c56fdce983e409cf244ec487d24e71 http://cgit.osmocom.org/openbsc/commit/?id=6ae1cf7b36a4e44ce6cd4e0bd5f9197fb11fded2 commit 6ae1cf7b36a4e44ce6cd4e0bd5f9197fb11fded2 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed May 11 18:48:39 2016 +0200 move to libxsc: global vty gsm_network pointer Move gsmnet_from_vty() and the bsc_gsmnet global to xsc_vty.c. Rename bsc_gsmnet to vty_global_gsm_network and make it static to xsc_vty.c, to clearly mark the global variable for VTY use only. Introduce xsc_vty_init() to set vty_global_gsm_network. Change-Id: I26c5c47de08f899b896813d09612d5cb2f8e42d6 http://cgit.osmocom.org/openbsc/commit/?id=3265a7df047fe022530a93d7eced8dee168ea8bb commit 3265a7df047fe022530a93d7eced8dee168ea8bb Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu May 12 03:03:50 2016 +0200 drop libmsc from some tests, drop duplicate libbsc linking Because of libxsc, tests/gsm0408,subscr,trau no longer need libmsc. http://cgit.osmocom.org/openbsc/commit/?id=e525c7f853e392e3fdb798498dfa578107fd13e6 commit e525c7f853e392e3fdb798498dfa578107fd13e6 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:27:32 2016 +0200 sms_next_rp_msg_ref(): use direct pointer to next_rp_ref counter libbsc and libmsc will have separate subscriber connection structs. Hence don't rely on gsm_subscriber_connection, but work on a direct pointer to the counter for the next RP reference. http://cgit.osmocom.org/openbsc/commit/?id=1ce6e42b0eeb7f2d6a858ea723edf7e52d1e0f54 commit 1ce6e42b0eeb7f2d6a858ea723edf7e52d1e0f54 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:30:17 2016 +0200 factor out & introduce struct gsm_encr, in xsc.h Factor out encryption info from struct gsm_lchan as struct gsm_encr, placed in xsc.h. Change-Id: I94015fb9dd511c37c1e3058a0963c780b3f700ac Future: this will be used by libmsc's subscriber connection, for osmo-cscn. http://cgit.osmocom.org/openbsc/commit/?id=a559883fa4f0b4154dfb5f65787c4577721d5c60 commit a559883fa4f0b4154dfb5f65787c4577721d5c60 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed May 11 18:04:00 2016 +0200 fix build: osmo-bsc_nat: change linking order Moving gsm48_create* to libxsc affected linking of osmo-bsc_nat, resulting in an undefined reference to gsm48_extract_mi(). Fix the issue by placing libfilter.a left of libbsc.a. http://cgit.osmocom.org/openbsc/commit/?id=a37e5654bcedf194a5f3886e59a4cdacc7ea2e50 commit a37e5654bcedf194a5f3886e59a4cdacc7ea2e50 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 12:50:31 2016 +0200 move to libxsc: factor out gen of USSD notify and release complete -- TODO subscr_conn Both libmsc and libbsc need distinct gsm0480_send_ussdNotify() and gsm0480_send_releaseComplete() functions to account for the distinct subscriber connection structs. The current functions live in libmsc, so add the same in libbsc in new file gsm_04_80_utils.c. To avoid too much code dup, move the message generation part of gsm0480_send_ussdNotify() and gsm0480_send_releaseComplete() to new functions gsm0480_gen_ussdNotify() and gsm0480_gen_releaseComplete(), placed in libxsc. Change-Id: I33a84e3c28576ced91d2ea24103123431f551173 http://cgit.osmocom.org/openbsc/commit/?id=bcf256f58d22e9590afce2476e7d04a18fab8378 commit bcf256f58d22e9590afce2476e7d04a18fab8378 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:58:51 2016 +0200 move to libxsc: gsm48_create_mm_serv_rej(), gsm48_create_loc_upd_rej() Used by libbsc, libmsc as well as osmo-bsc and osmo-bsc_nat. http://cgit.osmocom.org/openbsc/commit/?id=5d5e6f73192c72c3310763e57a17083464963b0e commit 5d5e6f73192c72c3310763e57a17083464963b0e Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 14 00:46:29 2016 +0200 move to libxsc: net init 3: actual move Reincarnate gsm_network_init() as the parts not specific to libbsc. Move from bsc_network_init() those bits that are not BSC specific (and useful for upcoming osmo-cscn). Add libxsc to all linkages that use gsm_network_init(). Note: the only requirement to allow linking gsm_network_init() without libbsc is to keep the call to gsm_net_update_ctype() out of libxsc. The other items are kept out of libxsc because it makes sense semantically. But the separation is not strong in that the BSC specific data members are of course still omnipresent in struct gsm_network. If bsc_network_init() is not called, these are not initialized properly -- for now no such callers exist. So this is just a first step towards a sensible split of the BSC and MSC gsm_network structs. The long term aim should be to have entirely separate structs with some common general items. http://cgit.osmocom.org/openbsc/commit/?id=b0dc4d7fd63ce548d2c98d55a7376a40df8bfdee commit b0dc4d7fd63ce548d2c98d55a7376a40df8bfdee Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 14 00:57:04 2016 +0200 move to libxsc: net init 2: move bsc_network_init decl to osmo_bsc.h bsc_network_init() is more fit to live in a BSC specific header. Change-Id: I9edfb1e748bb1cb484fadd48b0406f5b3098e89b http://cgit.osmocom.org/openbsc/commit/?id=8d52389729afbc997ebaf5d8c8db81ca5814794d commit 8d52389729afbc997ebaf5d8c8db81ca5814794d Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 14 00:45:26 2016 +0200 move to libxsc: net init 1: rename to bsc_network_init The gsm_network_init() function initializes a whole lot of BSC specific stuff. Aiming to move some of it to libxsc, first rename it to bsc_network_init(). This will retain the BSC specific stuff when the move is done. Adjust all callers. Future: osmo-cscn will call the more generic part and not the BSC specific part. Change-Id: I4816ae19374390fc5c64972f7cad2e9ec3d8bcc3 http://cgit.osmocom.org/openbsc/commit/?id=2e9cb629aebc4f17257434847528627c653d6ee5 commit 2e9cb629aebc4f17257434847528627c653d6ee5 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed May 11 14:28:25 2016 +0200 define mncc_recv_cb_t to avoid code dup Put mncc_recv_cb_t in xsc.h to avoid header include complications: if placing right above struct gsm_network, one must include gsm_data.h to use mncc_recv_cb_t as function parameter in a header, which will include gsm_data_shared.h, which will include xsc.h (future knowledge). Since I will need to use mncc_recv_cb_t in xsc.h, including gsm_data.h from there would introduce an #include loop. Avoid that and define mncc_recv_cb_t in xsc.h to begin with. Change-Id: I2e64cffa563750ce9f3172ffba6f9cf5b9280e9c http://cgit.osmocom.org/openbsc/commit/?id=389d41af3cb4dfe9361ac1c00abce21822f20d47 commit 389d41af3cb4dfe9361ac1c00abce21822f20d47 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 12:50:31 2016 +0200 Add empty libxsc This will gradually soak up code shared by libbsc and libmsc. http://cgit.osmocom.org/openbsc/commit/?id=e261ee18cd4c7d406fdf9916901961fc98e150da commit e261ee18cd4c7d406fdf9916901961fc98e150da Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 21:07:43 2016 +0200 cosmetic: various comment, whitespace tweaks http://cgit.osmocom.org/openbsc/commit/?id=870917ffce3cf85970fccc17f0722bd60c98ba4a commit 870917ffce3cf85970fccc17f0722bd60c98ba4a Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 21:59:29 2016 +0200 utils/Makefile.am: remove unused LIBOSMOVTY_CFLAGS http://cgit.osmocom.org/openbsc/commit/?id=5b034f81dd04cc6eb0760004b47d5316853c8898 commit 5b034f81dd04cc6eb0760004b47d5316853c8898 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Apr 1 02:17:24 2016 +0200 vty l3 help: fix typo 'comamnds'; fix english s/his// http://cgit.osmocom.org/openbsc/commit/?id=843bdaee7e45e58ad027e971ada0573a25caee1c commit 843bdaee7e45e58ad027e971ada0573a25caee1c Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 21:48:53 2016 +0200 debug log for sms: fix/add One logged the wrong function name. Add others. http://cgit.osmocom.org/openbsc/commit/?id=ba631e5dfb581aeb2aad070abe31e0218a679ece commit ba631e5dfb581aeb2aad070abe31e0218a679ece Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 21:38:51 2016 +0200 Sanity fixes for gsm0408_dispatch(): rc, assertions gsm0408_dispatch() is the main entry point for receiving data from the BSC/RNC level, so make sure callers pass valid pointers before using them all the way down the code path (related to CID#93769, a fix before this was refactored). For unknown/unimplemented packet discriminators, make sure to return error codes. http://cgit.osmocom.org/openbsc/commit/?id=e8d9b936fd72736e295e3c94dcb9d823970ed8de commit e8d9b936fd72736e295e3c94dcb9d823970ed8de Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 21:18:08 2016 +0200 abis vty: decouple from global bsc_gsmnet variable Publish gsmnet_from_vty() in openbsc/vty.h and use in the abis VTY functions. http://cgit.osmocom.org/openbsc/commit/?id=377cbf0ddeec875c31cb68702e06d144c7827756 commit 377cbf0ddeec875c31cb68702e06d144c7827756 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 21:09:47 2016 +0200 directly access gsm_network backpointer from gsm_subscriber_connection The previous commit added a network backpointer to gsm_subscriber_connection. Use it wherever it makes sense, to skip the step through the bts structure. In some places, also tweak use of local variables for less code. http://cgit.osmocom.org/openbsc/commit/?id=96b8605d49450433904fa6df8ea42f9e5527c19a commit 96b8605d49450433904fa6df8ea42f9e5527c19a Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 22:33:01 2016 +0200 add gsm_network backpointer to gsm_subscriber_connection For the upcoming MSCSPLIT, we want a network backpointer without having to go through a gsm_bts struct. This commit adds the network pointer, the subsequent commit applies direct access to the network structure from gsm_subscriber_connection. http://cgit.osmocom.org/openbsc/commit/?id=141cff9bfe53be95865e806d151039f5c6684d97 commit 141cff9bfe53be95865e806d151039f5c6684d97 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:40:19 2016 +0200 bsc_vty_init(): decouple from global bsc_gsmnet Add an explicit gsm_network pointer instead of using the bsc_gsmnet global, to pass full control to respective main() contexts. http://cgit.osmocom.org/openbsc/commit/?id=0207f61e7340c7ac6de08fe1448e16ef9c3c1cd1 commit 0207f61e7340c7ac6de08fe1448e16ef9c3c1cd1 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed May 11 13:53:47 2016 +0200 talloc_ctx_init(): decouple from global tall_bsc_ctx Decouple the talloc context allocations from global tall_bsc_ctx pointer. Future: it appears that talloc_ctx_init() was intended for general use, but is in fact only used by osmo-nitb. It will be used by the upcoming osmo-cscn as well. http://cgit.osmocom.org/openbsc/commit/?id=de62acdd762ac24ec8fdba86d1baa228961aa695 commit de62acdd762ac24ec8fdba86d1baa228961aa695 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 19:12:44 2016 +0200 gsm_network_init(): add explicit root talloc ctx Decouple the root talloc context from libbsc's global talloc_bsc_ctx. Future: we'll use this for the upcoming MSCSPLIT. http://cgit.osmocom.org/openbsc/commit/?id=8500fc23c766083f3c97a55f0656459c948660a7 commit 8500fc23c766083f3c97a55f0656459c948660a7 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed May 11 13:39:33 2016 +0200 bsc_init: don't pass telnet dummy conn gsmnet_from_vty() used to expect vty->priv to point to a gsm_network struct, but that is not actually the case anymore. The dummy conn to forward the gsm_network is not needed. http://cgit.osmocom.org/openbsc/commit/?id=242c24038ab1c021fffd9d8ae0eea069781593c1 commit 242c24038ab1c021fffd9d8ae0eea069781593c1 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 19:12:44 2016 +0200 doc: rename nitb graph to bsc, add msc graph In the light of upcoming split of MSC from BSC (MSCSPLIT), name the realms 'libmsc' and 'libbsc'. Hence the nitb graph becomes the BSC graph, and add a libmsc graph. http://cgit.osmocom.org/openbsc/commit/?id=4b1272fa31de0afc716d6ace62271f0d41932516 commit 4b1272fa31de0afc716d6ace62271f0d41932516 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:50:44 2016 +0200 remove unused bsc_copyright from bsc_vty.c Change-Id: I281791c0f57ca75ffe14431a3030811b2d224f0b http://cgit.osmocom.org/openbsc/commit/?id=76b1e14d56f16157a8b25a2db731546e9abf70bd commit 76b1e14d56f16157a8b25a2db731546e9abf70bd Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 21:03:12 2016 +0200 move subscriber conns list into struct gsm_network Replace the global sub_connections llist with gsm_network.subscr_conns. Initialize and apply where applicable. Remove bsc_api_sub_connections(), callers now access gsm_network->subscr_conns directly. http://cgit.osmocom.org/openbsc/commit/?id=8c8500d0f2a55fbb70b46afd03e6c27004bcdb63 commit 8c8500d0f2a55fbb70b46afd03e6c27004bcdb63 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 22:32:51 2016 +0200 properly #include <openbsc/gsm_data.h> from gsm_subscriber.h Don't use quoted, local include, use <> style include. Change-Id: Iaa3dc36768f96f6b8c91010a2ba389fdc37f1503 ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/gsm_subscriber.h | 3 ++- openbsc/src/libmsc/gsm_04_08.c | 2 +- openbsc/src/libmsc/gsm_subscriber.c | 3 ++- openbsc/src/libmsc/vty_interface_layer3.c | 5 +++++ 4 files changed, 10 insertions(+), 3 deletions(-) hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)