wifi: (fixes #116) Fix receptionOkAtLeastForOneMpdu assessment

Fix the scenario where all MPDUs' reception failed but the receptionOkAtLeastForOneMpdu variable is true
This commit is contained in:
Zhao Wen Chow
2019-12-09 20:15:34 +09:00
parent 89612f1851
commit eed73f5e89

View File

@@ -3049,7 +3049,7 @@ WifiPhy::EndReceive (Ptr<Event> event)
Ptr<const Packet> packet = event->GetPacket ();
Time relativeStart = NanoSeconds (0);
bool receptionOkAtLeastForOneMpdu = true;
bool receptionOkAtLeastForOneMpdu = false;
std::pair<bool, SignalNoiseDbm> rxInfo;
WifiTxVector txVector = event->GetTxVector ();
if (txVector.IsAggregation ())