summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-02-03firmware/fb: Fixed color component shiftAndreas Eversberg1-1/+1
2012-02-03firmware/fb: Adding transparent background color for fontsAndreas Eversberg1-2/+4
2012-02-03[PATCH] fw/fb/ssd1783: fix the RGB332 color paletteSteve Markgraf1-10/+20
We revert the initialization of the palette to the behaviour of the old non-fb driver. Signed-off-by: Steve Markgraf <steve@steve-m.de> Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-02-03firmare/framebuffer: Option to center textAndreas Eversberg2-1/+39
This is usefull, because actual width of proportional font text and display width may not be known to application.
2012-02-03firmware/framebuffer: Adding fixed with font with 8x8 pixlesAndreas Eversberg4-3/+1075
2012-02-03Calypso FB: Makefile, "dummy" driver, Hello WorldChristian Vogel3-6/+108
2012-02-03Calypso FB: C155 / SSD1783 Color SupportChristian Vogel4-0/+508
2012-02-03Calypso FB: C123 / ST7558 Black and White SupportChristian Vogel4-0/+480
2012-02-03Calypso FB: Main framebuffer header file.Christian Vogel2-0/+156
2012-02-03Calypso FB: 8 Fonts, header file and utility functions.Christian Vogel10-0/+9461
I only activate two fonts, Helvetica Regular 8pt and bold 14pt because the others bloat the binary too much.
2012-02-03Removing all traces of the old display drivers.Christian Vogel11-609/+4
2012-02-02Just a quick bug fix to gsm322.c.Kurtis Heimerl1-2/+3
Basically, there were two commands in an "else" block without brackets, causing the "end = 1023+299" command to execute regardless of the state of index. Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-01-29timers: comply with timer rename in libosmocoreHarald Welte5-25/+24
libosmocore has prefixed the timer functions with omso_* already in May 2011 (0b21c1c8850d7f33f55d9399d14055a7cdda3614), and we follow suit here for API consistency reasons.
2012-01-28layer1: Fixed power measurement, adding ARFCN wrappingAndreas Eversberg2-3/+4
Power measurement returned the first measurement result twice, now it is returned only once. Wrapping of ARFCN allows to measure the E-band en block. After measuring the ARFCN 1023, the ARFCN wraps to 0. Special flags like ARFCN_UPLINK or ARFCN_PCS are preserved while wrapping.
2012-01-28Hold function for power button to turn off the phoneAndreas Eversberg2-11/+17
In order to allow applications to use the power button, the keypad handler will wait half a second if the key is pressed and hold, until the power is turned off. This way the application does not need to handle it. The power off function will then wait until the button is released, so the phone will not start again while the button is still pressed.
2012-01-28Packing frequency stucture, so arrays of it require less memoryAndreas Eversberg1-1/+1
2012-01-28target/rf: Make the trf6151_set_arfcn use ARFCN_UPLINK flag to select UL/DLSylvain Munaut5-9/+15
This way we can independentely control what frequency we want and wheter we want to TX or RX. This allow TX on DL band and RX on UL band. This also means all call to tx_window setup now need to properly set the ARFCN_UPLINK flag ! Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-01-28firmware/layer1: Using queue to process received l23 frames in main loopAndreas Eversberg3-1/+26
Instead of processing the frames out of the interrupt context, they are queued until serial interrupt returns and main loop is processed.
2012-01-28Added callback function to forward L1CTL packets to rather than SERCOMAndreas Eversberg2-2/+11
This is experimental, maybe there should be a better way to do that.
2012-01-17host: Add support for the new gpsd APIPaul Wise1-1/+22
Written-by: Paul Wise <pabs3@bonedaddy.net> Acked-by: Peter Stuge <peter@stuge.se> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-01-10Merge commit '301f01e938e72423079afe1a1836937053481fd6'Sylvain Munaut64-132/+3812
2012-01-10libosmocore/lapd: Fixed handling of sequence errors at lapd_core.cAndreas.Eversberg1-3/+21
If a sequence error is received, the N(R) variable must still be used to acknowledge previously transmitted frames. If there are two subsequent sequence errors received, ignore it. (Ignore every second subsequent error.) This happens if our reply with the REJ is too slow, so the remote gets a T200 timeout and sends another frame with a sequence error. Test showed that replying with two subsequent REJ messages could the remote L2 process to abort. Replying too slow shouldn't happen, but may happen over serial link between BB and LAPD. Written-by: Andreas.Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-01-10Revert "libosmocore/lapd: Fixed handling of sequence errors at lapd_core.c"Sylvain Munaut1-21/+3
This reverts commit 506a3443ba52edf988fe2a0a54861738b777756e.
2012-01-02libosmocore/lapd: Fixed handling of sequence errors at lapd_core.cAndreas Eversberg1-3/+21
If a sequence error is received, the N(R) variable must still be used to acknowledge previously transmitted frames. If there are two subsequent sequence errors received, ignore it. (Ignore every second subsequent error.) This happens if our reply with the REJ is too slow, so the remote gets a T200 timeout and sends another frame with a sequence error. Test showed that replying with two subsequent REJ messages could the remote L2 process to abort. Replying too slow shouldn't happen, but may happen over serial link between BB and LAPD.
2012-01-02layer23/mobile: Fixed cell re-selection after loosing signalAndreas Eversberg1-3/+4
Test showed that loosing the signal in dedicated mode caused a complete rescann of all cells. By keeping the cell selected, the process can use the neighbour cell informations to do a quick search for the best cell afterwards.
2012-01-02layer23/mobile: Minor fix of debugging outputAndreas Eversberg1-1/+1
2012-01-02layer23/mobile: Fixed variable type, so home network is detected correctlyAndreas Eversberg2-2/+2
2012-01-02layer23/mobile: Enable SIM reader by defaultAndreas Eversberg1-2/+1
If there is no SIM card in the reader, the SIM process would automatically proceed without SIM anyway.
2011-12-14Fix generation of GPRS Routing Area in case of 3-digit MNCGus Bourg1-1/+1
This fixes a simple typo that causes erroneous GPRS Routing Area encoding if you use 3-digit MNCs.
2011-12-14host/osmocon: correct parsing of -mAlexander Huemer1-2/+3
Written-by: Alexander Huemer <alexander.huemer@xx.vu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-12-11layer23: Call talloc_free unconditionallyHolger Hans Peter Freyther1-5/+2
talloc_free will check for NULL and return -1. _talloc_free(void *pyr) { if (unlikely(ptr == NULL)) { return -1; } ...
2011-12-07auth_core: add missing string.h include to reduce warningsHarald Welte1-0/+1
2011-12-07auth_core: don't use anonymous unions to make certain gcc versions happyHarald Welte2-7/+7
2011-12-07auth_milenage: we now copy RAND in auth_core, no need to do it twiceHarald Welte1-1/+0
2011-12-07auth_core: Make sure we always save the RAND in the vectorHarald Welte1-1/+8
2011-12-07auth_core: add functions for parsing algorithm namesHarald Welte1-0/+20
2011-12-07add milenage internal headers to ensure 'make dist' worksHarald Welte1-0/+5
2011-12-06Auth: Import milenage implementation from hostap (Jouni Malinen)Harald Welte14-3/+1659
... and add integration into the osmo_auth core.
2011-12-06Add a generic abstraction for GSM/3G authentication algorithmsHarald Welte3-1/+141
Indiidual algorithms can be implemented as plugins. libosmogsm itself only provides COMP128v1 via this generic interface.
2011-12-06comp128: mark ki and srand as 'const' input parametersHarald Welte1-1/+1
2011-12-01increment LIBVERSION of libosmocore for new apiHarald Welte1-1/+1
2011-12-01SMS: export gsm411_bcdify() and gsm411_unbcdify() functionsHarald Welte1-20/+20
The same functions are e.g. required by the NITZ code in 04.08, and we don't want copy+paste.
2011-11-27i2c: fix maximum address an I2C chip can assignAlan Carvalho de Assis1-1/+1
I2C bus support up to 128 devices (mask 0x7F), but current calypso driver is masked it to 64 (0x3F). I discover it because Motorola W220 has an I/O expander PCA9537 at address 0x49 which could be reached. Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com> Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-11-25Removed obsolete gsm48-andreas directory from "host" treeAndreas Eversberg1-23/+0
It was part of early development of layer 3 protocols, but obsolete since a long time ago.
2011-11-24libosmocore: Update LIBVERSION because of ABI chaangesSylvain Munaut1-1/+1
The recent convolutional code changes break the ABI. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-24core/conv: Add utility methods to know length of coded/decoded vectorsSylvain Munaut1-0/+34
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-24core/conv: Add support for other termination types (trunc & tail biting)Sylvain Munaut1-32/+94
Note that this breaks the ABI and the low level API. But it shouldn't break the high level API, nor the conv code definitions (because fields default to 0, and for new fields '0' is the previous behavior) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-24core/conv: Really only consider error for non-zero soft valuesSylvain Munaut1-3/+6
This should have been done with 1dd7c84733b20ba776510369e9daba1a822c5b44 but somehow was missed and only applied to the 'finish' method and not the 'scan' method. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-24core/conv: Minor documentation improvementsSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-22layer23/ccch_scan: Replace fprintf() with LOGP() and print SI-idSteve Markgraf1-1/+2
Signed-off-by: Steve Markgraf <steve@steve-m.de>