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 created at 569c8e3f21f0c99bc373932b9d276a6f59457cfb (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=569c8e3f21f0c99bc373932b9d276a6f59457cfb commit 569c8e3f21f0c99bc373932b9d276a6f59457cfb Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:14:09 2016 +0200 comment http://cgit.osmocom.org/openbsc/commit/?id=2928827f56e44a88a1aa059962a007662d6d4c60 commit 2928827f56e44a88a1aa059962a007662d6d4c60 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:04:40 2016 +0200 comment http://cgit.osmocom.org/openbsc/commit/?id=f63e9d94c7b3cc1dbcfea1465058ebf9415a511b commit f63e9d94c7b3cc1dbcfea1465058ebf9415a511b Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:57:25 2016 +0200 comment remove gsm48 paging http://cgit.osmocom.org/openbsc/commit/?id=6be4b2893d0937b63cf615fa45d42d626b1e9b67 commit 6be4b2893d0937b63cf615fa45d42d626b1e9b67 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:29:41 2016 +0200 comment http://cgit.osmocom.org/openbsc/commit/?id=7fc7a3e3e806c19df00ea039bd444b681f7e8bd9 commit 7fc7a3e3e806c19df00ea039bd444b681f7e8bd9 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:26:47 2016 +0200 comment http://cgit.osmocom.org/openbsc/commit/?id=b6ffacf40da551f1c16f6c99166f43eec7465bbf commit b6ffacf40da551f1c16f6c99166f43eec7465bbf 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=2adce19c9ff00eac1fc17d5c30b80dbcf1ab4756 commit 2adce19c9ff00eac1fc17d5c30b80dbcf1ab4756 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:28:18 2016 +0200 move to libxsc: factor out gen of USSD notify and release complete -- TODO subscr_conn 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. Future: both libbsc and libmsc will want to use the gsm0480_send_* functions, but using different subscriber connection structs. Hence move out the message generation guts and code-dup only thin shims to libbsc and libmsc. http://cgit.osmocom.org/openbsc/commit/?id=cf94e971d72cacc9bff8684436603dcea7b8eac5 commit cf94e971d72cacc9bff8684436603dcea7b8eac5 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 really? http://cgit.osmocom.org/openbsc/commit/?id=2fc22f4a3385f1ebf3955e0d7b0b473996d570b2 commit 2fc22f4a3385f1ebf3955e0d7b0b473996d570b2 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=f234554eb3034e11f582330af3a5e6b8b610710b commit f234554eb3034e11f582330af3a5e6b8b610710b Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed May 11 14:12:00 2016 +0200 split bsc_bootstrap_network() in alloc and config http://cgit.osmocom.org/openbsc/commit/?id=e64e51a2738c92a210df554962f21367d0d384bb commit e64e51a2738c92a210df554962f21367d0d384bb 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=af00a87e2446cb03095c80765390101e13a3c146 commit af00a87e2446cb03095c80765390101e13a3c146 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 21:30:26 2016 +0200 gsm_04_08: remove apply_codec_restrictions() 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.) http://cgit.osmocom.org/openbsc/commit/?id=aae9ba5659ecb4b3682ad7bcdddc70b9fa467575 commit aae9ba5659ecb4b3682ad7bcdddc70b9fa467575 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:15:50 2016 +0200 mscsplit http://cgit.osmocom.org/openbsc/commit/?id=2e9d316e874e78fd407bada33c9992406d2aeaa6 commit 2e9d316e874e78fd407bada33c9992406d2aeaa6 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:13:55 2016 +0200 msc_api compl_l3 http://cgit.osmocom.org/openbsc/commit/?id=37daa52f64f5a1cfcb68bcc880255053c20ed798 commit 37daa52f64f5a1cfcb68bcc880255053c20ed798 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:12:01 2016 +0200 msc_api compl_l3 http://cgit.osmocom.org/openbsc/commit/?id=a2d6a828d217e25a42a4250805ce79335d466b88 commit a2d6a828d217e25a42a4250805ce79335d466b88 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:13:04 2016 +0200 mscsplit http://cgit.osmocom.org/openbsc/commit/?id=49969282c6edf1eb6da9103b97a6b6fdccc935d8 commit 49969282c6edf1eb6da9103b97a6b6fdccc935d8 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:10:15 2016 +0200 mscsplit msc_tx_dtap http://cgit.osmocom.org/openbsc/commit/?id=88a3b0368c7d87dd73e36378a569fe77be3d97a8 commit 88a3b0368c7d87dd73e36378a569fe77be3d97a8 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:09:25 2016 +0200 mscsplit http://cgit.osmocom.org/openbsc/commit/?id=37d61c40fd4ba1801dc31dd50adaf05f08ff9ecd commit 37d61c40fd4ba1801dc31dd50adaf05f08ff9ecd Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 20:41:20 2016 +0200 subscr_request_conn Change-Id: I16a716c19777f175f9c4281394976b716252fde5 http://cgit.osmocom.org/openbsc/commit/?id=e17906df78a92d8ea2600430273b438c8d8b06a2 commit e17906df78a92d8ea2600430273b438c8d8b06a2 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 20:40:53 2016 +0200 lchan_conn_comment Change-Id: I87bcd049162a3798868426a26b173c2029ada74b http://cgit.osmocom.org/openbsc/commit/?id=15e4fdee320fa713b40bd9183d53a4609d52fbcb commit 15e4fdee320fa713b40bd9183d53a4609d52fbcb Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 20:40:34 2016 +0200 msc_tx_dtap Change-Id: I30d961f16eb7b9c0ab9cc3f43198098d3f1a909f http://cgit.osmocom.org/openbsc/commit/?id=24e1c03143507285204ab7552d51e4aafd4c7d22 commit 24e1c03143507285204ab7552d51e4aafd4c7d22 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 20:40:16 2016 +0200 lchan_conn_comment Change-Id: I673541047b3648251ee0e94618abfe1df4901487 http://cgit.osmocom.org/openbsc/commit/?id=e5bcaf1d55fecc68f84678a69708b0fcf958c8eb commit e5bcaf1d55fecc68f84678a69708b0fcf958c8eb 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=614139d6a80ff49300f019933f44a7b9f5ff7d60 commit 614139d6a80ff49300f019933f44a7b9f5ff7d60 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:04:28 2016 +0200 msc_ifaces http://cgit.osmocom.org/openbsc/commit/?id=52f16b8f8095b3b3c215d9adadbf4868e1457cd4 commit 52f16b8f8095b3b3c215d9adadbf4868e1457cd4 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:03:35 2016 +0200 mscsplit http://cgit.osmocom.org/openbsc/commit/?id=65f1ccc53bb4c1484094dff4e4d822340e2db53d commit 65f1ccc53bb4c1484094dff4e4d822340e2db53d Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:02:39 2016 +0200 iu_cs http://cgit.osmocom.org/openbsc/commit/?id=2bc82b37413d4a835687da62a87c6c52867fad27 commit 2bc82b37413d4a835687da62a87c6c52867fad27 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:39:06 2016 +0200 iucs_h Change-Id: I87e2f55d336792336fab34fefaa0c8b4557e22cf http://cgit.osmocom.org/openbsc/commit/?id=d45b0c7cc9ae18dcf4989de0e3066f8dc89e7237 commit d45b0c7cc9ae18dcf4989de0e3066f8dc89e7237 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:01:49 2016 +0200 msc_h http://cgit.osmocom.org/openbsc/commit/?id=d70dc883298b6483695e638b224aca4c02a7246e commit d70dc883298b6483695e638b224aca4c02a7246e Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:00:46 2016 +0200 COMPILING_LIBMSC http://cgit.osmocom.org/openbsc/commit/?id=da992f0d13deb47e90d31a06d96276c193213c14 commit da992f0d13deb47e90d31a06d96276c193213c14 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=897211998bf245144b93d13f6840bf041d177a9a commit 897211998bf245144b93d13f6840bf041d177a9a 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=67da580b88160c3ea0501c85e6869691e1a48494 commit 67da580b88160c3ea0501c85e6869691e1a48494 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=b35b1a509639765a8da0ab54d83a395955b5ad94 commit b35b1a509639765a8da0ab54d83a395955b5ad94 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:39:44 2016 +0200 msc_ifaces http://cgit.osmocom.org/openbsc/commit/?id=b5704b2c7945ca76d23d2264c29c62a6199ce425 commit b5704b2c7945ca76d23d2264c29c62a6199ce425 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:37:59 2016 +0200 msc_api_h__compl_l3 http://cgit.osmocom.org/openbsc/commit/?id=4f9a8be11aeaac29c7de775d15b60a508ebf4dcb commit 4f9a8be11aeaac29c7de775d15b60a508ebf4dcb Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:36:15 2016 +0200 msc_api_h http://cgit.osmocom.org/openbsc/commit/?id=0fcfc0b59180dc31affc53f65984876274887faf commit 0fcfc0b59180dc31affc53f65984876274887faf Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:32:27 2016 +0200 msc_api_h http://cgit.osmocom.org/openbsc/commit/?id=0d8ed42cbfaa035a53d89b78fb0e1ecbd4d53144 commit 0d8ed42cbfaa035a53d89b78fb0e1ecbd4d53144 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:29:26 2016 +0200 IFACE_A, INTEGRITY_PROT http://cgit.osmocom.org/openbsc/commit/?id=2ec3977f00f9687c739cf99c0aa3d9752b1ed83a commit 2ec3977f00f9687c739cf99c0aa3d9752b1ed83a Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:26:39 2016 +0200 msc_h http://cgit.osmocom.org/openbsc/commit/?id=df3f89a9f70641ac247a899377bd52ed635803fe commit df3f89a9f70641ac247a899377bd52ed635803fe Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 12:50:31 2016 +0200 add empty openbsc/src/libmsc/msc_ifaces.c http://cgit.osmocom.org/openbsc/commit/?id=c298ee7049351e0add06bba0f4276700b7f64965 commit c298ee7049351e0add06bba0f4276700b7f64965 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 12:50:31 2016 +0200 add empty openbsc/src/libmsc/a_iface.c http://cgit.osmocom.org/openbsc/commit/?id=a77707d9a2ad3eb602f256875630dd031e7e069f commit a77707d9a2ad3eb602f256875630dd031e7e069f Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 12:50:31 2016 +0200 add empty openbsc/src/libbsc/gsm_04_80_utils.c http://cgit.osmocom.org/openbsc/commit/?id=63015eb0815928ca3dea3b261e8047b9ffad2af8 commit 63015eb0815928ca3dea3b261e8047b9ffad2af8 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 12:50:31 2016 +0200 add empty openbsc/include/openbsc/msc_ifaces.h http://cgit.osmocom.org/openbsc/commit/?id=4eba8852ce669db0aeb2473252fca75eeda34061 commit 4eba8852ce669db0aeb2473252fca75eeda34061 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 12:50:31 2016 +0200 add empty openbsc/include/openbsc/msc_api.h http://cgit.osmocom.org/openbsc/commit/?id=3a7295979869098af5e9b2ff3b6f5f6f6706ab19 commit 3a7295979869098af5e9b2ff3b6f5f6f6706ab19 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu May 12 02:20:34 2016 +0200 tests_db http://cgit.osmocom.org/openbsc/commit/?id=cb36b5069c7d7232972c66bf16e8c42cf788186b commit cb36b5069c7d7232972c66bf16e8c42cf788186b Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu May 12 02:20:26 2016 +0200 tests_channel http://cgit.osmocom.org/openbsc/commit/?id=0fb523bbb9ab092d61b2b46d8aa42c88afaccace commit 0fb523bbb9ab092d61b2b46d8aa42c88afaccace Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed May 11 17:13:28 2016 +0200 make tests/bsc rm dup link http://cgit.osmocom.org/openbsc/commit/?id=0aa34605dd6999234771b41b5c1ede5c9d04b648 commit 0aa34605dd6999234771b41b5c1ede5c9d04b648 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 13:48:50 2016 +0200 Move T3212 (periodic LU timer) up to network level WIP TODO: adjust VTY Change-Id: Ifb730f9d0106fe195adc30459a39290a07313b50 http://cgit.osmocom.org/openbsc/commit/?id=643dd630765acbc1743e74a4df2bf0c01f454827 commit 643dd630765acbc1743e74a4df2bf0c01f454827 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=6820052f828bd4188f9505e5b24c97f417c3a07d commit 6820052f828bd4188f9505e5b24c97f417c3a07d 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=6560784d5011815c5dd1e7ae49170fe85794da42 commit 6560784d5011815c5dd1e7ae49170fe85794da42 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=64203dd7147c717a6b2f90e3e5a86ddfc76b3d81 commit 64203dd7147c717a6b2f90e3e5a86ddfc76b3d81 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=337630b9a00d8eaa33dbc8e249f1f4a4e44e72af commit 337630b9a00d8eaa33dbc8e249f1f4a4e44e72af 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=ee78ddc49c2ffd78f4f31943ee1532cbcefced52 commit ee78ddc49c2ffd78f4f31943ee1532cbcefced52 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=130e4a713ae8518e957d540757e81a94790c45aa commit 130e4a713ae8518e957d540757e81a94790c45aa 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=cda8f73c2cf41970c64cf5c81a771f31a26b036a commit cda8f73c2cf41970c64cf5c81a771f31a26b036a 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=4962f64f00f820f625d31f5433ecea67513753bd commit 4962f64f00f820f625d31f5433ecea67513753bd 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=40bf991c99268e8c48ef40e5957580fefa679c63 commit 40bf991c99268e8c48ef40e5957580fefa679c63 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. Future: this will be used by libmsc's subscriber connection, for osmo-cscn. http://cgit.osmocom.org/openbsc/commit/?id=04e60df9c6013a1f89a36d21c7d5dc9d15070c5f commit 04e60df9c6013a1f89a36d21c7d5dc9d15070c5f 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=794032d39722557085206bf27a768646b534d073 commit 794032d39722557085206bf27a768646b534d073 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=db9f0fb55fbfd896d5cde6c726f7c74fc592a6c9 commit db9f0fb55fbfd896d5cde6c726f7c74fc592a6c9 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=6f9f73b43367e71c4733f9cf395248e898d75adb commit 6f9f73b43367e71c4733f9cf395248e898d75adb 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=a16e1817082908ddcd37b4ac3bced9c59a9411f2 commit a16e1817082908ddcd37b4ac3bced9c59a9411f2 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=0dff034386b8886c6cfa3f7e1c06c99c9b3681c8 commit 0dff034386b8886c6cfa3f7e1c06c99c9b3681c8 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. http://cgit.osmocom.org/openbsc/commit/?id=f302a80d96b923208b99711fcfcf7e31720685b2 commit f302a80d96b923208b99711fcfcf7e31720685b2 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=a27ecd1d0ce8a38225acf2e9603115efd438ee2d commit a27ecd1d0ce8a38225acf2e9603115efd438ee2d 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=40f96e0e62222f5e48252ae7282f31677a5b6011 commit 40f96e0e62222f5e48252ae7282f31677a5b6011 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=64b6562c475d293e93f8aab657c6678b5f785747 commit 64b6562c475d293e93f8aab657c6678b5f785747 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=e608b9213a4f2fcd4fb83bd144150058793e9c62 commit e608b9213a4f2fcd4fb83bd144150058793e9c62 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=ccad119077d43c0cfefff402cc76fb65fe993ab0 commit ccad119077d43c0cfefff402cc76fb65fe993ab0 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=aa49194d053606a12396a9982346d1334c1eb641 commit aa49194d053606a12396a9982346d1334c1eb641 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=01d973046dd0520ad89897b55aa1c704b1bac77c commit 01d973046dd0520ad89897b55aa1c704b1bac77c 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=441e7f447596d3dbab4afa2f5586eff97e9bb546 commit 441e7f447596d3dbab4afa2f5586eff97e9bb546 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=cef86a71042f94366844258242e4d549379d9dc9 commit cef86a71042f94366844258242e4d549379d9dc9 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=b0526757073061110de3e96bb4040f20f68efcb5 commit b0526757073061110de3e96bb4040f20f68efcb5 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=291fe4ced70f91f7adb4f75b3f7e85369bf13b43 commit 291fe4ced70f91f7adb4f75b3f7e85369bf13b43 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=e20094784b406495f3364f0903e10032a57bea34 commit e20094784b406495f3364f0903e10032a57bea34 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=26e5f03a00abdd037f70d4342e921bdd2f964327 commit 26e5f03a00abdd037f70d4342e921bdd2f964327 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=56f01971a01e781c1bf672321945b58b77151988 commit 56f01971a01e781c1bf672321945b58b77151988 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=108156596e29a08006aa15f4768c96e4187448f0 commit 108156596e29a08006aa15f4768c96e4187448f0 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:41:42 2016 +0200 add debug log to gsm0408_gprs_rcvmsg_iu() Change-Id: I3ab0bb067f5f67139c7c0d77eec50fd893a2a4b8 http://cgit.osmocom.org/openbsc/commit/?id=0fc154be4135919c21228c6247a6dfd98e8a45e8 commit 0fc154be4135919c21228c6247a6dfd98e8a45e8 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:50:13 2016 +0200 update osmo_sgsn.cfg Change-Id: Ia41a6cdfe6f272670f424f727b25d958cc090a7d http://cgit.osmocom.org/openbsc/commit/?id=b4d7f5a37aed4f7e92e9577aaffe3fe2f293ade3 commit b4d7f5a37aed4f7e92e9577aaffe3fe2f293ade3 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 01:45:22 2016 +0200 pending_req fixme comment Change-Id: Icfb7a3cfd333ac92500cb3abaec75e27c9edea9a http://cgit.osmocom.org/openbsc/commit/?id=e3aab9bf7dff3b6e03a56e23a7d8ac76ab580c38 commit e3aab9bf7dff3b6e03a56e23a7d8ac76ab580c38 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:21:15 2016 +0200 reset MM ctx pending_req on GMM Attach Request -- TODO really? Change-Id: I0df0f3d88085939eb617405e2013ad164eed477b http://cgit.osmocom.org/openbsc/commit/?id=7d65f26d59ee11453ca127de48b09ccadc7c22be commit 7d65f26d59ee11453ca127de48b09ccadc7c22be Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:45:21 2016 +0200 cosmetic http://cgit.osmocom.org/openbsc/commit/?id=7003b1f19e956810c225e5963d5fe2777e21bcd8 commit 7003b1f19e956810c225e5963d5fe2777e21bcd8 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:57:25 2016 +0200 sgsn_main.c: add asn_debug flag impl ("extern") Change-Id: I088e0980cbbec9dae19632e0d11cfe979fb83e98 http://cgit.osmocom.org/openbsc/commit/?id=30d2afda9936348d0e5fe02530b5999711fe4680 commit 30d2afda9936348d0e5fe02530b5999711fe4680 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:55:42 2016 +0200 sgsn_main.c: iu.h Change-Id: Ia7d0a039419b2e14e3853815887d3665739d4ee6 http://cgit.osmocom.org/openbsc/commit/?id=1b7f1314c40b7ffe60884aca1d42b6da08e7fa82 commit 1b7f1314c40b7ffe60884aca1d42b6da08e7fa82 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:51:23 2016 +0200 sgsn_libgtp.c: asn1chelpers.h Change-Id: Idcda3bd51f2eed4c5aa45a1e4e37f683ebb2eacc http://cgit.osmocom.org/openbsc/commit/?id=bf6feafd68b1b59cfbd3221a5c1937e0bad0005e commit bf6feafd68b1b59cfbd3221a5c1937e0bad0005e Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:51:09 2016 +0200 sgsn_libgtp.c: ranap_ies_defs.h Change-Id: I647b9251d56c77810dba9adba0450c4eb8eb1dbb http://cgit.osmocom.org/openbsc/commit/?id=afe17ca950a727274dc1f1287a44dc4a138d5b0a commit afe17ca950a727274dc1f1287a44dc4a138d5b0a Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:50:50 2016 +0200 sgsn_libgtp.c: iu.h Change-Id: Ibb3fc06ad0ede2d6c10b3f73b07d90fd7d4920b4 http://cgit.osmocom.org/openbsc/commit/?id=8f266f259324d4fc07ca2d4c55ceeab07ca3d0b4 commit 8f266f259324d4fc07ca2d4c55ceeab07ca3d0b4 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:50:37 2016 +0200 sgsn_libgtp.c: auth.h Change-Id: I8a58ef87c1bd3a281930121babd2f0dfd2c2f869 http://cgit.osmocom.org/openbsc/commit/?id=5879a0d6f0735a49f8642ce728d9c65134daac6a commit 5879a0d6f0735a49f8642ce728d9c65134daac6a Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:44:38 2016 +0200 gprs_sgsn.c: add iu.h Change-Id: I3edba1384a716bdf7f9526fb96eed9aae8833de3 http://cgit.osmocom.org/openbsc/commit/?id=e43353c2270a45fc05c26f765be2b17f483fecbe commit e43353c2270a45fc05c26f765be2b17f483fecbe Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:06:52 2016 +0200 gmm.iu.h Change-Id: Ic3aceecc02a5a677585dfd745027b70420fda181 http://cgit.osmocom.org/openbsc/commit/?id=4d19d4aa9e8087ae393922964bf466b1bbe2f7a1 commit 4d19d4aa9e8087ae393922964bf466b1bbe2f7a1 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:06:41 2016 +0200 gmm.ranap_ies_defs.h Change-Id: If468a52812ca2e99a1e8fc253271a73800deb599 http://cgit.osmocom.org/openbsc/commit/?id=057ed7560556fd6a0bcd8b6c41e0dea17ed8fad2 commit 057ed7560556fd6a0bcd8b6c41e0dea17ed8fad2 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:05:53 2016 +0200 gmm.auth.h Change-Id: I50d0e9c17dc6a0c8fe8fa0ce96331895373d9b2c http://cgit.osmocom.org/openbsc/commit/?id=2df62b8e0649d469e66e2db9b3137212a4e876b0 commit 2df62b8e0649d469e66e2db9b3137212a4e876b0 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:05:40 2016 +0200 gmm.rand.h Change-Id: Id9bba01346fbddd46a00b7b5157f19eb7fa288cf http://cgit.osmocom.org/openbsc/commit/?id=2076fc5233392792fdd6a5df86a0361cf1142bea commit 2076fc5233392792fdd6a5df86a0361cf1142bea Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:59:26 2016 +0200 gprs tests skipping Change-Id: I66e96a2104fd89662e98f8b3bd87cccbf8bc7a87 http://cgit.osmocom.org/openbsc/commit/?id=0690b2c9a0c39bf10531505b2f764de64f035ee4 commit 0690b2c9a0c39bf10531505b2f764de64f035ee4 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:51:56 2016 +0200 comment on Iu GTP-U Change-Id: I9fd8f0111ef4bb52d421b322a633ff85f863d10e http://cgit.osmocom.org/openbsc/commit/?id=a3d1ddb7daa899539f222fd34e67b4e17c5ed31f commit a3d1ddb7daa899539f222fd34e67b4e17c5ed31f Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:44:50 2016 +0200 gprs_sgsn.c: move pdp.h include to top http://cgit.osmocom.org/openbsc/commit/?id=37d4589549540f187305623d4aab7116fb5bf444 commit 37d4589549540f187305623d4aab7116fb5bf444 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:01:21 2016 +0200 sgsn_mm_ctx: add enum gprs_pmm_state field, track PMM state Iu needs to page to transfer data in PMM-IDLE state. http://cgit.osmocom.org/openbsc/commit/?id=9ffbb5683fd2beb88dae80483d0587f5c8e24d22 commit 9ffbb5683fd2beb88dae80483d0587f5c8e24d22 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:15:29 2016 +0200 gprs Iu: add GMM Service Request rx and tx Change-Id: Ib935de22d23a15f449927840d4d59497ce22abbd http://cgit.osmocom.org/openbsc/commit/?id=5f312a4615ed0f7747daf5798266aff54d2a7ad1 commit 5f312a4615ed0f7747daf5798266aff54d2a7ad1 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:09:41 2016 +0200 gsm48_gmm_sendmsg(): catch Iu tx when there is no MM ctx Change-Id: Iedf057d37e9418901c3f33ebc42c7702471384b9 http://cgit.osmocom.org/openbsc/commit/?id=b54d743b112af3fef3b95fc40e1857b9babf1dc9 commit b54d743b112af3fef3b95fc40e1857b9babf1dc9 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:00:09 2016 +0200 add gsm_04_08_gprs.h and .c for Iu specific additions These items will probably be added 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=fa01514acebf00d1fd4348a6f39da89e9d741d7b commit fa01514acebf00d1fd4348a6f39da89e9d741d7b Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 15:58:47 2016 +0200 gsm48_rx_gmm_ra_upd_req auth comment Change-Id: I41e024653b74c513108391cce4eb7765ec01e39f http://cgit.osmocom.org/openbsc/commit/?id=ac969488af2c6bb84bd81acb0399f158c85bf8b5 commit ac969488af2c6bb84bd81acb0399f158c85bf8b5 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:35:41 2016 +0200 gsm48_rx_gmm_ra_upd_req(): make sure to authorize, for Iu Integrity Protection Change-Id: I2ea2089895f8a8e125ef39d9bef70dafb2b1ce69 http://cgit.osmocom.org/openbsc/commit/?id=de5d49ecab4dd849f56b8a0591e7173de734b20b commit de5d49ecab4dd849f56b8a0591e7173de734b20b Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:16:55 2016 +0200 gsm48_gmm_authorize(): Iu: send Security Mode Command Track the new_key flag. http://cgit.osmocom.org/openbsc/commit/?id=8620035ea0b1aebad1b935b3cc3bfc8cf99cfed3 commit 8620035ea0b1aebad1b935b3cc3bfc8cf99cfed3 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:31:12 2016 +0200 gsm48_rx_gmm_att_req(): Iu dev hack: init hardcoded Ki on ATT REQ Change-Id: Ieca45960fa941a3a706c6e479b04b9f2ef89d860 http://cgit.osmocom.org/openbsc/commit/?id=64a7349868ed3a8bcf380869c93a554861dbc06f commit 64a7349868ed3a8bcf380869c93a554861dbc06f Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:55:25 2016 +0200 sgsn: add Iu response to delete_pdp_conf() Change-Id: I4a39e1b102d43ce09bcd15383f4d0cdb7c0d731f http://cgit.osmocom.org/openbsc/commit/?id=b6f0f212e9748099a0cebfb53a93f9527ea67bdc commit b6f0f212e9748099a0cebfb53a93f9527ea67bdc Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:53:42 2016 +0200 sgsn: add Iu response to create_pdp_conf() Change-Id: I274e39eb8c0cb1cd9ae882898d161ab7674aed2b http://cgit.osmocom.org/openbsc/commit/?id=d7e57ff18e20af0a6f5253d0348a30bb9ef35652 commit d7e57ff18e20af0a6f5253d0348a30bb9ef35652 Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Mon Jan 25 16:49:53 2016 +0100 gprs_gmm: Fix bit mask when determining update/attach type Bit 4 is reserved in 3GPP TS 04.08 so exclude it from the type. In 3GPP TS 24.008 it indicates if a follow-on request is pending by the MS, but only in Iu mode. According to the spec it is not required to react to that request with a follow-on proceed so this field can be ignored for now. See 3GPP TS 24.008 Ch. 4.4: "Unless it has specific permission from the network (follow-on proceed) the mobile station side should await the release of the RR connection used for a MM specific procedure before a new MM specific procedure or MM connection establishment is started." as well as Ch. 4.4.4.6: "If the network wishes to prolong the RR connection to allow the mobile station to initiate MM connection establishment (for example if the mobile station has indicated in the LOCATION UPDATING REQUEST that it has a follow-on request pending) the network shall send "follow on proceed" in the LOCATION UPDATING ACCEPT and start timer T3255." http://cgit.osmocom.org/openbsc/commit/?id=992ebbd11c15aec2b518097f87622a56a49e3d62 commit 992ebbd11c15aec2b518097f87622a56a49e3d62 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 01:46:21 2016 +0200 gprs_gmm.c: comment on msg->dst use as ue_conn_ctx Change-Id: Ibe73f78d3a0f208e5e61809e8378ac71d7133486 http://cgit.osmocom.org/openbsc/commit/?id=e4eb86642b5b30d3eb7b63d5f83f3923a8c4f398 commit e4eb86642b5b30d3eb7b63d5f83f3923a8c4f398 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:11:39 2016 +0200 grps Iu: track msg->dst aka ue_conn_ctx, comment Change-Id: I467524174bd0073fce597ab031cb822b0f71ec7c http://cgit.osmocom.org/openbsc/commit/?id=623ac8ae614aa6b4aae686597e758e9e414b3604 commit 623ac8ae614aa6b4aae686597e758e9e414b3604 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:58:09 2016 +0200 sgsn_main.c: call iu_init() Change-Id: Ic616f6523705f71ad095571aaa838c50e7602013 http://cgit.osmocom.org/openbsc/commit/?id=73dd263050f6613db1791636b58ebe5864289ba3 commit 73dd263050f6613db1791636b58ebe5864289ba3 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:07:18 2016 +0200 add sgsn_ranap_iu_event(), sgsn_ranap_rab_ass_resp() http://cgit.osmocom.org/openbsc/commit/?id=f415eb13d9346c772a8e05ab5c080ff7a0566a30 commit f415eb13d9346c772a8e05ab5c080ff7a0566a30 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 23:53:18 2016 +0200 add gsm0408_gprs_rcvmsg_iu(), sgsn_mm_ctx_by_ue_ctx(), sgsn_mm_ctx_alloc_iu() Change-Id: I538c004775d9ffed6e750d98aa99bd6cf924ba41 http://cgit.osmocom.org/openbsc/commit/?id=23888a55762cc7d0f9aebf5f64f996d4bb3b9f7c commit 23888a55762cc7d0f9aebf5f64f996d4bb3b9f7c Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:32:37 2016 +0200 gsm48_rx_gmm_ra_upd_req(): Iu: look up MM ctx Change-Id: I3e71731e2bd765d9c72f3beb11268936ed612d3c http://cgit.osmocom.org/openbsc/commit/?id=63f8bbd6f60203e42b884c2e38e27b87a11b6d53 commit 63f8bbd6f60203e42b884c2e38e27b87a11b6d53 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:27:37 2016 +0200 gsm48_rx_gmm_att_req(): redirect for Iu, with no MM present Change-Id: I9102d3db63481024b744f8c2968b402973240600 http://cgit.osmocom.org/openbsc/commit/?id=27b66427505dd3e3271b0678c3cb435e3a27d1f6 commit 27b66427505dd3e3271b0678c3cb435e3a27d1f6 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 23:52:06 2016 +0200 add #warnings concerning Iu Change-Id: I2a72970fc91ceef5ee8b9eaac7c81972ed8572f5 http://cgit.osmocom.org/openbsc/commit/?id=0536cc1a509842c27a690ac279529c9af30b4dc8 commit 0536cc1a509842c27a690ac279529c9af30b4dc8 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 23:50:22 2016 +0200 gsm48_gmm_sendmsg(): redirect Iu to gprs_iu_tx() Change-Id: I6fb805fb07df637e4bbdcef0d8f3304dec75d0ca http://cgit.osmocom.org/openbsc/commit/?id=3465261e6a32b6d37f86147ff1ca36c8c9c694c7 commit 3465261e6a32b6d37f86147ff1ca36c8c9c694c7 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 22:36:23 2016 +0200 gprs: more conditionals for Gb specific actions Change-Id: Ic300d3d692c3ae5f22b17bcb29f3481c0d2af84c http://cgit.osmocom.org/openbsc/commit/?id=820ed2863673b4c26edad474b63b9dd1f16386fd commit 820ed2863673b4c26edad474b63b9dd1f16386fd Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:48:49 2016 +0200 sgsn_mm_ctx_cleanup_free(): clean up LLME iff present (Gb, not Iu) Assert that llme is unused for non-Gb (Iu) connections, and clean up otherwise. Make sure the cleanup is left below the sgsn_mm_ctx_free() call, as the comment states. Change-Id: I24163035f5e96339ad2d1db454734772a66351bc http://cgit.osmocom.org/openbsc/commit/?id=c44d693eb1703a7846250d36216b88d1e61f342d commit c44d693eb1703a7846250d36216b88d1e61f342d Author: Harald Welte <laforge at gnumonks.org> Date: Fri Dec 25 22:31:36 2015 +0100 gprs_gmm.c: Perform LLME operations only if we have one In case the GMM message did not arrive over a Gb interface, there is no LLME (and thus the associated pointer is NULL). Don't try to perform operations on a NULL LLME. Change-Id: I0299509d778915308e9ce46244d22283170ce18c http://cgit.osmocom.org/openbsc/commit/?id=f5dee7c8af3efc3658d4b5f9b60c68653d0d7294 commit f5dee7c8af3efc3658d4b5f9b60c68653d0d7294 Author: Harald Welte <laforge at gnumonks.org> Date: Fri Dec 25 22:23:27 2015 +0100 gprs_gmm.c: Make TLLI handling specific to Gb interface Soem of the operations we perform in the GMM layer are specific to the GPRS/EDGE radio access network and its Gb interface. Let's make them conditional to that in preparation of supporting an Iu interface. http://cgit.osmocom.org/openbsc/commit/?id=5bf775a98c5b1bd06d566b72451a3d4252a4f2be commit 5bf775a98c5b1bd06d566b72451a3d4252a4f2be Author: Harald Welte <laforge at gnumonks.org> Date: Fri Dec 25 20:12:28 2015 +0100 gprs_gmm.c: Don't try to de-reference NULL mmctx There was a comment in the code that certain GMM messages require a valid mmctx pointer. However, nothing actually checked if that pointer was in fact non-NULL. We plainly crashed if a MS would send us the wrong message in the wrong state. http://cgit.osmocom.org/openbsc/commit/?id=5e4ee5394a39d2f2ad55b6c54be71e88bd09dec5 commit 5e4ee5394a39d2f2ad55b6c54be71e88bd09dec5 Author: Harald Welte <laforge at gnumonks.org> Date: Fri Dec 25 19:14:57 2015 +0100 rename gsm0408_gprs_rcvmsg() to gsm0408_gprs_rcvmsg_gb() This is the entry point for GMM from Gb. We will create a new one for Iu, so let's be explicit rather than implicit. http://cgit.osmocom.org/openbsc/commit/?id=b9592d2ec9558eb825ea3de5d467d7bc7a067acc commit b9592d2ec9558eb825ea3de5d467d7bc7a067acc Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 01:40:19 2016 +0200 create_pdp_conf(): factor out PDP context accept dispatch as send_act_pdp_cont_acc() Change-Id: Ie7dff857a76c1464988b2f514643518937b57c5a http://cgit.osmocom.org/openbsc/commit/?id=1ee8622570b204642e602a1d238a6aef3cf02444 commit 1ee8622570b204642e602a1d238a6aef3cf02444 Author: Harald Welte <laforge at gnumonks.org> Date: Fri Dec 25 19:12:21 2015 +0100 prepare sgsn_mm_ctx for Gb and Iu mode (UMTS) Explicitly mark those sgsn_mm_ctx members that apply for Gb mode and (upcoming) Iu mode, respectively. Add some comments in sgsn_mm_ctx. Author: Harald Welte <laforge at gnumonks.org> Tweaked-By: Neels Hofmeyr <nhofmeyr at sysmocom.de> http://cgit.osmocom.org/openbsc/commit/?id=f57d9e03db45c789f803400a8abf8ce7a99a4b95 commit f57d9e03db45c789f803400a8abf8ce7a99a4b95 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:00:51 2016 +0200 rename enum gprs_mm_state to gprs_gmm_state Change-Id: I987218a1752a74e4036b36269af015db17ecb5b9 Author: Daniel Willmann <dwillmann at sysmocom.de> http://cgit.osmocom.org/openbsc/commit/?id=abd90d7c03c4f576c46ce7e66547b1224afdd440 commit abd90d7c03c4f576c46ce7e66547b1224afdd440 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:48:17 2016 +0200 sgsn_test_iu_tx Change-Id: I0e9305d5cfecf5e2d74b6f135ae87d29e03dc5b8 http://cgit.osmocom.org/openbsc/commit/?id=f2df5d5c8e7168c615de5019f50f2bafc2022c1e commit f2df5d5c8e7168c615de5019f50f2bafc2022c1e Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:45:13 2016 +0200 libtalloc Change-Id: I9d1d856d27d52651f496a6581b2ebf50b331745b http://cgit.osmocom.org/openbsc/commit/?id=553bb9e240c339ff3f1196da3b8a8cc5fd600f07 commit 553bb9e240c339ff3f1196da3b8a8cc5fd600f07 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:41:08 2016 +0200 libiudummy Change-Id: I4a66c4122011dbc87c6fcb336ab0461b86522c98 http://cgit.osmocom.org/openbsc/commit/?id=61403f9c4fe2cfb2a2bc98cd1b067e6eb0e0dbb6 commit 61403f9c4fe2cfb2a2bc98cd1b067e6eb0e0dbb6 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:38:32 2016 +0200 add libiu Change-Id: I0287ac65fc0525e36cb18901176e9aaffd97c845 http://cgit.osmocom.org/openbsc/commit/?id=af7e796274f62d95d1c944b804b2bc7a661e1ff9 commit af7e796274f62d95d1c944b804b2bc7a661e1ff9 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:48:00 2016 +0200 libasn1c_ranap_sigtran Change-Id: If2aaa5f798a4f11c6fc0546fbfe9e9ec9640d15b http://cgit.osmocom.org/openbsc/commit/?id=e10319b477f2ded7825bdba3c8046b0f16fae505 commit e10319b477f2ded7825bdba3c8046b0f16fae505 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:59:55 2016 +0200 DIUCS Change-Id: Id347a3024fa495a1ab680db7320648d933a4018b http://cgit.osmocom.org/openbsc/commit/?id=bb3716a4349029da5f085010fa42026e2341499c commit bb3716a4349029da5f085010fa42026e2341499c Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:56:56 2016 +0200 DSUA Change-Id: Id20cb3bfdfec22d6e39b849f1ff0d4d9995cb6fa http://cgit.osmocom.org/openbsc/commit/?id=e5b1bb0eff66d2aa4d259762092dcce92ac8c077 commit e5b1bb0eff66d2aa4d259762092dcce92ac8c077 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:59:35 2016 +0200 DSUA Change-Id: I4aba9fb49e5d0d3aa261a60935e38b1b074eb5f0 http://cgit.osmocom.org/openbsc/commit/?id=135a449e23617e25e8ca2afc95bfcee5612f4687 commit 135a449e23617e25e8ca2afc95bfcee5612f4687 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:56:28 2016 +0200 DRANAP Change-Id: I432db4404cdb74fc338c1a15f69c871694457263 http://cgit.osmocom.org/openbsc/commit/?id=ab1a08eeddf022e809ddda057e86cb1356e681c7 commit ab1a08eeddf022e809ddda057e86cb1356e681c7 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:59:45 2016 +0200 DRANAP Change-Id: Ie2d563430215a024b2ec0351f1864337318e25e2 http://cgit.osmocom.org/openbsc/commit/?id=f95df6452c1231bfb4709addb258943e236f2cb5 commit f95df6452c1231bfb4709addb258943e236f2cb5 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:42:55 2016 +0200 libasn1c_ranap_sigtran Change-Id: Ibf356e66f001b24bcdeb88d3950e5ee32d58d3f5 ----------------------------------------------------------------------- hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)