aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-10-10update LIBVERSION to reflect new API additions0.3.10Harald Welte2-2/+2
2011-10-10Added defines to use primitive/operation tuples in switch/case statementsAndreas Eversberg2-58/+23
2011-10-10LAPD: Moved timer handling into seperate functionsAndreas Eversberg1-72/+87
2011-10-10Split of LAPDm into a core part and a GSM specific partroot6-1670/+2631
Instead of mixing together the GSM layer 1 interface and RSL interface with the implementation of LAPD, the core function of LAPD is now extracted from LAPDm. The core implementation is now in lapd_core.c and lapd_core.h respectively. The lapd_core.c implements exactly one datalink instance for one SAP. The surrounding implementation "lapdm.c" codes/decodes the layer 2 headers and handles multiplexing and datalink instances, as well as translates primitives from/to RSL layer. lapd_core.c can now be used for other LAPD implementations. (ISDN/ABIS)
2011-10-10Changed logging of LAPD from DLLAPDM to DLLAPDroot2-4/+4
2011-10-09gsmtap: Add type/subtypes for GMR-1 protocolSylvain Munaut1-0/+23
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-08GSMTAP: Add comments to explain how to make GSMTAP changesHarald Welte1-0/+24
2011-10-08GSMTAP: Import changes from WiresharkHarald Welte1-0/+11
There have been some changes in the wireshark source code that have never been submitted to gsmtap.h GSMTAP_CHANNEL_PACCH has been defined in an incompatible way in mainline wirshark :(
2011-10-03vty: Provide documentation for all logging facilitiesHolger Hans Peter Freyther1-1/+10
Document all facilities in the log syslog command.
2011-10-03vty: Provide logging set-log-mask, deprecate set log maskHolger Hans Peter Freyther1-2/+12
There are no other commands on the set, log and mask level, create a simple set-log-mask command and deprecate the old way.
2011-09-28core/serial: Fix typoSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-28core/serial: support custom baud rates on OS XSylvain Munaut1-2/+22
Thanks to Richard James <xyzzy@mm.st> for the patch Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-26gsmtap: Fix doxygen doc for the recent additionsSylvain Munaut1-2/+22
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-26gsmtap: Add a _ex version of gsmtap_{makemsg,send} to specify content typeSylvain Munaut2-4/+30
From: iZsh <izsh@fail0verflow.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-26bring gsmtap.h in sync with recent wireshark additionsHarald Welte1-0/+4
2011-09-16core: Add generic CRC functions (templates expended to 8 16 32 64 bits)Sylvain Munaut5-2/+232
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-05update .gitignoreAlexander Huemer1-0/+1
2011-09-05correct declaration of osmo_sitype2rslAlexander Huemer1-1/+1
2011-09-04add missing declarations of cfg_description_cmd to vty/vty.h0.3.9Harald Welte1-0/+3
2011-09-03LAPDm: Fix encoding of RLL ERROR IE0.3.8Harald Welte1-1/+0
2011-09-02core/serial: Add utilities to deal with serial portsSylvain Munaut5-0/+269
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-02build/include: Only install headers for enabled optionsSylvain Munaut1-1/+9
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-02build: Remove docdir, don't comment itSylvain Munaut1-1/+0
The revision control is there to show the history, no point in leaving commented out bits Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-02gsm/gsm48_ie: Fix other range format decodingAndreas.Eversberg1-66/+63
As it turns out, the other range were affected too, so Anreas wrote the fix for them as well. Written-by: Andreas.Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-02RSL: add rsl_ipac_msg_name() for ipa specific RSL extension namesHarald Welte2-0/+37
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