Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gsm/gsm48_ie: Fix Range 256 format decoding | Sylvain Munaut | 2011-09-01 | 1 | -20/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the mail: --- appended is another patch for fixing a bug in the calculation of the frequency lists. This time the patch is for the "Range 256 format". The problem is that the operand for the "smod" operation might be negative, in this case the simplified version won't work as expected. In the patch I introduced a separate function for "smod" which takes care of the sign. I have not yet checked if the other formats are also affected, this would be the case if the "smod" operand can be negative. There might be other solutions to fix the problem without the need for a separate function, however I have not thought further about it. A test vector is the following frequency list ("Range 256 format", first byte is the length): 09 8b 1c 83 8c 15 ef 02 2d 30 The correct ARFCNs are 569 571 576 578 586 608 712 715 719 The uncorrected version would instead return: 444 457 460 464 569 576 578 586 608 This means four ARFCNs are wrong which will cause problems if for example the frequency list contains the ARFCNs for hopping. ---- Written-by: Dieter Spaar <spaar@mirider.augusta.de> Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
* | logging: include stdarg.h for va_list | Christoph Fritz | 2011-09-01 | 1 | -0/+1 |
| | | | | | | | | | | fixes tiny compile error: CC socket.lo In file included from socket.c:13: ../include/osmocom/core/logging.h:31: error: expected declaration specifiers or ‘...’ before ‘va_list’ make[3]: *** [socket.lo] Error 1 | ||||
* | add functions for bit-reversal | Harald Welte | 2011-09-01 | 6 | -1/+128 |
| | | | | | Sometimes we need stuff like reversing every bit in each byte (but not the byte-order). | ||||
* | logging: add osmo_vlogp() as vararg / va_list compatible function | Harald Welte | 2011-08-31 | 2 | -4/+8 |
| | |||||
* | doxygen: Add main page for all three libraries | Harald Welte | 2011-08-30 | 3 | -0/+113 |
| | |||||
* | signal: Fix compiler warning about signedness of constant | Holger Hans Peter Freyther | 2011-08-22 | 1 | -2/+2 |
| | | | | | | | Use the u suffix to mark the constant as unsiged integer. This fixes: warning: this decimal constant is unsigned only in ISO C90 | ||||
* | update .gitignore with Doxyfile.core | Harald Welte | 2011-08-20 | 1 | -1/+1 |
| | |||||
* | add script to generate http://www.osmocom.org/doc tree structure | Harald Welte | 2011-08-20 | 1 | -0/+14 |
| | |||||
* | Make sure 'make distclean' works for doxygen | Harald Welte | 2011-08-20 | 1 | -0/+3 |
| | |||||
* | consistent Doxyfile naming | Harald Welte | 2011-08-20 | 3 | -4/+4 |
| | |||||
* | update makefile.am to support out-of-tree builds | Harald Welte | 2011-08-20 | 1 | -5/+5 |
| | | | | | | Conflicts: Makefile.am | ||||
* | doxygen: document some more structure members for RSL | Harald Welte | 2011-08-18 | 1 | -14/+21 |
| | |||||
* | doxygen automake integration: make sure the 'doc' directory exists | Harald Welte | 2011-08-17 | 1 | -1/+5 |
| | |||||
* | doxygen: fix correct use of doc/core subdirectory | Harald Welte | 2011-08-17 | 2 | -2/+2 |
| | |||||
* | update .gitignore | Harald Welte | 2011-08-17 | 1 | -0/+9 |
| | |||||
* | Integrate doxygen documentation building into autoconf/automake process | Harald Welte | 2011-08-17 | 3 | -0/+41 |
| | |||||
* | don't keep autotools-generated Doxyfiles around | Harald Welte | 2011-08-17 | 4 | -6864/+0 |
| | |||||
* | Auto-generate the version information of Doxygen documentation | Harald Welte | 2011-08-17 | 10 | -4/+6877 |
| | |||||
* | doxygen: Add documentation for Abis OML | Harald Welte | 2011-08-17 | 3 | -29/+98 |
| | |||||
* | doxygen: split VTY configuration in multiple files | Harald Welte | 2011-08-17 | 5 | -4/+15 |
| | |||||
* | RSL: add doxygen documentation | Harald Welte | 2011-08-17 | 3 | -13/+45 |
| | |||||
* | Add doxygen configuration for libosmocodec | Harald Welte | 2011-08-17 | 1 | -0/+1716 |
| | |||||
* | doxygen: make sure the right C source files are included | Harald Welte | 2011-08-17 | 3 | -4/+4 |
| | |||||
* | Split doxygen configuration to create separate gsm/vty/core docs | Harald Welte | 2011-08-17 | 3 | -3/+3435 |
| | |||||
* | doxygen: Add documentation for LAPDm code | Harald Welte | 2011-08-17 | 2 | -64/+116 |
| | |||||
* | doxygen: Add documentation about TLV parser | Harald Welte | 2011-08-17 | 2 | -28/+83 |
| | |||||
* | Fix version number in Doxyfile (0.3.5) | Harald Welte | 2011-08-17 | 1 | -1/+1 |
| | | | | | We need a way to automatically generate this from git tags in the future... | ||||
* | doxygen: Add (partial) VTY API documentation | Harald Welte | 2011-08-17 | 7 | -86/+209 |
| | |||||
* | doxygen: Add documentation for gsmtap_util.[ch] | Harald Welte | 2011-08-17 | 2 | -21/+61 |
| | |||||
* | doxygen: Add documentation to signal.[ch] | Harald Welte | 2011-08-17 | 2 | -3/+33 |
| | |||||
* | doxygen: Add documentation for prim.h | Harald Welte | 2011-08-17 | 1 | -9/+26 |
| | |||||
* | doxygen: document panic.[ch] | Harald Welte | 2011-08-17 | 2 | -1/+18 |
| | |||||
* | doxygen: Add docs for rate_ctr | Harald Welte | 2011-08-17 | 2 | -26/+53 |
| | |||||
* | doxygen: Add 'write_queue' module | Harald Welte | 2011-08-17 | 2 | -24/+34 |
| | |||||
* | doxygen: add doxygen module 'utils' | Harald Welte | 2011-08-17 | 2 | -54/+58 |
| | |||||
* | doxygen documentation for logging framework | Harald Welte | 2011-08-17 | 3 | -30/+137 |
| | |||||
* | some more doxygen work (include the notion of modules) | Harald Welte | 2011-08-17 | 18 | -215/+381 |
| | |||||
* | start to add doxygen documentation to libosmocore headers | Harald Welte | 2011-08-17 | 1 | -0/+1716 |
| | |||||
* | start to add doxygen documentation to libosmocore headers | Harald Welte | 2011-08-16 | 9 | -52/+507 |
| | |||||
* | logging: fix parsing of logging mask (-d DMI case) | Pablo Neira Ayuso | 2011-08-11 | 1 | -0/+5 |
| | | | | | | Without this patch, `-d DMI' enables logging for DMI and DMIB. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org> | ||||
* | Merge branch 'master' of git.osmocom.org:libosmocore | Harald Welte | 2011-08-02 | 3 | -6/+6 |
|\ | |||||
| * | gsm/gsm48_ie: Fix frequency list decoding | Andreas.Eversberg | 2011-07-30 | 1 | -1/+1 |
| | | | | | | | | | | Fix-by: Andreas.Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | ||||
| * | fix off-by-one error in OSMO_NUM_DLIB | Harald Welte | 2011-07-29 | 1 | -1/+1 |
| | | | | | | | | | | This bug was introduced in 95f7eb288c4b8b69d61fa8d68957fb21f09e11e5 and it caused a segfault on 'write terminal' | ||||
| * | use the 'L' prefix in debug names (DLINP instead of DINP) | Harald Welte | 2011-07-29 | 1 | -4/+4 |
| | | |||||
* | | add new 'osmo-arfcn' program to compute frequency based on arfcn | Harald Welte | 2011-08-02 | 4 | -1/+110 |
|/ | | | | The freq -> arfcn side still needs to be implemented. | ||||
* | add definition of OSMO_MIN macro, similar to OSMO_MAX | Harald Welte | 2011-07-27 | 1 | -0/+1 |
| | |||||
* | sms: Fix style issues with the code, add spaces after keywords | Holger Hans Peter Freyther | 2011-07-24 | 1 | -5/+5 |
| | |||||
* | sms: SMS where cropped (from VTY), concatenation of SMS where not possible | Dennis Wehrle | 2011-07-24 | 3 | -43/+306 |
| | | | | | | | | | | | | Additionally it wasn't possible to send concatenated sms from the vty. To send multiple sms, it is necessary to use padding bits and add a user_data_header. Therefore the gsm_7bit_encode function was splitted to gsm_7bit_encode and gsm_septets2octets. gsm_septets2octets: this is the old gsm_7bit_encode function + additional padding parameter Additionally the gsm_7bit_decode function was modified to take account for the user_data_header. With the new gsm_get_octet_len function you can get the octet length for a given septet length. I also added several sms tests. | ||||
* | vty: Increase the number of arguments one can have in VTY commands | Holger Hans Peter Freyther | 2011-07-24 | 1 | -1/+1 |
| | | | | | | | | For some interactive commands (e.g. sending a SMS in OpenBSC) we are using the "NAME." arg definition. For the usecase of sending SMS it is not enough to only allow about 13 spaces. Increase the limit. Original patch is coming from Dennis Wehrle. | ||||
* | don't call a function argoment 'class' for the benefit of c++ users | Harald Welte | 2011-07-23 | 1 | -1/+1 |
| | | | | This had broken lcr compilation... |