summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/calypso/dsp.h
AgeCommit message (Collapse)AuthorFilesLines
2011-11-20firmware/dsp: Send framenumber, TSC, checksum and magic via MCSIsteve-m/burst_mcsiSteve Markgraf1-0/+1
In addition to the last commit we now send: * a burst start magic * the framenumber * the Training Sequence Code number * 2 simple XOR checksums The data of a burst now looks like: struct burst { uint8_t garbage1; uint8_t magic[8]; /* "IQDATAv1" in ASCII */ uint16_t iq_samples[302]; uint16_t iq_lrc; uint8_t garbage2; uint16_t demod[34]; uint32_t fn; uint16_t tsc; uint16_t demod_lrc; }; Signed-off-by: Steve Markgraf <steve@steve-m.de>
2010-10-25target/fw/dsp: Add utility function to memcpy to/from the APISylvain Munaut1-0/+2
Copying to/from the DSP API shared memory must be done using 16 bits word only. Using those method, we avoid the hassle of repeating the code when we copy buffer back and forth. API address must be 16 bits aligned but for our purpose, it's good enough. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-17fw/dsp: Add function to load dsp ciphering parametersSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-09-17fw: Update dsl_load_tch_params to set the fn_sid, fn_report and fn_a5Sylvain Munaut1-2/+5
Mix between Dieter's version in tch branch and how the TSM30 does it. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-06-25[layer1] Activate AGC implementationHarald Welte1-0/+2
The target input level at the ABB ADC / DSP baseband downlink path is just an estimate and might have to change
2010-03-01Prepare DSP functions needed for Uplink (Tx)Harald Welte1-0/+2
* Tell DSP to properly initialize ABB(TWL3025) registers at first DSP interrupt * Initialize the entire API RAM to zero on dsp_power_on() * Tell DSP to initialize the APCRAM to all-zero to preven accidential Tx * Set number of GUARD bits to 8 * Add function to configure TCH parameters: dsp_load_tch_param()
2010-02-18Initial import of OsmocomBB into git repositoryHarald Welte1-0/+31