Sunday, June 4, 2017

Posted by beni in , , , , | June 04, 2017

A change in INET source


Receiving the erroneous packet during the waiting period for ACK or CTS indicates that there is a problem and you do not need to wait for time out and you can retransmit it again. We can check the erroneous packets and if they happens during the waiting period, cancel the timer and retransmit the packet. This is the standard. But in the current version, it waits for time out and does not care these erroneous packets.

You can find the patch here:

https://github.com/aarizaq/inetmanet-2.0/commit/1d80b4c7c1956487009391f1c02331b57ee8ed4d

*By default is disabled, you can enable it in the omnetpp.ini file or in Ieee80211Mac.ned file.
 
*****************************************************************************************************************************************************

To have more clear code some modifications done as follows:


FixFSM and patchErrorReceptionWithErrors parameters have been removed, if somebody need to return to the old behavior it is possible removing the commentaries from

// #define DISABLEERRORACK

this commit remove fixFSM and patchErrorReceptionWithErrors
https://github.com/aarizaq/inetmanet-2.0/commit/04d389ee595505c39ba0d8f880dd74a0d2684922

Search