src/lte/wscript
author jnin
Wed, 23 Mar 2011 11:02:32 +0100
changeset 7905 80557b09aa7f
parent 7902 6a89db21d1e8
child 7909 82b1281ea0a3
permissions -rw-r--r--
Added missing NS_OBJECT_ENSURE_REGISTERED to all ns3::Objects created. Minor fixes in object types. Added first version of the RlcStatsCalculator class Added sample simulation script

## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-

def build(bld):

    module = bld.create_ns3_module('lte', ['core', 'network', 'spectrum', 'stats'])
    module.source = [
        'model/lte-spectrum-phy.cc',
        'model/lte-phy.cc',
        'model/lte-enb-phy.cc',
        'model/lte-ue-phy.cc',
        'model/lte-spectrum-value-helper.cc',
        'model/lte-propagation-loss-model.cc',
        'model/discrete-time-loss-model.cc',
        'model/penetration-loss-model.cc',
        'model/shadowing-loss-model.cc',
        'model/path-loss-model.cc',
        'model/jakes-fading-loss-model.cc',
        'model/channel-realization.cc',
        'model/lte-amc.cc',
        'model/lte-enb-rrc.cc',
        'model/lte-ue-rrc.cc',
        'model/lte-rlc.cc',
        'model/lte-rlc-tag.cc',
        'model/eps-bearer.cc',        
        'model/lte-net-device.cc',
        'model/lte-enb-net-device.cc',
        'model/lte-ue-net-device.cc',
        'model/ideal-control-messages.cc',
        'helper/lena-helper.cc',
        'helper/rlc-stats-calculator.cc',
        'model/ff-mac-csched-sap.cc',
        'model/ff-mac-sched-sap.cc',
        'model/lte-mac-sap.cc',
        'model/ff-mac-scheduler.cc',
        'model/rr-ff-mac-scheduler.cc',
        'model/lte-enb-mac.cc',
        'model/lte-ue-mac.cc',
        'model/lte-mac-tag.cc',
        'model/lte-phy-tag.cc',
        'model/lte-enb-phy-sap.cc',
        'model/lte-ue-phy-sap.cc',
        'model/lte-interference.cc',
        'model/lte-sinr-chunk-processor.cc',
        'model/pf-ff-mac-scheduler.cc',
        ]
    
    headers = bld.new_task_gen('ns3header')
    headers.module = 'lte'
    headers.source = [
        'model/lte-spectrum-phy.h',
        'model/lte-phy.h',
        'model/lte-enb-phy.h',
        'model/lte-ue-phy.h',
        'model/lte-spectrum-value-helper.h',
        'model/lte-propagation-loss-model.h',
        'model/discrete-time-loss-model.h',
        'model/penetration-loss-model.h',
        'model/shadowing-loss-model.h',
        'model/path-loss-model.h',
        'model/jakes-fading-loss-model.h',
        'model/channel-realization.h',
        'model/lte-amc.h',
        'model/lte-enb-rrc.h',
        'model/lte-ue-rrc.h',
        'model/lte-rlc.h',
        'model/lte-rlc-tag.h',
        'model/eps-bearer.h',        
        'model/lte-net-device.h',
        'model/lte-enb-net-device.h',
        'model/lte-ue-net-device.h',
        'model/ideal-control-messages.h',
        'helper/lena-helper.h',
        'helper/rlc-stats-calculator.h',
        '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',
        'model/lte-mac-tag.h',
        'model/lte-phy-tag.h',
        'model/lte-enb-phy-sap.h',
        'model/lte-ue-phy-sap.h',
        'model/lte-interference.h',
        'model/lte-sinr-chunk-processor.h',
        'model/pf-ff-mac-scheduler.h',
        ]

    if (bld.env['ENABLE_EXAMPLES']):
      bld.add_subdirs('examples')