srsLTE/lib/test/mac
Andre Puschmann d48bc8837e pdu: refactor MAC PDU class
this patch refactors the MAC PDU class, the main changes are:

* add to_string() method to pretty print PDU and subheaders
  This allows to have a single log entry per MAC PDU with all its
  contents.
  It removes the C-style fprint() method

* Simplity payload vs. w_payload_ce
  Before we've used payload when reading the PDU and w_payload_ce
  as a buffer when writing. In all getters we needed to differentiate
  between both. Now payload points to w_payload_ce initially and is
  only updated when parsing a new PDU.

* add various helpers, e.g. to get subheader index, update a BSR, ..

* fix PDU test to use new to_string() method
2020-09-03 15:00:36 +02:00
..
CMakeLists.txt add radio_base/null classes 2020-06-18 23:37:26 +01:00
mac_nr_pdu_test.cc moved pdu to common mac folder 2020-04-22 10:06:08 +01:00
pdu_test.cc pdu: refactor MAC PDU class 2020-09-03 15:00:36 +02:00