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 a0cf349272fbfa526aaba18c939056f33f53e005 (commit) discards d1110a43b657c8bdc894d251cc5382cb2f99f249 (commit) discards 1dfa1607b61938f647744125d8a8e3edfe1a48d1 (commit) discards 1e0c9a50cf2453de9ce4806e65a5f52033c283c9 (commit) discards 56e15b5f555f6dd00cacbfa2db071a229e73d777 (commit) discards b394f5c97fc78efd0001152e90c9e8882ccc5f7d (commit) discards f575616bf3117fc856a8a0995c6d48ec8352bdc0 (commit) discards 61437a8b062aa00eb9046172e8fa4f7d09530348 (commit) discards 3903762ac8b61341c97937303822616d62f98688 (commit) discards 2461808a772031eedfee598df98e48d873929253 (commit) discards c3d730901c02e40d0172fe8e8b15105c3d7451d4 (commit) discards 7fa35aa55af10ec8fd3f544d11e97c44631922a1 (commit) discards 4294c86bf48015d635722dfd77d0deccaea90a24 (commit) discards 736c4d5b5dca1f4d35dce395ec77b5f7defceef5 (commit) discards c1eea7bbc952ebd3b35fdd2fbd0991055cf55cf7 (commit) discards de53d0f6540927fcac2aeb28fd5504ea0d57b40f (commit) discards 992b12804d11d9a3e675a06f132c869b04d12eb2 (commit) discards d4ac34fed88a8a036540d7299318dea0442b59f1 (commit) discards b04df785e5fffa2556ca7ec1b8a22cfab2fdbe32 (commit) discards fcf7dc8dd41bfac1fec7e3c0fb3d72d017fd6a2c (commit) discards 1357110280b5388962939fad5f4763609f665de3 (commit) discards 2820519d82f421f9be6b72195721de25113e04f0 (commit) discards ea9f1b46e5f286d432cdada36efe9af3a989e245 (commit) discards ad86707de3933400f0a5c3606fb4534724f6f05b (commit) discards b17e8a6d86c6a42a37c5b7bf8de9a2ff22a51362 (commit) discards 5031f682f25343b695661ed97447915ca573811f (commit) discards 299bc92bb5998c2e7a18a7fe8befc75daed45ea9 (commit) discards 234a10a9f4cef8a498571b22a22c5a2f58193fa4 (commit) discards 95d13131f3ab99772f080be9b23453c36cf4d139 (commit) discards 35dc822b36460c0ddf497ee52aa4cd88924b7cb2 (commit) discards 5cea316f46db3090bc9639dedc62ae7647d385d6 (commit) discards 738aecd9bb7144cf841ef22c33b3e4298b51b79a (commit) discards eca7c1054e40b635535aaa7c6f2d238b3ad73823 (commit) discards f43f48c5cc9a47548b274169aa3a7ed0043ac1cc (commit) discards dd5fdcbd7512773ea4d275ced1eef381b301b026 (commit) discards ff1685e2baa462671b7830f32b195fe255406d10 (commit) discards 66bf25e2d1544e767932638a529c4f51ab478cc3 (commit) discards f44723adf5152773a5c0db944749da8ed78bf571 (commit) discards f9c638e91cb158577bc2818a78eeeb35ddb5c43e (commit) discards c3497b5aac89d7dc66c3042d15032b2605bb901c (commit) discards 085d86592a17c77ad129d1a681c096efe1ffa607 (commit) discards ea164738635b2c17af2a947f7437b28a9f9578b4 (commit) discards 537a7d88dfab7f85b31ca5f67946f7a8b6c0816a (commit) discards 79f305b4a96af5736f3ab6256bcca776ad310825 (commit) discards 9264cca7392759c3d379f06874465a4fdac0a765 (commit) discards 58660ea0cd3bcb67ddddac9ebbe2540f67bb4317 (commit) discards 912e027f0d4b3e7b362ff3f5f7cca12ed8f27c79 (commit) discards c9e44fbdde2f0f00265c69ba5a1e5b298f11345c (commit) discards 706147616393286993706c0391a8f17024bd93ec (commit) discards e355813d999bf096d056ec4d09970a56ef9bc700 (commit) discards f40035ddf1997d39701af96fcd8334fe4057fe29 (commit) discards 42dd254135b8c46d29a7d54544d33b533902bfb2 (commit) discards 950da6b72429056812bbc89cf37b155cb8dcd3d3 (commit) discards 17d0deeff1eeee093eab17b6421757bf1dd3f13d (commit) discards d2b9b94443fee2814e670a945248f4e041c0c533 (commit) discards 9a0064edc26eaec13b8be4ad3973a211d8e4d666 (commit) discards 648caf204360946eb4ff65a558d1c49fe1803711 (commit) discards e6d9e2aae830950387e2eb4539efd490f810315b (commit) discards 59b2788338c869227a42a92ff1e5a07c82dd4646 (commit) discards 29c30d314abd8c4d3d8abe9115e801a6984f8ed4 (commit) discards bf1c9825ffda0bddcba1030a21715e07109c5b12 (commit) discards 67aa95b1682149fde3d03cd4ce388ed240aa54db (commit) discards 3cf3b9e16cb5b34dd7264a67f9f3772ba8be2f05 (commit) discards 04cab766a7f9439d4c5ccc067433552b87b28a50 (commit) discards a1bc44157e9122fb12a5f46ab6ac7cfa0e9dac41 (commit) discards bb6c46e8c6007c188bcea97fc7a043776fe9a58d (commit) discards 6ffbd2f46049533f724373c3f59d9a08c87dfe5b (commit) discards 6bd0150a0f9e292d548aeb03ae8693426efe173c (commit) discards 4b6031e9ff8048ce641477debde255e658333863 (commit) discards 895ff84ec321b3b2135d08479177363bf5531d90 (commit) discards e9bfec0166ff28addffe786c242b067b5bf9f471 (commit) discards 4d58989b3afe13b3cb29613eed3cd26426281ed4 (commit) via 5ba2ef4f9b1e553355104aa0922299982f878aaa (commit) via 953fd5d41e819b292dec83285ed8c33b96d72f2f (commit) via 5fc6d4bc4bed0dd05a34f097547dbb6af1814d8a (commit) via 12f4f9d89fac989ced3cf7344e61a579a3c17eac (commit) via 9bb6981b276c320db27f1bcc4810d0104f61ff03 (commit) via b1a819a5b1553d723dc17e0a0d4c0548c8aa6c09 (commit) via 4abadffb4e4453c612ac920bca318e9b6c665ae7 (commit) via 846aa2be8e1769c13b960829adfa4391099c6ce9 (commit) via a4c0174ee8fe343a3e5c292ef2ea7cd228a15ca7 (commit) via 22ab6431dd940718342b7e0a970a7202850cec2a (commit) via 8605b1ab50255a0f9c641b57510c8e0cd4aa7418 (commit) via d8341cfb91e3fb82845de6ba888d7882563f9bd0 (commit) via d1863e17b39741909a445bbe4accf79aea6f87fe (commit) via b4add0f6066012ec4a474c60ff94699d86c53370 (commit) via 24f67dcba4767acc0bcbb7a2fcdb8952b3d4574d (commit) via 3fda40741cda0e9841b8e521d83453db0987a854 (commit) via fa368297fabd800cfa614c5298020682738964fc (commit) via 6c4c08ecc8f6d3855d97ca0efbac71caf3f66f8b (commit) via 9c890e791434fc99c7ceb611b76b043e6fa867ca (commit) via 6c03b463aaa833e12f6d2aadda524b65a7b10c61 (commit) via c5f62e3789d25d9bfec2f91f97fecf1085f9f7f4 (commit) via 0d7ba9c43ed9b73cb3daffc442af339573de515c (commit) via d128adc815a445b01132ca936462a05e76b7793e (commit) via eb76063f29f999e9a44d9d1434e13d3dbcd2a43f (commit) via 1d9509229e6872f38fac711e80a9a736114f94bd (commit) via 87271a4e48b0d859f2e12d95558371be20709f7c (commit) via 3c0ffa19f904423abd56499e48518735af98d163 (commit) via 20d703adbb5e417728fac854161c4d1cb42a2216 (commit) via 1130180452c90ccfc1f443db12a7816aac005ac2 (commit) via 5f5cf42040d9592bc663b1cd0c4a6923135b0889 (commit) via 52f9cfb69d31c16e2803d473fb40e16ead31781a (commit) via 853455832d864ff28ff88636872947fb2623cd86 (commit) via ce061d245efcea712c8e5560affd850e35ea2827 (commit) via 1986e8692910dd6aaa7be8dbcf6013f37d9e975b (commit) via 341ecb66643f742f3553e0d91f2cd9353eecd4d5 (commit) via a37d3488c98165ac0b00d01514a77222a98d0297 (commit) via bc1a67ec4b75771e3000667b270df73962a1bc3e (commit) via 895470baafa570cf0872bc80cab8339b6df29708 (commit) via 6ba21c1f5ce168df95e33d7a8c375a28ec5c1c0b (commit) via 1971c04283c2e99066b43c346e1598ccd9891e72 (commit) via f0b838f12b948659b92e5c10b5eb7b007c4b6672 (commit) via 93297ad354dd50117b84cf4dfd9c6058e3f84bb7 (commit) via a2922c095ca60eba5ab27da09cc7de5f5c08a8ef (commit) via 1793a588888235f3943daa1fd85ce635f3d6e1a6 (commit) via 1da2324357438508c2de4ab36d6d3a83cc569699 (commit) via 75df0a98fd332bd5ec45da783ba779fe880be7ac (commit) via dd5904096c55669e57471814206bf15f603f8521 (commit) via 0cc2d4d289d9bd2814b34faeec01e7d96fe2b84d (commit) via 7bed2a864a227e3afd2516d4d19744f2b89d83f8 (commit) via a9873853763bf200e89475af5e14986551520687 (commit) via 9b620c22d6c35ef21e8ca0beef96d98552f1c291 (commit) via e65320f740d42c1479c9907aa7153cccb13db2f7 (commit) via fb1bd46a6e067469fb75d4dcfb8088d8bffb888e (commit) via 8157cdd30c1f8f880070d05a5d9e69e656babeeb (commit) via 964a37a3168590d6af65763c2181081908aca975 (commit) via bdb519da316b9f93a111b0cdd51694751487992d (commit) via 8d1845e1dad32718a0fb57285dffcbc7567047ea (commit) via f02b677e49fd682a5eda7a590bf8dc0171aba736 (commit) via 01bf00e0836bd34d3090f793a3ce9efcf4096c8d (commit) via 9c1c75f73c1ead52f98fce3e192b040f4351bc72 (commit) via 995ba2775c18b296e8a6a8a02594891ac1766a40 (commit) via 95e219d21e3056a0a8f816f52ced0e55d7b1ae41 (commit) via f3c744583b18da9e79ec8d5254c745e284a3ef4b (commit) via 8d7984fa0a06b1218af232c56eb0149912bc20d3 (commit) via 3fe77bbb70f087522cdf9699468942b63b1c690e (commit) via cf8302c65d623c90a9ac999e0d9a48de4ad373fe (commit) via d79f20c84a27573e6fe34cc4b7f05c83282f09a8 (commit) via 5ed9b2ad091fe477c7a1bd2686e423847e29f897 (commit) via 661ce6a7359af5a369a8914dc9ec5c5460200d77 (commit) via 181f9b3cf94272e94860df070257818e9ffbf54b (commit) via 47d18530d6d73505b58a6c0e17455fbca2e562c0 (commit) via 629dd9c5873e777e3a954621ee6bd18a24a3b506 (commit) via 881064e9b81de4aee7a9cdd52184860260f8723c (commit) via 47e178190744e65079a821f40148eebcaa92bf76 (commit) via a5e369300f77269b2f6b596c2bf7f53795602a0c (commit) via 93bafb611a58293e0353320a14db298133c9d99a (commit) via 59504dc80fe8c0d9a18994d82586a550c7efa341 (commit) via f5e74b5988cb6fb34a71188e70adc7b6c7fea28b (commit) via b7f41d554bd197f23824eafa751d005a22d4277b (commit) via 34f012639ddf41470714ae74ae961d158670a4c7 (commit) via c8fc41c2f6780123658910d4b876022525e52518 (commit) via 04db87a89fca233008be1f4263cfa37af3f245a6 (commit) via 3d07aef8006e3953edfee6f4e74b810ee3dc16f4 (commit) via 98bc7fa50d0731864297f8fb82932d480c426ff6 (commit) via fd161ccce8ecaad3ddd32dd8b696902e81593ae3 (commit) via 34be86b93c243d94619a36a6db6c50021b33d36e (commit) via fa9abaca261ffd11fa86fa4ff109df719b37c5ff (commit) via 80abe522e2ddc979d994530f21b103808fc465d7 (commit) via 532480a705726452ace30b1a914640d984dd0418 (commit) via db142dc59dc8d79d8ee608c9165bc865d240b97d (commit) via a191dcd8f01767b266b85578d0fb445d864dfabd (commit) via b42dc43e288b33cb0ba467fccbe50d1de8eef878 (commit) via 9fdb4e5f2ff9349f5b5c60b61bfff28a05ae3e4d (commit) via 5fa8b083cc270fd30ab5526cd40683afd3035931 (commit) via 549ebc7d6c001b9ce134c7462f621335dbf671b9 (commit) via 6903848029071ec91959a53499785195cb2a091a (commit) via b735390284cbb76bcafcd406bf19fb983465ef94 (commit) via 59d57da1e55f19663d1f7fe3491e196bb855ad88 (commit) via 0c32685898604ca5c6546882deb642a17ddce937 (commit) via ea619f17048ed6b3e7cf730901e7bc27c1f3f7ed (commit) via ecdfd6d097eb0030b1a0a003fb855b38733f9ba6 (commit) via 37f9252361c85249b59d5a9202147136782b5415 (commit) via 2fa74faf927ed1ca9fc311a206c1e18a7295be7a (commit) via 3cbc05210192324592cc8b79e12d3095be302f90 (commit) via 73ed45599b94f666fedd043028daad9427c241bd (commit) via 2e109f08c07ca7ca5bc0f134d561cad42840b27c (commit) via 28786bb2098d404d5f5eb40fc6bafa866c54b0c1 (commit) via 2c1f8c8cebe41b30deca29c55290fef7a61e5343 (commit) via 3d6b9f4fe99c4351ba8937f6d7df6030986b8a92 (commit) via 11ecc9320c168d22ee89f84b75007420020b8356 (commit) via 49012f14dd5480573943e5d8cd5e9908f3eabb16 (commit) via 736474ce451a92cdc17db5f290f55f8cf22a13a2 (commit) via ef022783c37c459d0ccb5aa6f165d4d4dc6c0815 (commit) via eaaee92db5f29fa280ad89ef8b89d9062abcfa48 (commit) via 814fef04b02a915412920b85bd44c25f8e47a79c (commit) via 3df5d53a0400a03a510f9d61a61368229e142d52 (commit) via 4f8e34b226aeae221119c1d5ea659c3f087132aa (commit) via 08586c68dba6c2ae0fb19e2c6e5a1269c7bf4a7c (commit) via bd33f544441300ec8e9a16f6ebec2ba7a0cffebe (commit) via 82caa3e9b7b1c5f3025adda3217d7d4136ab32aa (commit) via 688231331b6b8f2ed91e572f85ba5c7af68ee77f (commit) via 3e6768937e2bd8e4149972dd6226eeb9bc4e0088 (commit) via d53e9b51b6e6be1a1e8a6c10187b08dc5a95f971 (commit) via c3b94f92c556dc3590d8343b572bc53f251a830d (commit) via 1611df5226199da2bf2fba3d22d93cc1a6c6c777 (commit) via b8e8d0a4023d6916a6b2042f81ef17d32e8675c4 (commit) via c59e28fa5e2f0f5bbbf2b8a78a01abb739d8d3a3 (commit) via 1cd50585e9c7c670c3df5e5bc729d97aaa612b39 (commit) via 4a7d0e79ccb9f12ace9f2ff24afbe80a63c88b84 (commit) via 2327cede9cd205ef8d2e0fef59857599024838c8 (commit) via 8d35965f24047f097f0a639b7a73acf5af0ff714 (commit) via c346f87371b5c03f2669add329a1f4962b3103bb (commit) via 8825c6940957fa2198d1f9995856e4232bc264fb (commit) via e14f4b93f2cd5b87c5a0c0141662a2c7be3e0f87 (commit) via 2440f49a724f19a2f14b6ee1d4616c347b7d33ba (commit) via ec16c161932c16280d7b4bdf8e72262e7f81c873 (commit) via f788d933824cf9757d58a1e84843c7c33523e71c (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 (a0cf349272fbfa526aaba18c939056f33f53e005) \ N -- N -- N (5ba2ef4f9b1e553355104aa0922299982f878aaa) 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=5ba2ef4f9b1e553355104aa0922299982f878aaa commit 5ba2ef4f9b1e553355104aa0922299982f878aaa 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=953fd5d41e819b292dec83285ed8c33b96d72f2f commit 953fd5d41e819b292dec83285ed8c33b96d72f2f 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=5fc6d4bc4bed0dd05a34f097547dbb6af1814d8a commit 5fc6d4bc4bed0dd05a34f097547dbb6af1814d8a 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=12f4f9d89fac989ced3cf7344e61a579a3c17eac commit 12f4f9d89fac989ced3cf7344e61a579a3c17eac 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=9bb6981b276c320db27f1bcc4810d0104f61ff03 commit 9bb6981b276c320db27f1bcc4810d0104f61ff03 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-cscn 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-cscn and osmo-sgsn. Add generic iu_vty_config_write() to write out the config. Call iu_vty_init() from cscn_vty_init(); cscn_vty_init() is in libmsc, hence linking of osmo-cscn now needs libiu to come after libmsc, so move that further down. Change-Id: I93728314742b327336f3fb6de98e6457f687e1f9 http://cgit.osmocom.org/openbsc/commit/?id=b1a819a5b1553d723dc17e0a0d4c0548c8aa6c09 commit b1a819a5b1553d723dc17e0a0d4c0548c8aa6c09 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=4abadffb4e4453c612ac920bca318e9b6c665ae7 commit 4abadffb4e4453c612ac920bca318e9b6c665ae7 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=846aa2be8e1769c13b960829adfa4391099c6ce9 commit 846aa2be8e1769c13b960829adfa4391099c6ce9 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=a4c0174ee8fe343a3e5c292ef2ea7cd228a15ca7 commit a4c0174ee8fe343a3e5c292ef2ea7cd228a15ca7 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=22ab6431dd940718342b7e0a970a7202850cec2a commit 22ab6431dd940718342b7e0a970a7202850cec2a 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-cscn 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-cscn 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=8605b1ab50255a0f9c641b57510c8e0cd4aa7418 commit 8605b1ab50255a0f9c641b57510c8e0cd4aa7418 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-cscn 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=d8341cfb91e3fb82845de6ba888d7882563f9bd0 commit d8341cfb91e3fb82845de6ba888d7882563f9bd0 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=d1863e17b39741909a445bbe4accf79aea6f87fe commit d1863e17b39741909a445bbe4accf79aea6f87fe 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=b4add0f6066012ec4a474c60ff94699d86c53370 commit b4add0f6066012ec4a474c60ff94699d86c53370 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=24f67dcba4767acc0bcbb7a2fcdb8952b3d4574d commit 24f67dcba4767acc0bcbb7a2fcdb8952b3d4574d 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=3fda40741cda0e9841b8e521d83453db0987a854 commit 3fda40741cda0e9841b8e521d83453db0987a854 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=fa368297fabd800cfa614c5298020682738964fc commit fa368297fabd800cfa614c5298020682738964fc 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=6c4c08ecc8f6d3855d97ca0efbac71caf3f66f8b commit 6c4c08ecc8f6d3855d97ca0efbac71caf3f66f8b 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=9c890e791434fc99c7ceb611b76b043e6fa867ca commit 9c890e791434fc99c7ceb611b76b043e6fa867ca Author: Neels Hofmeyr <nhofmeyr at sysmocom.de> Date: Thu Sep 22 20:21:10 2016 +0200 cscn: 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=6c03b463aaa833e12f6d2aadda524b65a7b10c61 commit 6c03b463aaa833e12f6d2aadda524b65a7b10c61 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-cscn is going to use this to route RTP streams (for 3G at first). Change-Id: I6fe365c4c89207f2172943cc456b508a207b1135 http://cgit.osmocom.org/openbsc/commit/?id=c5f62e3789d25d9bfec2f91f97fecf1085f9f7f4 commit c5f62e3789d25d9bfec2f91f97fecf1085f9f7f4 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=0d7ba9c43ed9b73cb3daffc442af339573de515c commit 0d7ba9c43ed9b73cb3daffc442af339573de515c 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=d128adc815a445b01132ca936462a05e76b7793e commit d128adc815a445b01132ca936462a05e76b7793e 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=eb76063f29f999e9a44d9d1434e13d3dbcd2a43f commit eb76063f29f999e9a44d9d1434e13d3dbcd2a43f 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=1d9509229e6872f38fac711e80a9a736114f94bd commit 1d9509229e6872f38fac711e80a9a736114f94bd 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=87271a4e48b0d859f2e12d95558371be20709f7c commit 87271a4e48b0d859f2e12d95558371be20709f7c 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=3c0ffa19f904423abd56499e48518735af98d163 commit 3c0ffa19f904423abd56499e48518735af98d163 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=20d703adbb5e417728fac854161c4d1cb42a2216 commit 20d703adbb5e417728fac854161c4d1cb42a2216 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=1130180452c90ccfc1f443db12a7816aac005ac2 commit 1130180452c90ccfc1f443db12a7816aac005ac2 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=5f5cf42040d9592bc663b1cd0c4a6923135b0889 commit 5f5cf42040d9592bc663b1cd0c4a6923135b0889 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=52f9cfb69d31c16e2803d473fb40e16ead31781a commit 52f9cfb69d31c16e2803d473fb40e16ead31781a 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=853455832d864ff28ff88636872947fb2623cd86 commit 853455832d864ff28ff88636872947fb2623cd86 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=ce061d245efcea712c8e5560affd850e35ea2827 commit ce061d245efcea712c8e5560affd850e35ea2827 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=1986e8692910dd6aaa7be8dbcf6013f37d9e975b commit 1986e8692910dd6aaa7be8dbcf6013f37d9e975b 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=341ecb66643f742f3553e0d91f2cd9353eecd4d5 commit 341ecb66643f742f3553e0d91f2cd9353eecd4d5 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=a37d3488c98165ac0b00d01514a77222a98d0297 commit a37d3488c98165ac0b00d01514a77222a98d0297 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=bc1a67ec4b75771e3000667b270df73962a1bc3e commit bc1a67ec4b75771e3000667b270df73962a1bc3e 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=895470baafa570cf0872bc80cab8339b6df29708 commit 895470baafa570cf0872bc80cab8339b6df29708 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=6ba21c1f5ce168df95e33d7a8c375a28ec5c1c0b commit 6ba21c1f5ce168df95e33d7a8c375a28ec5c1c0b 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=1971c04283c2e99066b43c346e1598ccd9891e72 commit 1971c04283c2e99066b43c346e1598ccd9891e72 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=f0b838f12b948659b92e5c10b5eb7b007c4b6672 commit f0b838f12b948659b92e5c10b5eb7b007c4b6672 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=93297ad354dd50117b84cf4dfd9c6058e3f84bb7 commit 93297ad354dd50117b84cf4dfd9c6058e3f84bb7 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=a2922c095ca60eba5ab27da09cc7de5f5c08a8ef commit a2922c095ca60eba5ab27da09cc7de5f5c08a8ef 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=1793a588888235f3943daa1fd85ce635f3d6e1a6 commit 1793a588888235f3943daa1fd85ce635f3d6e1a6 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=1da2324357438508c2de4ab36d6d3a83cc569699 commit 1da2324357438508c2de4ab36d6d3a83cc569699 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=75df0a98fd332bd5ec45da783ba779fe880be7ac commit 75df0a98fd332bd5ec45da783ba779fe880be7ac 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=dd5904096c55669e57471814206bf15f603f8521 commit dd5904096c55669e57471814206bf15f603f8521 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=0cc2d4d289d9bd2814b34faeec01e7d96fe2b84d commit 0cc2d4d289d9bd2814b34faeec01e7d96fe2b84d 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=7bed2a864a227e3afd2516d4d19744f2b89d83f8 commit 7bed2a864a227e3afd2516d4d19744f2b89d83f8 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=a9873853763bf200e89475af5e14986551520687 commit a9873853763bf200e89475af5e14986551520687 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=9b620c22d6c35ef21e8ca0beef96d98552f1c291 commit 9b620c22d6c35ef21e8ca0beef96d98552f1c291 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=e65320f740d42c1479c9907aa7153cccb13db2f7 commit e65320f740d42c1479c9907aa7153cccb13db2f7 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=fb1bd46a6e067469fb75d4dcfb8088d8bffb888e commit fb1bd46a6e067469fb75d4dcfb8088d8bffb888e 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=8157cdd30c1f8f880070d05a5d9e69e656babeeb commit 8157cdd30c1f8f880070d05a5d9e69e656babeeb 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=964a37a3168590d6af65763c2181081908aca975 commit 964a37a3168590d6af65763c2181081908aca975 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=bdb519da316b9f93a111b0cdd51694751487992d commit bdb519da316b9f93a111b0cdd51694751487992d 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 CSCN 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=8d1845e1dad32718a0fb57285dffcbc7567047ea commit 8d1845e1dad32718a0fb57285dffcbc7567047ea 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=f02b677e49fd682a5eda7a590bf8dc0171aba736 commit f02b677e49fd682a5eda7a590bf8dc0171aba736 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=01bf00e0836bd34d3090f793a3ce9efcf4096c8d commit 01bf00e0836bd34d3090f793a3ce9efcf4096c8d 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=9c1c75f73c1ead52f98fce3e192b040f4351bc72 commit 9c1c75f73c1ead52f98fce3e192b040f4351bc72 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=995ba2775c18b296e8a6a8a02594891ac1766a40 commit 995ba2775c18b296e8a6a8a02594891ac1766a40 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=95e219d21e3056a0a8f816f52ced0e55d7b1ae41 commit 95e219d21e3056a0a8f816f52ced0e55d7b1ae41 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=f3c744583b18da9e79ec8d5254c745e284a3ef4b commit f3c744583b18da9e79ec8d5254c745e284a3ef4b 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=8d7984fa0a06b1218af232c56eb0149912bc20d3 commit 8d7984fa0a06b1218af232c56eb0149912bc20d3 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=3fe77bbb70f087522cdf9699468942b63b1c690e commit 3fe77bbb70f087522cdf9699468942b63b1c690e 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=cf8302c65d623c90a9ac999e0d9a48de4ad373fe commit cf8302c65d623c90a9ac999e0d9a48de4ad373fe 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=d79f20c84a27573e6fe34cc4b7f05c83282f09a8 commit d79f20c84a27573e6fe34cc4b7f05c83282f09a8 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=5ed9b2ad091fe477c7a1bd2686e423847e29f897 commit 5ed9b2ad091fe477c7a1bd2686e423847e29f897 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=661ce6a7359af5a369a8914dc9ec5c5460200d77 commit 661ce6a7359af5a369a8914dc9ec5c5460200d77 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=181f9b3cf94272e94860df070257818e9ffbf54b commit 181f9b3cf94272e94860df070257818e9ffbf54b 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=47d18530d6d73505b58a6c0e17455fbca2e562c0 commit 47d18530d6d73505b58a6c0e17455fbca2e562c0 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=629dd9c5873e777e3a954621ee6bd18a24a3b506 commit 629dd9c5873e777e3a954621ee6bd18a24a3b506 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: debian/compat | 2 +- debian/control | 98 ++++-- debian/copyright | 158 +++++++-- debian/openbsc-dev.install | 2 + debian/rules | 14 +- openbsc/.gitignore | 1 + openbsc/configure.ac | 16 +- openbsc/contrib/bsc_control.py | 131 +++----- openbsc/contrib/ipa.py | 278 +++++++++++++++ openbsc/contrib/twisted_ipa.py | 373 +++++++++++++++++++++ openbsc/include/openbsc/Makefile.am | 5 +- openbsc/include/openbsc/arfcn_range_encode.h | 6 +- openbsc/include/openbsc/gprs_llc.h | 4 +- openbsc/include/openbsc/gprs_sndcp_xid.h | 14 +- openbsc/include/openbsc/gsm_data_shared.h | 1 + .../openbsc/{gprs_gsup_client.h => gsup_client.h} | 43 +-- openbsc/include/openbsc/{oap.h => oap_client.h} | 32 +- openbsc/include/openbsc/oap_messages.h | 70 ---- openbsc/include/openbsc/sgsn.h | 6 +- openbsc/include/openbsc/system_information.h | 5 +- openbsc/src/gprs/Makefile.am | 3 - openbsc/src/gprs/gprs_gb_parse.c | 2 +- openbsc/src/gprs/gprs_gmm.c | 20 +- openbsc/src/gprs/gprs_llc.c | 44 ++- openbsc/src/gprs/gprs_llc_parse.c | 16 +- openbsc/src/gprs/gprs_llc_vty.c | 8 +- openbsc/src/gprs/gprs_llc_xid.c | 23 +- openbsc/src/gprs/gprs_sgsn.c | 2 + openbsc/src/gprs/gprs_sndcp.c | 25 +- openbsc/src/gprs/gprs_sndcp_xid.c | 54 ++- openbsc/src/gprs/gprs_subscriber.c | 26 +- openbsc/src/gprs/gtphub.c | 6 +- openbsc/src/gprs/gtphub_ares.c | 12 +- openbsc/src/gprs/oap_messages.c | 178 ---------- openbsc/src/gprs/sgsn_auth.c | 3 +- openbsc/src/gprs/sgsn_vty.c | 2 +- openbsc/src/ipaccess/Makefile.am | 1 - openbsc/src/ipaccess/abisip-find.c | 6 +- openbsc/src/ipaccess/ipaccess-config.c | 4 +- openbsc/src/libbsc/abis_nm.c | 27 +- openbsc/src/libbsc/abis_om2000_vty.c | 2 +- openbsc/src/libbsc/abis_rsl.c | 17 +- openbsc/src/libbsc/arfcn_range_encode.c | 16 +- openbsc/src/libbsc/bsc_api.c | 4 +- openbsc/src/libbsc/bsc_init.c | 2 +- openbsc/src/libbsc/bsc_rf_ctrl.c | 3 +- openbsc/src/libbsc/bsc_vty.c | 4 +- openbsc/src/libbsc/chan_alloc.c | 28 +- openbsc/src/libbsc/rest_octets.c | 21 +- openbsc/src/libbsc/system_information.c | 88 ++--- openbsc/src/libcommon/Makefile.am | 18 + openbsc/src/libcommon/gsm_data_shared.c | 2 +- openbsc/src/libcommon/gsm_subscriber_base.c | 3 +- .../gprs_gsup_client.c => libcommon/gsup_client.c} | 102 +++--- openbsc/src/libcommon/gsup_test_client.c | 299 +++++++++++++++++ openbsc/src/{gprs/oap.c => libcommon/oap_client.c} | 67 ++-- openbsc/src/libiu/iu.c | 12 +- openbsc/src/libmgcp/mgcp_protocol.c | 1 + openbsc/src/libmsc/auth.c | 17 +- openbsc/src/libmsc/ctrl_commands.c | 4 +- openbsc/src/libmsc/db.c | 50 ++- openbsc/src/libmsc/gsm_04_08.c | 19 +- openbsc/src/libmsc/gsm_04_11.c | 10 +- openbsc/src/libmsc/meas_feed.c | 13 +- openbsc/src/libmsc/smpp_openbsc.c | 9 +- openbsc/src/libmsc/smpp_smsc.c | 2 +- openbsc/src/libmsc/smpp_vty.c | 4 +- openbsc/src/libmsc/vty_interface_layer3.c | 5 +- openbsc/src/libtrau/rtp_proxy.c | 7 +- openbsc/src/osmo-bsc/osmo_bsc_ctrl.c | 1 + openbsc/src/osmo-bsc/osmo_bsc_vty.c | 2 +- openbsc/src/osmo-bsc_nat/bsc_nat_rewrite.c | 9 +- openbsc/src/osmo-cscn/Makefile.am | 2 +- openbsc/src/utils/meas_vis.c | 4 +- openbsc/tests/gsm0408/gsm0408_test.c | 18 +- openbsc/tests/gsm0408/gsm0408_test.ok | 4 + openbsc/tests/gtphub/gtphub_test.c | 44 +-- openbsc/tests/mgcp/mgcp_test.c | 3 +- openbsc/tests/oap/Makefile.am | 13 +- .../tests/oap/{oap_test.c => oap_client_test.c} | 157 +++++---- openbsc/tests/oap/oap_client_test.err | 35 ++ openbsc/tests/oap/oap_client_test.ok | 2 + openbsc/tests/oap/oap_test.ok | 7 - openbsc/tests/sgsn/Makefile.am | 5 +- openbsc/tests/sgsn/sgsn_test.c | 41 +-- openbsc/tests/sndcp_xid/sndcp_xid_test.c | 10 +- openbsc/tests/testsuite.at | 5 +- openbsc/tests/vty_test_runner.py | 40 +-- 88 files changed, 1988 insertions(+), 964 deletions(-) create mode 100644 debian/openbsc-dev.install create mode 100755 openbsc/contrib/ipa.py create mode 100755 openbsc/contrib/twisted_ipa.py rename openbsc/include/openbsc/{gprs_gsup_client.h => gsup_client.h} (53%) rename openbsc/include/openbsc/{oap.h => oap_client.h} (67%) delete mode 100644 openbsc/include/openbsc/oap_messages.h delete mode 100644 openbsc/src/gprs/oap_messages.c rename openbsc/src/{gprs/gprs_gsup_client.c => libcommon/gsup_client.c} (67%) create mode 100644 openbsc/src/libcommon/gsup_test_client.c rename openbsc/src/{gprs/oap.c => libcommon/oap_client.c} (78%) rename openbsc/tests/oap/{oap_test.c => oap_client_test.c} (55%) create mode 100644 openbsc/tests/oap/oap_client_test.err create mode 100644 openbsc/tests/oap/oap_client_test.ok delete mode 100644 openbsc/tests/oap/oap_test.ok hooks/post-receive -- The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)