summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/trxcon.h
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-06-09 01:10:05 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-11-19 17:35:07 +0700
commit9b1d398685e70e3bc9ed2fa1a07209a24e2b31b6 (patch)
tree810e5ca0f54da3a3e49f70b0176edd9b0fd8b9f1 /src/host/trxcon/trxcon.h
parent90a0d3c78dbebc9722629c31dd8fcdf19c148cb4 (diff)
host/trxcon/scheduler: add basic clock counter
The core of scheduler is a simple clock counter, which relays on system time for now. One was a bit simplified and migrated from OsmoBTS. Due to system time is not an ideal clock source, the counter should be periodically corrected by clock indications from BTS. Change-Id: I27d85bd3e2c8bca3f876f73517027b9fe43c9825
Diffstat (limited to 'src/host/trxcon/trxcon.h')
-rw-r--r--src/host/trxcon/trxcon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/host/trxcon/trxcon.h b/src/host/trxcon/trxcon.h
index 9535578e..c266eaee 100644
--- a/src/host/trxcon/trxcon.h
+++ b/src/host/trxcon/trxcon.h
@@ -18,4 +18,8 @@ enum trxcon_fsm_events {
TRX_EVENT_RESET_IND,
TRX_EVENT_RSP_ERROR,
TRX_EVENT_OFFLINE,
+
+ /* Scheduler specific events */
+ SCH_EVENT_CLCK_IND,
+ SCH_EVENT_CLCK_LOSS,
};