summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [layer23/lapdm] Added more headroom for data indication to prevent underrunAndreas.Eversberg2010-08-121-1/+1
|
* [layer23] Removed hack: Allocate SDCCH when requesting a TCHAndreas.Eversberg2010-08-121-13/+12Star
| | | | | Includes removal of compiler warnings when selecting the right channel request type for TCH.
* [layer23] Paging response depends on the supported channels: SDCCH, TCH/F, ↵Andreas.Eversberg2010-08-113-6/+46
| | | | and TCH/H
* Added support for NMEA GPS receiverAndreas.Eversberg2010-08-105-1/+283
| | | | | | | This early support does not use the received postion, it just dumps it. Later it can be used to set clock of the phone. Also it can be used to calculate the location of a BTS.
* Added sequence number to L3 messages (see GSM 04.08 Clause 3.1.4.3)Andreas.Eversberg2010-08-103-2/+58
| | | | | | | | | This is required to detect duplicated messages during assignment or handover. Each PDISC uses its own sequence number, but MM+CC+SS share the same. The sequence number is only required in uplink direction. Dieter: Please check, if your tester eats it now. Also try to trace if the sequence number is set correctly.
* [layer23] use gsm48_decode_freq_list() which has been moved into libosmocoreHarald Welte2010-08-042-445/+14Star
|
* Merge commit '1523d7039d9b8c49a2174d93c3673aa8c5a100a9'Harald Welte2010-08-048-21/+510
|\
| * Import gsm48_decode_freq_list() from osmocom-bb/layer23Harald Welte2010-08-042-0/+445
| | | | | | | | This will enable us to use this function from OpenBSC / ipaccess-config
| * vty: Forward delcare the logging command.Holger Hans Peter Freyther2010-08-041-0/+2
| |
| * logging: Make sure we don't use "end of color" code if colors are turned offHarald Welte2010-07-301-1/+2
| |
| * add new hexdump_nospc() functionHarald Welte2010-07-302-2/+13
| |
| * move hexdump() from logging.c to utils.cHarald Welte2010-07-305-20/+21
| |
| * Import 'hexparse' function from OpenBSCHarald Welte2010-07-302-0/+29
| |
* | [layer23] Correctly release a call, if not yet acknowledged by the networkAndreas.Eversberg2010-08-012-1/+7
| |
* | layer23: Fix Makefile.am noinst_HEADERS for vty.hSylvain Munaut2010-07-301-1/+1
| | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | [layer23] request a layer1 reset on startup of layer2 applicationsSteve Markgraf2010-07-293-0/+3
| | | | | | | | | | | | | | This omits the need for starting layer23 applications before loading layer1 (which still works). Signed-off-by: Steve Markgraf <steve@steve-m.de>
* | Merge remote branch 'origin/sylvain/pending'Harald Welte2010-07-2986-733/+650Star
|\ \
| * | layer23: Unify the prefix of l1ctl TX functionsSylvain Munaut2010-07-276-27/+30
| | | | | | | | | | | | | | | | | | Some had tx_ph_XX, others l1ctl_tx_XXX and some l1ctl_tx_ph_XXX Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | l1ctl_proto: Use an enum for the message type rather than #definesSylvain Munaut2010-07-271-19/+22
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | l1ctl_proto.h: Fixup name of the guard ifdefSylvain Munaut2010-07-271-3/+3
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | include: Rename l1a_l23_interface.h to l1ctl_proto.hSylvain Munaut2010-07-2717-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | The interface between l1 and upper layer is called by several name. IMHO l1ctl is shorted and sounds good so try to unify using that. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | layer23: Use libosmocore rsl_chan_nr_str instead of local funcSylvain Munaut2010-07-271-28/+1Star
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | layer1/l23_api: Fix the L3_MSG_SIZE to include l1ctl header sizeSylvain Munaut2010-07-271-1/+1
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | shared/libosmocore: Make sure to use the 'infinite loop' abort handlerSylvain Munaut2010-07-271-1/+1
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | Merge commit '7459d6cfd1765f8431b3d9a262eff332f9af807c' into sylvain/pendingSylvain Munaut2010-07-2714-46/+405
| |\|
| | * core/msgb: Use the new osmo_panic call to handle errorsSylvain Munaut2010-07-251-4/+2Star
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| | * core: Add some generic panic handlingSylvain Munaut2010-07-255-2/+95
| | | | | | | | | | | | | | | | | | | | | | | | This also includes an option for a minimal 'infinite loop' type panic that could be required for embedded target that don't have abort() or fprintf() Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| | * build: Use AS_HELP_STRING macro to format the ./configure --help betterSylvain Munaut2010-07-251-4/+16
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| | * osmocore: Add utility function rsl_chan_nr_str to RSLSylvain Munaut2010-07-252-0/+29
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| | * msgb: Avoid warnings that the string might contain %s or such..Holger Hans Peter Freyther2010-07-231-1/+1
| | |
| | * gsm0808: Why should there be a lchan in the parameter...Holger Hans Peter Freyther2010-07-232-2/+2
| | |
| | * gsm0808: Import unaligned mem access fix from on-waves/bsc-masterHolger Hans Peter Freyther2010-07-232-5/+10
| | |
| | * gsm_utils: Move the gsm_7bit_alphabet into the impl and make it staticHolger Hans Peter Freyther2010-07-232-28/+27Star
| | |
| | * msgb: Check for available headroom/tailroom and abort() if we violate itHarald Welte2010-07-221-4/+31
| | |
| | * gsm_04_12.h: Add beginning of structs for SMS CBHolger Hans Peter Freyther2010-07-202-1/+33
| | | | | | | | | | | | | | | I am trying to understand the RSL and GSM 04.12 spec to implement CBS for OpenBSC...
| | * gsm_7bit_decode: rtext does not hold a null byte, reduce the sizeHolger Hans Peter Freyther2010-07-201-1/+1
| | | | | | | | | | | | | | | I have added the + 1 as I thought rtext will hold a terminating null byte but it will not.
| | * tests: don't hardcode length values of expected encoding gsm_7bit_encode:Nico Golde2010-07-202-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | make sure to return the number of actually written bytes gsm_7bit_decode: calculate length of resulting septets from input length before decoding The input length to gsm_7bit_decode reflects the number of encoded bytes to be decoded. As the decoding is done on the input in septetes we need to take this into account and recalculate the length.
| | * gsm_7bit_decode: Handle the case of the last charachter being an escapeHolger Hans Peter Freyther2010-07-191-1/+1
| | | | | | | | | | | | | | | If i + 1 == length and it is an escape charachter we would try to read rtext[length] which is one after the field we have allocated.
| | * tests: Separate encoding/decoding test to verify them independlyHolger Hans Peter Freyther2010-07-191-17/+78
| | | | | | | | | | | | | | | | | | Use the current test result as test data for future regression testing. The encode function appears to add too many zeros to the text.
| | * * rewrite GSM 7bit default encoding/decoding based on a lookup table as the ↵Nico Golde2010-07-193-21/+123
| | | | | | | | | | | | previous code produced wrong encodings for certain characters.
| * | layer23: Split [2/2] -> The header filesSylvain Munaut2010-07-2750-122/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This split the headers and adapt the source. We use osmocom/bb as a prefix because libosomore also uses osmocom and generic names such as misc & common could conflict in the future. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | layer23: Split [1/2] -> The source codeSylvain Munaut2010-07-2729-25/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | We split into : - common: Everything that can be shared - mobile: The real spec compliant mobile phones - misc: Different test stuff Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | layer23: Pre-rework of the Makefile.amSylvain Munaut2010-07-251-9/+8Star
| | | | | | | | | | | | | | | | | | liblayer23 contained a bunch of stuff that are not shared at all ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | layer23/include: Remove eXecutable permission bit from gsm322.hSylvain Munaut2010-07-251-0/+0
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | layer23: Switch to using gsmtap_util from libosmocomSylvain Munaut2010-07-2511-204/+4Star
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | layer23: Remove useless file telnet_interface.cSylvain Munaut2010-07-251-240/+0Star
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | layer23: Alloc some headroom in incoming l1ctl packetsSylvain Munaut2010-07-251-1/+2
| | | | | | | | | | | | | | | | | | | | | The upper layer will modify the headers and add somestuff in front, so it's needed to avoid corrupting memory. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * | fw/rf: Use printd for the trf6151_set_gain debug messageSylvain Munaut2010-07-251-1/+1
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | | [firmware] bring back gta0x imagesSteve Markgraf2010-07-232-15/+18
|/ / | | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* | [layer23] Fixed interpretation of the power measurement result.Andreas.Eversberg2010-07-221-1/+1
| |