aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/ipaccess
AgeCommit message (Collapse)AuthorFilesLines
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?).
2010-03-22ipa-firmware: Write the firmware parts to a fileHolger Hans Peter Freyther2-5/+60
The first non working version to dump the content of the sdp to the terminal..
2010-03-22ipa-firmware: Add the entry first and then seekHolger Hans Peter Freyther1-3/+4
The sub entry might not be a SDP file so it is best to add the read entry, add it to the list and then attempt to recursively parse this one.
2010-03-22ipa-firmware: Lift the requirement of having a table_offset of zeroHolger Hans Peter Freyther1-8/+4
Make the code work/skip the other table and find the entries at the given offset. This appears to work.
2010-03-22ipa-firmware: Remove the part_length from the struct sdp_firmwareHolger Hans Peter Freyther1-5/+20
* The length of the table is not at a fixed position. We will need to read the offset, seek there, read the data, convert it to the host endianes. * Prepare the code to work with offsets of 0...
2010-03-22ipa-firmware: Look at the table offsetHolger Hans Peter Freyther1-0/+7
* The two dummy bytes appear to be an offset, check that they are zero and refuse to work when they are not.
2010-03-22ipa-firmware: Warn/Exit when the required ids can not be found.Holger Hans Peter Freyther1-5/+13
2010-03-22ipa-firmware: Remove dummy check...Holger Hans Peter Freyther1-3/+0
We have derefenced that way before and would have crashed already.