mirror of https://github.com/PentHertz/srsLTE.git
lib,pdcp_nr: fixed typos and rephrased log in tests.
This commit is contained in:
parent
0f1c8b03c7
commit
d5909a306f
|
@ -13,7 +13,7 @@
|
|||
#include <numeric>
|
||||
|
||||
/*
|
||||
* Genric function to test reception of in-sequence packets
|
||||
* Generic class to test reception of in-sequence packets
|
||||
*/
|
||||
class test_rx_helper
|
||||
{
|
||||
|
@ -50,9 +50,9 @@ public:
|
|||
{
|
||||
pdcp_hlp_rx.set_pdcp_initial_state(init_state);
|
||||
|
||||
// Generate test message and encript/decript SDU.
|
||||
// Generate test message and encrypt/decrypt SDU.
|
||||
for (pdcp_test_event_t& event : events) {
|
||||
// Decript and integrity check the PDU
|
||||
// Decrypt and integrity check the PDU
|
||||
pdcp_rx.write_pdu(std::move(event.pkt));
|
||||
for (uint32_t i = 0; i < event.ticks; ++i) {
|
||||
stack.run_tti();
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include <numeric>
|
||||
|
||||
/*
|
||||
* Genric function to test transmission of in-sequence packets
|
||||
* Generic class to test transmission of in-sequence packets
|
||||
*/
|
||||
class test_tx_helper
|
||||
{
|
||||
|
@ -203,7 +203,7 @@ int test_tx_all(srslog::basic_logger& logger)
|
|||
*/
|
||||
{
|
||||
auto& test_logger = srslog::fetch_basic_logger("TESTER ");
|
||||
srsran::test_delimit_logger delimiter("TX COUNT 0, 12 bit SN");
|
||||
srsran::test_delimit_logger delimiter("Stop discard timers upon RLC notification, 12 bit SN");
|
||||
test_tx_helper tx_helper(srsran::PDCP_SN_LEN_12, logger);
|
||||
n_packets = 1;
|
||||
srsran::unique_byte_buffer_t pdu_exp_count0_len12 = srsran::make_byte_buffer();
|
||||
|
|
Loading…
Reference in New Issue