Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-25 | Merge commit '52b4abdcb351830f5493a50c4181ef3947f3feab' | Harald Welte | 6 | -136/+122 | |
2010-03-25 | convert openbsc to use libosmocore-0.1.1 API | Harald Welte | 4 | -7/+8 | |
the 0.1.1 API is cleaned up and removes all exported global static arrays (like rlm_cause_strs). There are now proper accessor functions. | |||||
2010-03-25 | replace rsl_rlm_cause_strs with rsl_rlm_cause_name() | Harald Welte | 2 | -5/+9 | |
2010-03-25 | current version needs exactly 0.1.0 version of libosmocore | Harald Welte | 1 | -1/+1 | |
2010-03-25 | replace gsm48_cc_msg_names[] with gsm48_cc_msg_name() | Harald Welte | 2 | -70/+54 | |
and implement the backend using value_string | |||||
2010-03-25 | use more value_string in gsm48 and rsl | Harald Welte | 2 | -61/+54 | |
2010-03-25 | get_value_string(): return "unknown 0x..." instead of "unknown" | Harald Welte | 1 | -1/+5 | |
2010-03-25 | increase the use of 'struct value_string' in abis_nm and gsm_data | Harald Welte | 2 | -247/+183 | |
2010-03-25 | debug: Make the global target loglevel overwrite the category level | Holger Hans Peter Freyther | 1 | -1/+1 | |
Together with the previos -e Number option one can easily turn on debugging without needing to remember the category masks for a quick check on what is going on. | |||||
2010-03-25 | bsc_hack: Add other known options to the list | Holger Hans Peter Freyther | 1 | -1/+3 | |
2010-03-25 | bsc_hack: Add option to set the global log level. | Holger Hans Peter Freyther | 1 | -1/+6 | |
2010-03-24 | rll_establish: When on a TCH always use the SACH for SAPI!=0 | Holger Hans Peter Freyther | 1 | -2/+1 | |
When we are on a TCH/H or TCH/F always use the SACH for SAPI!=0 for the establishment otherwise it will never be answered. This can be tested by starting to page with a traffic channel and then trying to submit the SMS. | |||||
2010-03-24 | ipa: Fix the previous patch and initialize the fds to -1 | Holger Hans Peter Freyther | 1 | -0/+6 | |
The code in 354ef81d8062510765b7280023b3f4ef98d0613a checked for fd >= 0 but on startup the struct is memset to 0 so this test is true. Initialize the fds to -1 to make the code work and be able to handle all ranges of the fd. | |||||
2010-03-24 | Move the version/copyright string to a separate file | Holger Hans Peter Freyther | 3 | -15/+33 | |
It didn't really belong into the bsc_init.c... now we could even easily autogenerate this file. | |||||
2010-03-24 | Make the compiler happy and use a puts | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-03-24 | Include bscconfig.h without ../ for the srcdir != build dir case | Holger Hans Peter Freyther | 2 | -2/+2 | |
2010-03-24 | Move the copyright and version header to bsc_init.c | Holger Hans Peter Freyther | 2 | -10/+16 | |
The copyright/version will be used from within the VTY code which might be linked into binaries even when bsc_hack.c is not linked into it. | |||||
2010-03-24 | ipa: Handle corrupt incoming messages without crashing | Holger Hans Peter Freyther | 1 | -6/+14 | |
Attempt to read the three byte IPA header. If we read 0 then the socket can be closed otherwise we need to read three bytes, if we don't we do have a failure. After having parsed the header we need to evaluate the length, if the length is bigger than would fit into our buffer we will ignore that and print an error. This is fixing a crash when the BTS is crashing... | |||||
2010-03-24 | ipa: Reduce the throttling of the IPA msges | Holger Hans Peter Freyther | 1 | -1/+1 | |
This code used to be a sleep, it was changed to be a timer by Andreas but this timer does not seem to have any use. When doing the sw load this timer is increasing the upload time dramatically, reduce it to make it work faster. | |||||
2010-03-24 | ipa: Make it possible to specify -w and -f in any order | Holger Hans Peter Freyther | 1 | -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-24 | ipa: Use two defines instead of magic numbers | Holger Hans Peter Freyther | 1 | -8/+11 | |
We spearate OML/RSL by putting a magic number into the priv_nr. Use a define instead of ordinary integers. | |||||
2010-03-24 | ipaccess: Handle the case of replacing RSL connections | Holger Hans Peter Freyther | 1 | -0/+7 | |
Fix a infinite loop when establishing a new RSL connection and the BSC is identifying itself with a unit id of an already established RSL connection. The infinite loops happens because we are corrupting the the linuxlist inside the bsc_fd when registering the bfd twice. Due the lack of proper authentication favor the new RSL connection as the real one and close the previous one. | |||||
2010-03-24 | Create a dummy m4 directory to make autoreconf --install --force work | Holger Hans Peter Freyther | 1 | -0/+1 | |
Even when removing AC_CONFIG_MACRO_DIR aclocal insisted that it needs to have a m4 directory. Make it happy by providing one. As git is not tracking directories I needed to add a dummy file. | |||||
2010-03-23 | depend on libosmocore 0.1.0 | Harald Welte | 1 | -1/+1 | |
this creates a hard dependency to a certain base version of the library | |||||
2010-03-23 | Merge commit '4cd3d8a2c7982ba11d05d2500b1bfca44f440d1e' | Harald Welte | 4 | -3/+168 | |
2010-03-23 | add git-version-gen magic to automatically generate package version | Harald Welte | 4 | -3/+168 | |
2010-03-23 | bump version to 0.1.0 | Harald Welte | 1 | -1/+1 | |
2010-03-23 | automatically include program version and print it from vty and --version | Harald Welte | 8 | -19/+221 | |
2010-03-22 | Add 'libosmocore/' from commit '045cc22baeb7f12dcb0022b79a1984d86e922870'openbsc/0.9.0 | Harald Welte | 54 | -0/+9325 | |
git-subtree-dir: libosmocore git-subtree-mainline: e164d29e7f6c86d1f6f047bbf58159e46a11425f git-subtree-split: 045cc22baeb7f12dcb0022b79a1984d86e922870 | |||||
2010-03-22 | gprs: remove (the already unused) si13_template | Harald Welte | 1 | -16/+0 | |
system_information.c and rest_octets.c don't need a template... | |||||
2010-03-22 | GPRS: make NSEI configurable from VTY | Harald Welte | 3 | -0/+25 | |
2010-03-22 | GPRS: don't allow VTY configuration of GPRS parameters if GPRS inactive | Harald Welte | 1 | -0/+30 | |
2010-03-22 | GPRS: remove outdated FIXME about patching CGI | Harald Welte | 1 | -1/+0 | |
2010-03-22 | GPRS: set SI3 GPRS indicator dependent on bts->gprs.enabled | Harald Welte | 1 | -1/+3 | |
2010-03-22 | GPRS: remove "#define GPRS" compile-time define | Harald Welte | 1 | -16/+14 | |
It is now possible to enable/disable GPRS support purely based on the vty / config file. | |||||
2010-03-22 | GPRS: make NSVC parameters VTY-configurable | Harald Welte | 3 | -10/+88 | |
2010-03-22 | Create new gprs-conf branch with the non-SGSN part of the gprs branch | Harald Welte | 8 | -22/+270 | |
This new gprs-conf branch is intended to contain everything needed to configure GPRS in the nanoBTS, but without implementing the SGSN/GGSN functionality. The SGSN/GGSN development will happen in a branch based on this branch called "gprs-sgsn" | |||||
2010-03-22 | ipa-firmware: Fix the write out of the firmware parts | Holger Hans Peter Freyther | 2 | -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-22 | ipa-firmware: Write the firmware parts to a file | Holger Hans Peter Freyther | 3 | -5/+61 | |
The first non working version to dump the content of the sdp to the terminal.. | |||||
2010-03-22 | ipa-firmware: Add the entry first and then seek | Holger Hans Peter Freyther | 1 | -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-22 | ipa-firmware: Lift the requirement of having a table_offset of zero | Holger Hans Peter Freyther | 1 | -8/+4 | |
Make the code work/skip the other table and find the entries at the given offset. This appears to work. | |||||
2010-03-22 | ipa-firmware: Remove the part_length from the struct sdp_firmware | Holger Hans Peter Freyther | 2 | -7/+21 | |
* 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-22 | ipa-firmware: Look at the table offset | Holger Hans Peter Freyther | 1 | -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-22 | ipa-firmware: Warn/Exit when the required ids can not be found. | Holger Hans Peter Freyther | 1 | -5/+13 | |
2010-03-22 | ipa-firmware: Remove dummy check... | Holger Hans Peter Freyther | 1 | -3/+0 | |
We have derefenced that way before and would have crashed already. | |||||
2010-03-22 | ipa-firmware: The more_more_magic is to indicate the payload | Holger Hans Peter Freyther | 1 | -4/+0 | |
* Ignore the value of the field there is no sematnic change to the content of the file.. | |||||
2010-03-22 | debug: Use the right enum value for the ref counting group. | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-03-22 | osmocore: Add a direct l4h to the union of l4h pointers | Holger Hans Peter Freyther | 1 | -0/+1 | |
This is needed for the BSSAP code of the On Waves/BSC master branch | |||||
2010-03-22 | fix compiler warnings (itsme <itsme@xs4all.nl>) | Harald Welte | 3 | -3/+3 | |
* added several 'const' for strings. * added 'extern' to declarations of rsl_rlm_cause_strs | |||||
2010-03-11 | gsm48.h: Make the array extern to a silence a linker warning | Holger Hans Peter Freyther | 1 | -1/+1 | |
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `rsl_rlm_cause_strs' changed from 8 in ./openbsc/src/libbsc.a(abis_rsl.o) to 120 in /usr/local/lib/libosmocore.so spotted and sent to the list by Andreas |