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

Issue 293380043: ns-3 SpectrumWifiPhy (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years ago by Tom Henderson
Modified:
7 years, 9 months ago
Reviewers:
S. Deronne
CC:
ns-3-reviews_googlegroups.com
Visibility:
Public.

Description

This is the review issue for the tracker issue https://www.nsnam.org/bugzilla/show_bug.cgi?id=2400 This is to track the review of SpectrumWifiPhy, which is proposed to allow Wi-Fi devices to connect to Spectrum channels. This will allow SpectrumWifiPhy to receive signals that are not Wi-Fi, such as in Wi-Fi/LTE coexistence, or interference scenarios. This version of SpectrumWifiPhy is very basic, in that it is for the most part a clone of YansWifiPhy, with some adaptor code at the very bottom of the Phy where the channel interconnection occurs. Instead of YansWifiChannel, a SpectrumChannel type must be used (see src/spectrum). The main difference is that when a foreign (non-Wi-Fi) signal is received, it is simply added to the InterferenceHelper and evaluated for CCA BUSY status, without further receive processing. The performance of SpectrumWifiPhy and YansWifiPhy should be identical, except that SpectrumWifiPhy is sensitive by default to -62 dBm energy detection level of non-Wi-Fi signals. Three example programs are provided, and one test suite. The examples allow users to substitute SpectrumWifiPhy and YansWifiPhy under different conditions (signal loss, interference, saturating traffic) and compare results. In the long run, SpectrumWifiPhy will use different interference trackers and error models more suited for the spectrum framework, but for the next release, it is proposed to simply reuse the existing Yans-compatible model and interference helper. This is a large patch and users can experiment with it by cloning the spectrum-wifi branch from github: https://github.com/tomhenderson/ns-3-dev-git/tree/spectrum-wifi Update for patch set 2: Patch set 1 lacked two final things necessary for merging to ns-3-dev, IMO: 1) update the Wi-Fi .rst documentation 2) it was hardwired to the lower U-NII bands (5.180 GHz) and needs to be generalized (mainly, this involves making the spectrum model code more configurable) Patch set 2 completes both issues. In particular, I decided to remove the wifi-spectrum-helper.{cc,h} from src/wifi directory and place this code in the existing src/spectrum/wifi-spectrum-value-helper.{cc,h} files, with a bit of backward-compatible refactoring of the existing file which was used by the spectrum module. I think this will be potentially less confusing to users. I also made the default frequency subband decomposition to be 312.5 KHz (i.e. the OFDM subcarrier spacing), to enable frequency-selective fading models on a subcarrier basis. I also removed the hardcoded limitations to the lower U-NII bands. This patchset depends (and includes within) the patch to bug 2412 (frequency and channel width), still to be merged to ns-3-dev. patchset 3: - updated for the update to bug 2412 on ChannelNumber/Frequency coordination - fixed small bug spotted by N. Sapoval on peeking vs. removing WifiPhyTag - handle Sebastien's comments

Patch Set 1 #

Total comments: 5

Patch Set 2 : final patch and documentation #

Total comments: 2

Patch Set 3 : some small improvements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8441 lines, -282 lines) Patch
M RELEASE_NOTES View 1 1 chunk +7 lines, -0 lines 0 comments Download
M examples/wireless/examples-to-run.py View 1 chunk +4 lines, -0 lines 0 comments Download
A examples/wireless/wifi-spectrum-per-example.cc View 1 2 1 chunk +565 lines, -0 lines 0 comments Download
A examples/wireless/wifi-spectrum-per-interference.cc View 1 2 1 chunk +627 lines, -0 lines 0 comments Download
A examples/wireless/wifi-spectrum-saturation-example.cc View 1 2 1 chunk +701 lines, -0 lines 0 comments Download
M examples/wireless/wscript View 1 chunk +9 lines, -0 lines 0 comments Download
M src/core/model/object.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/core/model/object.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/spectrum/model/wifi-spectrum-value-helper.h View 1 1 chunk +108 lines, -41 lines 0 comments Download
M src/spectrum/model/wifi-spectrum-value-helper.cc View 1 2 3 chunks +340 lines, -3 lines 0 comments Download
M src/wifi/doc/source/wifi-design.rst View 1 8 chunks +104 lines, -18 lines 0 comments Download
M src/wifi/doc/source/wifi-testing.rst View 1 1 chunk +160 lines, -1 line 0 comments Download
M src/wifi/doc/source/wifi-user.rst View 1 3 chunks +345 lines, -1 line 0 comments Download
A src/wifi/examples/wifi-phy-configuration.cc View 1 1 chunk +391 lines, -0 lines 0 comments Download
M src/wifi/examples/wscript View 1 1 chunk +4 lines, -0 lines 0 comments Download
A src/wifi/helper/spectrum-wifi-helper.h View 1 1 chunk +187 lines, -0 lines 0 comments Download
A src/wifi/helper/spectrum-wifi-helper.cc View 1 2 1 chunk +687 lines, -0 lines 0 comments Download
M src/wifi/model/interference-helper.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/wifi/model/interference-helper.cc View 1 chunk +9 lines, -0 lines 0 comments Download
A src/wifi/model/spectrum-wifi-phy.h View 1 2 1 chunk +685 lines, -0 lines 0 comments Download
A src/wifi/model/spectrum-wifi-phy.cc View 1 2 1 chunk +1666 lines, -0 lines 0 comments Download
M src/wifi/model/wifi-mode.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/wifi/model/wifi-phy.h View 1 2 8 chunks +113 lines, -11 lines 0 comments Download
M src/wifi/model/wifi-phy.cc View 1 2 4 chunks +504 lines, -0 lines 0 comments Download
M src/wifi/model/wifi-phy-standard.h View 1 1 chunk +3 lines, -1 line 0 comments Download
A src/wifi/model/wifi-phy-tag.h View 1 chunk +83 lines, -0 lines 0 comments Download
A src/wifi/model/wifi-phy-tag.cc View 1 chunk +107 lines, -0 lines 0 comments Download
A src/wifi/model/wifi-spectrum-phy-interface.h View 1 1 chunk +72 lines, -0 lines 0 comments Download
A src/wifi/model/wifi-spectrum-phy-interface.cc View 1 1 chunk +117 lines, -0 lines 0 comments Download
A src/wifi/model/wifi-spectrum-signal-parameters.h View 1 chunk +60 lines, -0 lines 0 comments Download
A src/wifi/model/wifi-spectrum-signal-parameters.cc View 1 chunk +58 lines, -0 lines 0 comments Download
M src/wifi/model/yans-wifi-phy.h View 1 2 8 chunks +5 lines, -48 lines 0 comments Download
M src/wifi/model/yans-wifi-phy.cc View 1 2 19 chunks +107 lines, -157 lines 0 comments Download
A src/wifi/test/spectrum-wifi-phy-test.cc View 1 1 chunk +261 lines, -0 lines 0 comments Download
M src/wifi/test/wifi-test.cc View 1 2 chunks +317 lines, -0 lines 0 comments Download
M src/wifi/wscript View 1 6 chunks +12 lines, -1 line 0 comments Download
M wscript View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7
S. Deronne
Tom, I want first to highlight the great work that has been done here, it ...
8 years ago (2016-05-05 09:00:58 UTC) #1
Tom Henderson
On 2016/05/05 09:00:58, S. Deronne wrote: > Tom, > > I want first to highlight ...
8 years ago (2016-05-05 18:19:05 UTC) #2
S. Deronne
On 2016/05/05 18:19:05, Tom Henderson wrote: > On 2016/05/05 09:00:58, S. Deronne wrote: > > ...
7 years, 10 months ago (2016-07-04 18:07:00 UTC) #3
Tom Henderson
On 2016/07/04 18:07:00, S. Deronne wrote: > On 2016/05/05 18:19:05, Tom Henderson wrote: > > ...
7 years, 10 months ago (2016-07-04 18:10:50 UTC) #4
S. Deronne
https://codereview.appspot.com/293380043/diff/60001/src/spectrum/model/wifi-spectrum-value-helper.cc File src/spectrum/model/wifi-spectrum-value-helper.cc (right): https://codereview.appspot.com/293380043/diff/60001/src/spectrum/model/wifi-spectrum-value-helper.cc#newcode190 src/spectrum/model/wifi-spectrum-value-helper.cc:190: NS_LOG_DEBUG ("Added signal power to subbands 36-63, 65-92, 100-127, ...
7 years, 10 months ago (2016-07-04 20:27:07 UTC) #5
Tom Henderson
On 2016/07/04 20:27:07, S. Deronne wrote: > https://codereview.appspot.com/293380043/diff/60001/src/spectrum/model/wifi-spectrum-value-helper.cc > File src/spectrum/model/wifi-spectrum-value-helper.cc (right): > > https://codereview.appspot.com/293380043/diff/60001/src/spectrum/model/wifi-spectrum-value-helper.cc#newcode190 ...
7 years, 9 months ago (2016-07-16 00:24:40 UTC) #6
Tom Henderson
7 years, 9 months ago (2016-07-23 04:55:39 UTC) #7
On 2016/07/16 00:24:40, Tom Henderson wrote:
> On 2016/07/04 20:27:07, S. Deronne wrote:
> >
>
https://codereview.appspot.com/293380043/diff/60001/src/spectrum/model/wifi-s...
> > File src/spectrum/model/wifi-spectrum-value-helper.cc (right):
> > 
> >
>
https://codereview.appspot.com/293380043/diff/60001/src/spectrum/model/wifi-s...
> > src/spectrum/model/wifi-spectrum-value-helper.cc:190: NS_LOG_DEBUG ("Added
> > signal power to subbands 36-63, 65-92, 100-127, 129-156, 164-191, 193-220,
> > 228-255, 257-284");
> > debug statement to be extended for 160 MHz subbands
> > 
> >
>
https://codereview.appspot.com/293380043/diff/60001/src/spectrum/model/wifi-s...
> > src/spectrum/model/wifi-spectrum-value-helper.cc:194: break;
> > two breaks: one can be removed
> 
> 
> the above were handled; also,
> - updated for the update to bug 2412 on ChannelNumber/Frequency coordination 
> - fixed small bug spotted by N. Sapoval on peeking vs. removing WifiPhyTag
> 
> This patch now depends on 2412, which now depends on the small patch in 2452.


Note, this has been merged to ns-3-dev on 22 July 2016 in changeset
12219:a7e5825d00b6 so the issue is now closed
Sign in to reply to this message.

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