summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gsm/gsm48_ie: Fix Range 256 format decodingSylvain Munaut2011-09-011-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_listChristoph Fritz2011-09-011-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-reversalHarald Welte2011-09-016-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 functionHarald Welte2011-08-312-4/+8
|
* doxygen: Add main page for all three librariesHarald Welte2011-08-303-0/+113
|
* signal: Fix compiler warning about signedness of constantHolger Hans Peter Freyther2011-08-221-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.coreHarald Welte2011-08-201-1/+1
|
* add script to generate http://www.osmocom.org/doc tree structureHarald Welte2011-08-201-0/+14
|
* Make sure 'make distclean' works for doxygenHarald Welte2011-08-201-0/+3
|
* consistent Doxyfile namingHarald Welte2011-08-203-4/+4
|
* update makefile.am to support out-of-tree buildsHarald Welte2011-08-201-5/+5
| | | | | | Conflicts: Makefile.am
* doxygen: document some more structure members for RSLHarald Welte2011-08-181-14/+21
|
* doxygen automake integration: make sure the 'doc' directory existsHarald Welte2011-08-171-1/+5
|
* doxygen: fix correct use of doc/core subdirectoryHarald Welte2011-08-172-2/+2
|
* update .gitignoreHarald Welte2011-08-171-0/+9
|
* Integrate doxygen documentation building into autoconf/automake processHarald Welte2011-08-173-0/+41
|
* don't keep autotools-generated Doxyfiles aroundHarald Welte2011-08-174-6864/+0
|
* Auto-generate the version information of Doxygen documentationHarald Welte2011-08-1710-4/+6877
|
* doxygen: Add documentation for Abis OMLHarald Welte2011-08-173-29/+98
|
* doxygen: split VTY configuration in multiple filesHarald Welte2011-08-175-4/+15
|
* RSL: add doxygen documentationHarald Welte2011-08-173-13/+45
|
* Add doxygen configuration for libosmocodecHarald Welte2011-08-171-0/+1716
|
* doxygen: make sure the right C source files are includedHarald Welte2011-08-173-4/+4
|
* Split doxygen configuration to create separate gsm/vty/core docsHarald Welte2011-08-173-3/+3435
|
* doxygen: Add documentation for LAPDm codeHarald Welte2011-08-172-64/+116
|
* doxygen: Add documentation about TLV parserHarald Welte2011-08-172-28/+83
|
* Fix version number in Doxyfile (0.3.5)Harald Welte2011-08-171-1/+1
| | | | | We need a way to automatically generate this from git tags in the future...
* doxygen: Add (partial) VTY API documentationHarald Welte2011-08-177-86/+209
|
* doxygen: Add documentation for gsmtap_util.[ch]Harald Welte2011-08-172-21/+61
|
* doxygen: Add documentation to signal.[ch]Harald Welte2011-08-172-3/+33
|
* doxygen: Add documentation for prim.hHarald Welte2011-08-171-9/+26
|
* doxygen: document panic.[ch]Harald Welte2011-08-172-1/+18
|
* doxygen: Add docs for rate_ctrHarald Welte2011-08-172-26/+53
|
* doxygen: Add 'write_queue' moduleHarald Welte2011-08-172-24/+34
|
* doxygen: add doxygen module 'utils'Harald Welte2011-08-172-54/+58
|
* doxygen documentation for logging frameworkHarald Welte2011-08-173-30/+137
|
* some more doxygen work (include the notion of modules)Harald Welte2011-08-1718-215/+381
|
* start to add doxygen documentation to libosmocore headersHarald Welte2011-08-171-0/+1716
|
* start to add doxygen documentation to libosmocore headersHarald Welte2011-08-169-52/+507
|
* logging: fix parsing of logging mask (-d DMI case)Pablo Neira Ayuso2011-08-111-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:libosmocoreHarald Welte2011-08-023-6/+6
|\
| * gsm/gsm48_ie: Fix frequency list decodingAndreas.Eversberg2011-07-301-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_DLIBHarald Welte2011-07-291-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 Welte2011-07-291-4/+4
| |
* | add new 'osmo-arfcn' program to compute frequency based on arfcnHarald Welte2011-08-024-1/+110
|/ | | | The freq -> arfcn side still needs to be implemented.
* add definition of OSMO_MIN macro, similar to OSMO_MAXHarald Welte2011-07-271-0/+1
|
* sms: Fix style issues with the code, add spaces after keywordsHolger Hans Peter Freyther2011-07-241-5/+5
|
* sms: SMS where cropped (from VTY), concatenation of SMS where not possibleDennis Wehrle2011-07-243-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 commandsHolger Hans Peter Freyther2011-07-241-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++ usersHarald Welte2011-07-231-1/+1
| | | | This had broken lcr compilation...