summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include
AgeCommit message (Collapse)AuthorFilesLines
2014-06-15fw/l1: Initial import of new BTS primitiveSylvain Munaut3-0/+10
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15fw/l1: Add 'TRX' internal interfaceSylvain Munaut1-0/+45
This is a generic interface to submit and retrieve bursts to be transmitted. By default it has a dummy implementation that does nothing and it's up to the 'application' to provide a correct implementation. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15fw/l1/tpu: Add function to open multi slot TX TPU windowSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-06-15fw/l1: add CBCH flag to dedicated modeAlex Badea1-0/+3
Add a .dm_flags member to struct l1ctl_dm_est_req. Define a flag bit to indicate CBCH mode. If set, this instructs L1 to use the CBCH variant of SDCCH for dedicated mode (no uplink, no SACCH). Add the new dm_flags field to l1ctl_tx_dm_est_req* API calls. Clear it everywhere, except for app_cbch_sniff which requests CBCH. Signed-off-by: Alex Badea <vamposdecampos@gmail.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-05fw: keypad driver overhaul, support for different keymapsSteve Markgraf1-25/+5
Now the Pirelli DP-L10 keymap is supported. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-05fw: introduce per-board uart mappingSteve Markgraf3-7/+13
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-05fw: introduce with_irq parameter for board_init()Steve Markgraf1-1/+1
So far the loader-app used to do the init on its own, which brought a lot of problems for board- specific initialization. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-02target: Add support for IQ swap when requiredSylvain Munaut3-0/+15
Operation in GSM850 band requires IQ swap because of the offset PLL used in the TRF causing spectrum reversal. Thanks to Dieter Spaar for noticing the issue and the original patch Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-11-14fw/comm: remove unused, outdated copy of msgb.hSteve Markgraf1-161/+0
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-04-28firmware: Adding new font with symbols for battery and RX levelAndreas Eversberg1-0/+1
2012-04-28Further work on C123 charging.Christian Vogel1-5/+5
2012-04-28Battery charging for C123.Christian Vogel2-0/+52
2012-04-28Add MADC/battery related bit definitions in twl3025.hChristian Vogel1-0/+50
2012-03-29Fixed neighbour cell measurement task for SDCCH/8 multiframesAndreas Eversberg1-0/+1
Only on BCCH's multiframe we are allowed to measure on frames 0, 10, 20, 30, 40. On SDCCH/8 multiframe, measurements are performed on frame 50 only.
2012-02-12firmware: add missing includesSteve Markgraf1-0/+3
This fixes all 'implicit-function-declaration'-warnings. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-02-07firmware/timer: Added HZ as global defintion for jiffies per secondAndreas Eversberg1-0/+2
2012-02-04Improvement of neighbour cell power measurement task.Andreas Eversberg1-0/+1
5 measurements are now performed during a 51 multiframe. They are performed at one of the 5 FCCH. Additionally a timeslot offset can be given for each measurement. This way it is possible to measure each timeslot seperately. The given ARFCN must be in sync with the serving cell.
2012-02-03firmware: remove deprecated display drivers and fontsSteve Markgraf1-49/+0
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-02-03Calypso FB: RGB332 to RGB565 conversion function.Christian Vogel1-0/+20
2012-02-03firmware/framebuffer: Adding fixed with font with 8x8 pixlesAndreas Eversberg1-1/+2
2012-02-03Calypso FB: C155 / SSD1783 Color SupportChristian Vogel1-0/+27
2012-02-03Calypso FB: C123 / ST7558 Black and White SupportChristian Vogel1-0/+51
2012-02-03Calypso FB: Main framebuffer header file.Christian Vogel1-0/+128
2012-02-03Calypso FB: 8 Fonts, header file and utility functions.Christian Vogel1-0/+80
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 Vogel1-56/+0
2012-01-29timers: comply with timer rename in libosmocoreHarald Welte1-11/+10
libosmocore has prefixed the timer functions with omso_* already in May 2011 (0b21c1c8850d7f33f55d9399d14055a7cdda3614), and we follow suit here for API consistency reasons.
2012-01-28target/rf: Make the trf6151_set_arfcn use ARFCN_UPLINK flag to select UL/DLSylvain Munaut1-1/+3
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 Eversberg1-0/+1
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 Eversberg1-0/+2
This is experimental, maybe there should be a better way to do that.
2011-11-13target/fw/sim: SIM Layer 1 driverSylvain Munaut1-17/+5
Originally written by dexter and then Andreas did a lot of cleanup work to bring it into shape for inclusion in master Written-by: Philipp Maier <zero-kelvin@gmx.de> Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-18fw/display: Add and build SSD1963 display driver for the SE J100iSteve Markgraf1-0/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-07-28fw/layer1/l23_api: Add processing of the new audio_modeSylvain Munaut2-0/+4
This currently just stores it into the l1 sync state struct Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-07-28fw/l1: Add a queue for traffic frame to send to network (TRAFFIC_REQ)Sylvain Munaut1-0/+1
Also hard limit to maximum 4 pending frames (should not happen !), the upstream is supposed to do its own flow control. Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-07-17[layer1] Adding neighbour cell measurement code to layer1.Andreas Eversberg3-0/+14
When listening to BCCH, layer1 may measure the power level of neighbour cells. A list of neighbour cell frequencies need to be sent to layer1. After the measurement is done, the results are indicated to layer23.
2011-07-17[rf] Adding rffe_set_gain() and rffe_get_gain() to get/set computed gainAndreas Eversberg2-4/+12
rffe_compute_gain() is the new name for rffe_set_gain(). I needed to change this, to solve the name collision with the rffe_set_gain() function, which actually sets the absolute gain. rffe_get_gain() will now read the absolute gain which has been computed by rffe_compute_gain() or set by rffe_set_gain().
2011-06-25fw/l1a: Add a message to safely count the length of a txqueueAndreas Eversberg1-0/+3
(that is by locking) Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-29fw/rffe: Add function to query RF wiringSylvain Munaut1-0/+14
Depending on the chipset and the HW, not all ports are connected and we need to know what we can use when we have the choice ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-15src: use namespace prefix osmo_timer*Pablo Neira Ayuso1-6/+6
Summary of changes: s/struct timer_list/struct osmo_timer_list/g s/bsc_add_timer/osmo_timer_add/g s/bsc_schedule_timer/osmo_timer_schedule/g s/bsc_del_timer/osmo_timer_del/g s/bsc_timer_pending/osmo_timer_pending/g s/bsc_nearest_timer/osmo_timers_nearest/g s/bsc_prepare_timers/osmo_timers_prepare/g s/bsc_update_timers/osmo_timers_update/g s/bsc_timer_check/osmo_timers_check/g
2011-05-05target/boards: add infrastructure for loaders for Mediatek platformsWolfram Sang3-0/+311
We are just interested in the loaders here, no other applications needed. Split it from the compal-based phones. Add mt62xx as first user. Based on a patch by steve-m, but cleaned up and seperated from compal/calypso. Signed-off-by: Steve Markgraf <steve@steve-m.de> Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
2011-05-05uart.h: move header out of calypso-directoryWolfram Sang1-3/+3
Everything defined is a pretty generic interface and can be used by mediatek, too. Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
2011-04-26src: use new libosmogsm and include/osmocom/[gsm|core] path to headersPablo Neira Ayuso9-10/+10
This patch changes include paths to get osmocom-bb working with the current libosmocore tree. Among all these renames, you can notice several tweaks that I added on purpose, and that require some explanation, they are: * hexdump() in osmocon.c and osmoload.c has been renamed to avoid clashing with hexdump() defined in libosmocore. * gsmmap now depends on libosmogsm. Actually I had to cleanup Makefile.am because I was experiencing weird linking problems, probably due to a bug in the autotools. With the change included in this patch, I got it compiled and linked here correctly. This patch has been tested with the phone Motorola C123 and the following images files: * firmware/board/compal_e88/hello_world.compalram.bin * firmware/board/compal_e88/layer1.compalram.bin Using the osmocon, bcch_scan and mobile tools. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-04-24fw/calypso: Add a new driver for the buzzer controlSylvain Munaut1-0/+34
Written-by: Jose Luis Pereira <onaips@gmail.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-03-20fw/layer1: Adding TAO loop to correct TPU window offsetAndreas Eversberg2-0/+11
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-01-24target/fw: set the TRF6151 tsp IDs from the rffe initializationSteve Markgraf2-1/+2
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-01-11fixed typos in commentsThomas Waldmann1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-12-20stdint.h: Next attempt at making this work with various compilersHolger Hans Peter Freyther1-0/+7
Newer GCC with GNU LIBC do not like our minimalistic version of stdint.h and will have conflicts. Older GCC with older C Libs do not have a stdint.h yet and the #include_next trick is failing. To make matters worse NEWLIB does not export its version via the pre-processor. We will have to guess once more about the compiler. This code now assumes that if we have a GCC < 4 that it does not have a stdint.h and we will not try to include the next stdint.h file.
2010-12-12[mtk] Add initial / unfinished MT6139 driverHarald Welte1-0/+60
2010-11-09add definitions for sciphone G2Harald Welte2-0/+40
2010-11-09add some header files about MTK GSM related peripheralsHarald Welte4-0/+226
2010-11-07target/fw/l1: Fix TCH/H by properly scheduling the TCHD task during 'off' slotsSylvain Munaut1-0/+1
Apparently the DSP needs to be run even during the slots without actual bursts exchange. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>