aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-09-02Added autoconf option for utilities and embeddedjob2-0/+27
2011-09-02Adapted configure options to autoconf default behaviourjob2-15/+15
2011-09-01gsm/gsm48_ie: Fix Range 256 format decodingSylvain Munaut1-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>
2011-09-01logging: include stdarg.h for va_listChristoph Fritz1-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
2011-09-01add functions for bit-reversalHarald Welte6-1/+128
Sometimes we need stuff like reversing every bit in each byte (but not the byte-order).
2011-08-31logging: add osmo_vlogp() as vararg / va_list compatible functionHarald Welte2-4/+8
2011-08-30doxygen: Add main page for all three librariesHarald Welte3-0/+113
2011-08-22signal: Fix compiler warning about signedness of constant0.3.7Holger Hans Peter Freyther1-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
2011-08-20update .gitignore with Doxyfile.core0.3.6Harald Welte1-1/+1
2011-08-20add script to generate http://www.osmocom.org/doc tree structureHarald Welte1-0/+14
2011-08-20Make sure 'make distclean' works for doxygenHarald Welte1-0/+3
2011-08-20consistent Doxyfile namingHarald Welte3-4/+4
2011-08-20update makefile.am to support out-of-tree buildsHarald Welte1-5/+5
Conflicts: Makefile.am
2011-08-18doxygen: document some more structure members for RSLHarald Welte1-14/+21
2011-08-17doxygen automake integration: make sure the 'doc' directory existsHarald Welte1-1/+5
2011-08-17doxygen: fix correct use of doc/core subdirectoryHarald Welte2-2/+2
2011-08-17update .gitignoreHarald Welte1-0/+9
2011-08-17Integrate doxygen documentation building into autoconf/automake processHarald Welte3-0/+41
2011-08-17don't keep autotools-generated Doxyfiles aroundHarald Welte4-6864/+0
2011-08-17Auto-generate the version information of Doxygen documentationHarald Welte10-4/+6877
2011-08-17doxygen: Add documentation for Abis OMLHarald Welte3-29/+98
2011-08-17doxygen: split VTY configuration in multiple filesHarald Welte5-4/+15
2011-08-17RSL: add doxygen documentationHarald Welte3-13/+45
2011-08-17Add doxygen configuration for libosmocodecHarald Welte1-0/+1716
2011-08-17doxygen: make sure the right C source files are includedHarald Welte3-4/+4
2011-08-17Split doxygen configuration to create separate gsm/vty/core docsHarald Welte3-3/+3435
2011-08-17doxygen: Add documentation for LAPDm codeHarald Welte2-64/+116
2011-08-17doxygen: Add documentation about TLV parserHarald Welte2-28/+83
2011-08-17Fix version number in Doxyfile (0.3.5)Harald Welte1-1/+1
We need a way to automatically generate this from git tags in the future...
2011-08-17doxygen: Add (partial) VTY API documentationHarald Welte7-86/+209
2011-08-17doxygen: Add documentation for gsmtap_util.[ch]Harald Welte2-21/+61
2011-08-17doxygen: Add documentation to signal.[ch]Harald Welte2-3/+33
2011-08-17doxygen: Add documentation for prim.hHarald Welte1-9/+26
2011-08-17doxygen: document panic.[ch]Harald Welte2-1/+18
2011-08-17doxygen: Add docs for rate_ctrHarald Welte2-26/+53
2011-08-17doxygen: Add 'write_queue' moduleHarald Welte2-24/+34
2011-08-17doxygen: add doxygen module 'utils'Harald Welte2-54/+58
2011-08-17doxygen documentation for logging frameworkHarald Welte3-30/+137
2011-08-17some more doxygen work (include the notion of modules)Harald Welte18-215/+381
2011-08-17start to add doxygen documentation to libosmocore headersHarald Welte1-0/+1716
2011-08-16start to add doxygen documentation to libosmocore headersHarald Welte9-52/+507
2011-08-11logging: fix parsing of logging mask (-d DMI case)Pablo Neira Ayuso1-0/+5
Without this patch, `-d DMI' enables logging for DMI and DMIB. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-08-02Merge branch 'master' of git.osmocom.org:libosmocoreHarald Welte3-6/+6
2011-08-02add new 'osmo-arfcn' program to compute frequency based on arfcnHarald Welte4-1/+110
The freq -> arfcn side still needs to be implemented.
2011-07-30gsm/gsm48_ie: Fix frequency list decodingAndreas.Eversberg1-1/+1
Fix-by: Andreas.Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-07-29fix off-by-one error in OSMO_NUM_DLIBHarald Welte1-1/+1
This bug was introduced in 95f7eb288c4b8b69d61fa8d68957fb21f09e11e5 and it caused a segfault on 'write terminal'
2011-07-29use the 'L' prefix in debug names (DLINP instead of DINP)Harald Welte1-4/+4
2011-07-27add definition of OSMO_MIN macro, similar to OSMO_MAX0.3.5Harald Welte1-0/+1
2011-07-24sms: Fix style issues with the code, add spaces after keywordsHolger Hans Peter Freyther1-5/+5
2011-07-24sms: SMS where cropped (from VTY), concatenation of SMS where not possibleDennis Wehrle3-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.