summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-09-26 11:50:56 +0200
committerSylvain Munaut2010-09-28 08:04:18 +0200
commit732f102cc2ffd52f9013bc770fcaf36c3d04ddf5 (patch)
tree965312572c96db63b5c22d9a5bbe6a657a734d29 /src/target/firmware/include
parentfw/layer1: Introduce prim_utils.c for shared helper betwee primitives (diff)
downloadosmocom-732f102cc2ffd52f9013bc770fcaf36c3d04ddf5.tar.gz
osmocom-732f102cc2ffd52f9013bc770fcaf36c3d04ddf5.tar.xz
osmocom-732f102cc2ffd52f9013bc770fcaf36c3d04ddf5.zip
fw/layer1: Add support for measurement messages from layer2/3
Written-by: Andreas.Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/include')
-rw-r--r--src/target/firmware/include/layer1/async.h1
-rw-r--r--src/target/firmware/include/layer1/sync.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/target/firmware/include/layer1/async.h b/src/target/firmware/include/layer1/async.h
index ff23af5..c6ca320 100644
--- a/src/target/firmware/include/layer1/async.h
+++ b/src/target/firmware/include/layer1/async.h
@@ -24,6 +24,7 @@ static inline void l1a_unlock_sync(void)
/* safely enable a message into the L1S TX queue */
void l1a_txq_msgb_enq(struct llist_head *queue, struct msgb *msg);
+void l1a_meas_msgb_set(struct msgb *msg);
/* flush all pending msgb */
void l1a_txq_msgb_flush(struct llist_head *queue);
diff --git a/src/target/firmware/include/layer1/sync.h b/src/target/firmware/include/layer1/sync.h
index 4d99ba0..f12f2df 100644
--- a/src/target/firmware/include/layer1/sync.h
+++ b/src/target/firmware/include/layer1/sync.h
@@ -77,6 +77,7 @@ struct l1s_state {
/* Transmit queues of pending packets for main DCCH and ACCH */
struct llist_head tx_queue[_NUM_L1S_CHAN];
+ struct msgb *tx_meas;
/* Which L1A completions are scheduled right now */
uint32_t scheduled_compl;