wave: Cleanup wifi header inclusions

This commit is contained in:
Sébastien Deronne
2018-05-10 22:34:47 +02:00
parent e62a040dec
commit 305c120ea1
10 changed files with 197 additions and 111 deletions

View File

@@ -717,7 +717,7 @@ def register_types(module):
module.add_container('std::vector< unsigned int >', 'unsigned int', container_type=u'vector')
module.add_container('ns3::WifiModeList', 'ns3::WifiMode', container_type=u'vector')
module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector')
module.add_container('std::vector< unsigned char >', 'unsigned char', container_type=u'vector')
module.add_container('std::vector< unsigned short >', 'short unsigned int', container_type=u'vector')
module.add_container('std::map< ns3::Mac48Address, bool >', ('ns3::Mac48Address', 'bool'), container_type=u'map')
module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
module.add_container('std::map< unsigned int, ns3::Ptr< ns3::OcbWifiMac > >', ('unsigned int', 'ns3::Ptr< ns3::OcbWifiMac >'), container_type=u'map')
@@ -4977,6 +4977,7 @@ def register_Ns3WifiMacHelper_methods(root_module, cls):
def register_Ns3WifiMode_methods(root_module, cls):
cls.add_binary_comparison_operator('==')
cls.add_binary_comparison_operator('<')
cls.add_output_stream_operator()
## wifi-mode.h (module 'wifi'): ns3::WifiMode::WifiMode(ns3::WifiMode const & arg0) [constructor]
cls.add_constructor([param('ns3::WifiMode const &', 'arg0')])
@@ -4994,20 +4995,20 @@ def register_Ns3WifiMode_methods(root_module, cls):
'uint16_t',
[],
is_const=True)
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate(uint8_t channelWidth, uint16_t guardInterval, uint8_t nss) const [member function]
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate(uint16_t channelWidth, uint16_t guardInterval, uint8_t nss) const [member function]
cls.add_method('GetDataRate',
'uint64_t',
[param('uint8_t', 'channelWidth'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nss')],
[param('uint16_t', 'channelWidth'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nss')],
is_const=True)
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate(ns3::WifiTxVector txVector) const [member function]
cls.add_method('GetDataRate',
'uint64_t',
[param('ns3::WifiTxVector', 'txVector')],
is_const=True)
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate(uint8_t channelWidth) const [member function]
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate(uint16_t channelWidth) const [member function]
cls.add_method('GetDataRate',
'uint64_t',
[param('uint8_t', 'channelWidth')],
[param('uint16_t', 'channelWidth')],
is_const=True)
## wifi-mode.h (module 'wifi'): uint8_t ns3::WifiMode::GetMcsValue() const [member function]
cls.add_method('GetMcsValue',
@@ -5024,10 +5025,10 @@ def register_Ns3WifiMode_methods(root_module, cls):
'uint64_t',
[],
is_const=True)
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetPhyRate(uint8_t channelWidth, uint16_t guardInterval, uint8_t nss) const [member function]
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetPhyRate(uint16_t channelWidth, uint16_t guardInterval, uint8_t nss) const [member function]
cls.add_method('GetPhyRate',
'uint64_t',
[param('uint8_t', 'channelWidth'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nss')],
[param('uint16_t', 'channelWidth'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nss')],
is_const=True)
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetPhyRate(ns3::WifiTxVector txVector) const [member function]
cls.add_method('GetPhyRate',
@@ -5044,10 +5045,10 @@ def register_Ns3WifiMode_methods(root_module, cls):
'std::string',
[],
is_const=True)
## wifi-mode.h (module 'wifi'): bool ns3::WifiMode::IsAllowed(uint8_t channelWidth, uint8_t nss) const [member function]
## wifi-mode.h (module 'wifi'): bool ns3::WifiMode::IsAllowed(uint16_t channelWidth, uint8_t nss) const [member function]
cls.add_method('IsAllowed',
'bool',
[param('uint8_t', 'channelWidth'), param('uint8_t', 'nss')],
[param('uint16_t', 'channelWidth'), param('uint8_t', 'nss')],
is_const=True)
## wifi-mode.h (module 'wifi'): bool ns3::WifiMode::IsHigherCodeRate(ns3::WifiMode mode) const [member function]
cls.add_method('IsHigherCodeRate',
@@ -5175,7 +5176,7 @@ def register_Ns3WifiRemoteStationState_methods(root_module, cls):
## wifi-remote-station-manager.h (module 'wifi'): ns3::WifiRemoteStationState::m_aggregation [variable]
cls.add_instance_attribute('m_aggregation', 'bool', is_const=False)
## wifi-remote-station-manager.h (module 'wifi'): ns3::WifiRemoteStationState::m_channelWidth [variable]
cls.add_instance_attribute('m_channelWidth', 'uint8_t', is_const=False)
cls.add_instance_attribute('m_channelWidth', 'uint16_t', is_const=False)
## wifi-remote-station-manager.h (module 'wifi'): ns3::WifiRemoteStationState::m_greenfield [variable]
cls.add_instance_attribute('m_greenfield', 'bool', is_const=False)
## wifi-remote-station-manager.h (module 'wifi'): ns3::WifiRemoteStationState::m_guardInterval [variable]
@@ -5216,11 +5217,11 @@ def register_Ns3WifiTxVector_methods(root_module, cls):
cls.add_constructor([param('ns3::WifiTxVector const &', 'arg0')])
## wifi-tx-vector.h (module 'wifi'): ns3::WifiTxVector::WifiTxVector() [constructor]
cls.add_constructor([])
## wifi-tx-vector.h (module 'wifi'): ns3::WifiTxVector::WifiTxVector(ns3::WifiMode mode, uint8_t powerLevel, ns3::WifiPreamble preamble, uint16_t guardInterval, uint8_t nTx, uint8_t nss, uint8_t ness, uint8_t channelWidth, bool aggregation, bool stbc) [constructor]
cls.add_constructor([param('ns3::WifiMode', 'mode'), param('uint8_t', 'powerLevel'), param('ns3::WifiPreamble', 'preamble'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nTx'), param('uint8_t', 'nss'), param('uint8_t', 'ness'), param('uint8_t', 'channelWidth'), param('bool', 'aggregation'), param('bool', 'stbc')])
## wifi-tx-vector.h (module 'wifi'): uint8_t ns3::WifiTxVector::GetChannelWidth() const [member function]
## wifi-tx-vector.h (module 'wifi'): ns3::WifiTxVector::WifiTxVector(ns3::WifiMode mode, uint8_t powerLevel, ns3::WifiPreamble preamble, uint16_t guardInterval, uint8_t nTx, uint8_t nss, uint8_t ness, uint16_t channelWidth, bool aggregation, bool stbc) [constructor]
cls.add_constructor([param('ns3::WifiMode', 'mode'), param('uint8_t', 'powerLevel'), param('ns3::WifiPreamble', 'preamble'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nTx'), param('uint8_t', 'nss'), param('uint8_t', 'ness'), param('uint16_t', 'channelWidth'), param('bool', 'aggregation'), param('bool', 'stbc')])
## wifi-tx-vector.h (module 'wifi'): uint16_t ns3::WifiTxVector::GetChannelWidth() const [member function]
cls.add_method('GetChannelWidth',
'uint8_t',
'uint16_t',
[],
is_const=True)
## wifi-tx-vector.h (module 'wifi'): uint16_t ns3::WifiTxVector::GetGuardInterval() const [member function]
@@ -5277,10 +5278,10 @@ def register_Ns3WifiTxVector_methods(root_module, cls):
cls.add_method('SetAggregation',
'void',
[param('bool', 'aggregation')])
## wifi-tx-vector.h (module 'wifi'): void ns3::WifiTxVector::SetChannelWidth(uint8_t channelWidth) [member function]
## wifi-tx-vector.h (module 'wifi'): void ns3::WifiTxVector::SetChannelWidth(uint16_t channelWidth) [member function]
cls.add_method('SetChannelWidth',
'void',
[param('uint8_t', 'channelWidth')])
[param('uint16_t', 'channelWidth')])
## wifi-tx-vector.h (module 'wifi'): void ns3::WifiTxVector::SetGuardInterval(uint16_t guardInterval) [member function]
cls.add_method('SetGuardInterval',
'void',
@@ -8615,10 +8616,10 @@ def register_Ns3WifiPhy_methods(root_module, cls):
'ns3::WifiPhyStandard',
[],
is_const=True)
## wifi-phy.h (module 'wifi'): bool ns3::WifiPhy::DefineChannelNumber(uint8_t channelNumber, ns3::WifiPhyStandard standard, uint16_t frequency, uint8_t channelWidth) [member function]
## wifi-phy.h (module 'wifi'): bool ns3::WifiPhy::DefineChannelNumber(uint8_t channelNumber, ns3::WifiPhyStandard standard, uint16_t frequency, uint16_t channelWidth) [member function]
cls.add_method('DefineChannelNumber',
'bool',
[param('uint8_t', 'channelNumber'), param('ns3::WifiPhyStandard', 'standard'), param('uint16_t', 'frequency'), param('uint8_t', 'channelWidth')])
[param('uint8_t', 'channelNumber'), param('ns3::WifiPhyStandard', 'standard'), param('uint16_t', 'frequency'), param('uint16_t', 'channelWidth')])
## wifi-phy.h (module 'wifi'): ns3::Ptr<ns3::Channel> ns3::WifiPhy::GetChannel() const [member function]
cls.add_method('GetChannel',
'ns3::Ptr< ns3::Channel >',
@@ -9299,23 +9300,23 @@ def register_Ns3WifiPhy_methods(root_module, cls):
cls.add_method('SetWifiRadioEnergyModel',
'void',
[param('ns3::Ptr< ns3::WifiRadioEnergyModel > const', 'wifiRadioEnergyModel')])
## wifi-phy.h (module 'wifi'): uint8_t ns3::WifiPhy::GetChannelWidth() const [member function]
## wifi-phy.h (module 'wifi'): uint16_t ns3::WifiPhy::GetChannelWidth() const [member function]
cls.add_method('GetChannelWidth',
'uint8_t',
'uint16_t',
[],
is_const=True)
## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetChannelWidth(uint8_t channelwidth) [member function]
## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetChannelWidth(uint16_t channelwidth) [member function]
cls.add_method('SetChannelWidth',
'void',
[param('uint8_t', 'channelwidth')],
[param('uint16_t', 'channelwidth')],
is_virtual=True)
## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::AddSupportedChannelWidth(uint8_t channelwidth) [member function]
## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::AddSupportedChannelWidth(uint16_t channelwidth) [member function]
cls.add_method('AddSupportedChannelWidth',
'void',
[param('uint8_t', 'channelwidth')])
## wifi-phy.h (module 'wifi'): std::vector<unsigned char, std::allocator<unsigned char> > ns3::WifiPhy::GetSupportedChannelWidthSet() const [member function]
[param('uint16_t', 'channelwidth')])
## wifi-phy.h (module 'wifi'): std::vector<unsigned short, std::allocator<unsigned short> > ns3::WifiPhy::GetSupportedChannelWidthSet() const [member function]
cls.add_method('GetSupportedChannelWidthSet',
'std::vector< unsigned char >',
'std::vector< unsigned short >',
[],
is_const=True)
## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::GetPowerDbm(uint8_t power) const [member function]
@@ -9545,9 +9546,9 @@ def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
cls.add_method('GetBlockAckTxVector',
'ns3::WifiTxVector',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'dataMode')])
## wifi-remote-station-manager.h (module 'wifi'): uint8_t ns3::WifiRemoteStationManager::GetChannelWidthSupported(ns3::Mac48Address address) const [member function]
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::GetChannelWidthSupported(ns3::Mac48Address address) const [member function]
cls.add_method('GetChannelWidthSupported',
'uint8_t',
'uint16_t',
[param('ns3::Mac48Address', 'address')],
is_const=True)
## wifi-remote-station-manager.h (module 'wifi'): ns3::WifiTxVector ns3::WifiRemoteStationManager::GetCtsToSelfTxVector(ns3::WifiMacHeader const * header, ns3::Ptr<const ns3::Packet> packet) [member function]
@@ -9917,15 +9918,15 @@ def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
'bool',
[param('ns3::WifiRemoteStation const *', 'station')],
is_const=True, visibility='protected')
## wifi-remote-station-manager.h (module 'wifi'): uint8_t ns3::WifiRemoteStationManager::GetChannelWidth(ns3::WifiRemoteStation const * station) const [member function]
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::GetChannelWidth(ns3::WifiRemoteStation const * station) const [member function]
cls.add_method('GetChannelWidth',
'uint8_t',
'uint16_t',
[param('ns3::WifiRemoteStation const *', 'station')],
is_const=True, visibility='protected')
## wifi-remote-station-manager.h (module 'wifi'): static uint8_t ns3::WifiRemoteStationManager::GetChannelWidthForTransmission(ns3::WifiMode mode, uint8_t maxSupportedChannelWidth) [member function]
## wifi-remote-station-manager.h (module 'wifi'): static uint16_t ns3::WifiRemoteStationManager::GetChannelWidthForTransmission(ns3::WifiMode mode, uint16_t maxSupportedChannelWidth) [member function]
cls.add_method('GetChannelWidthForTransmission',
'uint8_t',
[param('ns3::WifiMode', 'mode'), param('uint8_t', 'maxSupportedChannelWidth')],
'uint16_t',
[param('ns3::WifiMode', 'mode'), param('uint16_t', 'maxSupportedChannelWidth')],
is_static=True, visibility='protected')
## wifi-remote-station-manager.h (module 'wifi'): bool ns3::WifiRemoteStationManager::GetGreenfield(ns3::WifiRemoteStation const * station) const [member function]
cls.add_method('GetGreenfield',
@@ -10022,9 +10023,9 @@ def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
'ns3::WifiRemoteStation *',
[],
is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint8_t ns3::WifiRemoteStationManager::DoGetAckTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetAckTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
cls.add_method('DoGetAckTxChannelWidth',
'uint8_t',
'uint16_t',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'ctsMode')],
visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetAckTxGuardInterval(ns3::Mac48Address address, ns3::WifiMode ackMode) [member function]
@@ -10047,9 +10048,9 @@ def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
'uint8_t',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'ackMode')],
visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint8_t ns3::WifiRemoteStationManager::DoGetBlockAckTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetBlockAckTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
cls.add_method('DoGetBlockAckTxChannelWidth',
'uint8_t',
'uint16_t',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'ctsMode')],
visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetBlockAckTxGuardInterval(ns3::Mac48Address address, ns3::WifiMode blockAckMode) [member function]
@@ -10072,9 +10073,9 @@ def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
'uint8_t',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'blockAckMode')],
visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint8_t ns3::WifiRemoteStationManager::DoGetCtsTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetCtsTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
cls.add_method('DoGetCtsTxChannelWidth',
'uint8_t',
'uint16_t',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'ctsMode')],
visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetCtsTxGuardInterval(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
@@ -10490,10 +10491,10 @@ def register_Ns3BlockAckManager_methods(root_module, cls):
cls.add_method('NotifyMpduTransmission',
'void',
[param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('uint16_t', 'nextSeqNumber'), param('ns3::WifiMacHeader::QosAckPolicy', 'policy')])
## block-ack-manager.h (module 'wifi'): ns3::Ptr<const ns3::Packet> ns3::BlockAckManager::PeekNextPacketByTidAndAddress(ns3::WifiMacHeader & hdr, ns3::Mac48Address recipient, uint8_t tid, ns3::Time * timestamp) [member function]
## block-ack-manager.h (module 'wifi'): ns3::Ptr<const ns3::Packet> ns3::BlockAckManager::PeekNextPacketByTidAndAddress(ns3::WifiMacHeader & hdr, uint8_t tid, ns3::Time * timestamp) [member function]
cls.add_method('PeekNextPacketByTidAndAddress',
'ns3::Ptr< ns3::Packet const >',
[param('ns3::WifiMacHeader &', 'hdr'), param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('ns3::Time *', 'timestamp')])
[param('ns3::WifiMacHeader &', 'hdr'), param('uint8_t', 'tid'), param('ns3::Time *', 'timestamp')])
## block-ack-manager.h (module 'wifi'): bool ns3::BlockAckManager::RemovePacket(uint8_t tid, ns3::Mac48Address recipient, uint16_t seqnumber) [member function]
cls.add_method('RemovePacket',
'bool',
@@ -11448,6 +11449,15 @@ def register_Ns3DcaTxop_methods(root_module, cls):
cls.add_method('AssignStreams',
'int64_t',
[param('int64_t', 'stream')])
## dca-txop.h (module 'wifi'): bool ns3::DcaTxop::IsAccessRequested() const [member function]
cls.add_method('IsAccessRequested',
'bool',
[],
is_const=True, is_virtual=True)
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::StartBackoffNow(uint32_t nSlots) [member function]
cls.add_method('StartBackoffNow',
'void',
[param('uint32_t', 'nSlots')])
## dca-txop.h (module 'wifi'): ns3::DcaTxop::DcaTxop(ns3::DcaTxop const & arg0) [constructor]
cls.add_constructor([param('ns3::DcaTxop const &', 'arg0')])
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::DoDispose() [member function]
@@ -11460,6 +11470,11 @@ def register_Ns3DcaTxop_methods(root_module, cls):
'void',
[],
visibility='protected', is_virtual=True)
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::NotifyAccessRequested() [member function]
cls.add_method('NotifyAccessRequested',
'void',
[],
visibility='protected', is_virtual=True)
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::NotifyAccessGranted() [member function]
cls.add_method('NotifyAccessGranted',
'void',
@@ -11485,6 +11500,36 @@ def register_Ns3DcaTxop_methods(root_module, cls):
'void',
[],
visibility='protected', is_virtual=True)
## dca-txop.h (module 'wifi'): uint32_t ns3::DcaTxop::GetCw() const [member function]
cls.add_method('GetCw',
'uint32_t',
[],
is_const=True, visibility='protected')
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::ResetCw() [member function]
cls.add_method('ResetCw',
'void',
[],
visibility='protected')
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::UpdateFailedCw() [member function]
cls.add_method('UpdateFailedCw',
'void',
[],
visibility='protected')
## dca-txop.h (module 'wifi'): uint32_t ns3::DcaTxop::GetBackoffSlots() const [member function]
cls.add_method('GetBackoffSlots',
'uint32_t',
[],
is_const=True, visibility='protected')
## dca-txop.h (module 'wifi'): ns3::Time ns3::DcaTxop::GetBackoffStart() const [member function]
cls.add_method('GetBackoffStart',
'ns3::Time',
[],
is_const=True, visibility='protected')
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::UpdateBackoffSlotsNow(uint32_t nSlots, ns3::Time backoffUpdateBound) [member function]
cls.add_method('UpdateBackoffSlotsNow',
'void',
[param('uint32_t', 'nSlots'), param('ns3::Time', 'backoffUpdateBound')],
visibility='protected')
## dca-txop.h (module 'wifi'): bool ns3::DcaTxop::NeedRtsRetransmission(ns3::Ptr<const ns3::Packet> packet, ns3::WifiMacHeader const & hdr) [member function]
cls.add_method('NeedRtsRetransmission',
'bool',
@@ -11542,10 +11587,10 @@ def register_Ns3DcfManager_methods(root_module, cls):
cls.add_constructor([param('ns3::DcfManager const &', 'arg0')])
## dcf-manager.h (module 'wifi'): ns3::DcfManager::DcfManager() [constructor]
cls.add_constructor([])
## dcf-manager.h (module 'wifi'): void ns3::DcfManager::Add(ns3::Ptr<ns3::DcfState> dcf) [member function]
## dcf-manager.h (module 'wifi'): void ns3::DcfManager::Add(ns3::Ptr<ns3::DcaTxop> dcf) [member function]
cls.add_method('Add',
'void',
[param('ns3::Ptr< ns3::DcfState >', 'dcf')])
[param('ns3::Ptr< ns3::DcaTxop >', 'dcf')])
## dcf-manager.h (module 'wifi'): ns3::Time ns3::DcfManager::GetEifsNoDifs() const [member function]
cls.add_method('GetEifsNoDifs',
'ns3::Time',
@@ -11619,10 +11664,10 @@ def register_Ns3DcfManager_methods(root_module, cls):
cls.add_method('RemovePhyListener',
'void',
[param('ns3::Ptr< ns3::WifiPhy >', 'phy')])
## dcf-manager.h (module 'wifi'): void ns3::DcfManager::RequestAccess(ns3::Ptr<ns3::DcfState> state) [member function]
## dcf-manager.h (module 'wifi'): void ns3::DcfManager::RequestAccess(ns3::Ptr<ns3::DcaTxop> state) [member function]
cls.add_method('RequestAccess',
'void',
[param('ns3::Ptr< ns3::DcfState >', 'state')])
[param('ns3::Ptr< ns3::DcaTxop >', 'state')])
## dcf-manager.h (module 'wifi'): void ns3::DcfManager::SetEifsNoDifs(ns3::Time eifsNoDifs) [member function]
cls.add_method('SetEifsNoDifs',
'void',
@@ -11968,10 +12013,10 @@ def register_Ns3EdcaTxopN_methods(root_module, cls):
cls.add_method('RemoveRetransmitPacket',
'void',
[param('uint8_t', 'tid'), param('ns3::Mac48Address', 'recipient'), param('uint16_t', 'seqnumber')])
## edca-txop-n.h (module 'wifi'): ns3::Ptr<const ns3::Packet> ns3::EdcaTxopN::PeekNextRetransmitPacket(ns3::WifiMacHeader & header, ns3::Mac48Address recipient, uint8_t tid, ns3::Time * timestamp) [member function]
## edca-txop-n.h (module 'wifi'): ns3::Ptr<const ns3::Packet> ns3::EdcaTxopN::PeekNextRetransmitPacket(ns3::WifiMacHeader & header, uint8_t tid, ns3::Time * timestamp) [member function]
cls.add_method('PeekNextRetransmitPacket',
'ns3::Ptr< ns3::Packet const >',
[param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('ns3::Time *', 'timestamp')])
[param('ns3::WifiMacHeader &', 'header'), param('uint8_t', 'tid'), param('ns3::Time *', 'timestamp')])
## edca-txop-n.h (module 'wifi'): void ns3::EdcaTxopN::BaTxOk(ns3::WifiMacHeader const & hdr) [member function]
cls.add_method('BaTxOk',
'void',

View File

@@ -717,7 +717,7 @@ def register_types(module):
module.add_container('std::vector< unsigned int >', 'unsigned int', container_type=u'vector')
module.add_container('ns3::WifiModeList', 'ns3::WifiMode', container_type=u'vector')
module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector')
module.add_container('std::vector< unsigned char >', 'unsigned char', container_type=u'vector')
module.add_container('std::vector< unsigned short >', 'short unsigned int', container_type=u'vector')
module.add_container('std::map< ns3::Mac48Address, bool >', ('ns3::Mac48Address', 'bool'), container_type=u'map')
module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
module.add_container('std::map< unsigned int, ns3::Ptr< ns3::OcbWifiMac > >', ('unsigned int', 'ns3::Ptr< ns3::OcbWifiMac >'), container_type=u'map')
@@ -4977,6 +4977,7 @@ def register_Ns3WifiMacHelper_methods(root_module, cls):
def register_Ns3WifiMode_methods(root_module, cls):
cls.add_binary_comparison_operator('==')
cls.add_binary_comparison_operator('<')
cls.add_output_stream_operator()
## wifi-mode.h (module 'wifi'): ns3::WifiMode::WifiMode(ns3::WifiMode const & arg0) [constructor]
cls.add_constructor([param('ns3::WifiMode const &', 'arg0')])
@@ -4994,20 +4995,20 @@ def register_Ns3WifiMode_methods(root_module, cls):
'uint16_t',
[],
is_const=True)
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate(uint8_t channelWidth, uint16_t guardInterval, uint8_t nss) const [member function]
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate(uint16_t channelWidth, uint16_t guardInterval, uint8_t nss) const [member function]
cls.add_method('GetDataRate',
'uint64_t',
[param('uint8_t', 'channelWidth'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nss')],
[param('uint16_t', 'channelWidth'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nss')],
is_const=True)
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate(ns3::WifiTxVector txVector) const [member function]
cls.add_method('GetDataRate',
'uint64_t',
[param('ns3::WifiTxVector', 'txVector')],
is_const=True)
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate(uint8_t channelWidth) const [member function]
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate(uint16_t channelWidth) const [member function]
cls.add_method('GetDataRate',
'uint64_t',
[param('uint8_t', 'channelWidth')],
[param('uint16_t', 'channelWidth')],
is_const=True)
## wifi-mode.h (module 'wifi'): uint8_t ns3::WifiMode::GetMcsValue() const [member function]
cls.add_method('GetMcsValue',
@@ -5024,10 +5025,10 @@ def register_Ns3WifiMode_methods(root_module, cls):
'uint64_t',
[],
is_const=True)
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetPhyRate(uint8_t channelWidth, uint16_t guardInterval, uint8_t nss) const [member function]
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetPhyRate(uint16_t channelWidth, uint16_t guardInterval, uint8_t nss) const [member function]
cls.add_method('GetPhyRate',
'uint64_t',
[param('uint8_t', 'channelWidth'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nss')],
[param('uint16_t', 'channelWidth'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nss')],
is_const=True)
## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetPhyRate(ns3::WifiTxVector txVector) const [member function]
cls.add_method('GetPhyRate',
@@ -5044,10 +5045,10 @@ def register_Ns3WifiMode_methods(root_module, cls):
'std::string',
[],
is_const=True)
## wifi-mode.h (module 'wifi'): bool ns3::WifiMode::IsAllowed(uint8_t channelWidth, uint8_t nss) const [member function]
## wifi-mode.h (module 'wifi'): bool ns3::WifiMode::IsAllowed(uint16_t channelWidth, uint8_t nss) const [member function]
cls.add_method('IsAllowed',
'bool',
[param('uint8_t', 'channelWidth'), param('uint8_t', 'nss')],
[param('uint16_t', 'channelWidth'), param('uint8_t', 'nss')],
is_const=True)
## wifi-mode.h (module 'wifi'): bool ns3::WifiMode::IsHigherCodeRate(ns3::WifiMode mode) const [member function]
cls.add_method('IsHigherCodeRate',
@@ -5175,7 +5176,7 @@ def register_Ns3WifiRemoteStationState_methods(root_module, cls):
## wifi-remote-station-manager.h (module 'wifi'): ns3::WifiRemoteStationState::m_aggregation [variable]
cls.add_instance_attribute('m_aggregation', 'bool', is_const=False)
## wifi-remote-station-manager.h (module 'wifi'): ns3::WifiRemoteStationState::m_channelWidth [variable]
cls.add_instance_attribute('m_channelWidth', 'uint8_t', is_const=False)
cls.add_instance_attribute('m_channelWidth', 'uint16_t', is_const=False)
## wifi-remote-station-manager.h (module 'wifi'): ns3::WifiRemoteStationState::m_greenfield [variable]
cls.add_instance_attribute('m_greenfield', 'bool', is_const=False)
## wifi-remote-station-manager.h (module 'wifi'): ns3::WifiRemoteStationState::m_guardInterval [variable]
@@ -5216,11 +5217,11 @@ def register_Ns3WifiTxVector_methods(root_module, cls):
cls.add_constructor([param('ns3::WifiTxVector const &', 'arg0')])
## wifi-tx-vector.h (module 'wifi'): ns3::WifiTxVector::WifiTxVector() [constructor]
cls.add_constructor([])
## wifi-tx-vector.h (module 'wifi'): ns3::WifiTxVector::WifiTxVector(ns3::WifiMode mode, uint8_t powerLevel, ns3::WifiPreamble preamble, uint16_t guardInterval, uint8_t nTx, uint8_t nss, uint8_t ness, uint8_t channelWidth, bool aggregation, bool stbc) [constructor]
cls.add_constructor([param('ns3::WifiMode', 'mode'), param('uint8_t', 'powerLevel'), param('ns3::WifiPreamble', 'preamble'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nTx'), param('uint8_t', 'nss'), param('uint8_t', 'ness'), param('uint8_t', 'channelWidth'), param('bool', 'aggregation'), param('bool', 'stbc')])
## wifi-tx-vector.h (module 'wifi'): uint8_t ns3::WifiTxVector::GetChannelWidth() const [member function]
## wifi-tx-vector.h (module 'wifi'): ns3::WifiTxVector::WifiTxVector(ns3::WifiMode mode, uint8_t powerLevel, ns3::WifiPreamble preamble, uint16_t guardInterval, uint8_t nTx, uint8_t nss, uint8_t ness, uint16_t channelWidth, bool aggregation, bool stbc) [constructor]
cls.add_constructor([param('ns3::WifiMode', 'mode'), param('uint8_t', 'powerLevel'), param('ns3::WifiPreamble', 'preamble'), param('uint16_t', 'guardInterval'), param('uint8_t', 'nTx'), param('uint8_t', 'nss'), param('uint8_t', 'ness'), param('uint16_t', 'channelWidth'), param('bool', 'aggregation'), param('bool', 'stbc')])
## wifi-tx-vector.h (module 'wifi'): uint16_t ns3::WifiTxVector::GetChannelWidth() const [member function]
cls.add_method('GetChannelWidth',
'uint8_t',
'uint16_t',
[],
is_const=True)
## wifi-tx-vector.h (module 'wifi'): uint16_t ns3::WifiTxVector::GetGuardInterval() const [member function]
@@ -5277,10 +5278,10 @@ def register_Ns3WifiTxVector_methods(root_module, cls):
cls.add_method('SetAggregation',
'void',
[param('bool', 'aggregation')])
## wifi-tx-vector.h (module 'wifi'): void ns3::WifiTxVector::SetChannelWidth(uint8_t channelWidth) [member function]
## wifi-tx-vector.h (module 'wifi'): void ns3::WifiTxVector::SetChannelWidth(uint16_t channelWidth) [member function]
cls.add_method('SetChannelWidth',
'void',
[param('uint8_t', 'channelWidth')])
[param('uint16_t', 'channelWidth')])
## wifi-tx-vector.h (module 'wifi'): void ns3::WifiTxVector::SetGuardInterval(uint16_t guardInterval) [member function]
cls.add_method('SetGuardInterval',
'void',
@@ -8615,10 +8616,10 @@ def register_Ns3WifiPhy_methods(root_module, cls):
'ns3::WifiPhyStandard',
[],
is_const=True)
## wifi-phy.h (module 'wifi'): bool ns3::WifiPhy::DefineChannelNumber(uint8_t channelNumber, ns3::WifiPhyStandard standard, uint16_t frequency, uint8_t channelWidth) [member function]
## wifi-phy.h (module 'wifi'): bool ns3::WifiPhy::DefineChannelNumber(uint8_t channelNumber, ns3::WifiPhyStandard standard, uint16_t frequency, uint16_t channelWidth) [member function]
cls.add_method('DefineChannelNumber',
'bool',
[param('uint8_t', 'channelNumber'), param('ns3::WifiPhyStandard', 'standard'), param('uint16_t', 'frequency'), param('uint8_t', 'channelWidth')])
[param('uint8_t', 'channelNumber'), param('ns3::WifiPhyStandard', 'standard'), param('uint16_t', 'frequency'), param('uint16_t', 'channelWidth')])
## wifi-phy.h (module 'wifi'): ns3::Ptr<ns3::Channel> ns3::WifiPhy::GetChannel() const [member function]
cls.add_method('GetChannel',
'ns3::Ptr< ns3::Channel >',
@@ -9299,23 +9300,23 @@ def register_Ns3WifiPhy_methods(root_module, cls):
cls.add_method('SetWifiRadioEnergyModel',
'void',
[param('ns3::Ptr< ns3::WifiRadioEnergyModel > const', 'wifiRadioEnergyModel')])
## wifi-phy.h (module 'wifi'): uint8_t ns3::WifiPhy::GetChannelWidth() const [member function]
## wifi-phy.h (module 'wifi'): uint16_t ns3::WifiPhy::GetChannelWidth() const [member function]
cls.add_method('GetChannelWidth',
'uint8_t',
'uint16_t',
[],
is_const=True)
## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetChannelWidth(uint8_t channelwidth) [member function]
## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetChannelWidth(uint16_t channelwidth) [member function]
cls.add_method('SetChannelWidth',
'void',
[param('uint8_t', 'channelwidth')],
[param('uint16_t', 'channelwidth')],
is_virtual=True)
## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::AddSupportedChannelWidth(uint8_t channelwidth) [member function]
## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::AddSupportedChannelWidth(uint16_t channelwidth) [member function]
cls.add_method('AddSupportedChannelWidth',
'void',
[param('uint8_t', 'channelwidth')])
## wifi-phy.h (module 'wifi'): std::vector<unsigned char, std::allocator<unsigned char> > ns3::WifiPhy::GetSupportedChannelWidthSet() const [member function]
[param('uint16_t', 'channelwidth')])
## wifi-phy.h (module 'wifi'): std::vector<unsigned short, std::allocator<unsigned short> > ns3::WifiPhy::GetSupportedChannelWidthSet() const [member function]
cls.add_method('GetSupportedChannelWidthSet',
'std::vector< unsigned char >',
'std::vector< unsigned short >',
[],
is_const=True)
## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::GetPowerDbm(uint8_t power) const [member function]
@@ -9545,9 +9546,9 @@ def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
cls.add_method('GetBlockAckTxVector',
'ns3::WifiTxVector',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'dataMode')])
## wifi-remote-station-manager.h (module 'wifi'): uint8_t ns3::WifiRemoteStationManager::GetChannelWidthSupported(ns3::Mac48Address address) const [member function]
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::GetChannelWidthSupported(ns3::Mac48Address address) const [member function]
cls.add_method('GetChannelWidthSupported',
'uint8_t',
'uint16_t',
[param('ns3::Mac48Address', 'address')],
is_const=True)
## wifi-remote-station-manager.h (module 'wifi'): ns3::WifiTxVector ns3::WifiRemoteStationManager::GetCtsToSelfTxVector(ns3::WifiMacHeader const * header, ns3::Ptr<const ns3::Packet> packet) [member function]
@@ -9917,15 +9918,15 @@ def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
'bool',
[param('ns3::WifiRemoteStation const *', 'station')],
is_const=True, visibility='protected')
## wifi-remote-station-manager.h (module 'wifi'): uint8_t ns3::WifiRemoteStationManager::GetChannelWidth(ns3::WifiRemoteStation const * station) const [member function]
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::GetChannelWidth(ns3::WifiRemoteStation const * station) const [member function]
cls.add_method('GetChannelWidth',
'uint8_t',
'uint16_t',
[param('ns3::WifiRemoteStation const *', 'station')],
is_const=True, visibility='protected')
## wifi-remote-station-manager.h (module 'wifi'): static uint8_t ns3::WifiRemoteStationManager::GetChannelWidthForTransmission(ns3::WifiMode mode, uint8_t maxSupportedChannelWidth) [member function]
## wifi-remote-station-manager.h (module 'wifi'): static uint16_t ns3::WifiRemoteStationManager::GetChannelWidthForTransmission(ns3::WifiMode mode, uint16_t maxSupportedChannelWidth) [member function]
cls.add_method('GetChannelWidthForTransmission',
'uint8_t',
[param('ns3::WifiMode', 'mode'), param('uint8_t', 'maxSupportedChannelWidth')],
'uint16_t',
[param('ns3::WifiMode', 'mode'), param('uint16_t', 'maxSupportedChannelWidth')],
is_static=True, visibility='protected')
## wifi-remote-station-manager.h (module 'wifi'): bool ns3::WifiRemoteStationManager::GetGreenfield(ns3::WifiRemoteStation const * station) const [member function]
cls.add_method('GetGreenfield',
@@ -10022,9 +10023,9 @@ def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
'ns3::WifiRemoteStation *',
[],
is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint8_t ns3::WifiRemoteStationManager::DoGetAckTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetAckTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
cls.add_method('DoGetAckTxChannelWidth',
'uint8_t',
'uint16_t',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'ctsMode')],
visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetAckTxGuardInterval(ns3::Mac48Address address, ns3::WifiMode ackMode) [member function]
@@ -10047,9 +10048,9 @@ def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
'uint8_t',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'ackMode')],
visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint8_t ns3::WifiRemoteStationManager::DoGetBlockAckTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetBlockAckTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
cls.add_method('DoGetBlockAckTxChannelWidth',
'uint8_t',
'uint16_t',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'ctsMode')],
visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetBlockAckTxGuardInterval(ns3::Mac48Address address, ns3::WifiMode blockAckMode) [member function]
@@ -10072,9 +10073,9 @@ def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
'uint8_t',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'blockAckMode')],
visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint8_t ns3::WifiRemoteStationManager::DoGetCtsTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetCtsTxChannelWidth(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
cls.add_method('DoGetCtsTxChannelWidth',
'uint8_t',
'uint16_t',
[param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'ctsMode')],
visibility='private', is_virtual=True)
## wifi-remote-station-manager.h (module 'wifi'): uint16_t ns3::WifiRemoteStationManager::DoGetCtsTxGuardInterval(ns3::Mac48Address address, ns3::WifiMode ctsMode) [member function]
@@ -10490,10 +10491,10 @@ def register_Ns3BlockAckManager_methods(root_module, cls):
cls.add_method('NotifyMpduTransmission',
'void',
[param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('uint16_t', 'nextSeqNumber'), param('ns3::WifiMacHeader::QosAckPolicy', 'policy')])
## block-ack-manager.h (module 'wifi'): ns3::Ptr<const ns3::Packet> ns3::BlockAckManager::PeekNextPacketByTidAndAddress(ns3::WifiMacHeader & hdr, ns3::Mac48Address recipient, uint8_t tid, ns3::Time * timestamp) [member function]
## block-ack-manager.h (module 'wifi'): ns3::Ptr<const ns3::Packet> ns3::BlockAckManager::PeekNextPacketByTidAndAddress(ns3::WifiMacHeader & hdr, uint8_t tid, ns3::Time * timestamp) [member function]
cls.add_method('PeekNextPacketByTidAndAddress',
'ns3::Ptr< ns3::Packet const >',
[param('ns3::WifiMacHeader &', 'hdr'), param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('ns3::Time *', 'timestamp')])
[param('ns3::WifiMacHeader &', 'hdr'), param('uint8_t', 'tid'), param('ns3::Time *', 'timestamp')])
## block-ack-manager.h (module 'wifi'): bool ns3::BlockAckManager::RemovePacket(uint8_t tid, ns3::Mac48Address recipient, uint16_t seqnumber) [member function]
cls.add_method('RemovePacket',
'bool',
@@ -11448,6 +11449,15 @@ def register_Ns3DcaTxop_methods(root_module, cls):
cls.add_method('AssignStreams',
'int64_t',
[param('int64_t', 'stream')])
## dca-txop.h (module 'wifi'): bool ns3::DcaTxop::IsAccessRequested() const [member function]
cls.add_method('IsAccessRequested',
'bool',
[],
is_const=True, is_virtual=True)
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::StartBackoffNow(uint32_t nSlots) [member function]
cls.add_method('StartBackoffNow',
'void',
[param('uint32_t', 'nSlots')])
## dca-txop.h (module 'wifi'): ns3::DcaTxop::DcaTxop(ns3::DcaTxop const & arg0) [constructor]
cls.add_constructor([param('ns3::DcaTxop const &', 'arg0')])
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::DoDispose() [member function]
@@ -11460,6 +11470,11 @@ def register_Ns3DcaTxop_methods(root_module, cls):
'void',
[],
visibility='protected', is_virtual=True)
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::NotifyAccessRequested() [member function]
cls.add_method('NotifyAccessRequested',
'void',
[],
visibility='protected', is_virtual=True)
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::NotifyAccessGranted() [member function]
cls.add_method('NotifyAccessGranted',
'void',
@@ -11485,6 +11500,36 @@ def register_Ns3DcaTxop_methods(root_module, cls):
'void',
[],
visibility='protected', is_virtual=True)
## dca-txop.h (module 'wifi'): uint32_t ns3::DcaTxop::GetCw() const [member function]
cls.add_method('GetCw',
'uint32_t',
[],
is_const=True, visibility='protected')
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::ResetCw() [member function]
cls.add_method('ResetCw',
'void',
[],
visibility='protected')
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::UpdateFailedCw() [member function]
cls.add_method('UpdateFailedCw',
'void',
[],
visibility='protected')
## dca-txop.h (module 'wifi'): uint32_t ns3::DcaTxop::GetBackoffSlots() const [member function]
cls.add_method('GetBackoffSlots',
'uint32_t',
[],
is_const=True, visibility='protected')
## dca-txop.h (module 'wifi'): ns3::Time ns3::DcaTxop::GetBackoffStart() const [member function]
cls.add_method('GetBackoffStart',
'ns3::Time',
[],
is_const=True, visibility='protected')
## dca-txop.h (module 'wifi'): void ns3::DcaTxop::UpdateBackoffSlotsNow(uint32_t nSlots, ns3::Time backoffUpdateBound) [member function]
cls.add_method('UpdateBackoffSlotsNow',
'void',
[param('uint32_t', 'nSlots'), param('ns3::Time', 'backoffUpdateBound')],
visibility='protected')
## dca-txop.h (module 'wifi'): bool ns3::DcaTxop::NeedRtsRetransmission(ns3::Ptr<const ns3::Packet> packet, ns3::WifiMacHeader const & hdr) [member function]
cls.add_method('NeedRtsRetransmission',
'bool',
@@ -11542,10 +11587,10 @@ def register_Ns3DcfManager_methods(root_module, cls):
cls.add_constructor([param('ns3::DcfManager const &', 'arg0')])
## dcf-manager.h (module 'wifi'): ns3::DcfManager::DcfManager() [constructor]
cls.add_constructor([])
## dcf-manager.h (module 'wifi'): void ns3::DcfManager::Add(ns3::Ptr<ns3::DcfState> dcf) [member function]
## dcf-manager.h (module 'wifi'): void ns3::DcfManager::Add(ns3::Ptr<ns3::DcaTxop> dcf) [member function]
cls.add_method('Add',
'void',
[param('ns3::Ptr< ns3::DcfState >', 'dcf')])
[param('ns3::Ptr< ns3::DcaTxop >', 'dcf')])
## dcf-manager.h (module 'wifi'): ns3::Time ns3::DcfManager::GetEifsNoDifs() const [member function]
cls.add_method('GetEifsNoDifs',
'ns3::Time',
@@ -11619,10 +11664,10 @@ def register_Ns3DcfManager_methods(root_module, cls):
cls.add_method('RemovePhyListener',
'void',
[param('ns3::Ptr< ns3::WifiPhy >', 'phy')])
## dcf-manager.h (module 'wifi'): void ns3::DcfManager::RequestAccess(ns3::Ptr<ns3::DcfState> state) [member function]
## dcf-manager.h (module 'wifi'): void ns3::DcfManager::RequestAccess(ns3::Ptr<ns3::DcaTxop> state) [member function]
cls.add_method('RequestAccess',
'void',
[param('ns3::Ptr< ns3::DcfState >', 'state')])
[param('ns3::Ptr< ns3::DcaTxop >', 'state')])
## dcf-manager.h (module 'wifi'): void ns3::DcfManager::SetEifsNoDifs(ns3::Time eifsNoDifs) [member function]
cls.add_method('SetEifsNoDifs',
'void',
@@ -11968,10 +12013,10 @@ def register_Ns3EdcaTxopN_methods(root_module, cls):
cls.add_method('RemoveRetransmitPacket',
'void',
[param('uint8_t', 'tid'), param('ns3::Mac48Address', 'recipient'), param('uint16_t', 'seqnumber')])
## edca-txop-n.h (module 'wifi'): ns3::Ptr<const ns3::Packet> ns3::EdcaTxopN::PeekNextRetransmitPacket(ns3::WifiMacHeader & header, ns3::Mac48Address recipient, uint8_t tid, ns3::Time * timestamp) [member function]
## edca-txop-n.h (module 'wifi'): ns3::Ptr<const ns3::Packet> ns3::EdcaTxopN::PeekNextRetransmitPacket(ns3::WifiMacHeader & header, uint8_t tid, ns3::Time * timestamp) [member function]
cls.add_method('PeekNextRetransmitPacket',
'ns3::Ptr< ns3::Packet const >',
[param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('ns3::Time *', 'timestamp')])
[param('ns3::WifiMacHeader &', 'header'), param('uint8_t', 'tid'), param('ns3::Time *', 'timestamp')])
## edca-txop-n.h (module 'wifi'): void ns3::EdcaTxopN::BaTxOk(ns3::WifiMacHeader const & hdr) [member function]
cls.add_method('BaTxOk',
'void',

View File

@@ -105,7 +105,6 @@
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/mobility-module.h"
#include "ns3/wifi-module.h"
#include "ns3/aodv-module.h"
#include "ns3/olsr-module.h"
#include "ns3/dsdv-module.h"
@@ -120,7 +119,7 @@
#include "ns3/integer.h"
#include "ns3/wave-bsm-helper.h"
#include "ns3/wave-helper.h"
// future #include "ns3/topology.h"
#include "ns3/yans-wifi-helper.h"
using namespace ns3;
using namespace dsr;

View File

@@ -15,16 +15,13 @@
*
* Author: Junling Bu <linlinjavaer@gmail.com>
*/
#include "ns3/wifi-mac.h"
#include "ns3/wifi-phy.h"
#include "ns3/log.h"
#include "ns3/pointer.h"
#include "ns3/string.h"
#include "ns3/wifi-mode.h"
#include "ns3/config.h"
#include "ns3/names.h"
#include "ns3/abort.h"
#include "ns3/ampdu-subframe-header.h"
#include "ns3/wave-net-device.h"
#include "ns3/minstrel-wifi-manager.h"
#include "ns3/radiotap-header.h"

View File

@@ -15,6 +15,7 @@
*
* Author: Junling Bu <linlinjavaer@gmail.com>
*/
#ifndef WAVE_HELPER_H
#define WAVE_HELPER_H
@@ -27,8 +28,7 @@
#include "ns3/yans-wifi-helper.h"
namespace ns3 {
class WifiPhy;
class WifiMac;
class WaveNetDevice;
class Node;

View File

@@ -26,8 +26,8 @@
#include "ns3/wifi-tx-vector.h"
namespace ns3 {
class Tag;
class WifiTxVector;
class TypeId;
/**

View File

@@ -24,10 +24,9 @@
#include "ns3/pointer.h"
#include "ns3/log.h"
#include "ns3/string.h"
#include "ns3/mac-low.h"
#include "ns3/dcf-manager.h"
#include "ns3/mac-rx-middle.h"
#include "ns3/mgt-headers.h"
#include "ns3/ht-capabilities.h"
#include "ns3/vht-capabilities.h"
#include "wave-mac-low.h"
#include "ocb-wifi-mac.h"
#include "vendor-specific-action.h"

View File

@@ -25,13 +25,14 @@
#include "ns3/object-factory.h"
#include "ns3/regular-wifi-mac.h"
#include "ns3/wifi-mac-queue.h"
#include "ns3/qos-utils.h"
#include "vendor-specific-action.h"
#include "wave-net-device.h"
namespace ns3 {
class OrganizationIdentifier;
class WaveNetDevice;
/**
* \brief STAs communicate with each directly outside the context of a BSS
* \ingroup wave

View File

@@ -27,9 +27,10 @@
#include "ns3/attribute.h"
#include "ns3/attribute-helper.h"
#include "ns3/address.h"
#include "ns3/wifi-mac.h"
namespace ns3 {
class WifiMac;
class VendorSpecificContentManager;
/**

View File

@@ -17,13 +17,14 @@
*
* Author: Junling Bu <linlinjavaer@gmail.com>
*/
#include <iostream>
#include "ns3/test.h"
#include "ns3/rng-seed-manager.h"
#include "ns3/config.h"
#include "ns3/data-rate.h"
#include "ns3/vector.h"
#include "ns3/string.h"
#include "ns3/ssid.h"
#include "ns3/packet-socket-address.h"
#include "ns3/mobility-model.h"
#include "ns3/yans-wifi-helper.h"
@@ -33,8 +34,6 @@
#include "ns3/wifi-net-device.h"
#include "ns3/packet-socket-server.h"
#include "ns3/packet-socket-client.h"
#include <iostream>
#include "ns3/ocb-wifi-mac.h"
#include "ns3/wifi-80211p-helper.h"
#include "ns3/wave-mac-helper.h"