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, sysmocom/cscn has been created at aaf456897c42b20e71898048438d7b6b5b703faf (commit) - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=aaf456897c42b20e71898048438d7b6b5b703faf commit aaf456897c42b20e71898048438d7b6b5b703faf 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=080461a37f653e0565b7f10c9d9a7dcf2a364796 commit 080461a37f653e0565b7f10c9d9a7dcf2a364796 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=e74640a194eb445d7e79bec85eeed7f47d3df798 commit e74640a194eb445d7e79bec85eeed7f47d3df798 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=091cd9e8a0dc124e03b718adb11eb37e3bd1539e commit 091cd9e8a0dc124e03b718adb11eb37e3bd1539e 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=4f4b9897c4c075dffdd8c882062f53434d9bb9ff commit 4f4b9897c4c075dffdd8c882062f53434d9bb9ff 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=2d55cc17d7055d05eae029cf6a5417e9dd2bc6cb commit 2d55cc17d7055d05eae029cf6a5417e9dd2bc6cb 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=a99a12f341e40db24ff3ed4e69fcdcdbf0e7feaa commit a99a12f341e40db24ff3ed4e69fcdcdbf0e7feaa 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=f7d69a94a38b27579f6f37202059db3fcb7ea7cc commit f7d69a94a38b27579f6f37202059db3fcb7ea7cc 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=080df469583686423723fb77aa8287cf1f918a74 commit 080df469583686423723fb77aa8287cf1f918a74 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=0132ee4e4f746189fc848f0f3109400788887d8e commit 0132ee4e4f746189fc848f0f3109400788887d8e 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=96ba875baf2d42ede3a1dde95c266e8b447c5366 commit 96ba875baf2d42ede3a1dde95c266e8b447c5366 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=4da3515a2d1634d09da853385fc34528d507cb37 commit 4da3515a2d1634d09da853385fc34528d507cb37 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=5477c44ec50a9bd395464f1c98c4a119d49fe91c commit 5477c44ec50a9bd395464f1c98c4a119d49fe91c 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=ccb3b9d355b02cb0598978607ae2e6dc9983cb71 commit ccb3b9d355b02cb0598978607ae2e6dc9983cb71 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=37a25d3bc29b2e6ef9c1fe862c4220ff29ee284a commit 37a25d3bc29b2e6ef9c1fe862c4220ff29ee284a 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=92140d970d4ce9e07cad7b59a72c6ad8c4eb54b6 commit 92140d970d4ce9e07cad7b59a72c6ad8c4eb54b6 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=e62eade89f788930f6006bd9b99c1a7852d2f368 commit e62eade89f788930f6006bd9b99c1a7852d2f368 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:11:17 2016 +0200 IuCS auth -- TODO commit log details Change-Id: Id09e26126979d418a422df24bc50b56454b16c7e http://cgit.osmocom.org/openbsc/commit/?id=e4427fa5d7a1e78da342383dc676e300e42777f1 commit e4427fa5d7a1e78da342383dc676e300e42777f1 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=37696d84225e1914e3c7ef1584c3c912ec83e2ac commit 37696d84225e1914e3c7ef1584c3c912ec83e2ac Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:06:55 2016 +0200 add subscr_authorized() Change-Id: If2ef06b1229351127c61477ca14653d6ae4cb6bb http://cgit.osmocom.org/openbsc/commit/?id=2c3e210f0175b25b501e02d2968e7ed25772cd4b commit 2c3e210f0175b25b501e02d2968e7ed25772cd4b 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=b243d7954391f5d7f162fd831f6fa3aa540f779e commit b243d7954391f5d7f162fd831f6fa3aa540f779e 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=b1fffc41c3cb9b1da611a216089dd7a7be02ebc1 commit b1fffc41c3cb9b1da611a216089dd7a7be02ebc1 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=4bedde397da81ae79939556ee5b299776b70755a commit 4bedde397da81ae79939556ee5b299776b70755a 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=d3018957a67c33af51351409709945dde60caf4c commit d3018957a67c33af51351409709945dde60caf4c 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=10f1b3d831cebee6ecd5941735ca4f3d2128138b commit 10f1b3d831cebee6ecd5941735ca4f3d2128138b 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=51a6e0df713d4cdd7ea4c84d74d80958101f2447 commit 51a6e0df713d4cdd7ea4c84d74d80958101f2447 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=54ab697c4eb7b2021f1c9a923f8df4f3ade26e0a commit 54ab697c4eb7b2021f1c9a923f8df4f3ade26e0a 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=311c7d860c00effc4048d287bf9d512e0e3195b2 commit 311c7d860c00effc4048d287bf9d512e0e3195b2 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=c5c465fe017287c61eb908e343e5cf21a3cb9521 commit c5c465fe017287c61eb908e343e5cf21a3cb9521 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=f6bbffa144f347627146955ab7aac6411e972683 commit f6bbffa144f347627146955ab7aac6411e972683 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=43c3dd2846735b3ff3f2e709fb4d91f37c124d6b commit 43c3dd2846735b3ff3f2e709fb4d91f37c124d6b 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=5f77dac303f361dfb2580d2a579de1749cf80595 commit 5f77dac303f361dfb2580d2a579de1749cf80595 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=e8c3b47c5c3f89edced7c95c03866ac3bd7ab1c2 commit e8c3b47c5c3f89edced7c95c03866ac3bd7ab1c2 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=f0b4c76e0797d35c5cd59760a28482a2b8044094 commit f0b4c76e0797d35c5cd59760a28482a2b8044094 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=a22293a4e38b4202233cfc951c5e309f41495e80 commit a22293a4e38b4202233cfc951c5e309f41495e80 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:05:43 2016 +0200 subscr_update(): remove bts arg, add lac arg The idea is to not have a direct pointer to a bts struct (into BSC land), but a LAC to resolve the BSC or RNC depending on the appropriate A or IuCS interface. Change-Id: I9f2b298a785bf4b2a1b3fcdd91b8256106b2d9de http://cgit.osmocom.org/openbsc/commit/?id=8b55391d381c0231bef7cc1d46a149d50d4e30fe commit 8b55391d381c0231bef7cc1d46a149d50d4e30fe 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=493c5c83719e14747952f759b3b8dba97173fca9 commit 493c5c83719e14747952f759b3b8dba97173fca9 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=0d88f63768374374a154c2f405a5e469d50a7c6a commit 0d88f63768374374a154c2f405a5e469d50a7c6a 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=f7f920ae3124b727807b92e994e37838a8b028a2 commit f7f920ae3124b727807b92e994e37838a8b028a2 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 12:50:31 2016 +0200 Prepare entry/exit point for MSC -> BSC and MSC -> RNC communication. Add msc_ifaces.[hc], a_iface.c, with a general msc_tx_dtap() to redirect to different interfaces depending on the actual subscriber connection. While iu_tx() is going to be functional on this branch, the a_tx() is so far just a dummy (see comment). Add via_iface marker to gsm_subscriber_connection with enum values IFACE_A and IFACE_IU so far. Add Iu specific fields in a sub-struct: the UE connection pointer and an indicator for the Integrity Protection status on Iu (to be fully implemented in later commits). http://cgit.osmocom.org/openbsc/commit/?id=78f30810fc350fbbac52e7624f58839d55414882 commit 78f30810fc350fbbac52e7624f58839d55414882 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=daf697b25e97d2b36f54538ef05e0c66da4f64e9 commit daf697b25e97d2b36f54538ef05e0c66da4f64e9 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=7bdeb3a4f423999108759153853af7f77156968f commit 7bdeb3a4f423999108759153853af7f77156968f 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=238e3cc548a0b9dc44ef81dd5bfba711e244a9cd commit 238e3cc548a0b9dc44ef81dd5bfba711e244a9cd 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=e15a509c6a5d2b7b6755ba7b1a22543cad9877b9 commit e15a509c6a5d2b7b6755ba7b1a22543cad9877b9 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=7e712f2c78398fcf33c3949bf552d4b3fc9b90f0 commit 7e712f2c78398fcf33c3949bf552d4b3fc9b90f0 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=9b0b4dd41b270fb911bcb34ab7c1a38bddc5ee10 commit 9b0b4dd41b270fb911bcb34ab7c1a38bddc5ee10 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=7f54db33fb90e5f05635a22ca9156dc2f6f1a8b9 commit 7f54db33fb90e5f05635a22ca9156dc2f6f1a8b9 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=8e7481422736f9e111a890518c3e7cca969d3978 commit 8e7481422736f9e111a890518c3e7cca969d3978 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=d96a09d63152f88fe7ee64cefae98b85869f60d8 commit d96a09d63152f88fe7ee64cefae98b85869f60d8 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=547a45ac6d385238cdeea4f25670cc6542e8b199 commit 547a45ac6d385238cdeea4f25670cc6542e8b199 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=381fdca397242869b968666e301d1e954a8fe24a commit 381fdca397242869b968666e301d1e954a8fe24a 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=8e161615f7ea0941c3f4f5e7d921b8f169b48557 commit 8e161615f7ea0941c3f4f5e7d921b8f169b48557 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=bfaa1f2c7419f26a2dc20464fef51850e45c51fb commit bfaa1f2c7419f26a2dc20464fef51850e45c51fb 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=578cb1c984cd83472f1e8ad4f57563cd460d7f32 commit 578cb1c984cd83472f1e8ad4f57563cd460d7f32 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=bccc76db9251b4003cf9487e333adb9805ef3c30 commit bccc76db9251b4003cf9487e333adb9805ef3c30 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=63d93f83c9a1dc8143991debfd41a9c8d73201cc commit 63d93f83c9a1dc8143991debfd41a9c8d73201cc 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=bb8cb71a61dad1f201d28a7e4b761ffcd0f623fe commit bb8cb71a61dad1f201d28a7e4b761ffcd0f623fe 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=f719188f6cf62837742efcb2d9883f3f2081ca67 commit f719188f6cf62837742efcb2d9883f3f2081ca67 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=226ad5d94fe202cc3cd32e753055fb97a89fc82a commit 226ad5d94fe202cc3cd32e753055fb97a89fc82a 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=f2d5293f830c3311e0a557c4f19a4182c3e739a7 commit f2d5293f830c3311e0a557c4f19a4182c3e739a7 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=b19905c11c9dc4ee211801704aa4ce44656567eb commit b19905c11c9dc4ee211801704aa4ce44656567eb 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=d19ace52c6241695e7e7cfb0c72884e0e0a8be9a commit d19ace52c6241695e7e7cfb0c72884e0e0a8be9a 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=85fcc788fc7f51e831d52c096ed0f48e2e836523 commit 85fcc788fc7f51e831d52c096ed0f48e2e836523 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=68745f1239d35314787f011e0c5f49b49593bbc0 commit 68745f1239d35314787f011e0c5f49b49593bbc0 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=88c814feb432d1329edb6d64ccf1dc2f19a960e3 commit 88c814feb432d1329edb6d64ccf1dc2f19a960e3 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=ae472523945737f447d67a07b7aa1f30f4525451 commit ae472523945737f447d67a07b7aa1f30f4525451 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=1f14c4ed4e607583426142186813a4d2243903b6 commit 1f14c4ed4e607583426142186813a4d2243903b6 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=904f346538965716571d13a8185d066cc4d28806 commit 904f346538965716571d13a8185d066cc4d28806 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=d1ec6d65fd259e148faff35a76bddb6a96715226 commit d1ec6d65fd259e148faff35a76bddb6a96715226 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=690305b9447f08b0a1c717f622b95c6a578b9d2a commit 690305b9447f08b0a1c717f622b95c6a578b9d2a 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=196982bbc63e548b7c5b717dc6fe709091da10fb commit 196982bbc63e548b7c5b717dc6fe709091da10fb 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=49cda69c9383b2ab15b826479430f7cad839963f commit 49cda69c9383b2ab15b826479430f7cad839963f 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=71c16a2a5e31721ad6d4d90609de3c5ff52d7eaf commit 71c16a2a5e31721ad6d4d90609de3c5ff52d7eaf 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=4a52f4e9ee7c4d28b30eb4561efa3635ac0864bf commit 4a52f4e9ee7c4d28b30eb4561efa3635ac0864bf 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=4e03da37a49002a721ef8de7c84eaf6468908c8d commit 4e03da37a49002a721ef8de7c84eaf6468908c8d 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=1333611ce5b0b6dd0eced0f5e7e9ac2647eced03 commit 1333611ce5b0b6dd0eced0f5e7e9ac2647eced03 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=515300f17d0864f540c60db00d3dade835e3fa96 commit 515300f17d0864f540c60db00d3dade835e3fa96 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 22:32:51 2016 +0200 properly #include <openbsc/gsm_data.h> from gsm_subscriber.h Don't use quoted, local include, use <> style include. Change-Id: Iaa3dc36768f96f6b8c91010a2ba389fdc37f1503 http://cgit.osmocom.org/openbsc/commit/?id=39c870039a707e235ded1701364d54e68a538f37 commit 39c870039a707e235ded1701364d54e68a538f37 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 19:01:09 2016 +0200 sgsn_pdp_upd_gtp_u(): fix return val Change-Id: Icb6b756bb4ec766416f7108f1217551e9024a28b http://cgit.osmocom.org/openbsc/commit/?id=3f6c35398d771d79f5d05a702923318321c0e0f9 commit 3f6c35398d771d79f5d05a702923318321c0e0f9 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Jun 3 02:23:09 2016 +0200 sgsn_libgtp.c Change-Id: If59b223052819de6b38a74a549c3ca8b9eef2b25 http://cgit.osmocom.org/openbsc/commit/?id=b51ce1579cc61f530a465e86767c853f4025e403 commit b51ce1579cc61f530a465e86767c853f4025e403 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Jun 3 02:23:00 2016 +0200 gprs_gmm Change-Id: I97136130dde4d558aa6ce602507edd2f71c5d66e http://cgit.osmocom.org/openbsc/commit/?id=7e575cd9dc137b427e9208e712ff04153f4d6e7b commit 7e575cd9dc137b427e9208e712ff04153f4d6e7b Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Jun 3 02:01:33 2016 +0200 sgsn_main Change-Id: I498433af4eee028ed37f85db08a54bf1e89cfca2 http://cgit.osmocom.org/openbsc/commit/?id=06eae8a3f52ec161081947582bf4cb378611daf7 commit 06eae8a3f52ec161081947582bf4cb378611daf7 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Jun 3 02:01:22 2016 +0200 sgsn_libgtp Change-Id: I26230ca00e61485099a870974a640a7206af0a14 http://cgit.osmocom.org/openbsc/commit/?id=010236a02eaf935aad1c6a2232b27ff5de63c7cf commit 010236a02eaf935aad1c6a2232b27ff5de63c7cf Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Jun 3 02:34:33 2016 +0200 gmmrabactps Change-Id: Id348341924cd14b24856aca241d28a113af31be8 http://cgit.osmocom.org/openbsc/commit/?id=994089c6dd767afc47b5eba9b3f4df5a1462c0d8 commit 994089c6dd767afc47b5eba9b3f4df5a1462c0d8 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Jun 3 02:34:20 2016 +0200 gmmptmsi Change-Id: I8140875e14bba6a4cdf01d295b9f0c430cf228b1 http://cgit.osmocom.org/openbsc/commit/?id=501517dc497e238f05ac4ad30d294824d44684b4 commit 501517dc497e238f05ac4ad30d294824d44684b4 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Jun 3 02:33:58 2016 +0200 gmm_servicerq Change-Id: Iee7e6b336f1bddd89cdb346d3a661ae40e192738 http://cgit.osmocom.org/openbsc/commit/?id=cf32057c998dd394804ad93135d7c5dbc00a1a4c commit cf32057c998dd394804ad93135d7c5dbc00a1a4c Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Wed May 11 12:44:34 2016 +0200 gprs: Don't activate RABs on RA update http://cgit.osmocom.org/openbsc/commit/?id=5ffa2126fdc2bf7f9368e8c99497b8d9162a3391 commit 5ffa2126fdc2bf7f9368e8c99497b8d9162a3391 Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Wed May 11 12:43:47 2016 +0200 gprs: Change GTP-U endpoint to SGSN in PMM_IDLE and page UE when data arrives http://cgit.osmocom.org/openbsc/commit/?id=b283d16827715fe726ffdc716f3ad25842701c35 commit b283d16827715fe726ffdc716f3ad25842701c35 Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Wed May 11 12:42:54 2016 +0200 gprs: Introduce function to change PMM state Change-Id: I7c2cd1abc1805659b01dffffff31c49fe5161086 http://cgit.osmocom.org/openbsc/commit/?id=a94df2274cf9bab2050ae287af75b8b9d551448a commit a94df2274cf9bab2050ae287af75b8b9d551448a Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sun May 22 16:27:35 2016 +0200 cosmetic: fix two compiler warnings Change-Id: Ib2482f76a16a843f9aa748236e9b9e8eca96b1d4 http://cgit.osmocom.org/openbsc/commit/?id=fab5226b7ea6ecdeb41e80785623833566e328e5 commit fab5226b7ea6ecdeb41e80785623833566e328e5 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:45:21 2016 +0200 cosmetic: whitespace Change-Id: I5017e7513cb472aa680ed93ae800e627db71f745 http://cgit.osmocom.org/openbsc/commit/?id=bb0b95fb59d5f2375d1feb1b9f76eabbb33737c4 commit bb0b95fb59d5f2375d1feb1b9f76eabbb33737c4 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:51:56 2016 +0200 cosmetic: comment on Iu GTP-U Change-Id: I9fd8f0111ef4bb52d421b322a633ff85f863d10e http://cgit.osmocom.org/openbsc/commit/?id=7bf7a887105dcb82585176af1edb66005179ca78 commit 7bf7a887105dcb82585176af1edb66005179ca78 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Sat May 21 00:44:50 2016 +0200 cosmetic: gprs_sgsn.c: move pdp.h include to top Change-Id: I9a9b34d714235462ba72cdb65b7c8c9824dfa9c6 http://cgit.osmocom.org/openbsc/commit/?id=53c0a253ebcc1c453ffef555110aeef681e1675f commit 53c0a253ebcc1c453ffef555110aeef681e1675f 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=f67002d58bdf95f5413596553ec588a5a97926a7 commit f67002d58bdf95f5413596553ec588a5a97926a7 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 Change-Id: I0df0f3d88085939eb617405e2013ad164eed477b http://cgit.osmocom.org/openbsc/commit/?id=6ab0f7b79eae2a8f826a50680dcdc4ef162396fc commit 6ab0f7b79eae2a8f826a50680dcdc4ef162396fc 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=3f50fa486f72ceb2df6c1c023e98c6be1eb81dbc commit 3f50fa486f72ceb2df6c1c023e98c6be1eb81dbc 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=704812139942d148deacbbff0a2ea3dab5fe6558 commit 704812139942d148deacbbff0a2ea3dab5fe6558 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=5f098290d8c40149af476a6233f59541db8626e9 commit 5f098290d8c40149af476a6233f59541db8626e9 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's GMM Service Req 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=b05cf85bf64db57bb41c1635b1bf7180b2e4d376 commit b05cf85bf64db57bb41c1635b1bf7180b2e4d376 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=9e75c58c7e510ceb3a9588adbe12e0525bce1118 commit 9e75c58c7e510ceb3a9588adbe12e0525bce1118 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=37334a85ddb254e93a5f41feabdc812dc8581388 commit 37334a85ddb254e93a5f41feabdc812dc8581388 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=48086135c2b0a423b974dfa15e75347f37918ced commit 48086135c2b0a423b974dfa15e75347f37918ced Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Sat May 21 00:55:25 2016 +0200 sgsn: add Iu response to delete_pdp_conf() Change-Id: I6d601586101c0a004b2243633fab48db82b44b7c http://cgit.osmocom.org/openbsc/commit/?id=5f9b487969ac9a3fff43fe32c7a9ef6353ca1cf9 commit 5f9b487969ac9a3fff43fe32c7a9ef6353ca1cf9 Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Sat May 21 00:53:42 2016 +0200 sgsn: add Iu response to create_pdp_conf() Change-Id: Iad65ca9b77c3166d4df9a58af527e6aef7e589ee http://cgit.osmocom.org/openbsc/commit/?id=ee1184272a07c3d12ad9d1432187c099b4363ead commit ee1184272a07c3d12ad9d1432187c099b4363ead Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Jun 3 00:31:44 2016 +0200 gprs_gmm.c: comment on msg->dst use as ue_conn_ctx Change-Id: I3899665bc57964772ccc0c3ce0027ca547036202 http://cgit.osmocom.org/openbsc/commit/?id=9021929cce0a740d73f9a3338f2f472120c5de99 commit 9021929cce0a740d73f9a3338f2f472120c5de99 Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Sat May 21 00:11:39 2016 +0200 grps Iu: track msg->dst aka ue_conn_ctx, comment Change-Id: I90c7ca6c3655d447aaca958e0086ae6ce6f6045a http://cgit.osmocom.org/openbsc/commit/?id=ea00b90aecaa3e1da05c68a328bfec50034927ef commit ea00b90aecaa3e1da05c68a328bfec50034927ef Author: Daniel Willmann <dwillmann 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: Ide1d8180755dca76e23d66b93d468f89fd564049 http://cgit.osmocom.org/openbsc/commit/?id=de70e18e58c86649c9839e98605a5a2970a6f104 commit de70e18e58c86649c9839e98605a5a2970a6f104 Author: Daniel Willmann <dwillmann 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: I52178cb21c371b0816288b3332d5bb24d0ccea45 http://cgit.osmocom.org/openbsc/commit/?id=65266fa81fa7acddcdb0cf751196a9738f3b646c commit 65266fa81fa7acddcdb0cf751196a9738f3b646c Author: Harald Welte <laforge at gnumonks.org> Date: Fri May 20 23:52:06 2016 +0200 add #warnings concerning Iu Change-Id: I79bbe9f56726203fb15dead6ddb5915a5112d5b5 http://cgit.osmocom.org/openbsc/commit/?id=afc2b4d7eb6c4cc8f9f7cc9cadd4f55a0df46d94 commit afc2b4d7eb6c4cc8f9f7cc9cadd4f55a0df46d94 Author: Daniel Willmann <dwillmann 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: Ia83e364322f6b9dc29197b8764007be5f1b47cd3 http://cgit.osmocom.org/openbsc/commit/?id=9c66d23bf73945e3ab23077801e4f1f7b4b23675 commit 9c66d23bf73945e3ab23077801e4f1f7b4b23675 Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Fri May 20 23:50:22 2016 +0200 gsm48_gmm_sendmsg(): redirect Iu to iu_tx() Change-Id: Ia47ffbfa6fa0f5a0cd76a379c57ef42faa0d80e3 http://cgit.osmocom.org/openbsc/commit/?id=11a713befd46003850b26c592d9485f521fea213 commit 11a713befd46003850b26c592d9485f521fea213 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Jun 3 02:01:53 2016 +0200 tests_sgsn Change-Id: I7fd9fae0e51fddfc3e3e1c8f203e187f7ebb332e http://cgit.osmocom.org/openbsc/commit/?id=a81229817d6431416a067979f4de0ee0394f5eed commit a81229817d6431416a067979f4de0ee0394f5eed Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Sat May 21 17:36:18 2016 +0200 sgsn-test: add libiu and libasn1c, libosmo-sigtran, libosmo-ranap Change-Id: I4c05f15c29797456ddcd7c95bfb7dfd480101577 http://cgit.osmocom.org/openbsc/commit/?id=869ba191dbaa82f51f169b3697e9aea962ed1e5c commit 869ba191dbaa82f51f169b3697e9aea962ed1e5c Author: Daniel Willmann <dwillmann at sysmocom.de> Date: Sat May 21 17:35:57 2016 +0200 osmo-sgsn: add core IuPS implementations, call iu_init() Add: * gsm0408_gprs_rcvmsg_iu() * sgsn_mm_ctx_by_ue_ctx() * sgsn_mm_ctx_alloc_iu() * sgsn_ranap_iu_event() * sgsn_ranap_rab_ass_resp() Call iu_init() from sgsn_main.c. Add asn_debug impl ("extern" from libasn1c). osmo-sgsn build: add libiu and libasn1c, libosmo-sigtran, libosmo-ranap Change-Id: I469ae6ca9ef254d04ee0d2d79bdd65aebcd027b5 http://cgit.osmocom.org/openbsc/commit/?id=6d7cd42e908890848bf76e8fb2a986deea3643d8 commit 6d7cd42e908890848bf76e8fb2a986deea3643d8 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri May 20 21:38:32 2016 +0200 add libiu Co-Authored by dwillmann, laforge, nhofmeyr Change-Id: Iffc26f9c73cb15463948f7435b72ac1747aabdb3 ----------------------------------------------------------------------- hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)