2010-12-02 09:03:34 +01:00
|
|
|
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
|
|
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
|
|
2011-11-11 15:59:00 +01:00
|
|
|
module = bld.create_ns3_module('lte', ['core', 'network', 'spectrum', 'stats', 'buildings', 'virtual-net-device','point-to-point','applications','internet','csma'])
|
2010-12-02 09:03:34 +01:00
|
|
|
module.source = [
|
2011-04-01 11:12:48 +02:00
|
|
|
'model/lte-common.cc',
|
2010-12-02 09:03:34 +01:00
|
|
|
'model/lte-spectrum-phy.cc',
|
2011-11-13 16:08:44 +01:00
|
|
|
'model/lte-spectrum-signal-parameters.cc',
|
2010-12-02 09:03:34 +01:00
|
|
|
'model/lte-phy.cc',
|
2011-03-10 18:57:41 +01:00
|
|
|
'model/lte-enb-phy.cc',
|
|
|
|
|
'model/lte-ue-phy.cc',
|
2010-12-02 09:03:34 +01:00
|
|
|
'model/lte-spectrum-value-helper.cc',
|
2011-03-10 18:57:41 +01:00
|
|
|
'model/lte-amc.cc',
|
2011-03-10 18:15:26 +01:00
|
|
|
'model/lte-enb-rrc.cc',
|
|
|
|
|
'model/lte-ue-rrc.cc',
|
2011-09-07 16:23:47 +02:00
|
|
|
'model/lte-rlc-sap.cc',
|
2011-03-10 18:15:26 +01:00
|
|
|
'model/lte-rlc.cc',
|
2011-09-07 16:23:47 +02:00
|
|
|
'model/lte-rlc-header.cc',
|
2011-12-05 13:00:14 +01:00
|
|
|
'model/lte-rlc-am-header.cc',
|
2011-09-07 16:23:47 +02:00
|
|
|
'model/lte-rlc-um.cc',
|
2011-12-05 13:00:14 +01:00
|
|
|
'model/lte-rlc-am.cc',
|
2011-03-18 12:01:39 +01:00
|
|
|
'model/lte-rlc-tag.cc',
|
2011-09-07 16:40:08 +02:00
|
|
|
'model/lte-rlc-sdu-status-tag.cc',
|
2011-09-09 17:58:15 +02:00
|
|
|
'model/lte-pdcp-sap.cc',
|
|
|
|
|
'model/lte-pdcp.cc',
|
|
|
|
|
'model/lte-pdcp-header.cc',
|
2011-11-24 11:43:18 +01:00
|
|
|
'model/lte-pdcp-tag.cc',
|
2011-09-07 16:40:08 +02:00
|
|
|
'model/eps-bearer.cc',
|
2011-11-04 13:29:20 +00:00
|
|
|
'model/lte-radio-bearer-info.cc',
|
2010-12-02 09:03:34 +01:00
|
|
|
'model/lte-net-device.cc',
|
2011-03-10 18:57:41 +01:00
|
|
|
'model/lte-enb-net-device.cc',
|
|
|
|
|
'model/lte-ue-net-device.cc',
|
2010-12-02 09:03:34 +01:00
|
|
|
'model/ideal-control-messages.cc',
|
2011-12-05 21:13:53 +01:00
|
|
|
'helper/lte-helper.cc',
|
2011-09-09 18:01:16 +02:00
|
|
|
'helper/gtpu-tunnel-helper.cc',
|
2011-11-07 17:47:12 +01:00
|
|
|
'helper/lte-stats-calculator.cc',
|
2011-07-11 13:47:36 +02:00
|
|
|
'helper/epc-helper.cc',
|
2011-12-05 21:19:59 +01:00
|
|
|
'helper/radio-bearer-stats-calculator.cc',
|
2011-04-29 17:09:50 +02:00
|
|
|
'helper/mac-stats-calculator.cc',
|
2011-03-10 18:15:26 +01:00
|
|
|
'model/ff-mac-csched-sap.cc',
|
|
|
|
|
'model/ff-mac-sched-sap.cc',
|
|
|
|
|
'model/lte-mac-sap.cc',
|
|
|
|
|
'model/ff-mac-scheduler.cc',
|
2011-03-29 15:24:42 +02:00
|
|
|
'model/lte-enb-cmac-sap.cc',
|
|
|
|
|
'model/lte-ue-cmac-sap.cc',
|
2011-03-10 18:15:26 +01:00
|
|
|
'model/rr-ff-mac-scheduler.cc',
|
|
|
|
|
'model/lte-enb-mac.cc',
|
|
|
|
|
'model/lte-ue-mac.cc',
|
2011-12-05 21:24:51 +01:00
|
|
|
'model/lte-radio-bearer-tag.cc',
|
2011-03-15 11:22:36 +01:00
|
|
|
'model/lte-phy-tag.cc',
|
2011-03-10 18:15:26 +01:00
|
|
|
'model/lte-enb-phy-sap.cc',
|
|
|
|
|
'model/lte-ue-phy-sap.cc',
|
|
|
|
|
'model/lte-interference.cc',
|
|
|
|
|
'model/lte-sinr-chunk-processor.cc',
|
2011-03-17 15:47:36 +01:00
|
|
|
'model/pf-ff-mac-scheduler.cc',
|
2011-07-11 13:47:36 +02:00
|
|
|
'model/epc-gtpu-header.cc',
|
2011-11-11 15:59:00 +01:00
|
|
|
'model/trace-fading-loss-model.cc',
|
2011-07-11 13:47:36 +02:00
|
|
|
'model/epc-gtpu-l5-protocol.cc',
|
2011-08-02 15:59:36 +02:00
|
|
|
'model/epc-gtpu-tunnel-endpoint.cc',
|
2011-09-09 18:20:08 +02:00
|
|
|
'model/epc-enb-application.cc',
|
|
|
|
|
'model/epc-sgw-pgw-application.cc',
|
2011-12-05 21:27:44 +01:00
|
|
|
'model/epc-tft.cc',
|
2011-12-05 21:30:58 +01:00
|
|
|
'model/epc-tft-classifier.cc',
|
2011-03-24 16:46:49 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
module_test = bld.create_ns3_module_test_library('lte')
|
|
|
|
|
module_test.source = [
|
2011-05-02 17:56:00 +02:00
|
|
|
'test/lte-test-downlink-sinr.cc',
|
|
|
|
|
'test/lte-test-uplink-sinr.cc',
|
2011-05-06 18:31:37 +02:00
|
|
|
'test/lte-test-link-adaptation.cc',
|
2011-06-03 20:34:50 +02:00
|
|
|
'test/lte-test-interference.cc',
|
2011-05-02 17:56:00 +02:00
|
|
|
'test/lte-test-sinr-chunk-processor.cc',
|
2011-05-03 12:44:40 +02:00
|
|
|
'test/lte-test-ue-phy.cc',
|
2011-05-02 17:37:17 +02:00
|
|
|
'test/lte-test-rr-ff-mac-scheduler.cc',
|
|
|
|
|
'test/lte-test-pf-ff-mac-scheduler.cc',
|
2011-05-02 13:59:17 +02:00
|
|
|
'test/lte-test-earfcn.cc',
|
2011-05-04 19:27:33 +02:00
|
|
|
'test/lte-test-spectrum-value-helper.cc',
|
2011-11-11 15:59:00 +01:00
|
|
|
'test/lte-test-pathloss-model.cc',
|
2011-09-13 16:59:31 +02:00
|
|
|
'test/lte-test-entities.cc',
|
2012-01-11 13:25:44 +01:00
|
|
|
# 'test/lte-test-rlc-um-transmitter.cc',
|
2011-12-05 13:00:14 +01:00
|
|
|
'test/lte-test-rlc-am-transmitter.cc',
|
2011-07-11 13:47:36 +02:00
|
|
|
'test/epc-test-gtpu.cc',
|
2011-12-05 21:30:58 +01:00
|
|
|
'test/test-epc-tft-classifier.cc',
|
2011-10-19 19:01:50 +02:00
|
|
|
'test/epc-test-s1u-downlink.cc',
|
2011-10-21 17:31:08 +02:00
|
|
|
'test/epc-test-s1u-uplink.cc',
|
2011-11-04 13:29:20 +00:00
|
|
|
'test/test-lte-epc-e2e-data.cc',
|
2012-01-11 18:31:34 +01:00
|
|
|
'test/test-lte-antenna.cc',
|
2010-12-02 09:03:34 +01:00
|
|
|
]
|
2011-09-07 16:23:47 +02:00
|
|
|
|
2011-09-08 16:13:40 +01:00
|
|
|
headers = bld.new_task_gen(features=['ns3header'])
|
2010-12-02 09:03:34 +01:00
|
|
|
headers.module = 'lte'
|
|
|
|
|
headers.source = [
|
2011-04-01 11:12:48 +02:00
|
|
|
'model/lte-common.h',
|
2010-12-02 09:03:34 +01:00
|
|
|
'model/lte-spectrum-phy.h',
|
2011-11-13 16:08:44 +01:00
|
|
|
'model/lte-spectrum-signal-parameters.h',
|
2010-12-02 09:03:34 +01:00
|
|
|
'model/lte-phy.h',
|
2011-03-10 18:57:41 +01:00
|
|
|
'model/lte-enb-phy.h',
|
|
|
|
|
'model/lte-ue-phy.h',
|
2010-12-02 09:03:34 +01:00
|
|
|
'model/lte-spectrum-value-helper.h',
|
2011-03-10 18:57:41 +01:00
|
|
|
'model/lte-amc.h',
|
2011-03-10 18:15:26 +01:00
|
|
|
'model/lte-enb-rrc.h',
|
|
|
|
|
'model/lte-ue-rrc.h',
|
2011-09-07 16:23:47 +02:00
|
|
|
'model/lte-rlc-sap.h',
|
2011-03-10 18:15:26 +01:00
|
|
|
'model/lte-rlc.h',
|
2011-09-07 16:23:47 +02:00
|
|
|
'model/lte-rlc-header.h',
|
2011-12-05 13:00:14 +01:00
|
|
|
'model/lte-rlc-am-header.h',
|
2011-09-07 16:23:47 +02:00
|
|
|
'model/lte-rlc-um.h',
|
2011-12-05 13:00:14 +01:00
|
|
|
'model/lte-rlc-am.h',
|
2011-03-18 12:01:39 +01:00
|
|
|
'model/lte-rlc-tag.h',
|
2011-09-07 16:40:08 +02:00
|
|
|
'model/lte-rlc-sdu-status-tag.h',
|
2011-09-09 17:58:15 +02:00
|
|
|
'model/lte-pdcp-sap.h',
|
|
|
|
|
'model/lte-pdcp.h',
|
|
|
|
|
'model/lte-pdcp-header.h',
|
2011-11-24 11:43:18 +01:00
|
|
|
'model/lte-pdcp-tag.h',
|
2011-09-07 16:23:47 +02:00
|
|
|
'model/eps-bearer.h',
|
2011-11-04 13:29:20 +00:00
|
|
|
'model/lte-radio-bearer-info.h',
|
2010-12-02 09:03:34 +01:00
|
|
|
'model/lte-net-device.h',
|
2011-03-10 18:57:41 +01:00
|
|
|
'model/lte-enb-net-device.h',
|
|
|
|
|
'model/lte-ue-net-device.h',
|
2010-12-02 09:03:34 +01:00
|
|
|
'model/ideal-control-messages.h',
|
2011-12-05 21:13:53 +01:00
|
|
|
'helper/lte-helper.h',
|
2011-09-09 18:01:16 +02:00
|
|
|
'helper/gtpu-tunnel-helper.h',
|
2011-11-07 17:47:12 +01:00
|
|
|
'helper/lte-stats-calculator.h',
|
2011-07-11 13:47:36 +02:00
|
|
|
'helper/epc-helper.h',
|
2011-04-29 17:09:50 +02:00
|
|
|
'helper/mac-stats-calculator.h',
|
2011-12-05 21:19:59 +01:00
|
|
|
'helper/radio-bearer-stats-calculator.h',
|
2011-03-10 18:15:26 +01:00
|
|
|
'model/ff-mac-common.h',
|
|
|
|
|
'model/ff-mac-csched-sap.h',
|
|
|
|
|
'model/ff-mac-sched-sap.h',
|
|
|
|
|
'model/lte-enb-cmac-sap.h',
|
|
|
|
|
'model/lte-ue-cmac-sap.h',
|
|
|
|
|
'model/lte-mac-sap.h',
|
|
|
|
|
'model/ff-mac-scheduler.h',
|
|
|
|
|
'model/rr-ff-mac-scheduler.h',
|
|
|
|
|
'model/lte-enb-mac.h',
|
|
|
|
|
'model/lte-ue-mac.h',
|
2011-12-05 21:24:51 +01:00
|
|
|
'model/lte-radio-bearer-tag.h',
|
2011-03-15 11:22:36 +01:00
|
|
|
'model/lte-phy-tag.h',
|
2011-03-10 18:15:26 +01:00
|
|
|
'model/lte-enb-phy-sap.h',
|
|
|
|
|
'model/lte-ue-phy-sap.h',
|
|
|
|
|
'model/lte-interference.h',
|
|
|
|
|
'model/lte-sinr-chunk-processor.h',
|
2011-03-17 15:47:36 +01:00
|
|
|
'model/pf-ff-mac-scheduler.h',
|
2011-09-07 12:39:16 +02:00
|
|
|
'model/trace-fading-loss-model.h',
|
2011-07-11 13:47:36 +02:00
|
|
|
'model/epc-gtpu-header.h',
|
|
|
|
|
'model/epc-gtpu-l5-protocol.h',
|
2011-08-02 15:59:36 +02:00
|
|
|
'model/epc-gtpu-tunnel-endpoint.h',
|
2011-09-09 18:20:08 +02:00
|
|
|
'model/epc-enb-application.h',
|
|
|
|
|
'model/epc-sgw-pgw-application.h',
|
2011-05-02 17:56:00 +02:00
|
|
|
'test/lte-test-downlink-sinr.h',
|
|
|
|
|
'test/lte-test-uplink-sinr.h',
|
2011-05-06 18:31:37 +02:00
|
|
|
'test/lte-test-link-adaptation.h',
|
2011-06-03 20:34:50 +02:00
|
|
|
'test/lte-test-interference.h',
|
2011-05-02 17:56:00 +02:00
|
|
|
'test/lte-test-sinr-chunk-processor.h',
|
2011-05-03 12:44:40 +02:00
|
|
|
'test/lte-test-ue-phy.h',
|
2011-05-02 17:37:17 +02:00
|
|
|
'test/lte-test-rr-ff-mac-scheduler.h',
|
|
|
|
|
'test/lte-test-pf-ff-mac-scheduler.h',
|
2011-09-13 16:59:31 +02:00
|
|
|
'test/lte-test-entities.h',
|
2011-09-07 16:23:47 +02:00
|
|
|
'test/lte-test-rlc-um-transmitter.h',
|
2011-12-05 13:00:14 +01:00
|
|
|
'test/lte-test-rlc-am-transmitter.h',
|
2011-11-11 15:59:00 +01:00
|
|
|
'test/lte-test-pathloss-model.h',
|
2011-07-11 13:47:36 +02:00
|
|
|
'test/epc-test-gtpu.h',
|
2011-12-05 21:27:44 +01:00
|
|
|
'model/epc-tft.h',
|
2011-12-05 21:30:58 +01:00
|
|
|
'model/epc-tft-classifier.h',
|
2010-12-02 09:03:34 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (bld.env['ENABLE_EXAMPLES']):
|
|
|
|
|
bld.add_subdirs('examples')
|
2011-03-22 15:41:38 +00:00
|
|
|
|
|
|
|
|
bld.ns3_python_bindings()
|