aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess
AgeCommit message (Collapse)AuthorFilesLines
2011-03-04prefix sub-directories containing libraries with 'lib'Harald Welte1-5/+7
... and make sure tests work again after restructuring
2011-03-03re-structure the OpenBSC directory layoutHarald Welte1-3/+9
The new structure divides the code into a number of libraries for the BSC core functionality, MSC core functionality, Abis transport, TRAU and other bits. This doesn't introduce any functional code change but simply moves around files and alters Makefile.am accordingly. Next step would be to disentangle a lot of the inter-library dependencies and make the individual bits of code more independent.
2011-02-19Install programs into $(prefix)/bin, not /sbinHarald Welte1-1/+1
At least in many configurations, there is no need to run any of our programs as root. Thus, we shouldn't install them in sbin.
2011-02-11[BSC] Move the BTS-type specific code from bcs_init.c to bts_*.cHarald Welte1-27/+15
bsc_init.c was a big mess even only for two supported BTS models, so before adding more BTS types, this needs a cleanup. All the BTS specific code from bsc_init.c has now moved into bts_{siemens_bs11,ipaccess_nanobts}.c This has required that input_event() and nm_state_event() get both converted to proper libosmocore signals instead of referencing external symbols.
2011-01-01License change: We are now AGPLv3+ instead of GPLv2+Harald Welte5-24/+39
The reason for this is quite simple: We want to make sure anyone running a customized version of OpenBSC to operate a network will have to release all custom modifiations to the source code.
2010-12-21ts Make the e1inp_ts delay configurableHolger Hans Peter Freyther1-0/+2
Currently the nanoBTS bootstrap code requires a high delay otherwise we are not bringing the device up properly. Changing the init code turns out harder than it seems like. So this is a workaround for that to allow a high speed RSL/OML connection after the bringup. The line driver can have a default TS delay. It is set to the current default for the nanoBTS and the BS11. For the ipaccess case we will set the delay lower for the RSL connection and inside the ipaccess-config we can set it low right away to have fast firmware flashing and such.
2010-11-15misc: Introduce a --enable-coverage mode to build with gprof coverageHolger Hans Peter Freyther1-2/+2
This adds a test coverage build. One can use gcov and lcov on the resulting data afterwards to see which code paths were executed and which were not.
2010-10-06misc: Once again go from "On Waves" to "On-Waves"..Holger Hans Peter Freyther2-2/+2
Try to get the company name of our sponsor right...
2010-08-04ipaccess-config / NWL: Decode + print neighbor cell ARFCNsHarald Welte1-3/+29
2010-07-30ipaccess-config: Don't dump the Rxlevel statisticsHarald Welte1-2/+2
2010-07-30ipaccess-config: Terminate program after running BCCH INFO testHarald Welte1-1/+5
2010-07-30network_listen: dump BSIC as part of BCCH INFO testHarald Welte1-2/+2
2010-07-30ipaccess-config: Add option to disable color in log outputHarald Welte1-1/+5
2010-07-22network_listen: hexdump the SI2/SI2bis/SI2ter messages once we get themHarald Welte1-0/+6
2010-07-22[ipaccess-config] fix bugs in generating the PHYSICAL CONFIG attributeHarald Welte2-5/+10
... while asking the BTS to perform tests for us. The length of the ARFCN whitelist is the actual length in bytes, not the number of 16bit ARFCN numbers. Also, implement a limit, either by rxlevel or by number of ARFCN that should end up in the whitelist.
2010-07-22[ipaccess-config] make sure the ARFCN Whitelist EIE is built correctlyHarald Welte1-2/+2
2010-07-22ipaccess-config/network-listen updateHarald Welte2-7/+51
* transition through cycles of NWL tests
2010-07-22ipaccess-config / network listen: ordered list of RxLevelsHarald Welte2-10/+58
Use libosmocore 'rxlev_stat' module to generate an ordered list of ARFCN's, sorted by RxLev while performing test nr. 64
2010-07-22move ip.access netowrk listen (NWL) to network_listen.cHarald Welte3-81/+189
Also, we now re-start the network listen test after it has finished, so if you run a test from ipaccess-find, the test will get re-started and re-started all the time.
2010-06-28[ipaccess-config] Better way to set/unset NVRAM attributesHarald Welte1-3/+57
there are now human-readable names so you can do something like ipaccess-config -U dhcp-enabled -S static-ip -S static-gw 192.168.100.120 to unset DHCP and to set static IP and gateway attributes.
2010-06-28[ipaccess-config] Enable setting of static IP address / netmask / gatewayHarald Welte1-43/+126
However, the 'static IP address' NVRAM flags are not yet set correctly
2010-06-28[ipaccess-config] use msgb to make use of various tlv put functionsHarald Welte1-29/+30
This looks so much better than the *cur++ type code. Also, we now terminate ipaccess-config once the NV flags or Unit ID have been set, not just for the OML IP address.
2010-06-10ipa-proxy: Remove printf debugging.Holger Hans Peter Freyther1-2/+0
2010-06-10ipa-proxy: Patch the IPA Set Attribute messages for NSVCIHolger Hans Peter Freyther1-1/+46
We will tell the BTS where we are listening, but the ACK will return the original settings... this should make it possible to intercept the GPRS stream..
2010-06-10ipa-proxy: Fix the send routine.. convert port to network orderHolger Hans Peter Freyther1-1/+3
2010-06-09ipa-proxy: Only handle some stuff of the CCM locally...Holger Hans Peter Freyther1-4/+11
This is a good interim solution for messages not handled by us, right now this would include the NVRAM attributes that I do not feel like caching right now.
2010-06-09ipa-proxy: Move UDP socket code to the BTS and forward messages...Holger Hans Peter Freyther1-20/+77
Forward messages from BTS to Network, Network to BTS... now we only need to fix the Set GPRS attributes on the fly...
2010-06-09ipa-proxy: Add option to locally listen to GPRS...Holger Hans Peter Freyther1-2/+67
This is just the boilerplate code, the rest is not implemted yet.
2010-06-09ipa: Print the IP addr in the listen as well..Holger Hans Peter Freyther1-2/+3
2010-06-09ipa: Say which addr could not be connected...Holger Hans Peter Freyther1-1/+2
2010-06-09ipaccess-proxy: Add getopt based config options to the proxy...Holger Hans Peter Freyther1-0/+70
Make the ip addresses configurable and such.
2010-06-09ipa: Increase msgb size for the IPA msg in the proxy.Holger Hans Peter Freyther1-1/+1
2010-05-31ipaccess-config: More verbose help messageHarald Welte1-9/+9
2010-05-14ipaccess-config: Silence compiler warning.Holger Hans Peter Freyther1-0/+2
2010-05-13ipaccess: Make sure flashing of the secondary BTS is workingHolger Hans Peter Freyther1-5/+5
Use the TRX throughout the flash process.
2010-05-13sw_load: Specify the trx_nr for the software loadHolger Hans Peter Freyther1-1/+1
For the multi TRX setup we will need to specify the right trx->nr to be able to flash the BTS. For the BS11 case we are ignoring the additional argument.
2010-05-13ipaccess: Send the reset to the BASEBAND_TRANSC and supply TRXHolger Hans Peter Freyther1-8/+7
Send the IPA Restart to a given BTS/TRX, change the signal callbacks to carry the trx instead of the BTS so we have an easy access to the right TRX and change the ipaccess-config to use that TRX. This is fixing the restart with a multi TRX setup. Even if we have the msg->trx, use the gsm_bts_trx_by_nr and get the TRX from the fom header. This is because the OpenBSC and the BTS numbering might not match for the multi TRX case.
2010-05-13ipaccess: Refactor... unite some codeHolger Hans Peter Freyther1-11/+11
2010-05-13ipaccess: Use the right trx when performing the testHolger Hans Peter Freyther1-1/+1
2010-05-13ipaccess: Use the current TRX to set the OML address.Holger Hans Peter Freyther1-1/+1
2010-05-13ipaccess: Wait for the BASEBAND_TRANSCEIVER and then bootstrap OMLHolger Hans Peter Freyther1-17/+16
Currently we are connecting to the BTS and once the OML is established we are bootstrapping the OML. This does not work for a multi TRX setup as we will need to use a trx_nr != 0 for it. Change the code to wait for a message (in this case NM OC_BASEBAND_TRANSC) to detect the trx_nr used by the BTS and then use that TRX to bootstrap the network. I have tested setting the unit id on a single and multi trx system for the first and second trx.
2010-05-13abis: Pass the abis_om_obj_inst in the nm_state_event..Holger Hans Peter Freyther1-1/+2
2010-05-12[ipaccess] Attempt to fix setting unit ids with a multi trx setupHolger Hans Peter Freyther1-3/+12
Add a --trx/-t NR option to set the TRX nr to be used when calling set unit id and NVRAM. This was not tested and might or might not work.
2010-05-04misc: Use $(top_srcdir) for source, $(top_builddir) for libsHolger Hans Peter Freyther1-1/+2
We should not use ../ for adding sources or libraries as the user might have a srcdir != builddir setup.
2010-05-04move ipaccess tools into their own subdirectoryHarald Welte1-0/+12
They will now be built fully inside src/ipaccess, using their own Makefile.am
2010-03-30[ipaccess] Avoid bogus compiler warning about uninitialized varsHolger Hans Peter Freyther1-0/+1
2010-03-29[misc] Remove whitespace from the end of the line.Holger Hans Peter Freyther2-3/+3
2010-03-26move log/debug codebase to libosmocoreHarald Welte2-16/+16
The logging/debugging code is generic enough to move it into libosmocore while keeping OpenBSC specific definitions in openbsc itself. This commit uses the logging support present in libosmocore-0.1.2, you will have to update your library to this version.
2010-03-24ipa: Make it possible to specify -w and -f in any orderHolger Hans Peter Freyther1-3/+9
Currently one has to put -w in front of -f to really write the firmware file to disk. Change the config handling to first take all parameters and then execute on them. This means -f can now be used with any other parameter.
2010-03-22ipa-firmware: Fix the write out of the firmware partsHolger Hans Peter Freyther2-2/+2
Use the start address inside the header entry, the start is relative to the surrounding SDP record which is located in our base offset, when writing it out also ignore four bytes of something (crc?).