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, neels/ipa_nano3G has been updated discards c7cdfde8290ff28a49389aca2f9a0131f18953b2 (commit) discards bb42f54b35eb495ef8df0f493fcb240617d74fc0 (commit) discards edb6ea67f1aa32ab4d2e05c24ed6e600791efd13 (commit) discards a5e4ac8511abb883e0179ba7beddc406a53d10a4 (commit) discards 9e180dc2c488cadc0586e5b75d2b76518c605595 (commit) discards a48473d6bbbd564b20697a46760e869a26af1690 (commit) discards e7ebe7c8298374619fd87f15ad4192ab24f96c07 (commit) discards 4de83667f5d0aae698d1faca45f4a54e0c6750d1 (commit) discards 2f65cefb23dea62190412201918a3e9f597b3da6 (commit) discards b072c8872bbdb32b8122be8646217f3a1b1f4b44 (commit) discards faa08f38f3ab22f77cc4c82d492e5ff94f0e1fdf (commit) discards 0906bcf65588e5f8ce8e4959e8d37325005bf18c (commit) discards e2a915cf77265036bbb0e7ff9661c807a7b53d03 (commit) discards a4df4111134df05817df4e86c2ac90d0479b3704 (commit) discards 19b89c58ef9603a493a1a8d06dd047cca0cfd6ec (commit) discards 613c57d70bd1d96e0e8d22949bee56782017e78e (commit) discards 383bd8d265a5414aae4d5ecbcdfadd344e93b690 (commit) discards aff7aa195b257a4d3fb25e1cd2b34037cb914a9b (commit) discards 214efe6f782f453039a14d3d5ee2fe756a0f6584 (commit) discards 13566b8e410d60f91250e257a3bfce0818261048 (commit) discards b3bb3357e62410f51f891cd51b7e869742cc5d85 (commit) discards e22b4c5d4784427e86c7142068205ff0144b4585 (commit) discards 428adb358489f59eca50f7735fc4a7f86ba3ac39 (commit) discards d83bc9063edddad3ac26769192ade468ee490782 (commit) discards 1ee009077329ac55cc2369c781c177c3b06fb50a (commit) discards 9d251fa752dfe73a72af6d61ca11e550aaa86ad6 (commit) discards 17d98c6ea20f4bf7a666abb66b4765fea9742d55 (commit) discards 095845c7e526290d47f468dc7a6e9c31df2dfb7f (commit) discards d2e1880284198a6dac685f80ce7940ac116ba880 (commit) discards 3bece13fc9f31c6101298b9f2aa9ab4e82da67fd (commit) discards ce5bf363e946c947f33203a9e4eb68db91e5bb6e (commit) discards ec554070f665db60388368b280fefd09244e6768 (commit) discards ae5485b7c254d582572175e010f8e3570b83623c (commit) discards a5746b4354a464d001638c83a82a2a0f041e1123 (commit) discards 166b9b2783936258f8634e2723f106f8ed3320bc (commit) discards ad34bdb28961253f2e3924b78d317289518c6bce (commit) discards 6569de62e91600e97ad10a8b7b4fb2f1995236a6 (commit) discards d54c79ee3f5c0abe2fd8713203f97055673da29b (commit) discards da66540e082216d93ab77ff4665d00cbdffda339 (commit) discards 8e9bfd742faee81712e1d8d5b12bb2c375309947 (commit) discards b58cd100d07f57cf128667c8b25c2c125e86b74d (commit) discards 214f823b47fe758d2b82d3577101a23ddd6a547a (commit) discards 17e6a0d1c96325b844020f6a512d343e878918f9 (commit) discards 8007eadfef100c31df73f76df229931b5afb6faf (commit) discards ed72de8915ef16f4631199d71badadc93a52f930 (commit) discards 43864c93c0554b6b1951b2ef8aa175bca3ccef1d (commit) discards edf2f11acfad6b1f92fb492582709bced3eb86d7 (commit) discards 94501868c843fafa9a06b857c6be47428cc30af8 (commit) discards d9b85e4712fc00a42e4561f3862bbb7f3aebee56 (commit) discards 966069b35c29ae3a9e1b5a9f4ad8fc8e369c89d6 (commit) discards 14a728fb234e0109f25221494185a790ea1972cc (commit) discards fe3a9e7b30f80684dbb7d4af247ea7d46714ec56 (commit) discards a25153bc0117569f10f47b1a1817bed864ba39a5 (commit) discards 736aedc0180062e0583b7cefcfd1ce06a5bc704a (commit) discards 3dc2bc536f306752c403355041343f89a1c3cfa8 (commit) discards d71019c1696e47845677986350a49972956700d6 (commit) discards f7dc418da6f6cfd362bfb491541b7b8fde51c3db (commit) discards e3dec61fde7ebe5c127c7e949273ce0323312521 (commit) discards c1b24487d6e0a5b135b06aa0307863566dbf073a (commit) discards f93be7ba133b1f7b214fd80cbf1728dedff276b6 (commit) discards 3855100e92c5402b449c91728dd4ef5adda98368 (commit) discards 07bb8cbd8d3fefeee59150023808c0f8b69097bc (commit) discards dc871fdfbda152fdc361959e87dcc0b6bf818499 (commit) discards 127a476374828e2847e508db18d941139908f275 (commit) discards 032d70239be9392e57a39f83603cce287af92a12 (commit) discards 6a9c619c47b944c14f9ba8d15a622ca6a9a3a6b5 (commit) discards 422958c06b1bfe52f1620b0bb1a68d0db2857641 (commit) discards 05ec9ac9e19bb24a68ecfcf719560a9a0a2a2e6f (commit) discards 08a8e22da079b10cde6264d2a99aeb175d078e1e (commit) discards 53c01cd83516f0fdddf5108d6b6040183c5ef2be (commit) discards 2e519ffbafbef036dbb3ce236b617613c4d82bc7 (commit) discards 1cd1c1dea4376835d388fb953281b443c63d79f8 (commit) discards 98e436fe167c18480280e5e411868c51db95a549 (commit) discards e15e208f109f09556113fda6ff6f67908116dd13 (commit) discards e0773f07675b202f0c979d4921b60e38b0a145e8 (commit) discards 1802ceecabe906601fcfb35850ab8aabe3400675 (commit) discards 983c4844b181494c5f3022a170fbdb64a48fa297 (commit) discards a6b921f9d2d702fd45fec8bf85117aebf8a97669 (commit) discards 5292d0ad24572c411711903c3cb82fefea0c1c5b (commit) discards 06a81f5f5c699c2cafa2c07f81d320b035cfc18b (commit) discards 4b15a19336e77d056c473104a4eff8287318c937 (commit) discards cc4ddc5496dd0720e2285b07fb5878bb5f076309 (commit) discards dd923cffa9aa03e63bd17c6cde60babcfe0ee8f7 (commit) discards 84df35ea221472611cc983608d90735869b78210 (commit) discards 5a0db06228e309067d373d3714e223c970ca328a (commit) discards ba6195da3788380ec65bc82b9dbc098a53d24b80 (commit) discards a1313a936c39a4222b48111a64fc4a083564a054 (commit) discards db03d94a143f0a6f3879630b7898f21165576d7a (commit) discards 3d3feafff91796b0e8c20a9919b9c8d4b4957108 (commit) discards a2febd80053680c6a5daf8fe4cc56ff9ae63870c (commit) discards 0da8cff60b632561c4174d50768514226ea96f66 (commit) discards c73714991b0428ed7e775fdeeedbb18c87f122e0 (commit) discards a873bccfcf529f4badae21c0a926bc7d0cb903ea (commit) discards e19c5eb4c5f8d24090fba5d1d8f9853b7afaad95 (commit) discards 9a07babb67cc52b003899281cb41d7dc449a8c91 (commit) discards b315a08e1164eefeff7eeb8bb0537416347b1a78 (commit) discards 06ff4d45630488dc73ab2cc95df9bc9588bb73cf (commit) discards fce841c0f8a8dbb2ebcf58806f3ab9aa8a22be90 (commit) discards 4e336a6b7ccee141e2475b66a265df4f41f31d65 (commit) discards 95c8506f2403be0f3c72f760f90f25acc601bb5f (commit) discards cd8b8f63af315fd1482a3812d0b010f1d48e75ad (commit) via ae818099e9cefa8dfd4ee84f88f017b53f35a6a1 (commit) via ff91ec8ab2a64352803f8cc445a75e203170d825 (commit) via 5344f9d9354023ab80e0158368c4aa7f4769ffb9 (commit) via 0485b2e27a60b466b0cfda89f56b55574c27a319 (commit) via 6d18c0f6f55274820026ba10320635d705d505c1 (commit) via 2b55c0f5541c8adc1bb051be9c411412f4b20184 (commit) via 9c24c62a4bcf7e8d3f2fd7ea2d0dc66ba8c49ba0 (commit) via 2afd8a809d4613ee335bfc1c1b349e8ae1bd4274 (commit) via abec36a020a4ba1f6c1980784f33d84f745eed8b (commit) via 3d529ec178eb6fc4e41a8ee4f5d4be3bfe20261d (commit) via 9886ba8d73c57dded15c6ab89a489e639ebcfacf (commit) via c929867f855df6e3784eeedfc8763725cafc96a8 (commit) via 33f3125ec9d9a64f700bb206b43fce990fa2e36a (commit) via a5c35e5afcccab6067a65dbfbcd245e7540afcec (commit) via eb574e69a6d3e65be135193bc3d955168e78d5f3 (commit) via f38ad80436f0fa0f28f4f690880d2d7869ab0eb2 (commit) via 569e42aa45b69b043f64de030745a0444043d9e6 (commit) via 5b87ce8f4f13600d8269c5920cbd326e1d9114a7 (commit) via 4b882c2ca5aceb53ec377ed41981f0531650808d (commit) via a3025b6272bc78b50b669052363a1ef0796b5868 (commit) via bb44a0b4c03f7aa68371d630843678f8c405395c (commit) via c5d13f2c9a100bf2aacbd59982e004b3bf0fae8e (commit) via 0c05105159384d3308f5cf7d8e86ebf504dec71c (commit) via 230ecf64c70c78721e9e5d040bccdb394f74069b (commit) via a3a0d7ed269a51df9040d14592e0b3bfa2bcdd7a (commit) via 571f66e1befc22251afadbf2ec367ece667d10ed (commit) via 5f39ad7c6c6e81c87c96f50070b78fb61e428269 (commit) via 21201a1af119fc472feed63cefde87d754df61f8 (commit) via 2b96babe3cd73cb04965a92bb62ef359c43c791e (commit) via ab92801ae494c8c492b033d4795fd38bc6a47f74 (commit) via c5dee190739adffd0f055c15ee42879b25a52a82 (commit) via 52873343f1350e02d6bfc273452c05415208ce68 (commit) via d617f12170cd2626767260eb667795d37b09302c (commit) via 7c1dae79ef3e29419beea46bf95c3c0fd7b642ca (commit) via 4e1d618a921dff6e7f0d45fa6718c476a8bddf00 (commit) via 3d1821cbe0b849d10117a2e45a933fb448f66af5 (commit) via 91297d3a9ea23b583130539ce943e0b977326ccb (commit) via 1682b89ea8579307fb991aa0a7e303c40053e502 (commit) via 49cfd60f990ecaebe6fcac10497a0e80c367c49b (commit) via acc38c92103224048e3a9bfc100600706aff1155 (commit) via 9bc349b0182acff3208c4b18411a57c1a4657867 (commit) via b8582e02f1b3f111a840abbadb477ce02943b4b0 (commit) via 2b1fd7515608c445f7b504e6ac7ca39eb9f53557 (commit) via a04dea9b2060fa2e7b296c64da90ee8567c747dd (commit) via 7c2a4ac2a3eea3f18a032528efa3c9809eb6bda2 (commit) via a298d0d0e2ec2741b6882eb543ed58bd9034235a (commit) via 19e9abc40b7df15c45ec7874e066adc8fd06895c (commit) via 12f127f92e1b6e59982383ba16799437a68b06b5 (commit) via ed0d5b358951ba3581b6f4c17de8e7ca3329838b (commit) via 82b0d7ad8e42c21d762af2f824184e1a6e16778e (commit) via fa6f225d8080453689a1fc629c0db62051690b10 (commit) via d4f222761f48f9174b5c170b07e31a0c7163751a (commit) via ff9671683c0ccdce913d31d52660d7ff42811aa1 (commit) via 667d4d6a448f73148ffa1f636e9585140a15c9fc (commit) via 68050dcc5d6eb1556e6c19a546bf8ca7486c2ac4 (commit) via 6eaf521adb6c04d2246d6d55ef39ac4f081fcb5a (commit) via 2bf9b1cb203e599812685715fa2fa94556dbd569 (commit) via b32b7b8ef4aee18029a78089f7229c4d2e22c7eb (commit) via 069f436d1c9bf16bf84dcf61f15bada8e3d684d8 (commit) via b19f56998f73abaa9f086b4ce366085238d610ba (commit) via 43f5d6a245083cd825d2a7085024e3f0379e3459 (commit) via 7423243f65a7319eb6e9e4177dab9219c36554de (commit) via 9be4c80321a90b9816aacd72c8ebd0e4ee61fbeb (commit) via 43df1b24e86bfd1b4c1d2b01c6ee7f5e4652a58d (commit) via 585d6a9b23f56e34682c40066e1f666676460612 (commit) via dc78d2cdfa6cae3ac94fe4dee5d28ca40aa2e0d3 (commit) via 476ee0e268fac48b35b0ab5209b99d4b33119836 (commit) via 8411b5631f6aaa5c2844918e21c6fe483ef710de (commit) via 9dec131700da52b19955be480fa0cc33bde2c6f7 (commit) via 2bae061071f850af6b4271088f25f1de400ba295 (commit) via ef25df34e0475b050a84a830053059f265a5dd8a (commit) via 1a292d88d14be583419dec9279f3a033358b09a3 (commit) via 506ad0d3e3e86d60f173560f4638b31743f5855f (commit) via 71e18f95df1fc263dfd1fe35e476a530335cc328 (commit) via 1828acf201012455214da8d66825c8a8afdff933 (commit) via c2a4254332f756d22bfe55be3acebd2cdf67b194 (commit) via 8b08593c89f76b12441e8a3ea7bcf3d9154a9406 (commit) via 33239e5a9b4588ccb4da34760269bbca021980dc (commit) via 8b02585172cb128a08e05191c3614f02d8a8e05a (commit) via 1919841ae93b45b80f90db30d222ea2f5fa1c475 (commit) via aff2676ffabdec4eec9978e056d828ecc7f6dfc4 (commit) via 309c76c794461c55ee200e985946a554d28897bc (commit) via 4703c443588e2acf0ae4a356fdd7f6da9b53f206 (commit) via 7afa857789a4ce1fecb4ffcd1e3f44085bf10467 (commit) via ca7ff6aa20fb63fe4dcb108cb05032cc5ca5429f (commit) via dcdfcf02a1c6443bce6264982bda17b1c080acb7 (commit) via 7b181fec2e7e7098530242129014a6b893f70249 (commit) via 51cada8b4207e319fad20a8ecc5a5d4a0a8f47a8 (commit) via e543b6189a88e6fd8e856e9bd91551c6df06f2b2 (commit) via facfebefe6ac2a2ae1a15a170e1737109a06946d (commit) via 66b66b2fa188a388c0840ee9ba8d74bc733d877c (commit) via 664bdaca97eab8e859219f6227699ff5f243999a (commit) via dd31a5724aaa7a1f9ab09d36d9034b7581c6c21e (commit) via 8d0d30f3b8f939b91086d329edb9f34cf272bced (commit) via a339e184947b8238aab7d48e82c2e7f35b71d10d (commit) via eeef915c37ba05f264c1da5f0a33473d19ef88c6 (commit) via 9e008c4cb662902ceb9ca8637f1b8096c28bd116 (commit) via d870be34b77d564781c783eb48269acee9d55a56 (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 (c7cdfde8290ff28a49389aca2f9a0131f18953b2) \ N -- N -- N (ae818099e9cefa8dfd4ee84f88f017b53f35a6a1) 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=ae818099e9cefa8dfd4ee84f88f017b53f35a6a1 commit ae818099e9cefa8dfd4ee84f88f017b53f35a6a1 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon Apr 25 15:40:54 2016 +0200 RAB parameters: use shorter 32 bit IP address format This is needed for the ip.access nano3G femto cell. http://cgit.osmocom.org/openbsc/commit/?id=ff91ec8ab2a64352803f8cc445a75e203170d825 commit ff91ec8ab2a64352803f8cc445a75e203170d825 Author: Harald Welte <laforge at gnumonks.org> Date: Mon May 2 08:34:57 2016 +0200 SGSN: Don't indicate GERAN in Iu mode PDP CTX ACT REQ to GGSN http://cgit.osmocom.org/openbsc/commit/?id=5344f9d9354023ab80e0158368c4aa7f4769ffb9 commit 5344f9d9354023ab80e0158368c4aa7f4769ffb9 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu Aug 18 01:06:18 2016 +0200 cscn: add cmdline error message Change-Id: I30c13a604160268756b7413f1733f92300eb241b http://cgit.osmocom.org/openbsc/commit/?id=0485b2e27a60b466b0cfda89f56b55574c27a319 commit 0485b2e27a60b466b0cfda89f56b55574c27a319 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 13:21:55 2016 +0200 cosmetic: remove legacy comment from gsm0408_loc_upd_rej() http://cgit.osmocom.org/openbsc/commit/?id=6d18c0f6f55274820026ba10320635d705d505c1 commit 6d18c0f6f55274820026ba10320635d705d505c1 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 13:20:54 2016 +0200 cosmetic: make gsm0408_loc_upd_rej() static http://cgit.osmocom.org/openbsc/commit/?id=2b55c0f5541c8adc1bb051be9c411412f4b20184 commit 2b55c0f5541c8adc1bb051be9c411412f4b20184 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 13:18:03 2016 +0200 LU counters: count completion and failure, not messages sent From a human admin viewpoint it doesn't make sense to count the messages sent: When we use TMSIs, we first send a LU Accept with a new TMSI, and then expect the MS to respond with a TMSI Realloc Complete message. When that fails to come through, the LU actually ends in failure, even though a LU Accept was sent. In 3G, if a UE sends an Iu Release during LU (e.g. user enables flight mode), we cancel the LU without sending any reply at all, so nothing would be counted. Instead, count Location Updating results, i.e. completion and failures. http://cgit.osmocom.org/openbsc/commit/?id=9c24c62a4bcf7e8d3f2fd7ea2d0dc66ba8c49ba0 commit 9c24c62a4bcf7e8d3f2fd7ea2d0dc66ba8c49ba0 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=2afd8a809d4613ee335bfc1c1b349e8ae1bd4274 commit 2afd8a809d4613ee335bfc1c1b349e8ae1bd4274 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=abec36a020a4ba1f6c1980784f33d84f745eed8b commit abec36a020a4ba1f6c1980784f33d84f745eed8b 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=3d529ec178eb6fc4e41a8ee4f5d4be3bfe20261d commit 3d529ec178eb6fc4e41a8ee4f5d4be3bfe20261d 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=9886ba8d73c57dded15c6ab89a489e639ebcfacf commit 9886ba8d73c57dded15c6ab89a489e639ebcfacf 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=c929867f855df6e3784eeedfc8763725cafc96a8 commit c929867f855df6e3784eeedfc8763725cafc96a8 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=33f3125ec9d9a64f700bb206b43fce990fa2e36a commit 33f3125ec9d9a64f700bb206b43fce990fa2e36a 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=a5c35e5afcccab6067a65dbfbcd245e7540afcec commit a5c35e5afcccab6067a65dbfbcd245e7540afcec 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=eb574e69a6d3e65be135193bc3d955168e78d5f3 commit eb574e69a6d3e65be135193bc3d955168e78d5f3 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=f38ad80436f0fa0f28f4f690880d2d7869ab0eb2 commit f38ad80436f0fa0f28f4f690880d2d7869ab0eb2 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=569e42aa45b69b043f64de030745a0444043d9e6 commit 569e42aa45b69b043f64de030745a0444043d9e6 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=5b87ce8f4f13600d8269c5920cbd326e1d9114a7 commit 5b87ce8f4f13600d8269c5920cbd326e1d9114a7 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=4b882c2ca5aceb53ec377ed41981f0531650808d commit 4b882c2ca5aceb53ec377ed41981f0531650808d 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=a3025b6272bc78b50b669052363a1ef0796b5868 commit a3025b6272bc78b50b669052363a1ef0796b5868 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=bb44a0b4c03f7aa68371d630843678f8c405395c commit bb44a0b4c03f7aa68371d630843678f8c405395c 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=c5d13f2c9a100bf2aacbd59982e004b3bf0fae8e commit c5d13f2c9a100bf2aacbd59982e004b3bf0fae8e 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=0c05105159384d3308f5cf7d8e86ebf504dec71c commit 0c05105159384d3308f5cf7d8e86ebf504dec71c Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:06:55 2016 +0200 move subscr auth check to gsm_subscriber.c add subscr_authorized(), subscr_authorized_imsi() Change-Id: If2ef06b1229351127c61477ca14653d6ae4cb6bb http://cgit.osmocom.org/openbsc/commit/?id=230ecf64c70c78721e9e5d040bccdb394f74069b commit 230ecf64c70c78721e9e5d040bccdb394f74069b Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Aug 12 16:11:25 2016 +0200 auth log Change-Id: Icd9f8505388a06ee768d2176cb2b9187953098ef http://cgit.osmocom.org/openbsc/commit/?id=a3a0d7ed269a51df9040d14592e0b3bfa2bcdd7a commit a3a0d7ed269a51df9040d14592e0b3bfa2bcdd7a Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Aug 12 16:09:46 2016 +0200 iu auth wip Change-Id: Icc2522252cf15c54f1a1ea5255314a0de8bfba03 http://cgit.osmocom.org/openbsc/commit/?id=571f66e1befc22251afadbf2ec367ece667d10ed commit 571f66e1befc22251afadbf2ec367ece667d10ed Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Aug 12 16:03:09 2016 +0200 Iu auth wip Change-Id: I44effcca80dc6850178174dc957bcd5608b0ae14 http://cgit.osmocom.org/openbsc/commit/?id=5f39ad7c6c6e81c87c96f50070b78fb61e428269 commit 5f39ad7c6c6e81c87c96f50070b78fb61e428269 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Aug 12 16:21:32 2016 +0200 cosmetic prep: change int -> bool authorize_subscriber() Upcoming function subscr_authorized() will flip this to bool, so separate this change cosmetically. Change-Id: Iba0184a71afa01141ef06c474cb554e79ad8f5d5 http://cgit.osmocom.org/openbsc/commit/?id=21201a1af119fc472feed63cefde87d754df61f8 commit 21201a1af119fc472feed63cefde87d754df61f8 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=2b96babe3cd73cb04965a92bb62ef359c43c791e commit 2b96babe3cd73cb04965a92bb62ef359c43c791e 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=ab92801ae494c8c492b033d4795fd38bc6a47f74 commit ab92801ae494c8c492b033d4795fd38bc6a47f74 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=c5dee190739adffd0f055c15ee42879b25a52a82 commit c5dee190739adffd0f055c15ee42879b25a52a82 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=52873343f1350e02d6bfc273452c05415208ce68 commit 52873343f1350e02d6bfc273452c05415208ce68 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=d617f12170cd2626767260eb667795d37b09302c commit d617f12170cd2626767260eb667795d37b09302c 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=7c1dae79ef3e29419beea46bf95c3c0fd7b642ca commit 7c1dae79ef3e29419beea46bf95c3c0fd7b642ca 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=4e1d618a921dff6e7f0d45fa6718c476a8bddf00 commit 4e1d618a921dff6e7f0d45fa6718c476a8bddf00 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=3d1821cbe0b849d10117a2e45a933fb448f66af5 commit 3d1821cbe0b849d10117a2e45a933fb448f66af5 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=91297d3a9ea23b583130539ce943e0b977326ccb commit 91297d3a9ea23b583130539ce943e0b977326ccb 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=1682b89ea8579307fb991aa0a7e303c40053e502 commit 1682b89ea8579307fb991aa0a7e303c40053e502 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=49cfd60f990ecaebe6fcac10497a0e80c367c49b commit 49cfd60f990ecaebe6fcac10497a0e80c367c49b 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=acc38c92103224048e3a9bfc100600706aff1155 commit acc38c92103224048e3a9bfc100600706aff1155 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=9bc349b0182acff3208c4b18411a57c1a4657867 commit 9bc349b0182acff3208c4b18411a57c1a4657867 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=b8582e02f1b3f111a840abbadb477ce02943b4b0 commit b8582e02f1b3f111a840abbadb477ce02943b4b0 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=2b1fd7515608c445f7b504e6ac7ca39eb9f53557 commit 2b1fd7515608c445f7b504e6ac7ca39eb9f53557 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=a04dea9b2060fa2e7b296c64da90ee8567c747dd commit a04dea9b2060fa2e7b296c64da90ee8567c747dd Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:05:43 2016 +0200 gsm_04_08, gsm_subscriber: decouple lac from bts 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. subscr_update(): remove bts arg, add lac arg. Pass conn->lac to gsm48_generate_lai() instead of bts->location_area_code. Change-Id: I9f2b298a785bf4b2a1b3fcdd91b8256106b2d9de http://cgit.osmocom.org/openbsc/commit/?id=7c2a4ac2a3eea3f18a032528efa3c9809eb6bda2 commit 7c2a4ac2a3eea3f18a032528efa3c9809eb6bda2 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=a298d0d0e2ec2741b6882eb543ed58bd9034235a commit a298d0d0e2ec2741b6882eb543ed58bd9034235a 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=19e9abc40b7df15c45ec7874e066adc8fd06895c commit 19e9abc40b7df15c45ec7874e066adc8fd06895c 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=12f127f92e1b6e59982383ba16799437a68b06b5 commit 12f127f92e1b6e59982383ba16799437a68b06b5 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). Add lac member to gsm_subscriber_connection, to allow decoupling from bts->location_area_code. The conn->lac will actually be set in iu.c in an upcoming commit ("add iucs.[hc]"). Change-Id: Idf8020a30562426e8f939706bf5c2188d5a09798 http://cgit.osmocom.org/openbsc/commit/?id=ed0d5b358951ba3581b6f4c17de8e7ca3329838b commit ed0d5b358951ba3581b6f4c17de8e7ca3329838b 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=82b0d7ad8e42c21d762af2f824184e1a6e16778e commit 82b0d7ad8e42c21d762af2f824184e1a6e16778e Author: Harald Welte <laforge at gnumonks.org> Date: Thu Dec 24 17:06:42 2015 +0100 gsm_04_08.c: Don't set msg->lchan nor msg->dst the BSC-side of the API behind gsm0808_submit_dtap() is doing this resolving again anyway. So let's avoid doing it twice, and avoid having more dependency of the MSC down into the lchan details. Conflicts: openbsc/src/libmsc/gsm_04_08.c Change-Id: I14254be68ee1a48e9f1ce968233414d86c6ba9d5 http://cgit.osmocom.org/openbsc/commit/?id=fa6f225d8080453689a1fc629c0db62051690b10 commit fa6f225d8080453689a1fc629c0db62051690b10 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=d4f222761f48f9174b5c170b07e31a0c7163751a commit d4f222761f48f9174b5c170b07e31a0c7163751a 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=ff9671683c0ccdce913d31d52660d7ff42811aa1 commit ff9671683c0ccdce913d31d52660d7ff42811aa1 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=667d4d6a448f73148ffa1f636e9585140a15c9fc commit 667d4d6a448f73148ffa1f636e9585140a15c9fc 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=68050dcc5d6eb1556e6c19a546bf8ca7486c2ac4 commit 68050dcc5d6eb1556e6c19a546bf8ca7486c2ac4 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=6eaf521adb6c04d2246d6d55ef39ac4f081fcb5a commit 6eaf521adb6c04d2246d6d55ef39ac4f081fcb5a 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=2bf9b1cb203e599812685715fa2fa94556dbd569 commit 2bf9b1cb203e599812685715fa2fa94556dbd569 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=b32b7b8ef4aee18029a78089f7229c4d2e22c7eb commit b32b7b8ef4aee18029a78089f7229c4d2e22c7eb 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=069f436d1c9bf16bf84dcf61f15bada8e3d684d8 commit 069f436d1c9bf16bf84dcf61f15bada8e3d684d8 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=b19f56998f73abaa9f086b4ce366085238d610ba commit b19f56998f73abaa9f086b4ce366085238d610ba 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=43f5d6a245083cd825d2a7085024e3f0379e3459 commit 43f5d6a245083cd825d2a7085024e3f0379e3459 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=7423243f65a7319eb6e9e4177dab9219c36554de commit 7423243f65a7319eb6e9e4177dab9219c36554de 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=9be4c80321a90b9816aacd72c8ebd0e4ee61fbeb commit 9be4c80321a90b9816aacd72c8ebd0e4ee61fbeb 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=43df1b24e86bfd1b4c1d2b01c6ee7f5e4652a58d commit 43df1b24e86bfd1b4c1d2b01c6ee7f5e4652a58d 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=585d6a9b23f56e34682c40066e1f666676460612 commit 585d6a9b23f56e34682c40066e1f666676460612 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=dc78d2cdfa6cae3ac94fe4dee5d28ca40aa2e0d3 commit dc78d2cdfa6cae3ac94fe4dee5d28ca40aa2e0d3 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=476ee0e268fac48b35b0ab5209b99d4b33119836 commit 476ee0e268fac48b35b0ab5209b99d4b33119836 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=8411b5631f6aaa5c2844918e21c6fe483ef710de commit 8411b5631f6aaa5c2844918e21c6fe483ef710de 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=9dec131700da52b19955be480fa0cc33bde2c6f7 commit 9dec131700da52b19955be480fa0cc33bde2c6f7 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=2bae061071f850af6b4271088f25f1de400ba295 commit 2bae061071f850af6b4271088f25f1de400ba295 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=ef25df34e0475b050a84a830053059f265a5dd8a commit ef25df34e0475b050a84a830053059f265a5dd8a 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=1a292d88d14be583419dec9279f3a033358b09a3 commit 1a292d88d14be583419dec9279f3a033358b09a3 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=506ad0d3e3e86d60f173560f4638b31743f5855f commit 506ad0d3e3e86d60f173560f4638b31743f5855f 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=71e18f95df1fc263dfd1fe35e476a530335cc328 commit 71e18f95df1fc263dfd1fe35e476a530335cc328 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=1828acf201012455214da8d66825c8a8afdff933 commit 1828acf201012455214da8d66825c8a8afdff933 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=c2a4254332f756d22bfe55be3acebd2cdf67b194 commit c2a4254332f756d22bfe55be3acebd2cdf67b194 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=8b08593c89f76b12441e8a3ea7bcf3d9154a9406 commit 8b08593c89f76b12441e8a3ea7bcf3d9154a9406 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=33239e5a9b4588ccb4da34760269bbca021980dc commit 33239e5a9b4588ccb4da34760269bbca021980dc 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=8b02585172cb128a08e05191c3614f02d8a8e05a commit 8b02585172cb128a08e05191c3614f02d8a8e05a 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=1919841ae93b45b80f90db30d222ea2f5fa1c475 commit 1919841ae93b45b80f90db30d222ea2f5fa1c475 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=aff2676ffabdec4eec9978e056d828ecc7f6dfc4 commit aff2676ffabdec4eec9978e056d828ecc7f6dfc4 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=309c76c794461c55ee200e985946a554d28897bc commit 309c76c794461c55ee200e985946a554d28897bc 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=4703c443588e2acf0ae4a356fdd7f6da9b53f206 commit 4703c443588e2acf0ae4a356fdd7f6da9b53f206 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=7afa857789a4ce1fecb4ffcd1e3f44085bf10467 commit 7afa857789a4ce1fecb4ffcd1e3f44085bf10467 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=ca7ff6aa20fb63fe4dcb108cb05032cc5ca5429f commit ca7ff6aa20fb63fe4dcb108cb05032cc5ca5429f 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=dcdfcf02a1c6443bce6264982bda17b1c080acb7 commit dcdfcf02a1c6443bce6264982bda17b1c080acb7 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=7b181fec2e7e7098530242129014a6b893f70249 commit 7b181fec2e7e7098530242129014a6b893f70249 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. Cosmetic: also move stdbool.h include to the top to keep osmocom and openbsc includes grouped. Change-Id: Iaa3dc36768f96f6b8c91010a2ba389fdc37f1503 http://cgit.osmocom.org/openbsc/commit/?id=51cada8b4207e319fad20a8ecc5a5d4a0a8f47a8 commit 51cada8b4207e319fad20a8ecc5a5d4a0a8f47a8 Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Wed May 11 12:43:47 2016 +0200 IuPS: Change GTP-U endpoint to SGSN in PMM_IDLE and page UE when data arrives Change-Id: I47b73a40cbdda6b7c31fb2767f74f9f93d84056b http://cgit.osmocom.org/openbsc/commit/?id=e543b6189a88e6fd8e856e9bd91551c6df06f2b2 commit e543b6189a88e6fd8e856e9bd91551c6df06f2b2 Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Wed May 11 12:42:54 2016 +0200 IuPS: Introduce function to change PMM state This is where IuPS will redirect GTP-U endpoints in a subsequent commit. Also add comprehensive logging of pmm_state transitions. Change-Id: I7c2cd1abc1805659b01dffffff31c49fe5161086 http://cgit.osmocom.org/openbsc/commit/?id=facfebefe6ac2a2ae1a15a170e1737109a06946d commit facfebefe6ac2a2ae1a15a170e1737109a06946d Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:21:15 2016 +0200 IuPS: GMM Attach: reset MM ctx pending_req Change-Id: I0df0f3d88085939eb617405e2013ad164eed477b http://cgit.osmocom.org/openbsc/commit/?id=66b66b2fa188a388c0840ee9ba8d74bc733d877c commit 66b66b2fa188a388c0840ee9ba8d74bc733d877c Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:01:21 2016 +0200 IuPS: sgsn_mm_ctx: add enum gprs_pmm_state field, track PMM state Iu needs to page to transfer data in PMM-IDLE state. Change-Id: Id37778cb9a0328a21c8e8246998ecdb43dd687d8 http://cgit.osmocom.org/openbsc/commit/?id=664bdaca97eab8e859219f6227699ff5f243999a commit 664bdaca97eab8e859219f6227699ff5f243999a Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:35:41 2016 +0200 IuPS: RA UPD: make sure to authorize, for Iu Integrity Protection Change-Id: I2ea2089895f8a8e125ef39d9bef70dafb2b1ce69 http://cgit.osmocom.org/openbsc/commit/?id=dd31a5724aaa7a1f9ab09d36d9034b7581c6c21e commit dd31a5724aaa7a1f9ab09d36d9034b7581c6c21e Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:15:29 2016 +0200 IuPS: add GMM Service Request rx and tx Change-Id: Ib935de22d23a15f449927840d4d59497ce22abbd http://cgit.osmocom.org/openbsc/commit/?id=8d0d30f3b8f939b91086d329edb9f34cf272bced commit 8d0d30f3b8f939b91086d329edb9f34cf272bced Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:00:09 2016 +0200 IuPS: GMM Service Request: add local gsm_04_08_gprs.h and .c These items will probably move to libosmocore's gsm_04_08_gprs.h and .c, add them here in openbsc until things have settled. Change-Id: Iaf9316f07d21280b6e090d65892c338f9555313a http://cgit.osmocom.org/openbsc/commit/?id=a339e184947b8238aab7d48e82c2e7f35b71d10d commit a339e184947b8238aab7d48e82c2e7f35b71d10d Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:16:55 2016 +0200 IuPS: send Security Mode Command, track the new_key flag. Change-Id: I0b2593c2df13b79eb36975b0d302e31cfdf8bb09 http://cgit.osmocom.org/openbsc/commit/?id=eeef915c37ba05f264c1da5f0a33473d19ef88c6 commit eeef915c37ba05f264c1da5f0a33473d19ef88c6 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:31:12 2016 +0200 IuPS: dev hack: init hardcoded Ki on ATT REQ Change-Id: Ieca45960fa941a3a706c6e479b04b9f2ef89d860 http://cgit.osmocom.org/openbsc/commit/?id=9e008c4cb662902ceb9ca8637f1b8096c28bd116 commit 9e008c4cb662902ceb9ca8637f1b8096c28bd116 Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Sat May 21 00:55:25 2016 +0200 IuPS: add Iu response to delete_pdp_conf() Change-Id: I6d601586101c0a004b2243633fab48db82b44b7c http://cgit.osmocom.org/openbsc/commit/?id=d870be34b77d564781c783eb48269acee9d55a56 commit d870be34b77d564781c783eb48269acee9d55a56 Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Sat May 21 00:53:42 2016 +0200 IuPS: add Iu response to create_pdp_conf() Change-Id: Iad65ca9b77c3166d4df9a58af527e6aef7e589ee ----------------------------------------------------------------------- Summary of changes: hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)