summaryrefslogtreecommitdiffstats
path: root/src
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-041-0/+435
| | | | | | | | This will enable us to use this function from OpenBSC / ipaccess-config
| * 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-301-2/+12
| |
| * move hexdump() from logging.c to utils.cHarald Welte2010-07-303-19/+20
| |
| * Import 'hexparse' function from OpenBSCHarald Welte2010-07-301-0/+27
| |
* | [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-2985-710/+624Star
|\ \
| * | 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>
| * | include: Rename l1a_l23_interface.h to l1ctl_proto.hSylvain Munaut2010-07-2716-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: Add some generic panic handlingSylvain Munaut2010-07-252-1/+72
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * osmocore: Add utility function rsl_chan_nr_str to RSLSylvain Munaut2010-07-251-0/+26
| | | | | | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| | * gsm0808: Why should there be a lchan in the parameter...Holger Hans Peter Freyther2010-07-231-1/+1
| | |
| | * gsm0808: Import unaligned mem access fix from on-waves/bsc-masterHolger Hans Peter Freyther2010-07-231-4/+9
| | |
| | * gsm_utils: Move the gsm_7bit_alphabet into the impl and make it staticHolger Hans Peter Freyther2010-07-231-0/+27
| | |
| | * 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-201-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * * rewrite GSM 7bit default encoding/decoding based on a lookup table as the ↵Nico Golde2010-07-191-20/+79
| | | | | | | | | | | | 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
| |
* | [layer23] Re-structured the VTY commands for SIM insert/removeAndreas.Eversberg2010-07-224-16/+23
| | | | | | | | Now the commands are "sim testcard <ms> [<mcc> <mnc>] " or "sim remove <ms>"
* | flash: corrected coding styleIngo Albrecht2010-07-221-109/+136
| |
* | [display] add driver for the Toppoly TD014, as used in the C139/C140Steve Markgraf2010-07-203-1/+186
| | | | | | | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* | [apps] add chainloading applicationSteve Markgraf2010-07-202-1/+54
| | | | | | | | | | | | It does nothing more than jumping to the Calypso romloader. Signed-off-by: Steve Markgraf <steve@steve-m.de>
* | [osmocon] add a chainloading mode for the compal ramloaderSteve Markgraf2010-07-201-6/+27
| | | | | | | | | | | | | | | | | | The idea is to load a small application to the phone, which activates and executes the Calypso romloader. The payload itself then is loaded with the romloader, bypassing the magic and the resulting size limit on the C139/C140 and J100i. Signed-off-by: Steve Markgraf <steve@steve-m.de>
* | firmware: moved cfi_flash header to flash subdirectoryIngo Albrecht2010-07-206-5/+5
| |
* | firmware: small makefile reorgIngo Albrecht2010-07-202-29/+34
| |
* | firmware: fixed irq-less keypad supportIngo Albrecht2010-07-201-3/+9
| |
* | firmware: moved dead-brain-flags to primary makefileIngo Albrecht2010-07-202-9/+9
| |