aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlc.h')
-rw-r--r--src/rlc.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/rlc.h b/src/rlc.h
index 2bb512b6..7f6df12c 100644
--- a/src/rlc.h
+++ b/src/rlc.h
@@ -58,6 +58,8 @@ struct gprs_rlc_v_b {
uint16_t *lost, uint16_t *received);
int move_window(const uint16_t v_a, const uint16_t v_s,
const uint16_t mod_sns, const uint16_t mod_sns_half);
+ void state(char *show_rbb, const uint16_t v_a, const uint16_t v_s,
+ const uint16_t mod_sns, const uint16_t mod_sns_half);
/* Check for an individual frame */
bool is_unacked(int index) const;
@@ -66,8 +68,6 @@ struct gprs_rlc_v_b {
bool is_resend(int index) const;
bool is_invalid(int index) const;
- char state(int index) const;
-
/* Mark a RLC frame for something */
void mark_unacked(int index);
void mark_nacked(int index);
@@ -129,11 +129,6 @@ inline void gprs_rlc_v_b::mark(int index, const char type)
m_v_b[index] = type;
}
-inline char gprs_rlc_v_b::state(int index) const
-{
- return m_v_b[index];
-}
-
inline bool gprs_rlc_v_b::is_nacked(int index) const
{
return is_state(index, 'N');