Categorygithub.com/bryancoxwell/wifi
modulepackage
0.0.3-beta
Repository: https://github.com/bryancoxwell/wifi.git
Documentation: pkg.go.dev

# README

LinuxWifi

Work in progress

Forked from mdlayher/wifi.

# Functions

InterfaceIndexAttribute returns a pointer to an *Attribute[uint32] containing a valid NL80211_ATTR_IFINDEX value.
InterfaceNameAttribute returns a pointer to an *Attribute[string] containing a valid NL80211_ATTR_IFNAME value.
InterfaceTypeAttribute returns a pointer to an *Attribute[uint32] containing a valid NL80211_ATTR_IFTYPE value .
MacAttribute returns a pointer to an *Attribute[uint32] containing a valid NL80211_ATTR_MAC value.
NewAttributeFactory takes an attribute type as an argument and returns a function which takes an attribute value and returns a pointer to an Attribute object.
NewClient opens a generic netlink connection and sets the nl80211 family ID.
NewNl80211Message takes a command and a list of attributes and returns a generic netlink message containing the encoded attributes.
WiphyAttribute returns a pointer to an *Attribute[uint32] containing a valid NL80211_ATTR_WIPHY value.
WiphyFrequencyAttribute returns a pointer to an *Attribute[uint32] containing a valid NL80211_ATTR_WIPHY_FREQ value.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

Attributes have a type (ex NL80211_ATTR_IFTYPE) and a value.
Client objects handle communication with the nl80211 kernel interface.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

An InterfaceType is the operating mode of an Interface.