wifi: rescan bindings

This commit is contained in:
Sébastien Deronne
2017-12-13 14:10:23 +01:00
parent 2c49a314fa
commit 7396032a70
2 changed files with 43 additions and 31 deletions

View File

@@ -847,7 +847,7 @@ def register_types(module):
## callback.h (module 'core'): ns3::CallbackImpl<void, unsigned int, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> [class]
module.add_class('CallbackImpl', import_from_module='ns.core', template_parameters=['void', 'unsigned int', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], parent=root_module['ns3::CallbackImplBase'])
## callback.h (module 'core'): ns3::CallbackImpl<void, unsigned long long, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> [class]
module.add_class('CallbackImpl', import_from_module='ns.core', template_parameters=['void', 'unsigned long long', 'ns3::Mac48Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], parent=root_module['ns3::CallbackImplBase'])
module.add_class('CallbackImpl', import_from_module='ns.core', template_parameters=['void', 'unsigned long long', 'ns3::Mac48Addreshs', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], parent=root_module['ns3::CallbackImplBase'])
## callback.h (module 'core'): ns3::CallbackImpl<void, unsigned long long, unsigned long long, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> [class]
module.add_class('CallbackImpl', import_from_module='ns.core', template_parameters=['void', 'unsigned long long', 'unsigned long long', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], parent=root_module['ns3::CallbackImplBase'])
## queue-item.h (module 'network'): ns3::QueueDiscItem [class]
@@ -5406,6 +5406,11 @@ def register_Ns3WifiTxVector_methods(root_module, cls):
'bool',
[],
is_const=True)
## wifi-tx-vector.h (module 'wifi'): bool ns3::WifiTxVector::IsValid() const [member function]
cls.add_method('IsValid',
'bool',
[],
is_const=True)
## wifi-tx-vector.h (module 'wifi'): void ns3::WifiTxVector::SetAggregation(bool aggregation) [member function]
cls.add_method('SetAggregation',
'void',
@@ -9520,16 +9525,6 @@ def register_Ns3WifiPhy_methods(root_module, cls):
'ns3::WifiMode',
[],
is_static=True)
## wifi-phy.h (module 'wifi'): static bool ns3::WifiPhy::Is2_4Ghz(double frequency) [member function]
cls.add_method('Is2_4Ghz',
'bool',
[param('double', 'frequency')],
is_static=True)
## wifi-phy.h (module 'wifi'): static bool ns3::WifiPhy::Is5Ghz(double frequency) [member function]
cls.add_method('Is5Ghz',
'bool',
[param('double', 'frequency')],
is_static=True)
## wifi-phy.h (module 'wifi'): bool ns3::WifiPhy::IsMcsSupported(ns3::WifiMode mcs) const [member function]
cls.add_method('IsMcsSupported',
'bool',
@@ -9568,11 +9563,6 @@ def register_Ns3WifiPhy_methods(root_module, cls):
cls.add_method('IsStateTx',
'bool',
[])
## wifi-phy.h (module 'wifi'): static bool ns3::WifiPhy::IsValidTxVector(ns3::WifiTxVector txVector) [member function]
cls.add_method('IsValidTxVector',
'bool',
[param('ns3::WifiTxVector', 'txVector')],
is_static=True)
## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyMonitorSniffRx(ns3::Ptr<const ns3::Packet> packet, uint16_t channelFreqMhz, ns3::WifiTxVector txVector, ns3::MpduInfo aMpdu, ns3::SignalNoiseDbm signalNoise) [member function]
cls.add_method('NotifyMonitorSniffRx',
'void',
@@ -20421,6 +20411,10 @@ def register_Ns3HashFunctionMurmur3_methods(root_module, cls):
def register_functions(root_module):
module = root_module
## wifi-utils.h (module 'wifi'): void ns3::AddWifiMacTrailer(ns3::Ptr<ns3::Packet> packet) [free function]
module.add_function('AddWifiMacTrailer',
'void',
[param('ns3::Ptr< ns3::Packet >', 'packet')])
## wifi-utils.h (module 'wifi'): uint16_t ns3::ConvertGuardIntervalToNanoSeconds(ns3::WifiMode mode, bool htShortGuardInterval, ns3::Time heGuardInterval) [free function]
module.add_function('ConvertGuardIntervalToNanoSeconds',
'uint16_t',
@@ -20449,10 +20443,22 @@ def register_functions(root_module):
module.add_function('GetRtsSize',
'uint32_t',
[])
## wifi-utils.h (module 'wifi'): uint32_t ns3::GetSize(ns3::Ptr<const ns3::Packet> packet, ns3::WifiMacHeader const * hdr, bool isAmpdu) [free function]
module.add_function('GetSize',
'uint32_t',
[param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr'), param('bool', 'isAmpdu')])
## qos-utils.h (module 'wifi'): uint8_t ns3::GetTid(ns3::Ptr<const ns3::Packet> packet, ns3::WifiMacHeader const hdr) [free function]
module.add_function('GetTid',
'uint8_t',
[param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const', 'hdr')])
## wifi-utils.h (module 'wifi'): bool ns3::Is2_4Ghz(double frequency) [free function]
module.add_function('Is2_4Ghz',
'bool',
[param('double', 'frequency')])
## wifi-utils.h (module 'wifi'): bool ns3::Is5Ghz(double frequency) [free function]
module.add_function('Is5Ghz',
'bool',
[param('double', 'frequency')])
## wifi-utils.h (module 'wifi'): bool ns3::IsInWindow(uint16_t seq, uint16_t winstart, uint16_t winsize) [free function]
module.add_function('IsInWindow',
'bool',

View File

@@ -5406,6 +5406,11 @@ def register_Ns3WifiTxVector_methods(root_module, cls):
'bool',
[],
is_const=True)
## wifi-tx-vector.h (module 'wifi'): bool ns3::WifiTxVector::IsValid() const [member function]
cls.add_method('IsValid',
'bool',
[],
is_const=True)
## wifi-tx-vector.h (module 'wifi'): void ns3::WifiTxVector::SetAggregation(bool aggregation) [member function]
cls.add_method('SetAggregation',
'void',
@@ -9520,16 +9525,6 @@ def register_Ns3WifiPhy_methods(root_module, cls):
'ns3::WifiMode',
[],
is_static=True)
## wifi-phy.h (module 'wifi'): static bool ns3::WifiPhy::Is2_4Ghz(double frequency) [member function]
cls.add_method('Is2_4Ghz',
'bool',
[param('double', 'frequency')],
is_static=True)
## wifi-phy.h (module 'wifi'): static bool ns3::WifiPhy::Is5Ghz(double frequency) [member function]
cls.add_method('Is5Ghz',
'bool',
[param('double', 'frequency')],
is_static=True)
## wifi-phy.h (module 'wifi'): bool ns3::WifiPhy::IsMcsSupported(ns3::WifiMode mcs) const [member function]
cls.add_method('IsMcsSupported',
'bool',
@@ -9568,11 +9563,6 @@ def register_Ns3WifiPhy_methods(root_module, cls):
cls.add_method('IsStateTx',
'bool',
[])
## wifi-phy.h (module 'wifi'): static bool ns3::WifiPhy::IsValidTxVector(ns3::WifiTxVector txVector) [member function]
cls.add_method('IsValidTxVector',
'bool',
[param('ns3::WifiTxVector', 'txVector')],
is_static=True)
## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyMonitorSniffRx(ns3::Ptr<const ns3::Packet> packet, uint16_t channelFreqMhz, ns3::WifiTxVector txVector, ns3::MpduInfo aMpdu, ns3::SignalNoiseDbm signalNoise) [member function]
cls.add_method('NotifyMonitorSniffRx',
'void',
@@ -20421,6 +20411,10 @@ def register_Ns3HashFunctionMurmur3_methods(root_module, cls):
def register_functions(root_module):
module = root_module
## wifi-utils.h (module 'wifi'): void ns3::AddWifiMacTrailer(ns3::Ptr<ns3::Packet> packet) [free function]
module.add_function('AddWifiMacTrailer',
'void',
[param('ns3::Ptr< ns3::Packet >', 'packet')])
## wifi-utils.h (module 'wifi'): uint16_t ns3::ConvertGuardIntervalToNanoSeconds(ns3::WifiMode mode, bool htShortGuardInterval, ns3::Time heGuardInterval) [free function]
module.add_function('ConvertGuardIntervalToNanoSeconds',
'uint16_t',
@@ -20449,10 +20443,22 @@ def register_functions(root_module):
module.add_function('GetRtsSize',
'uint32_t',
[])
## wifi-utils.h (module 'wifi'): uint32_t ns3::GetSize(ns3::Ptr<const ns3::Packet> packet, ns3::WifiMacHeader const * hdr, bool isAmpdu) [free function]
module.add_function('GetSize',
'uint32_t',
[param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr'), param('bool', 'isAmpdu')])
## qos-utils.h (module 'wifi'): uint8_t ns3::GetTid(ns3::Ptr<const ns3::Packet> packet, ns3::WifiMacHeader const hdr) [free function]
module.add_function('GetTid',
'uint8_t',
[param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const', 'hdr')])
## wifi-utils.h (module 'wifi'): bool ns3::Is2_4Ghz(double frequency) [free function]
module.add_function('Is2_4Ghz',
'bool',
[param('double', 'frequency')])
## wifi-utils.h (module 'wifi'): bool ns3::Is5Ghz(double frequency) [free function]
module.add_function('Is5Ghz',
'bool',
[param('double', 'frequency')])
## wifi-utils.h (module 'wifi'): bool ns3::IsInWindow(uint16_t seq, uint16_t winstart, uint16_t winsize) [free function]
module.add_function('IsInWindow',
'bool',