wifi: Do not longer copy the WifiPpdu for each RX PHY (for now we can always use the WifiPpdu from the TX PHY)

This commit is contained in:
Sébastien Deronne
2022-11-07 20:03:00 +01:00
committed by Sebastien Deronne
parent f834a6e389
commit 343d37778f

View File

@@ -421,8 +421,7 @@ SpectrumWifiPhy::StartRx(Ptr<SpectrumSignalParameters> rxParams)
}
NS_LOG_INFO("Received Wi-Fi signal");
Ptr<WifiPpdu> ppdu = wifiRxParams->ppdu->Copy();
StartReceivePreamble(ppdu, rxPowerW, rxDuration);
StartReceivePreamble(wifiRxParams->ppdu, rxPowerW, rxDuration);
}
Ptr<Object>