summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include
diff options
context:
space:
mode:
authorSylvain Munaut2010-09-15 09:37:30 +0200
committerSylvain Munaut2010-09-17 20:52:41 +0200
commit890e55e9f787a451ce77d6681bb7ff4bd07b9726 (patch)
treec3d8fdfb8979344f97e14e6bbc40ddb39807ee59 /src/target/firmware/include
parentfw: Move channel type/mode definitions in common header (diff)
downloadosmocom-890e55e9f787a451ce77d6681bb7ff4bd07b9726.tar.gz
osmocom-890e55e9f787a451ce77d6681bb7ff4bd07b9726.tar.xz
osmocom-890e55e9f787a451ce77d6681bb7ff4bd07b9726.zip
fw: Update dsl_load_tch_params to set the fn_sid, fn_report and fn_a5
Mix between Dieter's version in tch branch and how the TSM30 does it. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/include')
-rw-r--r--src/target/firmware/include/calypso/dsp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/target/firmware/include/calypso/dsp.h b/src/target/firmware/include/calypso/dsp.h
index 4839f82..30dfad1 100644
--- a/src/target/firmware/include/calypso/dsp.h
+++ b/src/target/firmware/include/calypso/dsp.h
@@ -5,6 +5,8 @@
#define CAL_DSP_TGT_BB_LVL 80
+struct gsm_time;
+
struct dsp_api {
T_NDB_MCU_DSP *ndb;
T_DB_DSP_TO_MCU *db_r;
@@ -25,8 +27,9 @@ void dsp_checksum_task(void);
void dsp_api_memset(uint16_t *ptr, int octets);
void dsp_load_afc_dac(uint16_t afc);
void dsp_load_apc_dac(uint16_t apc);
-void dsp_load_tch_param(uint16_t fn, uint8_t chan_mode, uint8_t chan_type,
- uint8_t subchannel, uint8_t tch_loop, uint8_t sync_tch);
+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_end_scenario(void);
void dsp_load_rx_task(uint16_t task, uint8_t burst_id, uint8_t tsc);