src/devices/wifi/wscript
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 04 Nov 2008 14:06:34 +0100
changeset 3912 4d1a61f80745
parent 3907 56e477db65b2
child 4038 c6f634d0fc6f
child 4064 10222f483860
permissions -rw-r--r--
new wifi API
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     1
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     2
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     3
def build(bld):
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     4
    obj = bld.create_ns3_module('wifi', ['node'])
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     5
    obj.source = [
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     6
        'propagation-delay-model.cc',
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     7
        'propagation-loss-model.cc',
2678
22aa62a108ed Composite and Jakes propagation loss models.
src/devices/wifi/Federico Maguolo <maguolof@dei.unipd.it>
parents: 2626
diff changeset
     8
        'jakes-propagation-loss-model.cc',
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
     9
        'wifi-channel.cc',
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    10
        'wifi-mode.cc',
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    11
        'ssid.cc',
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    12
        'wifi-phy.cc',
3897
44645cec42f2 split state management in a helper class
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3893
diff changeset
    13
        'wifi-phy-state-helper.cc',
3902
9e048e073cf0 split the error rate model from the yans phy
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3901
diff changeset
    14
        'error-rate-model.cc',
3905
99c9346b5d71 split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3902
diff changeset
    15
        'interference-helper.cc',
3888
a15618dcd0eb rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3881
diff changeset
    16
        'yans-wifi-phy.cc',
3893
94f771c1373a split WifiChannel in WifiChannel + YansWifiChannel
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3888
diff changeset
    17
        'yans-wifi-channel.cc',
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    18
        'wifi-mac-header.cc',
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    19
        'wifi-mac-trailer.cc',
1922
dd18bc29fc3c add MacLow to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1918
diff changeset
    20
        'mac-low.cc',
1925
12faa084fe5b add MacTxMiddle to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1924
diff changeset
    21
        'wifi-mac-queue.cc',
12faa084fe5b add MacTxMiddle to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1924
diff changeset
    22
        'mac-tx-middle.cc',
1927
7ef830068f1d add MacRxMiddle to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1925
diff changeset
    23
        'mac-rx-middle.cc',
1929
437bba482899 add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1927
diff changeset
    24
        'dca-txop.cc',
1936
61d6404e66d8 add SupportedRates to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1933
diff changeset
    25
        'supported-rates.cc',
1937
996383a87ae3 add new code to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1936
diff changeset
    26
        'capability-information.cc',
996383a87ae3 add new code to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1936
diff changeset
    27
        'status-code.cc',
1939
40af0232df83 add management frame implementations
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1937
diff changeset
    28
        'mgt-headers.cc',
2095
f6ec39e97e4b a new (wholy untested) Dcf implementation
mlacage@thira.inria.fr
parents: 2066
diff changeset
    29
        'random-stream.cc',
f6ec39e97e4b a new (wholy untested) Dcf implementation
mlacage@thira.inria.fr
parents: 2066
diff changeset
    30
        'dcf-manager.cc',
2097
dc2ee3f4e46b dcf test framework
mlacage@thira.inria.fr
parents: 2095
diff changeset
    31
        'dcf-manager-test.cc',
2524
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    32
        'wifi-mac.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    33
        'wifi-remote-station-manager.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    34
        'adhoc-wifi-mac.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    35
        'nqap-wifi-mac.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    36
        'nqsta-wifi-mac.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    37
        'wifi-net-device.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    38
        'arf-wifi-manager.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    39
        'aarf-wifi-manager.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    40
        'ideal-wifi-manager.cc',
2544
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    41
        'amrr-wifi-manager.cc',
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    42
        'onoe-wifi-manager.cc',
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    43
        'rraa-wifi-manager.cc',
2524
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    44
        'constant-rate-wifi-manager.cc',
2626
bc07dd340992 A bunch of wifi smoke tests.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2609
diff changeset
    45
        'wifi-test.cc',
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    46
        ]
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    47
    headers = bld.create_obj('ns3header')
2609
931d59bb1303 Add a 'module' attribute to the ns3header object specifying which module each set of headers belongs to.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 2603
diff changeset
    48
    headers.module = 'wifi'
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    49
    headers.source = [
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2544
diff changeset
    50
        'propagation-delay-model.h',
2066
4477ee7d0798 test propagation losses
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2055
diff changeset
    51
        'propagation-loss-model.h',
2678
22aa62a108ed Composite and Jakes propagation loss models.
src/devices/wifi/Federico Maguolo <maguolof@dei.unipd.it>
parents: 2626
diff changeset
    52
        'jakes-propagation-loss-model.h',
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    53
        'wifi-net-device.h',
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    54
        'wifi-channel.h',
1903
2e3982f05578 install header
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1897
diff changeset
    55
        'wifi-mode.h',
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    56
        'ssid.h',
1922
dd18bc29fc3c add MacLow to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1918
diff changeset
    57
        'wifi-preamble.h',
2166
00b5eb43dba2 Improve the accuracy of 802.11a tx duration calculations.
Federico Maguolo <federico.maguolo@dei.unipd.it>
parents: 2146
diff changeset
    58
	'wifi-phy-standard.h',
3888
a15618dcd0eb rename WifiPhy to YansWifiPhy and add WifiPhy abstract base class.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3881
diff changeset
    59
        'yans-wifi-phy.h',
3893
94f771c1373a split WifiChannel in WifiChannel + YansWifiChannel
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3888
diff changeset
    60
        'yans-wifi-channel.h',
2055
8899d6ef5d52 phy state logger
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1968
diff changeset
    61
        'wifi-phy.h',
3905
99c9346b5d71 split interference calculation from YansWifiPhy. Move them to InterferenceHelper
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3902
diff changeset
    62
        'interference-helper.h',
2524
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    63
        'wifi-remote-station-manager.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    64
        'arf-wifi-manager.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    65
        'aarf-wifi-manager.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    66
        'constant-rate-wifi-manager.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    67
        'ideal-wifi-manager.h',
2544
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    68
        'amrr-wifi-manager.h',
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    69
        'onoe-wifi-manager.h',
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    70
        'rraa-wifi-manager.h',
2524
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    71
        'wifi-mac.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    72
        'adhoc-wifi-mac.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    73
        'nqsta-wifi-mac.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    74
        'nqap-wifi-mac.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    75
        'wifi-phy.h',
2682
bca8508aa28a add missing header
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2678
diff changeset
    76
        'supported-rates.h',
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3907
diff changeset
    77
        'error-rate-model.h',
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    78
        ]
3881
d3f8cf4d2c2a PHY-layer test scripts
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2984
diff changeset
    79
d3f8cf4d2c2a PHY-layer test scripts
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2984
diff changeset
    80
    obj = bld.create_ns3_program('wifi-phy-test',
d3f8cf4d2c2a PHY-layer test scripts
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2984
diff changeset
    81
        ['core', 'simulator', 'mobility', 'node', 'wifi'])
d3f8cf4d2c2a PHY-layer test scripts
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2984
diff changeset
    82
    obj.source = 'wifi-phy-test.cc'