Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Issue 65051: Wifi Enhancements for ns-3

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 months, 2 weeks ago by timo.bingmann
Modified:
4 months ago
Reviewers:
Nicola Baldo
CC:
ns-3-reviews_googlegroups.com
SVN Base:
Visibility:
Public.

Description

Multiple issues are contained in the patch:
Ns2ExtWifiPhy and lots of small changes to the wifi code. We'll need to review
that in detail.
TrafficApplication and NakagamiPropagationLossModel are independent.

Patch Set 1

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M bindings/python/ns3_module_common.py View 2 chunks 30 lines 0 comments Download
M bindings/python/ns3_module_contrib.py View 1 chunk 17 lines 0 comments Download
M bindings/python/ns3_module_core.py View 1 chunk 17 lines 0 comments Download
M bindings/python/ns3_module_helper.py View 6 chunks 160 lines 0 comments Download
M bindings/python/ns3_module_node.py View 2 chunks 30 lines 0 comments Download
M bindings/python/ns3_module_simulator.py View 1 chunk 17 lines 0 comments Download
M bindings/python/ns3_module_wifi.py View 30 chunks 740 lines 0 comments Download
M examples/wifi-ap.cc View 1 chunk 54 lines 0 comments Download
M samples/main-propagation-loss.cc View 2 chunks 327 lines 0 comments Download
A src/applications/traffic/traffic-application.cc View 1 chunk 362 lines 0 comments Download
A src/applications/traffic/traffic-application.h View 1 chunk 245 lines 0 comments Download
A src/applications/traffic/waf View 1 chunk 7 lines 0 comments Download
A src/applications/traffic/wscript View 1 chunk 19 lines 0 comments Download
M src/devices/wifi/adhoc-wifi-mac.cc View 3 chunks 30 lines 0 comments Download
M src/devices/wifi/adhoc-wifi-mac.h View 2 chunks 21 lines 0 comments Download
M src/devices/wifi/dca-txop.cc View 1 chunk 13 lines 0 comments Download
M src/devices/wifi/dca-txop.h View 2 chunks 24 lines 0 comments Download
M src/devices/wifi/dcf-manager.cc View 1 chunk 16 lines 0 comments Download
M src/devices/wifi/dcf-manager.h View 1 chunk 16 lines 0 comments Download
M src/devices/wifi/error-rate-model.h View 1 chunk 21 lines 0 comments Download
M src/devices/wifi/interference-helper.cc View 9 chunks 184 lines 0 comments Download
M src/devices/wifi/interference-helper.h View 5 chunks 78 lines 0 comments Download
M src/devices/wifi/jakes-propagation-loss-model.cc View 1 chunk 13 lines 0 comments Download
M src/devices/wifi/mac-low.cc View 14 chunks 165 lines 0 comments Download
M src/devices/wifi/mac-low.h View 6 chunks 90 lines 0 comments Download
M src/devices/wifi/mac-rx-middle.cc View 4 chunks 40 lines 0 comments Download
M src/devices/wifi/mac-rx-middle.h View 1 chunk 28 lines 0 comments Download
M src/devices/wifi/nqap-wifi-mac.cc View 5 chunks 48 lines 0 comments Download
M src/devices/wifi/nqap-wifi-mac.h View 2 chunks 27 lines 0 comments Download
M src/devices/wifi/nqsta-wifi-mac.cc View 3 chunks 30 lines 0 comments Download
M src/devices/wifi/nqsta-wifi-mac.h View 2 chunks 21 lines 0 comments Download
A src/devices/wifi/ns2ext-error-rate-model.cc View 1 chunk 105 lines 0 comments Download
A src/devices/wifi/ns2ext-error-rate-model.h View 1 chunk 55 lines 0 comments Download
M src/devices/wifi/ns2ext-wifi-channel.cc View 4 chunks 143 lines 0 comments Download
M src/devices/wifi/ns2ext-wifi-channel.h View 5 chunks 107 lines 0 comments Download
M src/devices/wifi/ns2ext-wifi-phy.cc View 13 chunks 985 lines 0 comments Download
M src/devices/wifi/ns2ext-wifi-phy.h View 4 chunks 200 lines 0 comments Download
M src/devices/wifi/propagation-loss-model.cc View 2 chunks 111 lines 0 comments Download
M src/devices/wifi/propagation-loss-model.h View 1 chunk 58 lines 0 comments Download
M src/devices/wifi/wifi-mac-queue.cc View 2 chunks 22 lines 0 comments Download
M src/devices/wifi/wifi-mac-queue.h View 2 chunks 22 lines 0 comments Download
M src/devices/wifi/wifi-phy-test.cc View 4 chunks 40 lines 0 comments Download
M src/devices/wifi/wifi-phy.cc View 4 chunks 345 lines 0 comments Download
M src/devices/wifi/wifi-phy.h View 8 chunks 270 lines 4 comments Download
M src/devices/wifi/wscript View 2 chunks 35 lines 0 comments Download
M src/devices/wifi/yans-error-rate-model.cc View 2 chunks 27 lines 0 comments Download
M src/devices/wifi/yans-error-rate-model.h View 1 chunk 13 lines 0 comments Download
M src/devices/wifi/yans-wifi-channel.cc View 2 chunks 45 lines 0 comments Download
M src/devices/wifi/yans-wifi-channel.h View 2 chunks 39 lines 0 comments Download
M src/devices/wifi/yans-wifi-phy-state-helper.cc View 7 chunks 455 lines 0 comments Download
M src/devices/wifi/yans-wifi-phy-state-helper.h View 2 chunks 111 lines 0 comments Download
M src/devices/wifi/yans-wifi-phy.cc View 13 chunks 345 lines 0 comments Download
M src/devices/wifi/yans-wifi-phy.h View 6 chunks 91 lines 2 comments Download
M src/helper/ns2ext-wifi-helper.cc View 14 chunks 268 lines 0 comments Download
M src/helper/ns2ext-wifi-helper.h View 7 chunks 144 lines 0 comments Download
A src/helper/traffic-helper.cc View 1 chunk 81 lines 0 comments Download
A src/helper/traffic-helper.h View 1 chunk 107 lines 0 comments Download
M src/helper/wscript View 2 chunks 24 lines 0 comments Download
M src/helper/yans-wifi-helper.cc View 1 chunk 25 lines 0 comments Download
M src/helper/yans-wifi-helper.h View 1 chunk 13 lines 0 comments Download
M src/wscript View 1 chunk 12 lines 0 comments Download

