|
This patch is the second of two final patches for the ns-3 GSoC WAVE MAC project by Junling Bu. The first patch (upon which this patch should be applied) can be found here:
https://codereview.appspot.com/13880043/
This patch contains
documentation, models, three simple examples, a test suite, and helpers.
Besides that, this patch also needs additional modifications to the
wifi module. The model provides service via a new WaveNetDevice
inheriting from WifiNetDevice, in which the main work is done by several
internal classes.
The four classes are ChannelManager, VsaRepeater, ChannelScheduler and
ChannelCoordinator. ChannelManager stores the WAVE channel information.
VsaRepeater sends VSAs repeatedly and stores VSA tx parameters.
ChannelCoordinator coordinates channel interval operation including
control channel (CCH) intervals, service channel (SCH) intervals, and
Guard intervals. ChannelScheduler is to assign channel access with four
mechanisms. Besides that, a new tag ExpireTimeTag is used to support
control lifetime of packets, and a subclass WaveMacQueue inheriting from
WifiMacQueue is used to support AlternatingAccess channel access
mechanism. An example named MultipleChannelExperiment models the
multiple channel environment. The test suite tests implemented methods
and features. However, an item for future work is to include more test
cases.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+6202 lines, -107 lines) |
Patch |
 |
M |
src/wave/doc/wave.rst
|
View
|
|
8 chunks |
+238 lines, -13 lines |
0 comments
|
Download
|
 |
A |
src/wave/examples/wave-multiple-channel.cc
|
View
|
|
1 chunk |
+734 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/wave/examples/wave-simple-80211p.cc
|
View
|
|
2 chunks |
+1 line, -2 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-vsa.cc
|
View
|
|
1 chunk |
+335 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/wave/examples/wscript
|
View
|
|
1 chunk |
+10 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
|
 |
M |
src/wave/helper/wave-mac-helper.h
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
src/wave/model/channel-coordinator.h
|
View
|
|
1 chunk |
+269 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/wave/model/channel-coordinator.cc
|
View
|
|
1 chunk |
+426 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/wave/model/channel-manager.h
|
View
|
|
1 chunk |
+194 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/wave/model/channel-manager.cc
|
View
|
|
1 chunk |
+149 lines, -0 lines |
0 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 |
+470 lines, -0 lines |
0 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 |
+100 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/wave/model/ocb-wifi-mac.h
|
View
|
|
4 chunks |
+28 lines, -7 lines |
0 comments
|
Download
|
 |
M |
src/wave/model/ocb-wifi-mac.cc
|
View
|
|
5 chunks |
+56 lines, -31 lines |
0 comments
|
Download
|
 |
M |
src/wave/model/vendor-specific-action.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/wave/model/vendor-specific-action.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 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 |
+240 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/wave/model/wave-edca-txop-n.h
|
View
|
|
1 chunk |
+152 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/wave/model/wave-edca-txop-n.cc
|
View
|
|
1 chunk |
+212 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/wave/model/wave-mac-low.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
src/wave/model/wave-mac-queue.h
|
View
|
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/wave/model/wave-mac-queue.cc
|
View
|
|
1 chunk |
+86 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/wave/model/wave-net-device.h
|
View
|
|
1 chunk |
+401 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/wave/model/wave-net-device.cc
|
View
|
|
1 chunk |
+506 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/wave/test/wave-test-suite.cc
|
View
|
|
1 chunk |
+803 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/wave/wscript
|
View
|
|
1 chunk |
+21 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/wifi/model/edca-txop-n.h
|
View
|
|
6 chunks |
+33 lines, -22 lines |
0 comments
|
Download
|
 |
M |
src/wifi/model/edca-txop-n.cc
|
View
|
|
11 chunks |
+28 lines, -25 lines |
0 comments
|
Download
|
 |
M |
src/wifi/model/regular-wifi-mac.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/wifi/model/regular-wifi-mac.cc
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/wifi/model/wifi-mac-queue.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|