From b22b1ec47041757617c409b58076abdd97baf3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deronne?= Date: Sun, 5 Nov 2023 11:09:47 +0100 Subject: [PATCH] wifi: Extend print functions for action frames --- src/wifi/model/mgt-action-headers.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/wifi/model/mgt-action-headers.cc b/src/wifi/model/mgt-action-headers.cc index 8e1c83806..0f4b76102 100644 --- a/src/wifi/model/mgt-action-headers.cc +++ b/src/wifi/model/mgt-action-headers.cc @@ -739,6 +739,9 @@ MgtAddBaRequestHeader::GetInstanceTypeId() const void MgtAddBaRequestHeader::Print(std::ostream& os) const { + os << "A-MSDU support=" << m_amsduSupport << " Policy=" << +m_policy << " TID=" << +m_tid + << " Buffer size=" << m_bufferSize << " Timeout=" << m_timeoutValue + << " Starting seq=" << m_startingSeq; } uint32_t @@ -928,7 +931,8 @@ MgtAddBaResponseHeader::GetInstanceTypeId() const void MgtAddBaResponseHeader::Print(std::ostream& os) const { - os << "status code=" << m_code; + os << "Status code=" << m_code << "A-MSDU support=" << m_amsduSupport << " Policy=" << +m_policy + << " TID=" << +m_tid << " Buffer size=" << m_bufferSize << " Timeout=" << m_timeoutValue; } uint32_t @@ -1106,6 +1110,7 @@ MgtDelBaHeader::GetInstanceTypeId() const void MgtDelBaHeader::Print(std::ostream& os) const { + os << "Initiator=" << m_initiator << " TID=" << +m_tid; } uint32_t