src/devices/wifi/wscript
author Kirill Andreev <andreev@iitp.ru>
Wed, 25 Mar 2009 14:32:18 +0300
changeset 4877 f08902c42733
parent 4813 e4e2c44d27cd
child 4966 29d73c832841
permissions -rw-r--r--
Added a method to find peer link, code cleanup
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',
4038
c6f634d0fc6f virtualize ErrorRateModel
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3912
diff changeset
    15
        'yans-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
    16
        '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
    17
        'yans-wifi-phy.cc',
3893
94f771c1373a split WifiChannel in WifiChannel + YansWifiChannel
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3888
diff changeset
    18
        'yans-wifi-channel.cc',
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    19
        'wifi-mac-header.cc',
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    20
        'wifi-mac-trailer.cc',
1922
dd18bc29fc3c add MacLow to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1918
diff changeset
    21
        'mac-low.cc',
1925
12faa084fe5b add MacTxMiddle to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1924
diff changeset
    22
        'wifi-mac-queue.cc',
12faa084fe5b add MacTxMiddle to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1924
diff changeset
    23
        'mac-tx-middle.cc',
1927
7ef830068f1d add MacRxMiddle to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1925
diff changeset
    24
        'mac-rx-middle.cc',
1929
437bba482899 add DcaTxop to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1927
diff changeset
    25
        'dca-txop.cc',
1936
61d6404e66d8 add SupportedRates to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1933
diff changeset
    26
        'supported-rates.cc',
1937
996383a87ae3 add new code to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1936
diff changeset
    27
        'capability-information.cc',
996383a87ae3 add new code to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1936
diff changeset
    28
        'status-code.cc',
1939
40af0232df83 add management frame implementations
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1937
diff changeset
    29
        'mgt-headers.cc',
2095
f6ec39e97e4b a new (wholy untested) Dcf implementation
mlacage@thira.inria.fr
parents: 2066
diff changeset
    30
        'random-stream.cc',
f6ec39e97e4b a new (wholy untested) Dcf implementation
mlacage@thira.inria.fr
parents: 2066
diff changeset
    31
        'dcf-manager.cc',
2097
dc2ee3f4e46b dcf test framework
mlacage@thira.inria.fr
parents: 2095
diff changeset
    32
        'dcf-manager-test.cc',
2524
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    33
        'wifi-mac.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    34
        'wifi-remote-station-manager.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    35
        'adhoc-wifi-mac.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    36
        'nqap-wifi-mac.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    37
        'nqsta-wifi-mac.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    38
        'wifi-net-device.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    39
        'arf-wifi-manager.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    40
        'aarf-wifi-manager.cc',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    41
        'ideal-wifi-manager.cc',
2544
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    42
        'amrr-wifi-manager.cc',
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    43
        'onoe-wifi-manager.cc',
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    44
        'rraa-wifi-manager.cc',
2524
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    45
        'constant-rate-wifi-manager.cc',
2626
bc07dd340992 A bunch of wifi smoke tests.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2609
diff changeset
    46
        'wifi-test.cc',
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    47
        ]
