[Ns-bugs] [Bug 414] No ReceiveErrorModel in many devices
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Wed Dec 10 02:40:28 PST 2008
http://www.nsnam.org/bugzilla/show_bug.cgi?id=414
Mathieu Lacage <mathieu.lacage at sophia.inria.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mathieu.lacage at sophia.inria.
| |fr
--- Comment #2 from Mathieu Lacage <mathieu.lacage at sophia.inria.fr> 2008-12-10 05:40:28 EDT ---
(In reply to comment #0)
> There presently is no ReceiveErrorModel attribute in Bridge, SimpleNetDevice,
> or Wifi. I (tomh) would also propose to add this attribute to SimpleNetDevice,
> at the very least. Is there a reason why not to include in all current
> NetDevices?
yes, such a feature is part of the "PHY" layer modeling. In wifi, this modeling
is performed by the WifiPhy subclasses. The only such subclass (for now) is
YansWifiPhy and this PHY model has nothing to do with a ReceiveErrorModel
class.
I would be fine with another WifiPhy subclass which performs packet error
modeling based on a ReceiveErrorModel class.
Another way to integrate this in the current YansWifiPhy model would be to
implement a subclass of the ErrorRateModel which uses a ReceiveErrorModel to
return either 0 or 1.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list