Commit Graph
42 Commits
Author SHA1 Message Date
Craig Dowell d651a2a08b get rid of about a zillion PeekData 2010-08-10 20:04:06 -07:00
Josh Pelkey e61b1034c0 suppress wifi test pcap when running test.py 2010-07-20 14:04:47 -04:00
Dean Armstrong e86eaa4e6b Bug 871: Rework construction of Wi-Fi rates
This patch attempts to lay some groundwork for enhancements to the Wi-Fi module
by bringing the representation of transmit rates more in line with the
standard.

The key part of the patch is the introduction of a type that corresponds to the
notion of Modulation Class described in IEEE 802.11-2007, Section 9.6.1, Table
9-2.

It also adds coding rate information to the WifiModes and centralises their
construction into a single WifiModeFactory method. The rates are also renamed
with reference to their Modulation Class.

WifiModes no longer have a WifiStandard, but the latter type still exists and is
used to imply the set of WifiModes that a MAC/PHY pair will support.
2010-06-16 10:55:13 +01:00
Josh Pelkey dfa5e712d5 Test case for bug 902 2010-06-02 11:14:06 -04:00
Dean Armstrong 4e394b1a5a Time conversions take uint64's in wifi-msdu-aggregator-test-suite
Correct programming error in cset 6293:11a2f62de3ec that only a compiler older than mine found with the standard options. Specifically, the time conversion functions (in this case, MilliSeconds()) take uint64's as their argument and I was passing a floating point value.
2010-05-11 08:56:28 +01:00
Dean Armstrong 6061641ed6 Add MSDU aggregation throughput test.
This patch adds a test suite and initial test for the Wi-Fi MSDU
aggregation support in ns-3. The test is a throughput test and is a
regression test for Bug 873 - Queue occupancy counter not decremented
in WifiMacQueue::Remove().
2010-05-10 12:44:23 +01:00
Josh Pelkey 1287b9f186 move receive-list-error-model to src/common/error-model 2010-05-05 16:04:31 -04:00
Josh Pelkey c07181802f Bug 888 - Writing ascii trace to addtional tests fails 2010-04-28 09:53:00 -04:00
Andrey Mazo 5438b7208c spell check, mostly in comments. 2010-04-23 15:09:31 +04:00
Craig Dowell b5e115c729 break down and check return values 2010-04-19 10:10:49 -07:00
Craig Dowell 3862d7d010 repair unused returns in perfio and test-runner 2010-04-19 08:37:27 -07:00
Gustavo J. A. M. Carneiro 91b0823789 Fix ns3tcp-interop-test-suite after API change 2010-04-16 14:25:23 +01:00
Tom Henderson 1672609731 add NSC version of TCP loss test suite 2010-04-12 21:42:53 -07:00
Josh Pelkey f336bb8add Modifiy tcp loss test to help with bug 818 2010-04-12 20:50:04 -04:00
Tom Henderson 5369adca72 Add loss-based tcp test suite 2010-04-11 23:15:09 -07:00
Tom Henderson 80d6c578ab Factor out socket writer application from tcp test suites 2010-04-11 23:12:42 -07:00
Tom Henderson 46d1b6fb35 [Bug 414] No error model for SimpleNetDevice 2010-03-05 11:56:10 -08:00
Mathieu Lacage 3250d948b5 merge with HEAD 2010-02-25 14:17:21 +01:00
Craig Dowell 3c1d36d76b remove ascii-writer, pcap-writer, branch merge 2010-02-12 16:20:59 -08:00
Craig Dowell d0d718e2f2 branch merge 2010-02-08 23:16:24 -08:00
Craig Dowell 812d7c1bf0 add io performance benchmark 2010-02-08 23:06:31 -08:00
Tom Henderson acb120543a ns3-tcp-socket test suite for socket-related TCP tests 2010-02-08 22:45:39 -08:00
Craig Dowell aeefbd4e9f Review feedback 2010-02-03 13:26:39 -08:00
Craig Dowell 1902bbfc8d branch merge 2010-02-01 13:10:31 -08:00
Craig Dowell dece5e8d33 unused variables 2010-01-29 22:08:09 -08:00
Craig Dowell 15ebe3d617 add ability to pass a header to pcap file object 2010-01-29 20:08:50 -08:00
Craig Dowell e88fdc2bea add a place for perf tests 2010-01-29 15:01:07 -08:00
Craig Dowell 711b39f800 merge trace helper files 2010-01-25 14:52:52 -08:00
Mathieu Lacage a0a9bbd711 bug 602 2010-01-06 16:26:07 +01:00
Craig Dowell 75782d0884 redo pcap tracing 2010-01-04 10:35:32 -08:00
Tom Henderson c102fa1a4d Align tcp test program with Application API change 2009-11-14 21:02:53 -08:00
Guillaume Seguin 86e9753297 Call Simulator::ScheduleWithContext from ns3::Channel subclasses when sending packets to other nodes 2009-11-14 17:47:05 +01:00
Craig Dowell 10ad095309 fix ns3-tcp-cwnd unit test 2009-10-09 15:52:01 -07:00
Craig Dowell fc31c542a6 gcc 3.4.6 doesn't like implicit type conversion from double to unsigned int 2009-10-08 01:02:28 -07:00
Josh Pelkey d2c08094eb Testcase for bug 647 2009-10-07 23:02:25 -04:00
Craig Dowell 69e1aaa1cf split examples, add examples, tweak test.py to minimize builds
--HG--
rename : examples/csma-bridge-one-hop.cc => examples/csma/csma-bridge-one-hop.cc
rename : examples/csma-bridge.cc => examples/csma/csma-bridge.cc
rename : examples/csma-bridge.py => examples/csma/csma-bridge.py
rename : examples/csma-broadcast.cc => examples/csma/csma-broadcast.cc
rename : examples/csma-multicast.cc => examples/csma/csma-multicast.cc
rename : examples/csma-one-subnet.cc => examples/csma/csma-one-subnet.cc
rename : examples/csma-packet-socket.cc => examples/csma/csma-packet-socket.cc
rename : examples/csma-ping.cc => examples/csma/csma-ping.cc
rename : examples/csma-raw-ip-socket.cc => examples/csma/csma-raw-ip-socket.cc
rename : examples/csma-star.cc => examples/csma/csma-star.cc
rename : examples/emu-ping.cc => examples/emulation/emu-ping.cc
rename : examples/emu-udp-echo.cc => examples/emulation/emu-udp-echo.cc
rename : examples/simple-error-model.cc => examples/error-model/simple-error-model.cc
rename : examples/wifi-olsr-flowmon.py => examples/flowmon/wifi-olsr-flowmon.py
rename : examples/icmpv6-redirect.cc => examples/ipv6/icmpv6-redirect.cc
rename : examples/ping6.cc => examples/ipv6/ping6.cc
rename : examples/radvd-two-prefix.cc => examples/ipv6/radvd-two-prefix.cc
rename : examples/radvd.cc => examples/ipv6/radvd.cc
rename : examples/test-ipv6.cc => examples/ipv6/test-ipv6.cc
rename : examples/mesh.cc => examples/mesh/mesh.cc
rename : examples/object-names.cc => examples/naming/object-names.cc
rename : examples/realtime-udp-echo.cc => examples/realtime/realtime-udp-echo.cc
rename : examples/dynamic-global-routing.cc => examples/routing/dynamic-global-routing.cc
rename : examples/global-injection-slash32.cc => examples/routing/global-injection-slash32.cc
rename : examples/global-routing-slash32.cc => examples/routing/global-routing-slash32.cc
rename : examples/mixed-global-routing.cc => examples/routing/mixed-global-routing.cc
rename : examples/nix-simple.cc => examples/routing/nix-simple.cc
rename : examples/nms-p2p-nix.cc => examples/routing/nms-p2p-nix.cc
rename : examples/simple-alternate-routing.cc => examples/routing/simple-alternate-routing.cc
rename : examples/simple-global-routing.cc => examples/routing/simple-global-routing.cc
rename : examples/simple-point-to-point-olsr.cc => examples/routing/simple-point-to-point-olsr.cc
rename : examples/simple-routing-ping6.cc => examples/routing/simple-routing-ping6.cc
rename : examples/simple-routing-ping6.py => examples/routing/simple-routing-ping6.py
rename : examples/static-routing-slash32.cc => examples/routing/static-routing-slash32.cc
rename : examples/tap-wifi-dumbbell.cc => examples/tap/tap-wifi-dumbbell.cc
rename : examples/star.cc => examples/tcp/star.cc
rename : examples/tcp-large-transfer.cc => examples/tcp/tcp-large-transfer.cc
rename : examples/tcp-nsc-lfn.cc => examples/tcp/tcp-nsc-lfn.cc
rename : examples/tcp-nsc-zoo.cc => examples/tcp/tcp-nsc-zoo.cc
rename : examples/tcp-star-server.cc => examples/tcp/tcp-star-server.cc
rename : examples/virtual-net-device.cc => examples/tunneling/virtual-net-device.cc
rename : examples/first.cc => examples/tutorial/first.cc
rename : examples/first.py => examples/tutorial/first.py
rename : examples/hello-simulator.cc => examples/tutorial/hello-simulator.cc
rename : examples/second.cc => examples/tutorial/second.cc
rename : examples/third.cc => examples/tutorial/third.cc
rename : examples/udp-echo.cc => examples/udp/udp-echo.cc
rename : examples/mixed-wireless.cc => examples/wireless/mixed-wireless.cc
rename : examples/mixed-wireless.py => examples/wireless/mixed-wireless.py
rename : examples/multirate.cc => examples/wireless/multirate.cc
rename : examples/simple-wifi-frame-aggregation.cc => examples/wireless/simple-wifi-frame-aggregation.cc
rename : examples/wifi-adhoc.cc => examples/wireless/wifi-adhoc.cc
rename : examples/wifi-ap.cc => examples/wireless/wifi-ap.cc
rename : examples/wifi-ap.py => examples/wireless/wifi-ap.py
rename : examples/wifi-clear-channel-cmu.cc => examples/wireless/wifi-clear-channel-cmu.cc
rename : examples/wifi-wired-bridging.cc => examples/wireless/wifi-wired-bridging.cc
2009-10-06 19:34:29 -07:00
Tom Henderson 4430d6a6bf Fix propagation-loss-model test suite; make it a unit test 2009-10-04 22:46:36 -07:00
Mathieu Lacage a0c720634d avoid crash when nsc is not present 2009-10-01 13:52:25 +02:00
Craig Dowell 36d1c5340d update tcp interop response vectors 2009-09-28 21:57:59 -07:00
Tom Henderson 48800fecf6 Add wifi-interference test suite 2009-09-28 01:06:21 -07:00
Tom Henderson 5db95847dd Add sample test suite file 2009-09-27 23:51:23 -07:00
Craig Dowell 9734679617 add test and validation framework 2009-09-12 19:44:17 -07:00