4064
10222f483860 Upgrade to new WAF, work in progress
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents: 3912
diff changeset
    48
    headers = bld.new_task_gen('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
    49
    headers.module = 'wifi'
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    50
    headers.source = [
2603
1308da4cb3bf move helpers to their own dir.
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2544
diff changeset
    51
        'propagation-delay-model.h',
2066
4477ee7d0798 test propagation losses
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2055
diff changeset
    52
        '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
    53
        'jakes-propagation-loss-model.h',
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    54
        'wifi-net-device.h',
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    55
        'wifi-channel.h',
1903
2e3982f05578 install header
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1897
diff changeset
    56
        'wifi-mode.h',
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    57
        'ssid.h',
1922
dd18bc29fc3c add MacLow to build
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1918
diff changeset
    58
        'wifi-preamble.h',
4877
f08902c42733 Added a method to find peer link, code cleanup
Kirill Andreev <andreev@iitp.ru>
parents: 4813
diff changeset
    59
        '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
    60
        'yans-wifi-phy.h',
3893
94f771c1373a split WifiChannel in WifiChannel + YansWifiChannel
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3888
diff changeset
    61
        'yans-wifi-channel.h',
2055
8899d6ef5d52 phy state logger
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 1968
diff changeset
    62
        '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
    63
        'interference-helper.h',
2524
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    64
        'wifi-remote-station-manager.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    65
        'arf-wifi-manager.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    66
        'aarf-wifi-manager.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    67
        'constant-rate-wifi-manager.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    68
        'ideal-wifi-manager.h',
2544
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    69
        'amrr-wifi-manager.h',
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    70
        'onoe-wifi-manager.h',
2e6e1a6e0d94 port last rate control algorithms
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2524
diff changeset
    71
        'rraa-wifi-manager.h',
2524
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    72
        'wifi-mac.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    73
        'adhoc-wifi-mac.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    74
        'nqsta-wifi-mac.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    75
        'nqap-wifi-mac.h',
db72c0e7743e port wifi model to Attributes
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2508
diff changeset
    76
        'wifi-phy.h',
2682
bca8508aa28a add missing header
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2678
diff changeset
    77
        'supported-rates.h',
4793
4f6a6772628e Merge 802.11s code.
Andrey Mazo <mazo@iitp.ru>
parents: 4071
diff changeset
    78
        'mgt-headers.h',
4f6a6772628e Merge 802.11s code.
Andrey Mazo <mazo@iitp.ru>
parents: 4071
diff changeset
    79
        'status-code.h',
4f6a6772628e Merge 802.11s code.
Andrey Mazo <mazo@iitp.ru>
parents: 4071
diff changeset
    80
        'capability-information.h',
3912
4d1a61f80745 new wifi API
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3907
diff changeset
    81
        'error-rate-model.h',
4038
c6f634d0fc6f virtualize ErrorRateModel
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 3912
diff changeset
    82
        'yans-error-rate-model.h',
4813
e4e2c44d27cd All mesh related filed moved to devices/mesh. Let the refactoring begins!
Pavel Boyko <boyko@iitp.ru>
parents: 4798
diff changeset
    83
# Need this for module devices/mesh
e4e2c44d27cd All mesh related filed moved to devices/mesh. Let the refactoring begins!
Pavel Boyko <boyko@iitp.ru>
parents: 4798
diff changeset
    84
        'dca-txop.h',
e4e2c44d27cd All mesh related filed moved to devices/mesh. Let the refactoring begins!
Pavel Boyko <boyko@iitp.ru>
parents: 4798
diff changeset
    85
        'wifi-mac-header.h',
e4e2c44d27cd All mesh related filed moved to devices/mesh. Let the refactoring begins!
Pavel Boyko <boyko@iitp.ru>
parents: 4798
diff changeset
    86
        'dcf-manager.h',
e4e2c44d27cd All mesh related filed moved to devices/mesh. Let the refactoring begins!
Pavel Boyko <boyko@iitp.ru>
parents: 4798
diff changeset
    87
        'mac-rx-middle.h',
e4e2c44d27cd All mesh related filed moved to devices/mesh. Let the refactoring begins!
Pavel Boyko <boyko@iitp.ru>
parents: 4798
diff changeset
    88
        'mac-low.h',
1897
04adeb2900ae forgot to add wscript file
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
diff changeset
    89
        ]
3881
d3f8cf4d2c2a PHY-layer test scripts
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2984
diff changeset
    90
d3f8cf4d2c2a PHY-layer test scripts
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2984
diff changeset
    91
    obj = bld.create_ns3_program('wifi-phy-test',
d3f8cf4d2c2a PHY-layer test scripts
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2984
diff changeset
    92
        ['core', 'simulator', 'mobility', 'node', 'wifi'])
d3f8cf4d2c2a PHY-layer test scripts
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents: 2984
diff changeset
    93
    obj.source = 'wifi-phy-test.cc'