summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2013-10-16EMI-App: Add command line interface to control App via serial consolejolly/emiAndreas Eversberg1-33/+191
2013-10-16Hack to prevent sercomm from getting stuck while sending.Andreas Eversberg1-2/+1
TBD...
2013-10-16Add command line tool 'osmocli' to talk to firmware Apps using console DCLIAndreas Eversberg2-1/+261
2013-10-05fw/calypso/dsp: Make dsp_extcode only load with trx appAndreas Eversberg8-17/+21
As dsp_extcode breaks power measurement and eventually other things, dsp_excode is only loaded with trx app, not with layer1 nor rssi.
2013-10-05Add EMI application to firmware appsAndreas Eversberg9-3/+1031
This application simulates electromagnetic interference caused by a GSM mobile station or a base station. See https://bb.osmocom.org/trac/wiki/emi-firmware for usage.
2013-10-05host/transceiver: Fix leak in AB processing codepathSylvain Munaut1-3/+11
Thanks to Andreas for pointing this out Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05host/layer23: Initial import of the transceiver applicationSylvain Munaut21-0/+2824
Build is optional because it depends on some extra libraries Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05fw/trx: Initial import of the TRX firmware applicationSylvain Munaut7-1/+1222
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05fw/l1/l23_api: Wire the L1CTL to the internal TRX interface & prim_btsSylvain Munaut1-0/+47
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05fw/l1: Initial import of new BTS primitiveSylvain Munaut5-0/+356
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05l1ctl: Add BTS mode message definitionsSylvain Munaut1-0/+33
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05fw/l1: Add 'TRX' internal interfaceSylvain Munaut3-2/+90
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>
2013-10-05fw/l1/tpu: Add function to open multi slot TX TPU windowSylvain Munaut2-0/+46
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05fw/calypso/dsp: Enable multi-slot TX mode of the ABBSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05fw/calypso/dsp: Import and load DSP extension patchSylvain Munaut2-3/+199
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05fw/calypso/uart: Tweak the RX irq threshold to avoid overrunSylvain Munaut1-1/+3
We use the extended mode to have a better control Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05build: Use a template system for the various host appsSylvain Munaut1-32/+12
This also now allows to pass specific configure arguments to each host application Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05fw/l1: add CBCH flag to dedicated modeAlex Badea8-14/+39
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-10-05[WIP] Ugly hack to compensate lost time on TS change (high TS -> low TS)Sylvain Munaut1-0/+22
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-10-05Menu App to select highram images from phone's flash memoryAndreas Eversberg2-1/+368
2013-09-26Fix wrong msgb_pull usageSylvain Munaut2-4/+4
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-06-19osmocon: Improve performance by handling several serial bytes at a timeAndreas Eversberg1-8/+19
2013-05-23host/mobile: Add 'extern' qualifier to config_dir in app_mobile.hBhaskar1-1/+1
This prevents duplication definition with main.c From: Bhaskar <niceguy108@gmail.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-05-23host/mobile: Fixup in error checking path of l23_app_initBhaskar1-3/+6
From: Bhaskar <niceguy108@gmail.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-05-23host/osmocon: fix some printf format specifier in handle_write_dnloadBhaskar1-1/+1
From: Bhaskar <niceguy108@gmail.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-05-23host/mobile: Fix trans_assign_trans_id() users error checkingSylvain Munaut2-2/+2
The returned value of trans_assign_trans_id() must be stored into a 'int' rather than uint8_t to allow proper testing of negative return values (errors). Thanks to Bhaskar <niceguy108@gmail.com> for the original patches. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-05-23gsm48_mm.h: Added get_mm_name() to headerBhaskar1-0/+1
2013-05-23gsm48_mm.c: Bugfix: payload_len should be signed intBhaskar1-1/+1
As we later check if payload_len < 0, it should be signed, not unsigned.
2013-05-23osmoload: Fix fall-out from msgb_get() / msgb_pull() transitionBhaskar1-1/+1
Bugfix in Osmoload.c: Assigning correct value to data pointer in LOADER_MEM_READ. Wrong value was introduced in last update when msgb_get() was replaced by msgb_pull() which returns end of data instead of start of data.
2013-04-14host/mobile: Remove duplicate A5/1 support indication in vty 'show support'Sylvain Munaut1-1/+0
Patch-by: Martin Hauke <mardnh@gmx.de> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-04-14host/mobile: Fix comment typoSylvain Munaut1-1/+1
Patch-by: Martin Hauke <mardnh@gmx.de> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-04-13doc: Fix build readme with system-wide libosmocore detailsSylvain Munaut1-4/+12
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-04-07fw: remove deprecated chainload appSteve Markgraf2-56/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-04-07osmocon: embed chainloaderSteve Markgraf1-44/+65
This allows to directly load highram-images on compal phones with the commandline-switch -c. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-03-07support.c: fix typo in commentHarald Welte1-1/+1
2013-01-13layer23: Be sure to close mncc socket on exit of mobile instanceAndreas Eversberg1-5/+5
2013-01-12layer23: Send SIM APDUs via GSMTAP, if enabledAndreas Eversberg1-1/+18
2013-01-10mobile: Fixed CLIR invokation / suppressionAndreas Eversberg1-2/+4
If "clip" is given at vty, CLIR must be suppressed, which results in presentation of caller ID digits, even if suppressed by network. If "clir" is given at vty, CLIR must be invoked, which results in restriction of caller ID digits, even if not suppressed by network. Note: This only work for outgoing caller ID. Incomming caller ID restriction cannot be suppressed.
2013-01-08misc: Fix typosDario Lombardo2-2/+2
2013-01-08mobile: Fixed ignoring of MDL-ERROR-INDAndreas Eversberg1-0/+1
Some MDL-ERROR causes must not lead to link failure. The missing "return 0" causes all errors to be ignored which are not listed inside switch/case statement.
2013-01-08fix: Use only single CCCH block to determine path lossAndreas Eversberg1-0/+7
The downlink singalling failure counter DSC is decremented by 4 in case of unsuccessfull decoding of CCCH block and incremented by 1 in case of successfull decoding of CCCH block. The initial and maximum value of 90 requires to check the signal only once per 51 multiframe. If DRX would be supported, only a subset of 51 multiframes are received, so the initial / maximum value of 90 must be reduced accordingly.
2013-01-07mobile: Allow test card to be maked as already attachedAndreas Eversberg5-16/+73
This way it is possible to use test card without making attachment to the network, if the LAI matches. It can be used to do faster testing.
2013-01-07mobile: Improved exit of mobile process, reset phoneAndreas Eversberg3-19/+62
If mobile phone has started, it is reset after shutdown. This ensures that the phone is not transmitting anymore, especially while shutting down in dedicated mode. Using CTRL+c: The first signal causes initiating of shutdown with detach procedure. The second signal causes initiating of shutdown without detach procedure. The third signal will exit process immidiately. (in case it hangs) Using CTRL+z: The first signal causes initiating of shutdown without detach procedure. A subsequent CTRL+c would exit process immidiately.
2013-01-05fw: pirelli_dpl10: initialize address line 22 for flash accessSteve Markgraf1-0/+6
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-05fw: apps/loader: initialize framebuffer and show somethingSteve Markgraf1-0/+23
Since we now initialize the display for all apps, it otherwise just shows the last content of the display ram, which is weird. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-05fw: keypad driver overhaul, support for different keymapsSteve Markgraf10-80/+90
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 Markgraf17-65/+123
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-05fw: introduce with_irq parameter for board_init()Steve Markgraf15-64/+53
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-05osmocon: make romloader output much less verboseSteve Markgraf1-20/+5
Most of the output was only for debug purposes anyway. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-02target: Add support for IQ swap when requiredSylvain Munaut12-8/+82
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>