*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: lib80211 | Section: 3 | Source: FreeBSD | File: lib80211.3.gz
80211(3) FreeBSD Library Functions Manual 80211(3) NAME lib80211_alloc_regdata, lib80211_free_regdata, lib80211_regdomain_readconfig, lib80211_regdomain_cleanup, lib80211_regdomain_findbysku, lib80211_regdomain_findbyname, lib80211_country_findbycc, lib80211_country_findbyname - manage net80211 configuration and regulatory database LIBRARY 802.11 Wireless Network Management Library (lib80211, -l80211) SYNOPSIS #include <lib80211/lib80211_regdomain.h> #include <lib80211/lib80211_ioctl.h> struct regdata * lib80211_alloc_regdata(void); void lib80211_free_regdata(struct regdata *reg); int lib80211_regdomain_readconfig(struct regdata *reg, const void *config, size_t size); void lib80211_regdomain_cleanup(struct regdata *reg); const struct regdomain * lib80211_regdomain_findbysku(const struct regdata *reg, enumRegDomainCode); const struct regdomain * lib80211_regdomain_findbyname(const struct regdata *reg, const char *sku); const struct country * lib80211_country_findbycc(const struct regdata *reg, enum ISOCountryCode); const struct country * lib80211_country_findbyname(const struct regdata *reg, const char *cc); DESCRIPTION The lib80211 library is an interface to the net80211(4) infrastructure. It implements wrappers around the net80211(4) ioctl command, as well as providing a convenient API to access the regulatory database. The lib80211_alloc_regdata() and lib80211_free_regdata() function allocates / frees a regdata structure to store regulatory domain information in. The lib80211_regdomain_readconfig() and lib80211_regdomain_cleanup() functions read in the regulatory database XML configuration and free it when finished. The lib80211_regdomain_findbysku() and lib80211_regdomain_findbyname() functions look up a regulatory domain entry by SKU enum and SKU name respectively. The lib80211_country_findbycc() and lib80211_country_findbyname() functions look up a country information entry by ISO country enum and ISO country code string respectively. RETURN VALUES The lib80211_alloc_regdata(), lib80211_regdomain_readconfig(), lib80211_regdomain_findbysku(), lib80211_regdomain_findbyname(), lib80211_country_findbycc(), lib80211_country_findbyname() return NULL upon error. SEE ALSO net80211(4), ifconfig(8) HISTORY The lib80211 library first appeared in FreeBSD 11.0. AUTHORS Adrian Chadd FreeBSD 14.1-RELEASE-p8 December 15, 2015 FreeBSD 14.1-RELEASE-p8

Navigation Options