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/iu has been updated discards b27b963b644790c8c5893b99c146523779a25c80 (commit) discards 02e516ef97bba4f31a0da7c437625ef67e3c6ddf (commit) discards e7f04244ff9ba384153ffdeed91f13ce5cb41844 (commit) discards 815e41fd7401e877a632cf2f5d57aed9ddf70f62 (commit) discards 4d7ae5fd1160f6836ccc473e79767b24983a10fd (commit) discards 4d1be7f9082463b871a459e3a1d42db037500f89 (commit) discards 1e267b8f429b82168b21f6065fec6c456953d3a0 (commit) discards 409738e4b01f76435eca26356526d968ef1ea7c1 (commit) discards 17fbe1134f82d94ad7bf9a24627e281b5c89c80c (commit) discards 6e044475be46a97bad4e06c9691d28e2550ce6ac (commit) discards eda8eaeceb20407c690f7f0011e64e523b2d4d51 (commit) discards 96b2c6f9eabe463d2b18af2f2663546fd08727f0 (commit) discards 34cede93506a3c88d19726a1f4cf7a0b1644e7b8 (commit) discards 046016fab5c9b0de1932b6a4a60ec020ce2a0d91 (commit) discards 5e05476b0939e22e0e6e50a4aa92c95d3ca96770 (commit) discards bc11de962de30b1a6c98689db3fa66c7ad01f639 (commit) discards c01776257382a692a6f19f9ccb82501db29f6057 (commit) discards 559ecb899a46829ee2df37166ddf5748a1e8df45 (commit) discards 7dff88a4eecf2faf7c62708df85da9c26c27367a (commit) discards 8aaec8438ec77d6723697771e98b2e61ee2b4c39 (commit) discards b21bb87b8300aef155f312cddfa894883742a4b8 (commit) discards 73738855dfee24e3dc292487de976f59f5dd85bc (commit) discards 72afc4cddd204bb675d3d17313b3c17f2fd65121 (commit) discards 5a155c181deaf7a5697ee266d3e1070ebbf88dd5 (commit) discards 47785c889e0299bce38a7ef6a146b25b55830d50 (commit) discards 14c0333174e968c92d420bd0cd3eaff17a6dd7e1 (commit) discards b447ca9bcd3789be4fc1bf3571f89999d679ae66 (commit) discards e3376ac3b7e0442efdde79f4846eded2272b3b66 (commit) discards cee861733f07ea69ceae484af44412ef16782fa4 (commit) discards 3b4d2eb4cbe78329db73371a6d3c25135773dab1 (commit) discards 1ec9370f92b82f9d7f2abd065dcaf0f83df3b169 (commit) discards dcf4f8a049d0254fac46d975fefc29e685caca14 (commit) discards fbe616a3d8d3aba387a7140a986d866614a9c035 (commit) discards d43bfad685c37779685bb17882fb4c7bea52e51e (commit) discards 6b76bc5e7822b76c798d809cb29e3abb2eddc4e1 (commit) discards d0c4f312ca4df7557c58ff32afacec955507963d (commit) discards d5bda2e5a92758dd801b64b1a0639ee28c4b63d1 (commit) discards b815270e60351065de0de5442debdaaf7b8f5fb3 (commit) discards 2c714dcdf8bfc308358441ae2416eb869f07b50a (commit) discards ab69c4017a447812c3682e1c6d3b977363dac659 (commit) discards 0559dd461dacd01ea6cabf2afd53ce93747c200a (commit) discards bb5e238f59cfeba09fe0f20b520fd4e1c4938a3e (commit) discards 302093a474245166458342e96fb45b8972ec1ce0 (commit) discards df2bcce119df6efc4d2eb478c14f57b34d93a52b (commit) discards 5b3b66eb29cf68bdc4385d70cd75c2967ec4da96 (commit) discards 863af35911d05e35ac23e196dca963c9ce5b4a51 (commit) discards d3d7b3d517daade98d6981deee1e7c0e0d52be2e (commit) discards 02ea176dff9e5b776a1c32499bdd8cb70aaac274 (commit) discards 704b20ed605d80c6e6bf824387ac9c881ba962b4 (commit) discards b7bf6925da7ec7daeba302b2d70ea9345ec8a211 (commit) discards c6ed095d0dcbf9b0dc46d10d5b92cbbe9ae71ae8 (commit) discards 2e99eff4128b3920cfd1bd9f02bedaf7c04811d9 (commit) discards 72bf140d44839bd3d4a5e2a9b1ddc3dc0e9570db (commit) discards 9f384583bd8746e8215f1dab9280dc8d01fc55f6 (commit) discards 722b6c33cbf864245dd72050f3544f31a0ef031f (commit) discards a780b3c9687acbb3c8daedc5721a33d16852729f (commit) discards bb2ab68874ff82946e7376859399d14f5d3312ca (commit) discards 0e58c8d2ffba114ff48c93a6a6a6643497b6d1a0 (commit) discards 331c78df5885ac7269682c23bd9b231f7a82a8c7 (commit) discards 75f53b52794cb31e42f8974358a3ef5034cfc081 (commit) discards 92b110a2dcc58ce3e5575ab602332d35b8fe985b (commit) discards 2a54a65ecd2f113fbd2f7e14219cd3c58853e11e (commit) discards f2b9abe18993cec1e60122450f82c0ff4010c9a8 (commit) discards 883d2fc39d1d2b13dea945f470ca8df208da585d (commit) discards 037eec28c21d796c9b0a029b2140340fefa4fc38 (commit) discards 2e94888028973de8b1cbbbe0e765e89c000db8cc (commit) discards 05aeb22feff783585a7c023f7e1d5a093699da74 (commit) discards 4cf812d5de7184a3c0729e50442b16ca253a2457 (commit) discards d9c7b1d42e1c786a1b39664e2a0cb845ece0a987 (commit) discards 7beb6abd0f8477c569e552e04c15f991a2eebb58 (commit) discards 9ba35214e4131f76084d8f019719b4fbfeb0d7f6 (commit) discards add5cf837aa4ee86ea636dd35b3e9534f48a56dd (commit) discards 15d4f77e0468503c52b92058b5e44eab287c59cd (commit) discards efa6fb8ae5b89775c9c439182425b424b2c229e6 (commit) discards ae355c644d84e60776c108cd2acafc85330e87fb (commit) discards 6a56b62e803d41e4cec05f6402bf43b1538e8214 (commit) discards df66a3c9bec01d9d77e72f1d32425ea76581676f (commit) discards d48a9246a5276221445d8c97b1ddcb24ea0e3923 (commit) via 66c5ad1bba04788be9b2ae139cc78b5b6a986658 (commit) via c4cd09995d4c18d95571ef198f97611ae0ac2bd5 (commit) via 8ac4b7226b34cebe58c91fab029e31900224b3e1 (commit) via 45341527600afe4a044b33130d281c6622351861 (commit) via 590a90534240ee2d8c2515db5687489fade290fa (commit) via 84c1275aec91183c2205d5ec786903635507b4c5 (commit) via 2eec16ff27f701a6aef172aa7121153d0021a27e (commit) via 18147dffdd06589b151e16b97e45c9e2fba4cd20 (commit) via 7dcccb92d1f80665abe5e1a91bad102be800c0bc (commit) via b3df6f41a401f763d4a1504cf7da8aa0ff32fb0d (commit) via cc643388bfc042d894985a9f7642f510f63630c6 (commit) via e682d51f29452ae1d07f4066ef51ec36e9a28c91 (commit) via c4d9fab91968872b6eeffff0b5535fc72dffb3da (commit) via 6836a705d151cb7656506adade077cd2a6bfbaa7 (commit) via 60c0aa0b2adb0e1ed6ed5b495bd496b9511419fe (commit) via 9fe5d19e25a8b66e3dd3b0a3f93d030e20410fca (commit) via 1c9b4ed4bdbf10af3e366d803e6eeea062758640 (commit) via 4b44ae942a7c2ebba8b0801a7534e77cc4a9c8d4 (commit) via 877ffe41d2ba927b27054937b238fec328fa3d23 (commit) via f1c68fb05349d2951b1de6ccaca636f1d9b5276d (commit) via 7b542c2e544a27d1a9cd6ab85446c6ccdd9bb8bd (commit) via 27c10f68edc04bab1e7f0497e7cab3c026c970ba (commit) via 77a71391da6e89d26ea47fdff4d66f04645ea114 (commit) via 1265ac5e949fec49fbe4848c5681924d81f5bdb7 (commit) via 92b0aae6d1866723cce40720aa98c604adfafbac (commit) via 4c5bf8bd2881685931b569205df44dd5c699ce38 (commit) via 9a72718d998eb793e3944d315bd5b0f89f485ce2 (commit) via 7ff45bffa71f1c53d349060ee92d6df767facaee (commit) via 89d19ba77e744d7f13daa280ee7d7fcbd637b539 (commit) via 0523b93bad90252f26edeaeae9172085e50444c1 (commit) via 4dd52c550d312fe1b2955e725ecd82cbbf52c784 (commit) via 0af05e309c4b14ad7f9a54ddb871c9186b886b8a (commit) via b18b5c4ace647dda2f8dc48b0e0d3d7a84788b53 (commit) via f2df96d63a2ab15fa8986859ebcf4e67f1083c04 (commit) via addf59bd9200dc45abb24dae587f8b9511c1dee5 (commit) via 7ea62570b7ed9d38d823c817f6bb6f657ada42b9 (commit) via 5b41f36e4e1d86af030958161ca6418bd80757fc (commit) via 3ec57ea076a0e77b052b288ddc73ae85a1e33478 (commit) via 367fc11d06a5ab4a2ce5d3ebb59d3880c78ead4c (commit) via 7b5b4988f259d70aae479ce7b4c172ae6d0b5016 (commit) via 0b9d2510278f9dd9a7868c52d1ea103f19653f9b (commit) via 0b4cd829c3b056bd1043a9c5c63547b40178ffd8 (commit) via 3d7d997d1c0bd8eddbf13c750a87049f4795fa33 (commit) via 1bec2d7b72bc4069d933382b95452661e81dd4e7 (commit) via 9a7cf7051f1781ffe6278bfab4c553a7025a8818 (commit) via 4f7bcfcbb19e7959f2fa2a7f2295ee434a473cbb (commit) via 012c582f79d8df5d126e481e73dcb310ad462a21 (commit) via a092d6ad35c68c05109cdb10fc97a3aecb7f1297 (commit) via 6ebf8a90c2b4780a585e4896bdfaf481fc3ae2e9 (commit) via 3e394f3d919a3a78608be5ca87e338b71183f585 (commit) via 28ebaab4a02324dd0f479e4d176ec6b94f0fae70 (commit) via 50f86547a8a0a6c46d58a47d936df25b78ca7372 (commit) via f6e7dd34419d20488145cc0111acf0cfa31a0edc (commit) via 57270b71ef2ae25f28d4ab2f3316e0540e3ad03a (commit) via 6272534c13bd7de4c92381f1f3e655d026636ed2 (commit) via 7dc62f2236e7def09a763a8f5c0dca56232f5cab (commit) via 1c6d290bea1f1bce77bd24b925f474d75b4baa45 (commit) via 71f2c13999e850ccd90b8e05a5f07da2781fa69d (commit) via 19eace74562c68569cdd3ed96b2e6d79bf47403f (commit) via dae389147c6bb6602bf5954b7a2de1cfce846641 (commit) via db0c6f50d59344cc0ec1adbd5829047831a77f72 (commit) via a6d4b421b41d97116209051a9dac60abcb345c0c (commit) via 7a7da697cb628b9d6ce639fc022dbeee03d41b6c (commit) via 2cc9d9b47a02042fbcada5a895ddc09fb0ac57a5 (commit) via 5f2eb70855bd26695318aa58068c73705e70ae64 (commit) via 05b4bac3b13d0eccf1f5ab8fa5405b7ffdaf4de8 (commit) via a0a300f839a632829f94b22bb53270298ed86298 (commit) via c5086ed81c2185e9d15999cf57f59ad41384ebf3 (commit) via 71bf7f0dfe2058be3e558c2c1bd3f5a01458643a (commit) via 209c1ef45a2c4f8c2e8fee1b2dd7bae34ae91969 (commit) via 9e6622ff838b8b02948d4a846b0367aeb8df81ef (commit) via 93454cedc80e4534a8a3c1f79453bb14b81016dd (commit) via b0f24d46043071dca3aed52c152d01a36c2fec98 (commit) via a232e5ab97883eb76004a47a1e1c17181a7cf616 (commit) via 27355c9c654e7035d8fea0619f3832e978a244bb (commit) via 058cd573d8c5554eba31cd4cc31625630ceeca1a (commit) via 44468ad531b7baa1c5692d224b2f11695af47970 (commit) via 577a1256525a2177f6dee10857b245c09d1e9d82 (commit) via 8b24e9f2035c36abe1310a3b5bbe212b10fe4d08 (commit) via c634063ea37875f38a31c5ff643a5fed43d7cafa (commit) via 0e5d807297f4fd1222fafece864519c70f7965a3 (commit) via a369e24cb9a583ef9906a8ef9125f6ca8c6f80bf (commit) via a42855f09fc74bdc801fdd7adfef27e2cdf3f371 (commit) via 9762b4c5794edba56b2976fcae5097e514a4b080 (commit) via fe291de36b8cf80818dc97b4ad4d790fc01e96ec (commit) via d2b3399c047c601f6c08ae33368f2020dfb9f935 (commit) via 40a91b38ec6c9778fed18376e559631c5abe6c1a (commit) via 7a250cc9d9e4bf493d8f92d348fac16976ce6521 (commit) This update added new revisions after undoing existing revisions. That is to say, the old revision is not a strict subset of the new revision. This situation occurs when you --force push a change and generate a repository containing something like this: * -- * -- B -- O -- O -- O (b27b963b644790c8c5893b99c146523779a25c80) \ N -- N -- N (66c5ad1bba04788be9b2ae139cc78b5b6a986658) When this happens we assume that you've already had alert emails for all of the O revisions, and so we here report only the revisions in the N branch from the common base, B. Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://cgit.osmocom.org/openbsc/commit/?id=66c5ad1bba04788be9b2ae139cc78b5b6a986658 commit 66c5ad1bba04788be9b2ae139cc78b5b6a986658 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Oct 21 01:32:10 2016 +0200 mgcp: log payload type change Change-Id: Iee5fa667dece12174b1933345c1ed640a264ed97 http://cgit.osmocom.org/openbsc/commit/?id=c4cd09995d4c18d95571ef198f97611ae0ac2bd5 commit c4cd09995d4c18d95571ef198f97611ae0ac2bd5 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon Jan 23 16:56:02 2017 +0100 comment: fixme: rab failure Change-Id: I6e21f2d7dd560ab15675f3e432c37a13c4ab6792 http://cgit.osmocom.org/openbsc/commit/?id=8ac4b7226b34cebe58c91fab029e31900224b3e1 commit 8ac4b7226b34cebe58c91fab029e31900224b3e1 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue Oct 18 20:20:51 2016 +0200 mgcp parsing, set port from mgcp response Change-Id: I90e2c1aa7575d5fa6e0374f5022cbb25fc3f7699 http://cgit.osmocom.org/openbsc/commit/?id=45341527600afe4a044b33130d281c6622351861 commit 45341527600afe4a044b33130d281c6622351861 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue Oct 18 18:38:59 2016 +0200 mgcp parsing, mgcp test Change-Id: Ibe2ab17b3fa3a506a2e841ba979ea4175e3a21e8 http://cgit.osmocom.org/openbsc/commit/?id=590a90534240ee2d8c2515db5687489fade290fa commit 590a90534240ee2d8c2515db5687489fade290fa Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Oct 14 17:56:17 2016 +0200 mgcp: handle responses from the MGCP GW Change-Id: I5c0493feaec775461b5a017c36b93cc2ad63c896 http://cgit.osmocom.org/openbsc/commit/?id=84c1275aec91183c2205d5ec786903635507b4c5 commit 84c1275aec91183c2205d5ec786903635507b4c5 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed Oct 12 02:53:55 2016 +0200 IuPS: cosmetic: explicitly check RAN type; move comment Change-Id: I8375ba42dd47d7ccd9ce9290767d6f8653a23b94 http://cgit.osmocom.org/openbsc/commit/?id=2eec16ff27f701a6aef172aa7121153d0021a27e commit 2eec16ff27f701a6aef172aa7121153d0021a27e Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed Oct 12 01:39:25 2016 +0200 IuCS and IuPS: add VTY config for RAB Assignment address kind To accomodate the ip.access nano3G without having to recompile, make the RAB Assignment's Transport Layer Address IE's format configurable, in both osmo-msc and osmo-sgsn. The long term perspective is to somehow detect which address encoding a given 3G cell prefers, but for the time being just configure it globally and set each ue_conn_ctx to the global setting upon creation. Add VTY command to iu_vty.c, with args passed to iu_vty_init() to insert at an arbitrary VTY node, so that it can be used both for osmo-msc and osmo-sgsn. Add generic iu_vty_config_write() to write out the config. Call iu_vty_init() from msc_vty_init(); msc_vty_init() is in libmsc, hence linking of osmo-msc now needs libiu to come after libmsc, so move that further down. Change-Id: I93728314742b327336f3fb6de98e6457f687e1f9 http://cgit.osmocom.org/openbsc/commit/?id=18147dffdd06589b151e16b97e45c9e2fba4cd20 commit 18147dffdd06589b151e16b97e45c9e2fba4cd20 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed Oct 12 02:55:31 2016 +0200 IuCS, IuPS: move flag to use X.213 NSAP addr into ue_conn_ctx The future perspective is to remember the preferred RAB Transport Layer Address encoding for each 3G cell that is connected, so store per UE conn instead of globally hardcoding. Add rab_assign_addr_enc member to ue_conn_ctx. Thus the iu_rab_act_cs() and iu_rab_act_ps() functions no longer need the explicit use_x213_nsap argument. Add include/openbsc/common.h in order to define the enum nsap_addr_enc, in a separate file to be able to easily include it in all of libmsc, libiu and gprs/* without creating include cycles. Set the rab_assign_addr_enc when an MM ctx is created for iu, and whenever the ue_conn_ctx for an Iu MM ctx is updated. This looks a bit clumsy so far, the hope is that there will be a nice way to setup the ue_conn_ctx prior to that. Change-Id: I49bb5736df7bdfdd55d3e7b74ee559595cfd2f7d http://cgit.osmocom.org/openbsc/commit/?id=7dcccb92d1f80665abe5e1a91bad102be800c0bc commit 7dcccb92d1f80665abe5e1a91bad102be800c0bc Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed Oct 12 03:30:48 2016 +0200 sgsn init: pass sgsn_config pointer to sgsn_vty_init(), not sgsn_parse_config It makes sense semantically, and prepares for an upcoming commit that uses the internal global config pointer in sgsn_vty_init(), which would not be defined yet without this. Change-Id: Ie4cf1c0a1c9e6330a134ff4b7b2e6d5699c12bd7 http://cgit.osmocom.org/openbsc/commit/?id=b3df6f41a401f763d4a1504cf7da8aa0ff32fb0d commit b3df6f41a401f763d4a1504cf7da8aa0ff32fb0d Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed Oct 12 01:29:33 2016 +0200 iu: sort out confusion around asn_debug and asn1_xer_print Before, I confused asn_debug with asn1_xer_print. Have two distinct VTY commands and fix documentation. Put the asn_debug and asn1_xer_print implementations in iu.c. Since they are globally defined, don't pass a pointer to iu_vty_init() but just use it directly. Might be considered less clean, but is also less bloat. Change-Id: Iccbadfe1585ba224f74cdfb5273b5ce29b6d78f0 http://cgit.osmocom.org/openbsc/commit/?id=cc643388bfc042d894985a9f7642f510f63630c6 commit cc643388bfc042d894985a9f7642f510f63630c6 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed Oct 12 01:48:55 2016 +0200 iu.h: add missing includes and type defs So far it was included only in files that also include all needed headers, but make it so that it can be included on its own. Change-Id: I08a756031b995bd01a6e15c678b845fd98de960b http://cgit.osmocom.org/openbsc/commit/?id=e682d51f29452ae1d07f4066ef51ec36e9a28c91 commit e682d51f29452ae1d07f4066ef51ec36e9a28c91 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue Oct 11 02:24:53 2016 +0200 IuCS: rapidly release connections Do the same as we do in 2G: release the connection as soon as nothing else is pending for a given subscriber. Before, osmo-msc would wait for the UE "to get bored" and send an Iu release. But the CN should stay lean on connections. Also, 25.413[1] in section 7, 6th point states: "While the Iu release is managed from the CN, the RNC has the capability to request the release of all Iu connection resources from the corresponding Iu connection." So far we did not manage Iu release from osmo-msc at all. Use the same mechanism we use in 2G: from msc_release_connection(), just before freeing the gsm_subscriber_conn, invoke a CN initiated Iu Release command to the UE. This works around OS#1816 ("USSD only works when IuCS is released", on nano3G), because the Iu conn is now released right after every signalling, so that typically no two requests will use the same conn. In iu.h/iu.c, add iu_tx_release(), absorbing almost all of the code from ranap_handle_co_iu_rel_req(). Add stub to db_test.c, necessary to build it without linking libiu. [1] 3GPP TS 25.413 v12.4.0 Release 12 / ETSI TS 125 413 V12.4.0 (2015-04) Related: OS#1816 Change-Id: Ic12bd6f3666f6fd42bd6d9fdae1c93abee3b6786 http://cgit.osmocom.org/openbsc/commit/?id=c4d9fab91968872b6eeffff0b5535fc72dffb3da commit c4d9fab91968872b6eeffff0b5535fc72dffb3da Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue Oct 11 00:50:05 2016 +0200 IuCS: don't remove Iu conn until release Don't remove the gsm_subscriber_connection without an Iu Release. From the 2G paradigm to close a subscriber connection as soon as nothing else is pending, osmo-msc frequently calls msc_release_connection() to see whether a conn has anything pending, or discards it. In 3G however, we so far don't actively release IuCS connections from the MSC side, but wait until the IuCS is released from the UE side. So the conn is often discarded even though the IuCS stays open and valid, which confuses the situation: before the UE releases a bit later, we would try to page the subscriber unsuccessfully, because the UE expects to already be connected. To first fix the discrepancy of Iu vs. subscr release, never discard gsm_subscriber_connections when msc_release_connection() is called. This creates a "lazy" CN that keeps connections open as long as the UE will tolerate. It is really fast in sending many SMS in close succession, but is certainly a bad CN design choice: we should rather stay lean on connections. A subsequent commit will change this, but I decided to keep this commit as a reference, for when we'd like to test situations that should re-use an established connection. Change-Id: I012378cfa432d791146db387554ec1909de05297 http://cgit.osmocom.org/openbsc/commit/?id=6836a705d151cb7656506adade077cd2a6bfbaa7 commit 6836a705d151cb7656506adade077cd2a6bfbaa7 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue Oct 11 01:05:22 2016 +0200 IuCS: detect whether a conn is already secure If a CM Service Request is received on an already secure IuCS connection, we so far didn't notice and started to authenticate again. The UE would readily renew its authentication, but then our state got stuck since ciphering was already established. Instead, don't authenticate again when integrity protection is already established. Change-Id: I3c01fe58276ba0ad918f2cd30cc3dca7c6663e68 http://cgit.osmocom.org/openbsc/commit/?id=60c0aa0b2adb0e1ed6ed5b495bd496b9511419fe commit 60c0aa0b2adb0e1ed6ed5b495bd496b9511419fe Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue Sep 20 18:18:26 2016 +0200 mgcp dbg log Change-Id: I56fda48edaa92abfc6e3886cdfce733bb0686f73 http://cgit.osmocom.org/openbsc/commit/?id=9fe5d19e25a8b66e3dd3b0a3f93d030e20410fca commit 9fe5d19e25a8b66e3dd3b0a3f93d030e20410fca Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu Sep 22 20:00:16 2016 +0200 sgsn_ranap_iu_event: handle some events without valid MM context Change-Id: Ia7e74087d56996104b6d3935b1cf12166ff67f3a http://cgit.osmocom.org/openbsc/commit/?id=1c9b4ed4bdbf10af3e366d803e6eeea062758640 commit 1c9b4ed4bdbf10af3e366d803e6eeea062758640 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon Sep 19 18:30:49 2016 +0200 IuCS: store assigned rab_id in gsm_subscriber_connection Change-Id: I7fda4304631fc24bbd1bebe911b8403a942fcf53 http://cgit.osmocom.org/openbsc/commit/?id=4b44ae942a7c2ebba8b0801a7534e77cc4a9c8d4 commit 4b44ae942a7c2ebba8b0801a7534e77cc4a9c8d4 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu Sep 22 20:28:35 2016 +0200 bridge calls via mgcpgw Change-Id: Ie259e30bc532fe9817c96562022ac33443d5747a http://cgit.osmocom.org/openbsc/commit/?id=877ffe41d2ba927b27054937b238fec328fa3d23 commit 877ffe41d2ba927b27054937b238fec328fa3d23 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu Sep 22 20:29:30 2016 +0200 also do call assignment for MT calls, upon Call Confirmed Change-Id: I863fa73948f61aaffd7f4472f3abc3e44228e31f http://cgit.osmocom.org/openbsc/commit/?id=f1c68fb05349d2951b1de6ccaca636f1d9b5276d commit f1c68fb05349d2951b1de6ccaca636f1d9b5276d Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed Sep 7 13:39:07 2016 +0200 IuCS: implement msc_call_assignment() for IuCS Send IuCS RAB Activation upon MNCC_CALL_PROC_REQ. Implement function msc_call_assignment(): decide between sending A-iface BSSMAP Assignment Request or IuCS RAB Assignment Request. Implement iu_rab_act_cs() to send the IuCS RAB Assignment Request. The IP address and port of the MGCPGW sent in the RAB Assignment are still hardcoded. The A-interface extension is not implemented yet. Declare ranap_new_msg_rab_assign_voice() to avoid including ranap_msg_factory.h, which would require adding ASN1 CFLAGS to Makefile.am. The mgcpgw_client as well as some more osmo-iuh functions are now linked from libmsc, hence add some dummy stubs to libiudummy and db_test.c. Change-Id: Iaae51d1fbbfc28fad1c0b85e161d53d80a420a19 http://cgit.osmocom.org/openbsc/commit/?id=7b542c2e544a27d1a9cd6ab85446c6ccdd9bb8bd commit 7b542c2e544a27d1a9cd6ab85446c6ccdd9bb8bd Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu Sep 22 20:21:10 2016 +0200 msc: add mgcpgw client (with dummy read cb so far) Store the mgcpgw client data in struct gsm_network. Initialize VTY and bind the client. Change-Id: Ifc4efb1ca44fa34c29bf23b35addb54155296d68 http://cgit.osmocom.org/openbsc/commit/?id=27c10f68edc04bab1e7f0497e7cab3c026c970ba commit 27c10f68edc04bab1e7f0497e7cab3c026c970ba Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed Sep 7 13:39:07 2016 +0200 libmgcp: add mgcpgw client API Add an API to send MGCP messages to an MGCP GW, from the perspective of an MSC instructing the GW to setup RTP streams. Rationale: the mgcp_protocol.h is mostly for the MGCP GW itself, other implementations forward incoming MGCP messages. So a simpler approach for an MGCP GW client is useful. Add general VTY commands that can be used to configure mgcpgw_client. osmo-msc is going to use this to route RTP streams (for 3G at first). Change-Id: I6fe365c4c89207f2172943cc456b508a207b1135 http://cgit.osmocom.org/openbsc/commit/?id=77a71391da6e89d26ea47fdff4d66f04645ea114 commit 77a71391da6e89d26ea47fdff4d66f04645ea114 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed Sep 7 13:39:07 2016 +0200 libmgcp: add value strings for mgcp_connection_mode Add file mgcp_common.c to implement the value strings for the mgcp_connection_mode. Add in a separate file because of the upcoming mgcpgw_client.c implementation, introducing a file that contains implementations commonly used in MGCP GW as well as its clients. Change-Id: I6fe365c4c89207f2172943cc456b508a207b1135 http://cgit.osmocom.org/openbsc/commit/?id=1265ac5e949fec49fbe4848c5681924d81f5bdb7 commit 1265ac5e949fec49fbe4848c5681924d81f5bdb7 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue Sep 20 18:16:35 2016 +0200 libmgcp: move mgcp_connection_mode to public header mgcp_connection_mode will be used by the upcoming mgcpgw_client.h API. Change-Id: I7a3f8905723320d968f1a53c1036904107b4fb2d http://cgit.osmocom.org/openbsc/commit/?id=92b0aae6d1866723cce40720aa98c604adfafbac commit 92b0aae6d1866723cce40720aa98c604adfafbac Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue Sep 6 20:08:58 2016 +0200 IuCS: cosmetic prep for msc_call_assignment() Rename gsm48_cc_tx_call_proc() to gsm48_cc_tx_call_proc_and_assign() to mark the place where the A-interface will send a BSSAP Assignment Request / where the IuCS-interface will send a RAB Assignment Request. Add function msc_call_assignment() to decide between A-iface and IuCS assignment, to be implemented in subsequent commit. Change-Id: I0695e233d57d13658793b0e63bb7c3ff224909a0 http://cgit.osmocom.org/openbsc/commit/?id=4c5bf8bd2881685931b569205df44dd5c699ce38 commit 4c5bf8bd2881685931b569205df44dd5c699ce38 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed Sep 7 17:52:32 2016 +0200 IuCS: send RANAP CommonID Add libiu function to send a CommonID message down a UE connection, iu_tx_common_id(); add also a corresponding stub to libiudummy for linking with tests. Add libmsc function msc_tx_common_id() to call the above. Add this mostly to clearly indicate in msc_ifaces.h that libmsc is calling out of the MSC; also to do conn->via_iface checking. Call msc_tx_common_id() after ciphering is established, in _gsm48_rx_mm_serv_req_sec_cb()'s GSM_SECURITY_SUCCEEDED case. Change-Id: I576ddd5bbabfc989149debd2f8a9743db6d26043 http://cgit.osmocom.org/openbsc/commit/?id=9a72718d998eb793e3944d315bd5b0f89f485ce2 commit 9a72718d998eb793e3944d315bd5b0f89f485ce2 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Wed Aug 31 15:40:18 2016 +0200 cosmetic: msc_handler, bsc_handler: drop extra whitespace The extra ws made me not find these lines when grepping for 'dtap ='. Change-Id: I45e5c9e7df4704546872aab15adf407298943435 http://cgit.osmocom.org/openbsc/commit/?id=7ff45bffa71f1c53d349060ee92d6df767facaee commit 7ff45bffa71f1c53d349060ee92d6df767facaee Author: Harald Welte <laforge at gnumonks.org> Date: Mon May 2 08:34:57 2016 +0200 SGSN: Don't indicate GERAN in Iu mode PDP CTX ACT REQ to GGSN http://cgit.osmocom.org/openbsc/commit/?id=89d19ba77e744d7f13daa280ee7d7fcbd637b539 commit 89d19ba77e744d7f13daa280ee7d7fcbd637b539 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 13:20:54 2016 +0200 cosmetic: make gsm0408_loc_upd_rej() static http://cgit.osmocom.org/openbsc/commit/?id=0523b93bad90252f26edeaeae9172085e50444c1 commit 0523b93bad90252f26edeaeae9172085e50444c1 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 9 13:18:03 2016 +0200 LU counters: count completion and failure, not messages sent From a human admin viewpoint it doesn't make sense to count the messages sent: When we use TMSIs, we first send a LU Accept with a new TMSI, and then expect the MS to respond with a TMSI Realloc Complete message. When that fails to come through, the LU actually ends in failure, even though a LU Accept was sent. In 3G, if a UE sends an Iu Release during LU (e.g. user enables flight mode), we cancel the LU without sending any reply at all, so nothing would be counted. Instead, count Location Updating results, i.e. completion and failures. http://cgit.osmocom.org/openbsc/commit/?id=4dd52c550d312fe1b2955e725ecd82cbbf52c784 commit 4dd52c550d312fe1b2955e725ecd82cbbf52c784 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=0af05e309c4b14ad7f9a54ddb871c9186b886b8a commit 0af05e309c4b14ad7f9a54ddb871c9186b886b8a 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=b18b5c4ace647dda2f8dc48b0e0d3d7a84788b53 commit b18b5c4ace647dda2f8dc48b0e0d3d7a84788b53 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=f2df96d63a2ab15fa8986859ebcf4e67f1083c04 commit f2df96d63a2ab15fa8986859ebcf4e67f1083c04 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=addf59bd9200dc45abb24dae587f8b9511c1dee5 commit addf59bd9200dc45abb24dae587f8b9511c1dee5 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=7ea62570b7ed9d38d823c817f6bb6f657ada42b9 commit 7ea62570b7ed9d38d823c817f6bb6f657ada42b9 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=5b41f36e4e1d86af030958161ca6418bd80757fc commit 5b41f36e4e1d86af030958161ca6418bd80757fc 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=3ec57ea076a0e77b052b288ddc73ae85a1e33478 commit 3ec57ea076a0e77b052b288ddc73ae85a1e33478 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=367fc11d06a5ab4a2ce5d3ebb59d3880c78ead4c commit 367fc11d06a5ab4a2ce5d3ebb59d3880c78ead4c 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=7b5b4988f259d70aae479ce7b4c172ae6d0b5016 commit 7b5b4988f259d70aae479ce7b4c172ae6d0b5016 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=0b9d2510278f9dd9a7868c52d1ea103f19653f9b commit 0b9d2510278f9dd9a7868c52d1ea103f19653f9b 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=0b4cd829c3b056bd1043a9c5c63547b40178ffd8 commit 0b4cd829c3b056bd1043a9c5c63547b40178ffd8 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=3d7d997d1c0bd8eddbf13c750a87049f4795fa33 commit 3d7d997d1c0bd8eddbf13c750a87049f4795fa33 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=1bec2d7b72bc4069d933382b95452661e81dd4e7 commit 1bec2d7b72bc4069d933382b95452661e81dd4e7 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=9a7cf7051f1781ffe6278bfab4c553a7025a8818 commit 9a7cf7051f1781ffe6278bfab4c553a7025a8818 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=4f7bcfcbb19e7959f2fa2a7f2295ee434a473cbb commit 4f7bcfcbb19e7959f2fa2a7f2295ee434a473cbb 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=012c582f79d8df5d126e481e73dcb310ad462a21 commit 012c582f79d8df5d126e481e73dcb310ad462a21 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:06:55 2016 +0200 move subscr auth check to gsm_subscriber.c add subscr_authorized(), subscr_authorized_imsi() Change-Id: If2ef06b1229351127c61477ca14653d6ae4cb6bb http://cgit.osmocom.org/openbsc/commit/?id=a092d6ad35c68c05109cdb10fc97a3aecb7f1297 commit a092d6ad35c68c05109cdb10fc97a3aecb7f1297 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Aug 12 16:11:25 2016 +0200 auth log Change-Id: Icd9f8505388a06ee768d2176cb2b9187953098ef http://cgit.osmocom.org/openbsc/commit/?id=6ebf8a90c2b4780a585e4896bdfaf481fc3ae2e9 commit 6ebf8a90c2b4780a585e4896bdfaf481fc3ae2e9 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Aug 12 16:09:46 2016 +0200 iu auth wip Change-Id: Icc2522252cf15c54f1a1ea5255314a0de8bfba03 http://cgit.osmocom.org/openbsc/commit/?id=3e394f3d919a3a78608be5ca87e338b71183f585 commit 3e394f3d919a3a78608be5ca87e338b71183f585 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Aug 12 16:03:09 2016 +0200 Iu auth wip Change-Id: I44effcca80dc6850178174dc957bcd5608b0ae14 http://cgit.osmocom.org/openbsc/commit/?id=28ebaab4a02324dd0f479e4d176ec6b94f0fae70 commit 28ebaab4a02324dd0f479e4d176ec6b94f0fae70 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Fri Aug 12 16:21:32 2016 +0200 cosmetic prep: change int -> bool authorize_subscriber() Upcoming function subscr_authorized() will flip this to bool, so separate this change cosmetically. Change-Id: Iba0184a71afa01141ef06c474cb554e79ad8f5d5 http://cgit.osmocom.org/openbsc/commit/?id=50f86547a8a0a6c46d58a47d936df25b78ca7372 commit 50f86547a8a0a6c46d58a47d936df25b78ca7372 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=f6e7dd34419d20488145cc0111acf0cfa31a0edc commit f6e7dd34419d20488145cc0111acf0cfa31a0edc 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=57270b71ef2ae25f28d4ab2f3316e0540e3ad03a commit 57270b71ef2ae25f28d4ab2f3316e0540e3ad03a 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=6272534c13bd7de4c92381f1f3e655d026636ed2 commit 6272534c13bd7de4c92381f1f3e655d026636ed2 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 14:57:14 2016 +0200 osmo-nitb becomes osmo-msc Change-Id: I3787050b524954d8a4dd13495c458f3ee293807b http://cgit.osmocom.org/openbsc/commit/?id=7dc62f2236e7def09a763a8f5c0dca56232f5cab commit 7dc62f2236e7def09a763a8f5c0dca56232f5cab 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=1c6d290bea1f1bce77bd24b925f474d75b4baa45 commit 1c6d290bea1f1bce77bd24b925f474d75b4baa45 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=71f2c13999e850ccd90b8e05a5f07da2781fa69d commit 71f2c13999e850ccd90b8e05a5f07da2781fa69d Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 21:44:32 2016 +0200 cut off libbsc paging, pending paging in libmsc 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. In osmo-nitb, paging is done on BSC level and MSC level "at the same time". When the new MSC is fully operational, paging will be controlled separately on the MSC level, and the BSC (RNC) level will be instructed over an IuCS or A-interface to negotiate paging with the MS (UE). This MSC level paging does not yet exist and will be added in subsequent commits. Change-Id: I8b6920ddc54fc3f2876a59664e6722666d8a8a4a http://cgit.osmocom.org/openbsc/commit/?id=19eace74562c68569cdd3ed96b2e6d79bf47403f commit 19eace74562c68569cdd3ed96b2e6d79bf47403f 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=dae389147c6bb6602bf5954b7a2de1cfce846641 commit dae389147c6bb6602bf5954b7a2de1cfce846641 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=db0c6f50d59344cc0ec1adbd5829047831a77f72 commit db0c6f50d59344cc0ec1adbd5829047831a77f72 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=a6d4b421b41d97116209051a9dac60abcb345c0c commit a6d4b421b41d97116209051a9dac60abcb345c0c Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Tue May 10 14:59:02 2016 +0200 move to libcommon-cs: gsm48_extract_mi(), gsm48_paging_extract_mi() -- TODO move to libfilter instead? Change-Id: I00ca0caf8224de029f53f4dedb1146e3cf7650ec http://cgit.osmocom.org/openbsc/commit/?id=7a7da697cb628b9d6ce639fc022dbeee03d41b6c commit 7a7da697cb628b9d6ce639fc022dbeee03d41b6c 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=2cc9d9b47a02042fbcada5a895ddc09fb0ac57a5 commit 2cc9d9b47a02042fbcada5a895ddc09fb0ac57a5 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 14:58:46 2016 +0200 add msc vty, remove nitb vty Change-Id: I8f8980d6cfbf26f1b0e0197939833e55dbe521fb http://cgit.osmocom.org/openbsc/commit/?id=5f2eb70855bd26695318aa58068c73705e70ae64 commit 5f2eb70855bd26695318aa58068c73705e70ae64 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=05b4bac3b13d0eccf1f5ab8fa5405b7ffdaf4de8 commit 05b4bac3b13d0eccf1f5ab8fa5405b7ffdaf4de8 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=a0a300f839a632829f94b22bb53270298ed86298 commit a0a300f839a632829f94b22bb53270298ed86298 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=c5086ed81c2185e9d15999cf57f59ad41384ebf3 commit c5086ed81c2185e9d15999cf57f59ad41384ebf3 Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Mon May 30 15:05:43 2016 +0200 gsm_04_08, gsm_subscriber: decouple lac from bts The idea is to not have a direct pointer to a bts struct (into BSC land), but a LAC to resolve the BSC or RNC depending on the appropriate A or IuCS interface. subscr_update(): remove bts arg, add lac arg. Pass conn->lac to gsm48_generate_lai() instead of bts->location_area_code. Change-Id: I9f2b298a785bf4b2a1b3fcdd91b8256106b2d9de http://cgit.osmocom.org/openbsc/commit/?id=71bf7f0dfe2058be3e558c2c1bd3f5a01458643a commit 71bf7f0dfe2058be3e558c2c1bd3f5a01458643a 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=209c1ef45a2c4f8c2e8fee1b2dd7bae34ae91969 commit 209c1ef45a2c4f8c2e8fee1b2dd7bae34ae91969 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=9e6622ff838b8b02948d4a846b0367aeb8df81ef commit 9e6622ff838b8b02948d4a846b0367aeb8df81ef 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=93454cedc80e4534a8a3c1f79453bb14b81016dd commit 93454cedc80e4534a8a3c1f79453bb14b81016dd 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 fairly soon, the a_tx() is going to be just a dummy for some time (see comment). Add via_iface marker to gsm_subscriber_connection with enum values IFACE_A and IFACE_IU so far. Add Iu specific fields in a sub-struct: the UE connection pointer and an indicator for the Integrity Protection status on Iu (to be fully implemented in later commits). Add lac member to gsm_subscriber_connection, to allow decoupling from bts->location_area_code. The conn->lac will actually be set in iu.c in an upcoming commit ("add iucs.[hc]"). Change-Id: Idf8020a30562426e8f939706bf5c2188d5a09798 http://cgit.osmocom.org/openbsc/commit/?id=b0f24d46043071dca3aed52c152d01a36c2fec98 commit b0f24d46043071dca3aed52c152d01a36c2fec98 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=a232e5ab97883eb76004a47a1e1c17181a7cf616 commit a232e5ab97883eb76004a47a1e1c17181a7cf616 Author: Harald Welte <laforge at gnumonks.org> Date: Thu Dec 24 17:06:42 2015 +0100 gsm_04_08.c: Don't set msg->lchan nor msg->dst the BSC-side of the API behind gsm0808_submit_dtap() is doing this resolving again anyway. So let's avoid doing it twice, and avoid having more dependency of the MSC down into the lchan details. Conflicts: openbsc/src/libmsc/gsm_04_08.c Change-Id: I14254be68ee1a48e9f1ce968233414d86c6ba9d5 ----------------------------------------------------------------------- Summary of changes: openbsc/include/openbsc/Makefile.am | 1 + openbsc/include/openbsc/gprs_sgsn.h | 26 ++-- openbsc/include/openbsc/gprs_subscriber.h | 31 +++++ openbsc/include/openbsc/gsm_data.h | 2 + openbsc/include/openbsc/gsm_subscriber.h | 1 - openbsc/include/openbsc/signal.h | 1 - openbsc/src/gprs/gprs_gmm.c | 199 ++++++++++++++++++++++++++---- openbsc/src/gprs/gprs_sgsn.c | 6 +- openbsc/src/gprs/gprs_subscriber.c | 183 +++++++++++++++++++-------- openbsc/src/gprs/sgsn_auth.c | 11 +- openbsc/src/gprs/sgsn_libgtp.c | 2 +- openbsc/src/gprs/sgsn_main.c | 2 +- openbsc/src/gprs/sgsn_vty.c | 109 ++++++++-------- openbsc/src/libmsc/vty_interface_layer3.c | 1 + openbsc/src/utils/Makefile.am | 17 +++ openbsc/src/utils/meas_json.c | 189 ++++++++++++++++++++++++++++ openbsc/tests/ctrl_test_runner.py | 1 - openbsc/tests/sgsn/sgsn_test.c | 94 ++++++++------ openbsc/tests/sgsn/sgsn_test.ok | 8 ++ openbsc/tests/smpp_test_runner.py | 3 +- openbsc/tests/vty_test_runner.py | 25 +--- 21 files changed, 694 insertions(+), 218 deletions(-) create mode 100644 openbsc/include/openbsc/gprs_subscriber.h create mode 100644 openbsc/src/utils/meas_json.c hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)