Documentation ¶
Overview ¶
Package wlan provides the information of the wlan device.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeviceNames = map[DeviceID]string{ 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", Intel8265: "Intel 8265", Intel9000: "Intel 9000", Intel9260: "Intel 9260", Intel22260: "Intel 22260", Intel22560: "Intel 22560", IntelAX201: "Intel AX 201", IntelAX203: "Intel AX 203", IntelAX211: "Intel AX 211", BroadcomBCM4354SDIO: "Broadcom BCM4354 SDIO", BroadcomBCM4356PCIE: "Broadcom BCM4356 PCIE", BroadcomBCM4371PCIE: "Broadcom BCM4371 PCIE", Realtek8822CPCIE: "Realtek 8822C PCIE", Realtek8852APCIE: "Realtek 8852A PCIE", Realtek8852CPCIE: "Realtek 8852C PCIE", MediaTekMT7921PCIE: "MediaTek MT7921 PCIE", MediaTekMT7921SDIO: "MediaTek MT7921 SDIO", MediaTekMT7922PCIE: "MediaTek MT7922 PCIE", }
DeviceNames map contains WLAN device names.
Functions ¶
This section is empty.
Types ¶
type DevInfo ¶
type DevInfo struct { // Vendor is the vendor ID seen in /sys/class/net/<interface>/vendor. Vendor string // Device is the product ID seen in /sys/class/net/<interface>/device. Device string // Compatible is the compatible property. // See https://www.kernel.org/doc/Documentation/devicetree/usage-model.txt. Compatible string // Subsystem is the RF chip's ID. The addition of this property is necessary for // device disambiguation (b/129489799). Subsystem string // Device (enum) ID ID DeviceID // The device name. Name string }
DevInfo contains the information of the WLAN device.
func DeviceInfo ¶
DeviceInfo returns a public struct (DevInfo) containing the WLAN device information.
func (*DevInfo) SupportMUMIMO ¶
SupportMUMIMO return true if the WLAN device support MU-MIMO.
type DeviceID ¶
type DeviceID int32
DeviceID is used as a Device ID type.
const ( UnknownDevice DeviceID = iota Marvell88w8897SDIO Marvell88w8997PCIE QualcommAtherosQCA6174 QualcommAtherosQCA6174SDIO QualcommWCN3990 QualcommWCN6750 QualcommWCN6855 Intel7260 Intel7265 Intel8265 Intel9000 Intel9260 Intel22260 Intel22560 IntelAX201 IntelAX203 IntelAX211 BroadcomBCM4354SDIO BroadcomBCM4356PCIE BroadcomBCM4371PCIE Realtek8822CPCIE Realtek8852APCIE Realtek8852CPCIE MediaTekMT7921PCIE MediaTekMT7921SDIO MediaTekMT7922PCIE )
WLAN Device IDs.
Click to show internal directories.
Click to hide internal directories.