summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/comm
AgeCommit message (Collapse)AuthorFilesLines
2012-02-07firmware/timer: Added HZ as global defintion for jiffies per secondAndreas Eversberg1-0/+2
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.
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-04-26src: use new libosmogsm and include/osmocom/[gsm|core] path to headersPablo Neira Ayuso3-3/+3
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>
2010-04-24sercomm: implemented a trivial echo dlci.Ingo Albrecht1-0/+1
2010-03-08Fix some compiler warnings...Holger Hans Peter Freyther1-0/+1
Some real issues are still left and we need to act on them.
2010-03-07start to use libosmocore within the firmwareHarald Welte3-6/+3
* remove linuxlist.h copy and use osmocore * don't put 'struct gsm_time' into l1ctl packets * include rx_level and snr for each burst in l1ctl * properly build libosmocore.a for target * move gsmtime functions into libosmocore * move ctype.h to standard location
2010-03-07add comment on why using cons_puts() from msgb.hHarald Welte1-0/+3
2010-03-07Skeleton of bootloader.Ingo Albrecht1-0/+1
2010-03-07Buffer formatting and scanning functions.Ingo Albrecht1-0/+21
2010-03-07Some msgb formatting functions.Ingo Albrecht1-0/+20
2010-03-07add 'struct timer_list' timer code similar to linux + OpenBSCHarald Welte1-0/+76
We now support arbitrary timers by means of 'struct timer_list'. Any part of the program can register such a callback by means of schedule_timer() on a millisecond-granularity. However, there is no guarantee on the timer precision. It will not execute before the timer expires - but it might expire quite a bit later than we have asked it for, depending on how busy the cpu is with other work. The timer code is in the 'comm/' directory, as it is intended to be migrated into libosmocore soon. Furthermore, as we currently don't yet have a scheduler or tasks, the main() routine explicitly has to call update_timers() to check for any expired timers and run them.
2010-03-02Inter-Layer intergration workHarald Welte1-0/+2
L1 and L2 now pass UI frames like BCCH and CCCH downlink up into L3, which detects an IMMediate ASSignment command and instructs the L1 to switch to SDCCH/4. From this point on, SDCCH/4 and SACCH4/C messages end up in our L2 LAPDm implementation and are forwarded to L3.
2010-03-01print error message if tailroom is insufficient during msgb_put()Harald Welte1-4/+8
2010-03-01add msgb_l1() and msgb_l1len() inline functionsHarald Welte1-0/+6
2010-02-28ensure we always have 256bytes net data size, excluding 4 bytes headroomHarald Welte1-1/+1
2010-02-23Calypso TPU: Introduce TPU debug modeHarald Welte1-0/+1
Using #define TPU_DEBUG, we can now send the full TPU RAM contents to the host PC (using a sercomm DLCI) at the time of tpu_enable() which is very helpful for TPU debugging.
2010-02-21sercomm_cons: allocate 252 bytes net data size plus 4 bytes headroomHarald Welte2-2/+2
2010-02-21fix msgb_talroom() calculationHarald Welte1-1/+1
2010-02-20build of osmocon using libosmocoreHarald Welte1-1/+1
2010-02-18Initial import of OsmocomBB into git repositoryHarald Welte3-0/+171