lib,rlc_am_nr: rename get_tx_window_size() to get_tx_window_utilization()

master
Robert Falkenberg 3 years ago
parent 329f3e519b
commit 7e13cd0712

@ -168,9 +168,9 @@ private:
public:
// Getters/Setters
void set_tx_state(const rlc_am_nr_tx_state_t& st_) { st = st_; } // This should only be used for testing.
rlc_am_nr_tx_state_t get_tx_state() { return st; } // This should only be used for testing.
uint32_t get_tx_window_size() { return tx_window->size(); } // This should only be used for testing.
void set_tx_state(const rlc_am_nr_tx_state_t& st_) { st = st_; } // This should only be used for testing.
rlc_am_nr_tx_state_t get_tx_state() { return st; } // This should only be used for testing.
uint32_t get_tx_window_utilization() { return tx_window->size(); } // This should only be used for testing.
// Debug Helper
void debug_state() const;

@ -262,7 +262,7 @@ int basic_test(rlc_am_nr_sn_size_t sn_size)
// Check TX_NEXT_ACK
rlc_am_nr_tx_state_t st = tx1->get_tx_state();
TESTASSERT_EQ(5, st.tx_next_ack);
TESTASSERT_EQ(0, tx1->get_tx_window_size());
TESTASSERT_EQ(0, tx1->get_tx_window_utilization());
// Check PDCP notifications
TESTASSERT_EQ(5, tester.notified_counts.size());

Loading…
Cancel
Save