regdb

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: 5 Imported by: 0

Documentation

Overview

Package regdb supports parsing the regulatory database used by the Linux kernel's WiFi framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Country

type Country struct {
	Alpha string
}

Country represents a country entry in the regulatory database.

type RegulatoryDB

type RegulatoryDB struct {
	Countries []*Country
}

RegulatoryDB holds country info from the WiFi regulatory database.

func NewRegulatoryDB

func NewRegulatoryDB() (*RegulatoryDB, error)

NewRegulatoryDB retrieves and parses the system's WiFi regulatory database.

Jump to

Keyboard shortcuts

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