summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/rf
AgeCommit message (Collapse)AuthorFilesLines
2012-11-14target: Add support for IQ swap when requiredSylvain Munaut1-0/+3
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-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>
2011-07-17[rf] Adding rffe_set_gain() and rffe_get_gain() to get/set computed gainAndreas Eversberg1-3/+9
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-04-26src: use new libosmogsm and include/osmocom/[gsm|core] path to headersPablo Neira Ayuso1-1/+1
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-01-24target/fw: set the TRF6151 tsp IDs from the rffe initializationSteve Markgraf1-1/+1
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-07-19[firmware] TRF6151: fix VGA gain calculation bugHarald Welte1-7/+0
We've had two sets of TRF6151 GAIN related #defines which were used in an incorrect manner, resulting in a vga_gain of 60, which is outside of the allowed gain range. Thanks to Dieter Spaar for spotting this bug
2010-06-25[layer1] fix AGC computation (dbm vs. dbm8 mistakes)Harald Welte1-3/+3
Also, separate the rx window function from the AGC LNA value computation
2010-06-25[layer1] An actual AGC implementationHarald Welte1-0/+12
We introduce trf6151_compute_gain() to compute the gain setting that leads to the ideal analog baseband power input level. This function is called from rffe_set_gain() for both the compal and the gta0x rf frontend, as there are no other amplifiers inside those phone designs. The new AGC function is not used yet from the regular layer1 code.
2010-03-07start to use libosmocore within the firmwareHarald Welte1-1/+1
* 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-01TRF6151: Add new trf6151_tx_window() functionHarald Welte1-0/+2
This function takes care of starting a Tx (Uplink) window
2010-03-01TRF6151: add Uplink supportHarald Welte1-0/+1
2010-02-18Initial import of OsmocomBB into git repositoryHarald Welte1-0/+35