wifi: Do not start ongoing TXOP end timer if RTS is not responded

This commit is contained in:
Stefano Avallone
2025-01-20 12:57:34 +01:00
parent e62395b22f
commit 28f5006241

View File

@@ -1304,7 +1304,9 @@ EhtFrameExchangeManager::PostProcessFrame(Ptr<const WifiPsdu> psdu, const WifiTx
if (m_apMac && m_txopHolder == psdu->GetAddr2() &&
GetWifiRemoteStationManager()->GetEmlsrEnabled(*m_txopHolder))
{
if (!m_ongoingTxopEnd.IsPending())
const auto unrespondedRts = (psdu->GetHeader(0).IsRts() && !m_sendCtsEvent.IsPending());
if (!m_ongoingTxopEnd.IsPending() && !unrespondedRts)
{
// an EMLSR client has started an UL TXOP. Start the ongoingTxopEnd timer so that
// the next call to UpdateTxopEndOnRxEnd does its job