summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include
diff options
context:
space:
mode:
authorSylvain Munaut2010-09-26 23:03:18 +0200
committerSylvain Munaut2010-09-28 08:04:19 +0200
commit61fdec01f57704064b31b336687110ec4caf11e3 (patch)
tree61524974f255a63dc00c285f0251851c47c1a6cb /src/target/firmware/include
parentl1ctl: Add initial tch_mode value in DM_EST_REQ (diff)
downloadosmocom-61fdec01f57704064b31b336687110ec4caf11e3.tar.gz
osmocom-61fdec01f57704064b31b336687110ec4caf11e3.tar.xz
osmocom-61fdec01f57704064b31b336687110ec4caf11e3.zip
fw/layer1: Process the tch_mode and store it for later use
Currently unused since no TCH support ... Will be used by future commits. 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.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/target/firmware/include/layer1/async.h b/src/target/firmware/include/layer1/async.h
index c6ca320..f4d0b5a 100644
--- a/src/target/firmware/include/layer1/async.h
+++ b/src/target/firmware/include/layer1/async.h
@@ -41,6 +41,9 @@ void l1a_mftask_enable(enum mframe_task task);
/* Disable a repeating multiframe task */
void l1a_mftask_disable(enum mframe_task task);
+/* Set TCH mode */
+uint8_t l1a_tch_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 f12f2df..e55fddc 100644
--- a/src/target/firmware/include/layer1/sync.h
+++ b/src/target/firmware/include/layer1/sync.h
@@ -75,6 +75,9 @@ struct l1s_state {
int8_t ta;
uint8_t tx_power;
+ /* TCH mode */
+ uint8_t tch_mode;
+
/* Transmit queues of pending packets for main DCCH and ACCH */
struct llist_head tx_queue[_NUM_L1S_CHAN];
struct msgb *tx_meas;