@ -58,7 +58,7 @@ public:
// MAC interface
// MAC interface
bool has_data ( ) ;
bool has_data ( ) ;
uint32_t get_buffer_state ( ) ;
uint32_t get_buffer_state ( ) ;
int read_pdu ( uint8_t * payload , uint32_t nof_bytes ) ;
u int32_ t read_pdu ( uint8_t * payload , uint32_t nof_bytes ) ;
void write_pdu ( uint8_t * payload , uint32_t nof_bytes ) ;
void write_pdu ( uint8_t * payload , uint32_t nof_bytes ) ;
int get_increment_sequence_num ( ) ;
int get_increment_sequence_num ( ) ;
@ -75,7 +75,7 @@ protected:
rlc_um_base_tx ( rlc_um_base * parent_ ) ;
rlc_um_base_tx ( rlc_um_base * parent_ ) ;
virtual ~ rlc_um_base_tx ( ) ;
virtual ~ rlc_um_base_tx ( ) ;
virtual bool configure ( const rlc_config_t & cfg , std : : string rb_name ) = 0 ;
virtual bool configure ( const rlc_config_t & cfg , std : : string rb_name ) = 0 ;
int build_data_pdu ( uint8_t * payload , uint32_t nof_bytes ) ;
u int32_ t build_data_pdu ( uint8_t * payload , uint32_t nof_bytes ) ;
void stop ( ) ;
void stop ( ) ;
void reestablish ( ) ;
void reestablish ( ) ;
void empty_queue ( ) ;
void empty_queue ( ) ;
@ -107,7 +107,7 @@ protected:
srsran : : rolling_average < double > mean_pdu_latency_us ;
srsran : : rolling_average < double > mean_pdu_latency_us ;
# endif
# endif
virtual int build_data_pdu ( unique_byte_buffer_t pdu , uint8_t * payload , uint32_t nof_bytes ) = 0 ;
virtual u int32_ t build_data_pdu ( unique_byte_buffer_t pdu , uint8_t * payload , uint32_t nof_bytes ) = 0 ;
// helper functions
// helper functions
virtual void debug_state ( ) = 0 ;
virtual void debug_state ( ) = 0 ;