diff --git a/src/wifi/bindings/modulegen__gcc_ILP32.py b/src/wifi/bindings/modulegen__gcc_ILP32.py index 28447d846..a6e8ec585 100644 --- a/src/wifi/bindings/modulegen__gcc_ILP32.py +++ b/src/wifi/bindings/modulegen__gcc_ILP32.py @@ -847,7 +847,7 @@ def register_types(module): ## callback.h (module 'core'): ns3::CallbackImpl [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 [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 [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 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 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 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 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', diff --git a/src/wifi/bindings/modulegen__gcc_LP64.py b/src/wifi/bindings/modulegen__gcc_LP64.py index 7de9d3710..bd7595cd9 100644 --- a/src/wifi/bindings/modulegen__gcc_LP64.py +++ b/src/wifi/bindings/modulegen__gcc_LP64.py @@ -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 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 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 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 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',