wlan

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package wlan provides the information of the wlan device.

Index

Constants

View Source
const (
	Marvell88w8897SDIO         = "Marvell 88W8897 SDIO"
	Marvell88w8997PCIE         = "Marvell 88W8997 PCIE"
	QualcommAtherosQCA6174     = "Qualcomm Atheros QCA6174"
	QualcommAtherosQCA6174SDIO = "Qualcomm Atheros QCA6174 SDIO"
	QualcommWCN3990            = "Qualcomm WCN3990"
	QualcommWCN6750            = "Qualcomm WCN6750"
	QualcommWCN6855            = "Qualcomm WCN6855"
	Intel7260                  = "Intel 7260"
	Intel7265                  = "Intel 7265"
	Intel9000                  = "Intel 9000"
	Intel9260                  = "Intel 9260"
	Intel22260                 = "Intel 22260"
	Intel22560                 = "Intel 22560"
	IntelAX211                 = "Intel AX 211"
	BroadcomBCM4354SDIO        = "Broadcom BCM4354 SDIO"
	BroadcomBCM4356PCIE        = "Broadcom BCM4356 PCIE"
	BroadcomBCM4371PCIE        = "Broadcom BCM4371 PCIE"
	Realtek8822CPCIE           = "Realtek 8822C PCIE"
	Realtek8852APCIE           = "Realtek 8852A PCIE"
	MediaTekMT7921PCIE         = "MediaTek MT7921 PCIE"
	MediaTekMT7921SDIO         = "MediaTek MT7921 SDIO"
)

WLAN device names

Variables

This section is empty.

Functions

func LogBandwidthSupport

func LogBandwidthSupport(ctx context.Context, dev *DevInfo)

LogBandwidthSupport logs info about the device bandwidth support. For now, it only works for Intel devices.

Types

type DevInfo

type DevInfo struct {

	// The device name.
	Name string
	// contains filtered or unexported fields
}

DevInfo contains the information of the WLAN device.

func DeviceInfo

func DeviceInfo(ctx context.Context, netIf string) (*DevInfo, error)

DeviceInfo returns a public struct (DevInfo) that has the WLAN device information.

func (*DevInfo) SupportMUMIMO

func (dev *DevInfo) SupportMUMIMO() bool

SupportMUMIMO return true if the WLAN device support MU-MIMO.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL