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

Issue 13606043: WAVE review Sept 6

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by Tom Henderson
Modified:
10 years, 7 months ago
Reviewers:
Junling Bu, Daniel L.
CC:
guillaume.remy_ieee.org, aghandour_us.toyota-itc.com
Visibility:
Public.

Description

Review of Junling's code as of Sept 6. This is not a public (ns-developers) review yet. wifi module (1) remove deprecated 802.11p code (2) fix a little bugs (3) modify some codes to make wave module work, including: make some private method and variable protected access, make some method non-virtual to virtual, wave module (1) for 802.11p, ocb-wifi-mac.cc, vendor-specific.action.cc, higher-tx-tag.cc are implemented, support VSA send/receive, specific EDCA arguments, OCB mac mode, and support higher layer control tx arguments. (2) for 1609.4, wave-net-device.cc, channel-coordinator.cc, channel-scheduler.cc, channel-manager.c, vsa-repeater.cc, expire-time-tag.cc, wave-edca-txop-n.cc', support data route (WSMP, IP-based pacakets, management packets), timelife control of per-packe, four channel access assigments (Continuous, Extened, Immediate, and Alternating), channel coordination for CCHI, SCHI and GuardI, when approaching the guard interval, avoiding transmission process will start, when in guard interval, mac activities will be suspend but mac queue will not flush. (3) to show the impact of multiple channel operation, a meaningful simulation in wave-mutiple-channel.c can work with four different configurations under different arguments. (4) the wave module is updated to based on the lates ns-3 release 3.18 however the remaining time still needs some work to do (1) document is not completed yet with poor doxygen. (2) the relation among classes is not very clear, some methods are depend on each, I hope to find a better way to organize classes. (3) the multiple-channel simulation need to deep develop to make user-friendly and verify correctness.

Patch Set 1 #

Total comments: 55
Unified diffs Side-by-side diffs Delta from patch set Stats (+8352 lines, -228 lines) Patch
A src/wave/doc/wave.rst View 1 chunk +428 lines, -0 lines 0 comments Download
A src/wave/examples/wave-multiple-channel.cc View 1 chunk +709 lines, -0 lines 0 comments Download
A src/wave/examples/wave-simple-device.cc View 1 chunk +177 lines, -0 lines 0 comments Download
A src/wave/examples/wave-simple-ocb.cc View 1 chunk +192 lines, -0 lines 0 comments Download
A src/wave/examples/wave-simple-vsa.cc View 1 chunk +330 lines, -0 lines 0 comments Download
A src/wave/examples/wscript View 1 chunk +16 lines, -0 lines 0 comments Download
A src/wave/helper/wave-helper.h View 1 chunk +59 lines, -0 lines 0 comments Download
A src/wave/helper/wave-helper.cc View 1 chunk +132 lines, -0 lines 0 comments Download
A src/wave/helper/wave-mac-helper.h View 1 chunk +139 lines, -0 lines 0 comments Download
A src/wave/helper/wave-mac-helper.cc View 1 chunk +125 lines, -0 lines 0 comments Download
A src/wave/helper/wifi-80211p-helper.h View 1 chunk +80 lines, -0 lines 0 comments Download
A src/wave/helper/wifi-80211p-helper.cc View 1 chunk +117 lines, -0 lines 0 comments Download
A src/wave/model/channel-coordinator.h View 1 chunk +252 lines, -0 lines 3 comments Download
A src/wave/model/channel-coordinator.cc View 1 chunk +335 lines, -0 lines 0 comments Download
A src/wave/model/channel-manager.h View 1 chunk +163 lines, -0 lines 2 comments Download
A src/wave/model/channel-manager.cc View 1 chunk +149 lines, -0 lines 6 comments Download
A src/wave/model/channel-scheduler.h View 1 chunk +148 lines, -0 lines 0 comments Download
A src/wave/model/channel-scheduler.cc View 1 chunk +454 lines, -0 lines 6 comments Download
A src/wave/model/expire-time-tag.h View 1 chunk +63 lines, -0 lines 0 comments Download
A src/wave/model/expire-time-tag.cc View 1 chunk +87 lines, -0 lines 0 comments Download
A src/wave/model/higher-tx-tag.h View 1 chunk +59 lines, -0 lines 0 comments Download
A src/wave/model/higher-tx-tag.cc View 1 chunk +91 lines, -0 lines 0 comments Download
A src/wave/model/ocb-wifi-mac.h View 1 chunk +161 lines, -0 lines 0 comments Download
A src/wave/model/ocb-wifi-mac.cc View 1 chunk +466 lines, -0 lines 2 comments Download
A src/wave/model/vendor-specific-action.h View 1 chunk +177 lines, -0 lines 2 comments Download
A src/wave/model/vendor-specific-action.cc View 1 chunk +331 lines, -0 lines 2 comments Download
A src/wave/model/vsa-repeater.h View 1 chunk +74 lines, -0 lines 0 comments Download
A src/wave/model/vsa-repeater.cc View 1 chunk +243 lines, -0 lines 2 comments Download
A src/wave/model/wave-edca-txop-n.h View 1 chunk +151 lines, -0 lines 0 comments Download
A src/wave/model/wave-edca-txop-n.cc View 1 chunk +273 lines, -0 lines 0 comments Download
A src/wave/model/wave-net-device.h View 1 chunk +386 lines, -0 lines 6 comments Download
A src/wave/model/wave-net-device.cc View 1 chunk +450 lines, -0 lines 0 comments Download
A src/wave/test/ocb-test-suite.cc View 1 chunk +344 lines, -0 lines 0 comments Download
A src/wave/test/wave-test-suite.cc View 1 chunk +803 lines, -0 lines 0 comments Download
A src/wave/wscript View 1 chunk +55 lines, -0 lines 0 comments Download
M src/wifi/helper/nqos-wifi-mac-helper.h View 3 chunks +3 lines, -3 lines 0 comments Download
M src/wifi/helper/qos-wifi-mac-helper.h View 3 chunks +3 lines, -3 lines 0 comments Download
M src/wifi/helper/wifi-helper.h View 5 chunks +5 lines, -5 lines 2 comments Download
M src/wifi/model/dcf-manager.cc View 1 chunk +4 lines, -0 lines 2 comments Download
M src/wifi/model/edca-txop-n.h View 7 chunks +30 lines, -24 lines 2 comments Download
M src/wifi/model/edca-txop-n.cc View 13 chunks +38 lines, -29 lines 6 comments Download
M src/wifi/model/mac-low.h View 5 chunks +4 lines, -5 lines 4 comments Download
M src/wifi/model/mac-low.cc View 4 chunks +26 lines, -12 lines 2 comments Download
M src/wifi/model/regular-wifi-mac.cc View 4 chunks +9 lines, -24 lines 0 comments Download
M src/wifi/model/wifi-mac.h View 2 chunks +0 lines, -3 lines 0 comments Download
M src/wifi/model/wifi-mac.cc View 3 chunks +0 lines, -53 lines 0 comments Download
M src/wifi/model/wifi-mac-queue.h View 2 chunks +3 lines, -3 lines 2 comments Download
M src/wifi/model/wifi-mac-queue.cc View 10 chunks +4 lines, -15 lines 4 comments Download
M src/wifi/model/wifi-net-device.h View 1 chunk +4 lines, -5 lines 0 comments Download
M src/wifi/model/wifi-phy-standard.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/wifi/model/yans-wifi-phy.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/wifi/model/yans-wifi-phy.cc View 2 chunks +0 lines, -38 lines 0 comments Download

