summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/calypso/dsp.h
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2011-11-20 15:35:20 +0100
committerSteve Markgraf <steve@steve-m.de>2011-11-20 15:35:20 +0100
commit4f9dc140bbe0d776a01da6ec1806fd5b26e6d370 (patch)
tree17ae7bcee9b9e5276bf20d210c37486e7bba6b2b /src/target/firmware/include/calypso/dsp.h
parent711eec8b4f429bcf87b511779bc1dcc63783e87a (diff)
firmware/dsp: Send framenumber, TSC, checksum and magic via MCSIsteve-m/burst_mcsi
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>
Diffstat (limited to 'src/target/firmware/include/calypso/dsp.h')
-rw-r--r--src/target/firmware/include/calypso/dsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/firmware/include/calypso/dsp.h b/src/target/firmware/include/calypso/dsp.h
index e4801cbf..3cba2545 100644
--- a/src/target/firmware/include/calypso/dsp.h
+++ b/src/target/firmware/include/calypso/dsp.h
@@ -32,6 +32,7 @@ void dsp_load_apc_dac(uint16_t apc);
void dsp_load_tch_param(struct gsm_time *next_time,
uint8_t chan_mode, uint8_t chan_type, uint8_t chan_sub,
uint8_t tch_loop, uint8_t sync_tch, uint8_t tn);
+void dsp_load_sniff_fn(struct gsm_time *next_time);
void dsp_load_ciph_param(int mode, uint8_t *key);
void dsp_end_scenario(void);