aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_ms.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gprs_ms.h')
-rw-r--r--src/gprs_ms.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gprs_ms.h b/src/gprs_ms.h
index bcc4fb3..72a86c9 100644
--- a/src/gprs_ms.h
+++ b/src/gprs_ms.h
@@ -130,6 +130,8 @@ public:
void update_l1_meas(const pcu_l1_meas *meas);
const pcu_l1_meas* l1_meas() const {return &m_l1_meas;};
unsigned nack_rate_dl() const;
+ unsigned dl_ctrl_msg() const;
+ void update_dl_ctrl_msg();
/* internal use */
static void timeout(void *priv_);
@@ -180,6 +182,8 @@ private:
struct gprs_codel *m_codel_state;
GprsCodingScheme::Mode m_mode;
+
+ unsigned m_dl_ctrl_msg;
};
inline bool GprsMs::is_idle() const
@@ -263,6 +267,16 @@ inline unsigned GprsMs::nack_rate_dl() const
return m_nack_rate_dl;
}
+inline unsigned GprsMs::dl_ctrl_msg() const
+{
+ return m_dl_ctrl_msg;
+}
+
+inline void GprsMs::update_dl_ctrl_msg()
+{
+ m_dl_ctrl_msg++;
+}
+
inline uint8_t GprsMs::reserved_dl_slots() const
{
return m_reserved_dl_slots;