Bug 414 - No ReceiveErrorModel in SimpleNetDevice
: No ReceiveErrorModel in SimpleNetDevice
Status: ASSIGNED
: ns-3
node module
: ns-3-dev
: All All
: P3 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-11-17 22:48 EDT by
Modified: 2010-01-08 00:55 EDT (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-11-17 22:48:53 EDT
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?
------- Comment #1 From 2008-12-03 17:19:52 EDT -------
It has been decided to reduce priority and ask for comments on the list.
------- Comment #2 From 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.
------- Comment #3 From 2009-11-23 09:14:35 EDT -------
Shall we not just close this bug as INVALID since I doubt anyone will ever do
any work to make _every_ NetDevice subclass use an ErrorModel subclass.
------- Comment #4 From 2009-11-24 00:09:44 EDT -------
(In reply to comment #3)
> Shall we not just close this bug as INVALID since I doubt anyone will ever do
> any work to make _every_ NetDevice subclass use an ErrorModel subclass.


I will take it.  I want to add this to SimpleNetDevice.  Changed title to
reflect.