aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-11-16ho act: omit BS Power, MS Power, TAneels/ho_tmpNeels Hofmeyr1-3/+15
Change-Id: If4f56e907b3a81124891668cc6253cd7921d9c6f
2020-11-16handover_test: drop secondary array of lchansNeels Hofmeyr1-29/+7
Change-Id: I7c80a16324d764969f279a5e1d6f55b0dbe9c17b
2020-11-16handover_test: change 'meas-rep' to bts-trx-ts-ss nr, add expect-ts-use to ↵Neels Hofmeyr1-108/+234
clarify Change-Id: I7ab2ef604196cfe96112dfefb9aa930368bf4812
2020-11-16handover test 30: play through filling up all lchansNeels Hofmeyr1-0/+44
Change-Id: I938ef9ebf77a4e72fc525f4f764daf34f17167ef
2020-11-16hodec 2: favor moving dyn TSNeels Hofmeyr2-65/+105
Change-Id: Ic221b8d2687cdec0bf94410c84a4da43853f0900
2020-11-16fix TCH/H allocation: use half occupied dyn TS instead of switching more dyn TSNeels Hofmeyr4-22/+40
Change-Id: I5a8d943f31774af00664d037550be14e767d312a
2020-11-16handover_test: add test 31: TCH/H: re-use dyn TSNeels Hofmeyr2-0/+19
Change-Id: If222835af92d832b848824e5466bdcaf9af8a614
2020-11-16handover_test: add set-ts-useNeels Hofmeyr1-10/+117
Change-Id: I6e90679bf22609fb72e53e3d11748a4070a38159
2020-11-16handover test: add test 30: de-congest TCH/F by moving to dyn TS TCH/HNeels Hofmeyr2-7/+66
Change-Id: I09ab9f2f79fa434c7279cb4d09899f69b047aa55
2020-11-16handover test: add 'expect-ts-use'Neels Hofmeyr1-0/+85
Change-Id: I6f4b573de7faace2d6bfe4f58b568e69c74dd07d
2020-11-16handover test: fix dyn ts: set pchan_is on act / relNeels Hofmeyr1-0/+33
Change-Id: I3284b4565ad2c3b124442f4373243da1518206ce
2020-11-16handover_test 9 of n: create-ms code cosmeticsNeels Hofmeyr1-7/+11
Change-Id: I7410f617e8b936ab37e7e51e4c649268d3d28c29
2020-11-16handover_test 8 of n: add 'create-bts' with trx count and ts cfgNeels Hofmeyr1-6/+39
Change-Id: Ic645cea671aa4798804666b8886f11bab5351e11
2020-11-16handover_test 7 of n: eliminate bts array and bts_num from main()Neels Hofmeyr1-13/+17
Change-Id: Ieb27403b97124771e4d28b9c69bf7c36288f396d
2020-11-16handover_test 6 of n: rename 'create-bts' to 'create-bts-default'Neels Hofmeyr1-31/+31
Change-Id: I4853771cf23b509b7f278d04c57883332ede786d
2020-11-16handover_test 5 of n: allow configuring several trx in create_bts()Neels Hofmeyr1-24/+28
Change-Id: Ie0d0c85552ba24802392423b60cfa3919e87563f
2020-11-16handover_test 4 of n: allow passing TS config to create_bts()Neels Hofmeyr1-13/+32
Change-Id: I3ae898be4a503060c6bf30ae89115a75461ffc27
2020-11-16handover_test 3 of n: simplify bts alloc checkNeels Hofmeyr1-4/+1
Change-Id: Id7a05ee8581a0f940534263611d5bbad9062318a
2020-11-16handover_test 2 of n: move generate_si() into create_bts()Neels Hofmeyr1-4/+5
Change-Id: I8ed468da53f7b0e5ba8125d1bebafebe8c5becbb
2020-11-16handover_test 1 of n: move arfcn into create_bts()Neels Hofmeyr1-4/+4
Change-Id: I6eb11e9f98c827cfcd819990db38b6848bf18b27
2020-11-16handover vty doc: explain rxqual valuesNeels Hofmeyr1-2/+5
Change-Id: I4f9d6b59c4f4a0550fb6a386342be55dcd777de8
2020-11-11Use osmo_fd_*_{disable,enable}Harald Welte4-13/+13
Depends: libosmocore.git Idb89ba7bc7c129a6304a76900d17f47daf54d17d Change-Id: I4e228399d21098cc9a99b9cc1aa42b24ec609159
2020-11-09osmo_bsc_bssap: actually check for lchanPhilipp Maier1-1/+1
The function bssmap_handle_cipher_mode() suggests to check if an lchan is actually present when it gets called, but it only checks for conn. This might lead to a segfault later in the execution path. Change-Id: I3103ec89cd6dce1a11ea8e9f8187373e4114e852
2020-11-09configure.ac: Require python3 for ext_testsDaniel Willmann1-3/+3
The python scripts already use #!/usr/bin/env python3 so it was pure coincidence that the tests are working. Change-Id: Id5745d5ff5ff1072ccfbf9ad50b2d67f3ea95583
2020-11-07debian/control: Recommend installation of osmo-mgwHarald Welte1-0/+1
osmo-bsc is pretty useless without osmo-mgw these days. Let's not make it a strong dependency, as the mgw could of course be running on different machines. Change-Id: I17711c6abdab0fc2d5d3afe1976d4248fd010e83
2020-11-02vty: add reminder messages about the radio link timeoutVadim Yanitskiy1-0/+18
Change-Id: Ief3af40cab1a62a276f9976fe1a1ca7aa2e13720 Related: SYS#4910
2020-10-29minor code dup: smlc_set_cs7_instance()Neels Hofmeyr1-20/+25
Change-Id: I140bbe9922d3c13ee48ca75171097768bb3e8ac5
2020-10-29add fixme comment for OS#3833Neels Hofmeyr1-0/+5
Change-Id: I103d968ffc5e362133fbf017493259048f37e607
2020-10-28fix missing RR release when there is no MSCNeels Hofmeyr1-1/+1
Related: OS#4832 Related: I4ffcfd4be551e0647abe00c4eaa8e9c490887190 (ttcn3 test case) Change-Id: I697ec1287f2e813b99d95e2855d0184b14eb2783
2020-10-28manual: describe LCS and Lb interfaceNeels Hofmeyr4-0/+136
Change-Id: I7ba432706759433987fabbc674bfc8cd55f2ce62
2020-10-26nm_channel_fsm: Fix innocuous transition not permitted log errorPau Espin Pedrol1-0/+1
Event NM_EV_OML_DOWN in allstate will transition to Disabled NotInstalled state. In the case where that is the current state, there's really no change but we didn't allow the transition. Let's allow it since it doesn't hurt and get rid of error messages when a BTS disconnects. Fixes: OS#4831 Change-Id: Ia5b7c88ff89e68ec5086d24f6ee20a8b3b2d994d
2020-10-24main: add --vty-ref-mode, use vty_dump_xml_ref_mode()Vadim Yanitskiy1-11/+34
Change-Id: I1a89829a29dd38fe69002c898503d76a3376a874 Depends: Ie2022a7f9e167e5ceacf15350c037dd43768ff40 Related: SYS#4910
2020-10-19use osmo_fd_setup() whenever applicableHarald Welte4-33/+15
Change-Id: Iee26d14e997cc77c49b8fc1a9f388e4e2f783105
2020-10-19bts: move rate counter / stat item definitions from *.h to *.cVadim Yanitskiy2-168/+392
A header file should only contain declarations, not entire definitions. The fact that we have 'static const struct ...' definitions in a header file means that very C file including this header file will get its own private copy of the entire definition. The header file should only include declarations, while the actual non-static definitions should go to a *.c file. Let's fix this. Also, take a chance to improve readability and apply more consistent formatting (similar to 'struct hf_register_info[]' in Wireshark). Change-Id: Ib5949879902acbe1edda577477d9d51a2cc425d1 Closes: OS#4816
2020-10-17ipa: Fix use of null pointer in log macroPau Espin Pedrol3-5/+5
Fixes: Coverity CID#214962 Fixes: Coverity CID#214963 Change-Id: Iafea915dbbbfbaa710fb5899cb9be5e507ba384c
2020-10-16drop features 'core-location-area-code' and 'core-cell-identity'Neels Hofmeyr5-69/+13
This feature apparently assigned a fixed LAC and CI to a specific MSC, but looking at the implementation was obviously not useful. Keep the vty commands for legacy compat, now without effect besides logging an error via vty_out(). Related: OS#4751 Change-Id: I6bee704e7e5d5b6b86473323bae1fa9fce9241ee
2020-10-15abis_nm: Log Opstart NACK with error loglevelPau Espin Pedrol1-1/+1
Change-Id: I586c3dd3547d35bca3d11f66dfad322e22c09068
2020-10-15OML: Stay compatible with older osmo-bts versionsPau Espin Pedrol6-17/+22
Older osmo-bts versions (before FSMs) tended to mimic broken behavior from nanoBTS. As so, we detect it because SiteMGr becomes Enabled by default as in nanoBTS, and hence we can manage them also by expecting no Offline state and sending Opstart (and hence finally transitting to Enabled) during Dependency state. Change-Id: Iaa036a2936f609b9b9721b2b4ad8d6deaf023f42
2020-10-15Introduce Radio Channel FSMPau Espin Pedrol16-16/+905
Change-Id: Iddc008c5737afb2fddd32c628bc5278056a64d89
2020-10-15Introduce NM RadioCarrier FSMPau Espin Pedrol18-30/+466
Change-Id: Ieed61d1fb1e896db42545c2c3421b20cb41ad549
2020-10-15Introduce NM BaseBand Transceiver FSMPau Espin Pedrol15-13/+466
Change-Id: Ib4d35316c52eb4c71ea0d352a1e06fd5e600fe08
2020-10-15Introduce NM BTS FSMPau Espin Pedrol18-12/+489
Change-Id: I7756a8ce90b6cc8a502b5665889a7987d7f749cb
2020-10-15Introduce NM BTS Site Manager FSMPau Espin Pedrol21-19/+518
Change-Id: Ic001ce6ebeff6f51470ef58140b0235f4a30265e
2020-10-15Set all NM OML objects to Locked by defaultPau Espin Pedrol3-2/+2
Before they were set with a value of 0, which had no related enum field, but since in general all comparsions are done against NM_STATE_UNLOCKED they also hold valid. The major change in behavior with this patch is upon OML link down, where gsm_bts_mo_reset() is called on all objects. This way, upon OML re-establishment we have again all objects as Locked again, which is the expected default value as per TS 12.21. Change-Id: I68ae0bc51a565f903b47cf72f3e3dd6f1a2d2651
2020-10-15LCS: Lb startup: no need to re-use existing SCCP userNeels Hofmeyr1-6/+1
This bit of code was borrowed from MSC handling, where multiple MSC might tap on the same SCCP user. There is only one remote SMLC, so there is no need to osmo_sccp_user_find(), just bind it and be done. Change-Id: Ia05c27c13dfb9df4f89c87b8477eea4e62fbe349
2020-10-15LCS: add proper BSSMAP-LE RESET re-using new generalized reset FSMNeels Hofmeyr2-28/+64
Previous commits to generalize the a_reset FSM prepare for this commit: use the same reset FSM for the Lb interface. Change-Id: I8c03716648f8c69d12d8f0a0bcec14f040d7cff2
2020-10-15add smlc.vty testNeels Hofmeyr1-0/+73
Change-Id: Icebc668205157758f693d0b6d026531a5d21192e
2020-10-15LCS: disable Lb interface by default, add vty 'smlc' / 'enable'Neels Hofmeyr3-8/+114
To not modify previous SCCP behavior of OsmoBSC, keep the Lb interface disabled by default. The following configuration enables the Lb interface: smlc enable Change-Id: I01314a29a2cad6f325d9f4687a9dedca6b90a3ce
2020-10-15BSSMAP RESET: also accept conn cfm events during ST_DISCNeels Hofmeyr1-0/+13
We don't really expect connection attempts during ST_DISC, but if the user happens to dispatch those events for whatever obscure reasons, treat them instead of erroring about an unallowed event. Change-Id: Ic7c60a40ff25ae647ee659259dfea769bc4592e4
2020-10-15BSSMAP RESET: tweak loggingNeels Hofmeyr1-2/+2
It is not particularly interesting to see a periodic "Sending RESET" to an unconnected MSC in the logs. De-escalate to LOGL_INFO to make it easier to configure away these logs. Sending a RESET ACK is much more interesting, because it indicates that a connection has been established. Note that additionally, there will be a log on DMSC LOGL_NOTICE whenever a link goes up or down, so the RESET logging does not add much crucial information for operation maintenance, see a_reset_link_up() / a_reset_link_lost(). Change-Id: I86d67d19e20135c4944613c8e99580ef0e22ea8d