Messages

Total messages: 2
Nicola Baldo
Hi Timo, a few comments on some your proposed wifi enhancements. Mainly, I am commenting ...
6 months, 2 weeks ago
timo.bingmann
6 months, 2 weeks ago
Some quick explanations.
The 10 MHz channel problem is still open. I don't think we'll manage a simple
one-switch configuration option.

Some time ago I've drawn a scratch patch to make WifiMode contain more broad
configuration options:
https://idlebox.net/2008/ns-3-wifi/code/ns-3-wifimode/rev/46be5539eee1
But it also has drawbacks.

Greetings
Timo

http://codereview.appspot.com/65051/diff/1/45
File src/devices/wifi/wifi-phy.h (right):

http://codereview.appspot.com/65051/diff/1/45#newcode104
Line 104: * and information.
On 2009/05/15 09:57:54, Nicola Baldo wrote:
> I like the concept of having a WifiPhyTag! 
> +1 

Yes, I like it too. It stabilizes TraceCallback signatures and is useful for Dbm
and W conversions.
However, the multi-inheritance is evil; but I think that could be fixed with
another class.
The big question is whether this should be a Tag or not (just an Info structure
for callbacks).

http://codereview.appspot.com/65051/diff/1/45#newcode125
Line 125: void  SetTxParameters(WifiPreamble wifiPreamble, WifiMode wifiMode,
Time duration, uint8_t txPowerId, double txPowerDbm);
On 2009/05/15 09:57:54, Nicola Baldo wrote:
> Can we add channel information here? For example the center frequency in MHz

I was going to write some more info about the 10 MHz channel problem. The real
issue is that it requires configuration of both MAC and PHY layer models.

http://codereview.appspot.com/65051/diff/1/54
File src/devices/wifi/yans-wifi-phy.h (right):

http://codereview.appspot.com/65051/diff/1/54#newcode80
Line 80: bool GetUseConstantNoiseFloor () const;
I need the constant noise level for compatibility with ns-2.
By setting it to say -100 dBm, calculation of the reception power with 5 dB SINR
threshold is -95 dBm and not some decimal ;).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r497