summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2011-06-26 01:06:17 +0200
committerSylvain Munaut <tnt@246tNt.com>2011-07-28 21:30:50 +0200
commite809248b6643b945231603789f5ff4f50a86d21b (patch)
tree3560693f88101b86fa91b5f5ec3cc1dbc812d2a0 /src/target/firmware/include
parent98a1051475f24db97f455ef8149e9967bb420ef1 (diff)
fw/layer1/l23_api: Add processing of the new audio_mode
This currently just stores it into the l1 sync state struct Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/include')
-rw-r--r--src/target/firmware/include/layer1/async.h3
-rw-r--r--src/target/firmware/include/layer1/sync.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/target/firmware/include/layer1/async.h b/src/target/firmware/include/layer1/async.h
index 301625c4..a9fa08d9 100644
--- a/src/target/firmware/include/layer1/async.h
+++ b/src/target/firmware/include/layer1/async.h
@@ -47,6 +47,9 @@ void l1a_mftask_disable(enum mframe_task task);
/* Set TCH mode */
uint8_t l1a_tch_mode_set(uint8_t mode);
+/* Set Audio routing mode */
+uint8_t l1a_audio_mode_set(uint8_t mode);
+
/* Execute pending L1A completions */
void l1a_compl_execute(void);
diff --git a/src/target/firmware/include/layer1/sync.h b/src/target/firmware/include/layer1/sync.h
index 4247dabe..aa03c827 100644
--- a/src/target/firmware/include/layer1/sync.h
+++ b/src/target/firmware/include/layer1/sync.h
@@ -81,6 +81,7 @@ struct l1s_state {
/* TCH */
uint8_t tch_mode;
uint8_t tch_sync;
+ uint8_t audio_mode;
/* Transmit queues of pending packets for main DCCH and ACCH */
struct llist_head tx_queue[_NUM_L1S_CHAN];