From 2f6fdbe31fbd6e7fc45365a46ddcf9690c388061 Mon Sep 17 00:00:00 2001 From: Varun Reddy Date: Sun, 2 Jul 2017 15:37:17 +0200 Subject: [PATCH] wifi: (fixes #2761) Make sure CTS frames are not sent in A-MPDUs --- src/wifi/model/mac-low.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wifi/model/mac-low.cc b/src/wifi/model/mac-low.cc index b6c30cfb4..26844784a 100644 --- a/src/wifi/model/mac-low.cc +++ b/src/wifi/model/mac-low.cc @@ -1495,7 +1495,7 @@ MacLow::ForwardDown (Ptr packet, const WifiMacHeader* hdr, WifiTxV ", preamble=" << txVector.GetPreambleType () << ", duration=" << hdr->GetDuration () << ", seq=0x" << std::hex << m_currentHdr.GetSequenceControl () << std::dec); - if (!m_ampdu || hdr->IsAck () || hdr->IsRts () || hdr->IsBlockAck () || hdr->IsMgt ()) + if (!m_ampdu || hdr->IsAck () || hdr->IsRts () || hdr->IsCts () || hdr->IsBlockAck () || hdr->IsMgt ()) { m_phy->SendPacket (packet, txVector); }