LEFT | RIGHT |
1 ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8;
-*- | 1 ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8;
-*- |
2 | 2 |
3 def build(bld): | 3 def build(bld): |
4 obj = bld.create_ns3_module('wifi', ['network', 'propagation']) | 4 obj = bld.create_ns3_module('wifi', ['network', 'propagation']) |
5 obj.source = [ | 5 obj.source = [ |
6 'model/wifi-information-element.cc', | 6 'model/wifi-information-element.cc', |
7 'model/wifi-information-element-vector.cc', | 7 'model/wifi-information-element-vector.cc', |
8 'model/wifi-channel.cc', | 8 'model/wifi-channel.cc', |
9 'model/wifi-mode.cc', | 9 'model/wifi-mode.cc', |
10 'model/ssid.cc', | 10 'model/ssid.cc', |
11 'model/wifi-phy.cc', | 11 'model/wifi-phy.cc', |
12 'model/wifi-phy-state-helper.cc', | 12 'model/wifi-phy-state-helper.cc', |
13 'model/error-rate-model.cc', | 13 'model/error-rate-model.cc', |
14 'model/yans-error-rate-model.cc', | 14 'model/yans-error-rate-model.cc', |
15 'model/nist-error-rate-model.cc', | 15 'model/nist-error-rate-model.cc', |
16 'model/dsss-error-rate-model.cc', | 16 'model/dsss-error-rate-model.cc', |
17 'model/interference-helper.cc', | 17 'model/interference-helper.cc', |
18 'model/interference-helper-tx-duration-test.cc', | |
19 'model/yans-wifi-phy.cc', | 18 'model/yans-wifi-phy.cc', |
20 'model/yans-wifi-channel.cc', | 19 'model/yans-wifi-channel.cc', |
21 'model/wifi-mac-header.cc', | 20 'model/wifi-mac-header.cc', |
22 'model/wifi-mac-trailer.cc', | 21 'model/wifi-mac-trailer.cc', |
23 'model/mac-low.cc', | 22 'model/mac-low.cc', |
24 'model/wifi-mac-queue.cc', | 23 'model/wifi-mac-queue.cc', |
25 'model/mac-tx-middle.cc', | 24 'model/mac-tx-middle.cc', |
26 'model/mac-rx-middle.cc', | 25 'model/mac-rx-middle.cc', |
27 'model/dca-txop.cc', | 26 'model/dca-txop.cc', |
28 'model/supported-rates.cc', | 27 'model/supported-rates.cc', |
29 'model/capability-information.cc', | 28 'model/capability-information.cc', |
30 'model/status-code.cc', | 29 'model/status-code.cc', |
31 'model/mgt-headers.cc', | 30 'model/mgt-headers.cc', |
32 'model/random-stream.cc', | 31 'model/random-stream.cc', |
33 'model/dcf-manager.cc', | 32 'model/dcf-manager.cc', |
34 'model/dcf-manager-test.cc', | |
35 'model/wifi-mac.cc', | 33 'model/wifi-mac.cc', |
36 'model/regular-wifi-mac.cc', | 34 'model/regular-wifi-mac.cc', |
37 'model/wifi-remote-station-manager.cc', | 35 'model/wifi-remote-station-manager.cc', |
38 'model/ap-wifi-mac.cc', | 36 'model/ap-wifi-mac.cc', |
39 'model/sta-wifi-mac.cc', | 37 'model/sta-wifi-mac.cc', |
40 'model/adhoc-wifi-mac.cc', | 38 'model/adhoc-wifi-mac.cc', |
41 'model/wifi-net-device.cc', | 39 'model/wifi-net-device.cc', |
42 'model/arf-wifi-manager.cc', | 40 'model/arf-wifi-manager.cc', |
43 'model/aarf-wifi-manager.cc', | 41 'model/aarf-wifi-manager.cc', |
44 'model/ideal-wifi-manager.cc', | 42 'model/ideal-wifi-manager.cc', |
45 'model/constant-rate-wifi-manager.cc', | 43 'model/constant-rate-wifi-manager.cc', |
46 'model/amrr-wifi-manager.cc', | 44 'model/amrr-wifi-manager.cc', |
47 'model/onoe-wifi-manager.cc', | 45 'model/onoe-wifi-manager.cc', |
48 'model/rraa-wifi-manager.cc', | 46 'model/rraa-wifi-manager.cc', |
49 'model/aarfcd-wifi-manager.cc', | 47 'model/aarfcd-wifi-manager.cc', |
50 'model/cara-wifi-manager.cc', | 48 'model/cara-wifi-manager.cc', |
51 'model/minstrel-wifi-manager.cc', | 49 'model/minstrel-wifi-manager.cc', |
52 'model/qos-tag.cc', | 50 'model/qos-tag.cc', |
53 'model/qos-utils.cc', | 51 'model/qos-utils.cc', |
54 'model/edca-txop-n.cc', | 52 'model/edca-txop-n.cc', |
55 'model/msdu-aggregator.cc', | 53 'model/msdu-aggregator.cc', |
56 'model/amsdu-subframe-header.cc', | 54 'model/amsdu-subframe-header.cc', |
57 'model/msdu-standard-aggregator.cc', | 55 'model/msdu-standard-aggregator.cc', |
58 'model/originator-block-ack-agreement.cc', | 56 'model/originator-block-ack-agreement.cc', |
59 'model/dcf.cc', | 57 'model/dcf.cc', |
60 'model/ctrl-headers.cc', | 58 'model/ctrl-headers.cc', |
61 'model/qos-blocked-destinations.cc', | 59 'model/qos-blocked-destinations.cc', |
62 'model/block-ack-agreement.cc', | 60 'model/block-ack-agreement.cc', |
63 'model/block-ack-manager.cc', | 61 'model/block-ack-manager.cc', |
64 'model/block-ack-test-suite.cc', | |
65 'model/block-ack-cache.cc', | 62 'model/block-ack-cache.cc', |
66 'helper/athstats-helper.cc', | 63 'helper/athstats-helper.cc', |
67 'helper/wifi-helper.cc', | 64 'helper/wifi-helper.cc', |
68 'helper/yans-wifi-helper.cc', | 65 'helper/yans-wifi-helper.cc', |
69 'helper/nqos-wifi-mac-helper.cc', | 66 'helper/nqos-wifi-mac-helper.cc', |
70 'helper/qos-wifi-mac-helper.cc', | 67 'helper/qos-wifi-mac-helper.cc', |
| 68 ] |
| 69 |
| 70 obj_test = bld.create_ns3_module_test_library('wifi') |
| 71 obj_test.source = [ |
| 72 'test/block-ack-test-suite.cc', |
| 73 'test/dcf-manager-test.cc', |
| 74 'test/tx-duration-test.cc', |
71 'test/wifi-test.cc', | 75 'test/wifi-test.cc', |
72 ] | 76 ] |
| 77 |
73 headers = bld.new_task_gen('ns3header') | 78 headers = bld.new_task_gen('ns3header') |
74 headers.module = 'wifi' | 79 headers.module = 'wifi' |
75 headers.source = [ | 80 headers.source = [ |
76 'model/wifi-information-element.h', | 81 'model/wifi-information-element.h', |
77 'model/wifi-information-element-vector.h', | 82 'model/wifi-information-element-vector.h', |
78 'model/wifi-net-device.h', | 83 'model/wifi-net-device.h', |
79 'model/wifi-channel.h', | 84 'model/wifi-channel.h', |
80 'model/wifi-mode.h', | 85 'model/wifi-mode.h', |
81 'model/ssid.h', | 86 'model/ssid.h', |
82 'model/wifi-preamble.h', | 87 'model/wifi-preamble.h', |
(...skipping 17 matching lines...) Expand all Loading... |
100 'model/cara-wifi-manager.h', | 105 'model/cara-wifi-manager.h', |
101 'model/minstrel-wifi-manager.h', | 106 'model/minstrel-wifi-manager.h', |
102 'model/wifi-mac.h', | 107 'model/wifi-mac.h', |
103 'model/regular-wifi-mac.h', | 108 'model/regular-wifi-mac.h', |
104 'model/wifi-phy.h', | 109 'model/wifi-phy.h', |
105 'model/supported-rates.h', | 110 'model/supported-rates.h', |
106 'model/error-rate-model.h', | 111 'model/error-rate-model.h', |
107 'model/yans-error-rate-model.h', | 112 'model/yans-error-rate-model.h', |
108 'model/nist-error-rate-model.h', | 113 'model/nist-error-rate-model.h', |
109 'model/dsss-error-rate-model.h', | 114 'model/dsss-error-rate-model.h', |
| 115 'model/wifi-mac-queue.h', |
110 'model/dca-txop.h', | 116 'model/dca-txop.h', |
111 'model/wifi-mac-header.h', | 117 'model/wifi-mac-header.h', |
112 'model/qos-utils.h', | 118 'model/qos-utils.h', |
113 'model/edca-txop-n.h', | 119 'model/edca-txop-n.h', |
114 'model/msdu-aggregator.h', | 120 'model/msdu-aggregator.h', |
115 'model/amsdu-subframe-header.h', | 121 'model/amsdu-subframe-header.h', |
116 'model/qos-tag.h', | 122 'model/qos-tag.h', |
117 'model/mgt-headers.h', | 123 'model/mgt-headers.h', |
118 'model/status-code.h', | 124 'model/status-code.h', |
119 'model/capability-information.h', | 125 'model/capability-information.h', |
120 'model/dcf-manager.h', | 126 'model/dcf-manager.h', |
121 'model/mac-rx-middle.h',· | 127 'model/mac-rx-middle.h',· |
122 'model/mac-low.h', | 128 'model/mac-low.h', |
123 'model/originator-block-ack-agreement.h', | 129 'model/originator-block-ack-agreement.h', |
124 'model/dcf.h', | 130 'model/dcf.h', |
125 'model/ctrl-headers.h', | 131 'model/ctrl-headers.h', |
126 'model/block-ack-agreement.h', | 132 'model/block-ack-agreement.h', |
127 'model/block-ack-manager.h', | 133 'model/block-ack-manager.h', |
128 'model/block-ack-cache.h', | 134 'model/block-ack-cache.h', |
129 » 'model/wifi-phy-state-helper.h', | 135 » » » » 'model/wifi-phy-state-helper.h', |
130 'helper/athstats-helper.h', | 136 'helper/athstats-helper.h', |
131 'helper/wifi-helper.h', | 137 'helper/wifi-helper.h', |
132 'helper/yans-wifi-helper.h', | 138 'helper/yans-wifi-helper.h', |
133 'helper/nqos-wifi-mac-helper.h', | 139 'helper/nqos-wifi-mac-helper.h', |
134 'helper/qos-wifi-mac-helper.h', | 140 'helper/qos-wifi-mac-helper.h', |
135 ] | 141 ] |
136 | 142 |
137 if bld.env['ENABLE_GSL']: | 143 if bld.env['ENABLE_GSL']: |
138 obj.uselib = 'GSL GSLCBLAS M' | 144 obj.uselib = 'GSL GSLCBLAS M' |
| 145 obj_test.uselib = 'GSL GSLCBLAS M' |
139 | 146 |
140 obj = bld.create_ns3_program('wifi-phy-test', | 147 obj = bld.create_ns3_program('wifi-phy-test', |
141 ['core', 'simulator', 'mobility', 'node', 'wifi']) | 148 ['core', 'mobility', 'network', 'wifi']) |
142 obj.source = 'test/wifi-phy-test.cc' | 149 obj.source = 'test/wifi-phy-test.cc' |
143 | 150 |
144 bld.ns3_python_bindings() | 151 bld.ns3_python_bindings() |
145 | 152 |
LEFT | RIGHT |