summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/sched_trx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/trxcon/sched_trx.h')
-rw-r--r--src/host/trxcon/sched_trx.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/host/trxcon/sched_trx.h b/src/host/trxcon/sched_trx.h
index 818c95a0..10ae2566 100644
--- a/src/host/trxcon/sched_trx.h
+++ b/src/host/trxcon/sched_trx.h
@@ -186,6 +186,16 @@ struct trx_lchan_state {
int32_t toa256_sum;
} meas;
+ /*! \brief SACCH state */
+ struct {
+ /*! \brief Cached measurement report (last received) */
+ uint8_t mr_cache[GSM_MACBLOCK_LEN];
+ /*! \brief Cache usage counter */
+ uint8_t mr_cache_usage;
+ /*! \brief Was a MR transmitted last time? */
+ bool mr_tx_last;
+ } sacch;
+
/* AMR specific */
struct {
/*! \brief 4 possible codecs for AMR */