Class: Nl::Linux::Nl80211
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::Nl80211
- Defined in:
- nl-linux/generated/nl/linux/nl80211.rb
Overview
Netlink API for 802.11 wireless devices
Defined Under Namespace
Modules: AttributeSets, Enums, Flags, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"nl80211"- VERSION =
1
Class Method Summary collapse
Instance Method Summary collapse
-
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
-
#do_get_interface(**args) ⇒ Messages::DoGetInterfaceReply
Get information about an interface or dump a list of all interfaces.
-
#do_get_protocol_features(**args) ⇒ Messages::DoGetProtocolFeaturesReply
Get information about supported protocol features.
-
#do_get_wiphy(**args) ⇒ Messages::DoGetWiphyReply
Get information about a wiphy or dump a list of all wiphys.
-
#dump_get_interface(**args, &block) ⇒ Object
Get information about an interface or dump a list of all interfaces.
-
#dump_get_wiphy(**args, &block) ⇒ Object
Get information about a wiphy or dump a list of all wiphys.
- #subscribe(*groups) ⇒ self
- #unsubscribe(*groups) ⇒ self
Methods inherited from Genl::Family
Class Method Details
.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ Nl80211 .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object
26 27 28 |
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 26 def self.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) super end |
Instance Method Details
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
7099 7100 7101 7102 |
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 7099 def async(stream_capacity: nil) return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil? build_async_facade(AsyncOperations, stream_capacity:) end |
#do_get_interface(**args) ⇒ Messages::DoGetInterfaceReply
Get information about an interface or dump a list of all interfaces
7005 7006 7007 |
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 7005 def do_get_interface(**args) (:"do", Messages::DoGetInterfaceRequest, Messages::DoGetInterfaceReply, args) end |
#do_get_protocol_features(**args) ⇒ Messages::DoGetProtocolFeaturesReply
Get information about supported protocol features
7032 7033 7034 |
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 7032 def do_get_protocol_features(**args) (:"do", Messages::DoGetProtocolFeaturesRequest, Messages::DoGetProtocolFeaturesReply, args) end |
#do_get_wiphy(**args) ⇒ Messages::DoGetWiphyReply
Get information about a wiphy or dump a list of all wiphys. Requests to dump get-wiphy should unconditionally include the split-wiphy-dump flag in the request.
6970 6971 6972 |
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 6970 def do_get_wiphy(**args) (:"do", Messages::DoGetWiphyRequest, Messages::DoGetWiphyReply, args) end |
#dump_get_interface(**args) ⇒ Array<Messages::DumpGetInterfaceReply> #dump_get_interface(**args) {|reply| ... } ⇒ void
Get information about an interface or dump a list of all interfaces
7023 7024 7025 |
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 7023 def dump_get_interface(**args, &block) (:"dump", Messages::DumpGetInterfaceRequest, Messages::DumpGetInterfaceReply, args, &block) end |
#dump_get_wiphy(**args) ⇒ Array<Messages::DumpGetWiphyReply> #dump_get_wiphy(**args) {|reply| ... } ⇒ void
Get information about a wiphy or dump a list of all wiphys. Requests to dump get-wiphy should unconditionally include the split-wiphy-dump flag in the request.
6996 6997 6998 |
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 6996 def dump_get_wiphy(**args, &block) (:"dump", Messages::DumpGetWiphyRequest, Messages::DumpGetWiphyReply, args, &block) end |
#subscribe(*groups) ⇒ self
7106 7107 7108 7109 |
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 7106 def subscribe(*groups) = super # @rbs (*(:config | :scan | :regulatory | :mlme | :vendor | :nan | :testmode) groups) -> self # @param [Array<:config, :scan, :regulatory, :mlme, :vendor, :nan, :testmode>] groups # @return [self] |
#unsubscribe(*groups) ⇒ self
7110 |
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 7110 def unsubscribe(*groups) = super |