merge
This commit is contained in:
commit
499c94dc6f
55 files changed
+59
-64
No files matched your search
File renamed without changes.
@@ -39,7 +39,6 @@
|
||||
#include "uan-cw-example.h"
|
||||
#include "ns3/core-module.h"
|
||||
#include "ns3/common-module.h"
|
||||
#include "ns3/uan-module.h"
|
||||
#include "ns3/node-module.h"
|
||||
#include "ns3/mobility-module.h"
|
||||
#include "ns3/contrib-module.h"
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "ns3/common-module.h"
|
||||
#include "ns3/node-module.h"
|
||||
#include "ns3/contrib-module.h"
|
||||
#include "ns3/uan-module.h"
|
||||
#include "ns3/helper-module.h"
|
||||
|
||||
using namespace ns3;
|
||||
@@ -54,7 +54,6 @@
|
||||
#include "uan-rc-example.h"
|
||||
#include "ns3/core-module.h"
|
||||
#include "ns3/common-module.h"
|
||||
#include "ns3/uan-module.h"
|
||||
#include "ns3/helper-module.h"
|
||||
#include "ns3/mobility-module.h"
|
||||
#include "ns3/node-module.h"
|
||||
File renamed without changes.
@@ -1,4 +1,3 @@
|
||||
|
||||
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
||||
|
||||
def build(bld):
|
||||
@@ -7,5 +6,3 @@ def build(bld):
|
||||
|
||||
obj = bld.create_ns3_program('uan-rc-example', ['core', 'simulator', 'mobility', 'uan'])
|
||||
obj.source = 'uan-rc-example.cc'
|
||||
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -18,12 +18,12 @@
|
||||
* Author: Leonard Tracy <lentracy@gmail.com>
|
||||
*/
|
||||
|
||||
#include "uan-net-device.h"
|
||||
#include "uan-channel.h"
|
||||
#include "uan-mac-aloha.h"
|
||||
#include "uan-phy-gen.h"
|
||||
#include "uan-transducer-hd.h"
|
||||
#include "uan-prop-model-ideal.h"
|
||||
#include "ns3/uan-net-device.h"
|
||||
#include "ns3/uan-channel.h"
|
||||
#include "ns3/uan-mac-aloha.h"
|
||||
#include "ns3/uan-phy-gen.h"
|
||||
#include "ns3/uan-transducer-hd.h"
|
||||
#include "ns3/uan-prop-model-ideal.h"
|
||||
#include "ns3/constant-position-mobility-model.h"
|
||||
#include "ns3/simulator.h"
|
||||
#include "ns3/test.h"
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
exec "`dirname "$0"`"/../../../waf "$@"
|
||||
+46
-43
@@ -1,53 +1,56 @@
|
||||
|
||||
|
||||
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
||||
|
||||
def build(bld):
|
||||
module = bld.create_ns3_module('uan', ['node'])
|
||||
module.source = [
|
||||
'uan-channel.cc',
|
||||
'uan-phy-gen.cc',
|
||||
'uan-transducer-hd.cc',
|
||||
'uan-address.cc',
|
||||
'uan-net-device.cc',
|
||||
'uan-tx-mode.cc',
|
||||
'uan-prop-model.cc',
|
||||
'uan-prop-model-ideal.cc',
|
||||
'uan-mac-aloha.cc',
|
||||
'uan-header-common.cc',
|
||||
'uan-noise-model-default.cc',
|
||||
'uan-mac-cw.cc',
|
||||
'uan-prop-model-thorp.cc',
|
||||
'uan-phy-dual.cc',
|
||||
'uan-header-rc.cc',
|
||||
'uan-mac-rc.cc',
|
||||
'uan-mac-rc-gw.cc',
|
||||
'uan-test.cc',
|
||||
'uan-phy.cc',
|
||||
'uan-noise-model.cc'
|
||||
'model/uan-channel.cc',
|
||||
'model/uan-phy-gen.cc',
|
||||
'model/uan-transducer-hd.cc',
|
||||
'model/uan-address.cc',
|
||||
'model/uan-net-device.cc',
|
||||
'model/uan-tx-mode.cc',
|
||||
'model/uan-prop-model.cc',
|
||||
'model/uan-prop-model-ideal.cc',
|
||||
'model/uan-mac-aloha.cc',
|
||||
'model/uan-header-common.cc',
|
||||
'model/uan-noise-model-default.cc',
|
||||
'model/uan-mac-cw.cc',
|
||||
'model/uan-prop-model-thorp.cc',
|
||||
'model/uan-phy-dual.cc',
|
||||
'model/uan-header-rc.cc',
|
||||
'model/uan-mac-rc.cc',
|
||||
'model/uan-mac-rc-gw.cc',
|
||||
'model/uan-phy.cc',
|
||||
'model/uan-noise-model.cc',
|
||||
'helper/uan-helper.cc',
|
||||
'test/uan-test.cc',
|
||||
]
|
||||
headers = bld.new_task_gen('ns3header')
|
||||
headers.module = 'uan'
|
||||
headers.source = [
|
||||
'uan-channel.h',
|
||||
'uan-phy.h',
|
||||
'uan-mac.h',
|
||||
'uan-net-device.h',
|
||||
'uan-prop-model.h',
|
||||
'uan-tx-mode.h',
|
||||
'uan-transducer.h',
|
||||
'uan-phy-gen.h',
|
||||
'uan-transducer-hd.h',
|
||||
'uan-address.h',
|
||||
'uan-prop-model-ideal.h',
|
||||
'uan-mac-aloha.h',
|
||||
'uan-header-common.h',
|
||||
'uan-noise-model.h',
|
||||
'uan-noise-model-default.h',
|
||||
'uan-mac-cw.h',
|
||||
'uan-prop-model-thorp.h',
|
||||
'uan-phy-dual.h',
|
||||
'uan-header-rc.h',
|
||||
'uan-mac-rc.h',
|
||||
'uan-mac-rc-gw.h'
|
||||
'model/uan-channel.h',
|
||||
'model/uan-phy.h',
|
||||
'model/uan-mac.h',
|
||||
'model/uan-net-device.h',
|
||||
'model/uan-prop-model.h',
|
||||
'model/uan-tx-mode.h',
|
||||
'model/uan-transducer.h',
|
||||
'model/uan-phy-gen.h',
|
||||
'model/uan-transducer-hd.h',
|
||||
'model/uan-address.h',
|
||||
'model/uan-prop-model-ideal.h',
|
||||
'model/uan-mac-aloha.h',
|
||||
'model/uan-header-common.h',
|
||||
'model/uan-noise-model.h',
|
||||
'model/uan-noise-model-default.h',
|
||||
'model/uan-mac-cw.h',
|
||||
'model/uan-prop-model-thorp.h',
|
||||
'model/uan-phy-dual.h',
|
||||
'model/uan-header-rc.h',
|
||||
'model/uan-mac-rc.h',
|
||||
'helper/uan-helper.h',
|
||||
'model/uan-mac-rc-gw.h',
|
||||
]
|
||||
|
||||
if (bld.env['ENABLE_EXAMPLES']):
|
||||
bld.add_subdirs('examples')
|
||||
@@ -60,7 +60,6 @@ private:
|
||||
virtual void DoNotifyChannelSwitching (void) {
|
||||
m_txop->NotifyChannelSwitching ();
|
||||
}
|
||||
|
||||
DcaTxop *m_txop;
|
||||
};
|
||||
|
||||
@@ -101,7 +100,7 @@ TypeId
|
||||
DcaTxop::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::DcaTxop")
|
||||
.SetParent<Object> ()
|
||||
.SetParent (ns3::Dcf::GetTypeId ())
|
||||
.AddConstructor<DcaTxop> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -26,10 +26,10 @@
|
||||
#include "ns3/packet.h"
|
||||
#include "ns3/nstime.h"
|
||||
#include "ns3/object.h"
|
||||
#include "wifi-mac-header.h"
|
||||
#include "wifi-mode.h"
|
||||
#include "wifi-remote-station-manager.h"
|
||||
#include "dcf.h"
|
||||
#include "ns3/wifi-mac-header.h"
|
||||
#include "ns3/wifi-mode.h"
|
||||
#include "ns3/wifi-remote-station-manager.h"
|
||||
#include "ns3/dcf.h"
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ TypeId
|
||||
EdcaTxopN::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::EdcaTxopN")
|
||||
.SetParent<Object> ()
|
||||
.SetParent (ns3::Dcf::GetTypeId ())
|
||||
.AddConstructor<EdcaTxopN> ()
|
||||
.AddAttribute ("BlockAckThreshold", "If number of packets in this queue reaches this value,\
|
||||
block ack mechanism is used. If this value is 0, block ack is never used.",
|
||||
|
||||
@@ -25,7 +25,6 @@ def build(bld):
|
||||
'spectrum-helper.cc',
|
||||
'adhoc-aloha-noack-ideal-phy-helper.cc',
|
||||
'v4ping-helper.cc',
|
||||
'uan-helper.cc',
|
||||
'nqos-wifi-mac-helper.cc',
|
||||
'qos-wifi-mac-helper.cc',
|
||||
'ipv4-nix-vector-helper.cc',
|
||||
@@ -83,7 +82,6 @@ def build(bld):
|
||||
'spectrum-helper.h',
|
||||
'adhoc-aloha-noack-ideal-phy-helper.h',
|
||||
'v4ping-helper.h',
|
||||
'uan-helper.h',
|
||||
'nqos-wifi-mac-helper.h',
|
||||
'qos-wifi-mac-helper.h',
|
||||
'ipv4-nix-vector-helper.h',
|
||||
|
||||
Reference in new issue
Block a user