|
|
|
@ -25,8 +25,6 @@
|
|
|
|
|
#include <pthread.h>
|
|
|
|
|
#include <queue>
|
|
|
|
|
|
|
|
|
|
const uint32_t mod_nr = 4096;
|
|
|
|
|
|
|
|
|
|
namespace srsran {
|
|
|
|
|
|
|
|
|
|
/******************************
|
|
|
|
@ -106,6 +104,7 @@ private:
|
|
|
|
|
rlc_am* parent = nullptr;
|
|
|
|
|
rlc_am_nr_rx* rx = nullptr;
|
|
|
|
|
|
|
|
|
|
uint32_t mod_nr = 4096;
|
|
|
|
|
inline int32_t tx_mod_base_nr(uint32_t sn) { return ((int32_t)sn - (int32_t)st.tx_next_ack) % mod_nr; }
|
|
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
@ -170,6 +169,7 @@ private:
|
|
|
|
|
rlc_am_nr_tx* tx = nullptr;
|
|
|
|
|
byte_buffer_pool* pool = nullptr;
|
|
|
|
|
|
|
|
|
|
uint32_t mod_nr = 4096;
|
|
|
|
|
inline int32_t rx_mod_base_nr(uint32_t sn) { return ((int32_t)sn - (int32_t)rx_next) % mod_nr; }
|
|
|
|
|
|
|
|
|
|
// RX Window
|
|
|
|
|