summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_08.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index 7efd7e87..885ac8af 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -947,6 +947,8 @@ static inline uint8_t gsm48_hdr_trans_id(const struct gsm48_hdr *hdr)
return (hdr->proto_discr & 0xf0) >> 4;
}
+#define GSM48_TA_INVALID 220
+
/*! \brief Check if TA is valid according to 3GPP TS 44.018 ยง 10.5.2.40
* \param[in] ta Timing Advance value
* \returns true if ta is valid, false otherwise