Messages

Total messages: 10
Tom Henderson
Some initial comments, mainly focusing on the src/wifi modifications and some of the class/file organization ...
10 years, 7 months ago (2013-09-10 17:52:24 UTC) #1
Junling Bu
Tom , I think here I should talk about my implementation approach again. If you ...
10 years, 7 months ago (2013-09-12 15:32:52 UTC) #2
Daniel L.
Here's my review of the latest patch. Most of the comments are related to coding ...
10 years, 7 months ago (2013-09-13 16:29:44 UTC) #3
Junling Bu
Hi, Daniel Thanks for reviewing my code, if you have any other suggestions, please tell ...
10 years, 7 months ago (2013-09-17 14:59:54 UTC) #4
Tom Henderson
> > > > Also, I think it's better to spell out Interval instead of ...
10 years, 7 months ago (2013-09-18 03:27:22 UTC) #5
Tom Henderson
On 2013/09/12 15:32:52, Junling Bu wrote: > Tom , I think here I should talk ...
10 years, 7 months ago (2013-09-18 03:55:15 UTC) #6
Junling Bu
On 2013/09/18 03:27:22, Tom Henderson wrote: > > > > > > Also, I think ...
10 years, 7 months ago (2013-09-18 12:06:56 UTC) #7
Junling Bu
> > Although add feature about 802.11p in wifi module seems OK, the feature about ...
10 years, 7 months ago (2013-09-18 12:34:46 UTC) #8
Daniel L.
https://codereview.appspot.com/13606043/diff/1/src/wave/model/channel-coordinator.h File src/wave/model/channel-coordinator.h (right): https://codereview.appspot.com/13606043/diff/1/src/wave/model/channel-coordinator.h#newcode115 src/wave/model/channel-coordinator.h:115: inline bool IsSchiNow () On 2013/09/17 14:59:54, Junling Bu ...
10 years, 7 months ago (2013-09-18 12:47:27 UTC) #9
Junling Bu
10 years, 7 months ago (2013-09-18 15:13:34 UTC) #10
On 2013/09/18 12:47:27, Daniel L. wrote:
>
https://codereview.appspot.com/13606043/diff/1/src/wave/model/channel-coordin...
> File src/wave/model/channel-coordinator.h (right):
> 
>
https://codereview.appspot.com/13606043/diff/1/src/wave/model/channel-coordin...
> src/wave/model/channel-coordinator.h:115: inline bool IsSchiNow ()
> On 2013/09/17 14:59:54, Junling Bu wrote:
> > On 2013/09/13 16:29:44, Daniel L. wrote:
> > > I think "inline" in header files is discouraged unless it provides
> significant
> > > improvement. My view is that these should be in the .cc files.
> > > 
> > > Also, I think it's better to spell out Interval instead of using "i".
> > 
> > fixed.
> > Yes, I agree with you that here it is better to use Interval. I have changed
> > some methods like IsGuardIntervalNow.
> > But some other methods like NeedTimeToSchiNow may be better to use "i",
since
> > the name of method is already long.
> > How do you think? should I change them with Interval rather than i ?
> 
> I think changing every "i" to Interval is better.
OK, I have changed these methods according to your and Tom's comments.
Sign in to reply to this message.

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