From 4f9dc140bbe0d776a01da6ec1806fd5b26e6d370 Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Sun, 20 Nov 2011 15:35:20 +0100 Subject: firmware/dsp: Send framenumber, TSC, checksum and magic via 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 --- src/target/firmware/include/calypso/dsp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/target/firmware/include/calypso/dsp.h') 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); -- cgit v1.2.3