109cbe818SShteryana Shopova.\"-
209cbe818SShteryana Shopova.\" Copyright (C) 2010 The FreeBSD Foundation
309cbe818SShteryana Shopova.\"
409cbe818SShteryana Shopova.\" This documentation was written by Shteryana Sotirova Shopova under
509cbe818SShteryana Shopova.\" sponsorship from the FreeBSD Foundation.
609cbe818SShteryana Shopova.\"
709cbe818SShteryana Shopova.\" Redistribution and use in source and binary forms, with or without
809cbe818SShteryana Shopova.\" modification, are permitted provided that the following conditions
909cbe818SShteryana Shopova.\" are met:
1009cbe818SShteryana Shopova.\" 1. Redistributions of source code must retain the above copyright
1109cbe818SShteryana Shopova.\"    notice, this list of conditions and the following disclaimer.
1209cbe818SShteryana Shopova.\" 2. Redistributions in binary form must reproduce the above copyright
1309cbe818SShteryana Shopova.\"    notice, this list of conditions and the following disclaimer in the
1409cbe818SShteryana Shopova.\"    documentation and/or other materials provided with the distribution.
1509cbe818SShteryana Shopova.\"
1609cbe818SShteryana Shopova.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1709cbe818SShteryana Shopova.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1809cbe818SShteryana Shopova.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1909cbe818SShteryana Shopova.\" ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
2009cbe818SShteryana Shopova.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2109cbe818SShteryana Shopova.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2209cbe818SShteryana Shopova.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2309cbe818SShteryana Shopova.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2409cbe818SShteryana Shopova.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2509cbe818SShteryana Shopova.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2609cbe818SShteryana Shopova.\" SUCH DAMAGE.
2709cbe818SShteryana Shopova.\"
2809cbe818SShteryana Shopova.Dd June 28, 2010
29a6d11f71SRuslan Ermilov.Dt SNMP_WLAN 3
3009cbe818SShteryana Shopova.Os
3109cbe818SShteryana Shopova.Sh NAME
3209cbe818SShteryana Shopova.Nm snmp_wlan
33c2965cd1SJoel Dahl.Nd "wireless networking module for"
3409cbe818SShteryana Shopova.Xr bsnmpd 1
3509cbe818SShteryana Shopova.Sh LIBRARY
3609cbe818SShteryana Shopova.Pq begemotSnmpdModulePath."wlan" = "/usr/lib/snmp_wlan.so"
3709cbe818SShteryana Shopova.Sh DESCRIPTION
3809cbe818SShteryana ShopovaThe
3909cbe818SShteryana Shopova.Nm snmp_wlan
4009cbe818SShteryana Shopovamodule implements a private BEGEMOT-WIRELESS-MIB, which allows
41dbac569bSGordon Berglingmanagement of virtual wireless interfaces.
42dbac569bSGordon BerglingThe MIB defines objects similar to the state data and configuration capabilities of
4309cbe818SShteryana Shopova.Xr ifconfig 8
4409cbe818SShteryana Shopovafor configuring virtual wireless interfaces.
45c2025a76SJoel DahlTherefore one should consider adding write communities or loading the
4609cbe818SShteryana Shopova.Nm
4709cbe818SShteryana Shopovamodule on systems where security is crucial.
4809cbe818SShteryana Shopova.Sh IMPLEMENTATION NOTES
4909cbe818SShteryana ShopovaA short description of the Tables and interesting objects in the MIB follows.
5009cbe818SShteryana Shopova.Bl -tag -width "XXXXXXXXX"
5109cbe818SShteryana Shopova.It Va wlanInterfaceTable
52dbac569bSGordon BerglingThe table is used for creation and deletion of virtual wireless interfaces.
53dbac569bSGordon BerglingTo add a new interface, a SET should be executed on the
5409cbe818SShteryana Shopova.Va wlanIfaceName
5509cbe818SShteryana Shopovacolumn with
56dbac569bSGordon Berglingvalue the desired name of the interface.
57dbac569bSGordon BerglingNext the parent interface must be set via
5809cbe818SShteryana Shopova.Va wlanParentIfName
59dbac569bSGordon Berglingcolumn.
60dbac569bSGordon BerglingAny optional parameters may be set via the
6109cbe818SShteryana Shopova.Va wlanIfaceOperatingMode ,
6209cbe818SShteryana Shopova.Va wlanIfaceFlags ,
6309cbe818SShteryana Shopova.Va wlanIfaceBssid
6409cbe818SShteryana Shopovaand
6509cbe818SShteryana Shopova.Va wlanIfaceLocalAddress
6609cbe818SShteryana Shopovacolumns.
6709cbe818SShteryana ShopovaTo finally create the interface in the system, a SET with value of active(1) to
6809cbe818SShteryana Shopova.Va wlanIfaceStatus
6909cbe818SShteryana Shopovacolumn should be executed.
7009cbe818SShteryana ShopovaTo destroy a wireless interface a SET with value of destroy(6) to the relevant
7109cbe818SShteryana Shopova.Va wlanIfaceStatus
7209cbe818SShteryana Shopovacolumn should be executed.
7309cbe818SShteryana Shopova.It Va wlanIfParentTable
7409cbe818SShteryana ShopovaThe table contains information about the hardware capabilities of the parent of
7509cbe818SShteryana Shopovaa wireless interface.
7609cbe818SShteryana Shopova.It Va wlanIfaceConfigTable
77f6ac2391SJoel DahlThe table is used to get or set various configuration parameters for a virtual
78dbac569bSGordon Berglingwireless interface.
79dbac569bSGordon BerglingDepending on the operating mode of the interface and the hardware capabilities
80dbac569bSGordon Berglingof the underlying hardware interface, not all parameters and values may be supported.
8109cbe818SShteryana Shopova.It Va wlanIfacePeerTable
8209cbe818SShteryana ShopovaThe table contains information about the associated stations for interfaces
8309cbe818SShteryana Shopovaoperating as access points, or the stations identified as neighbors in the IBSS
8409cbe818SShteryana Shopovafor interfaces operating in adhoc mode.
8509cbe818SShteryana Shopova.It Va wlanIfaceChannelTable
8609cbe818SShteryana ShopovaInformation about the active channels for the wireless interfaces in the system.
8709cbe818SShteryana Shopova.It Va wlanIfRoamParamsTable
8809cbe818SShteryana ShopovaThe parameters that govern the roaming operation on the wireless interfaces.
8909cbe818SShteryana Shopova.It Va wlanIfTxParamsTable
9009cbe818SShteryana ShopovaThe parameters that govern the transmit operation on the wireless interfaces.
9109cbe818SShteryana Shopova.It Va wlanScanConfigTable
9209cbe818SShteryana ShopovaThe table that contains a configuration for channel scanning initiated via SNMP.
9309cbe818SShteryana Shopova.It Va wlanScanResultsTable
9409cbe818SShteryana ShopovaThe table contains the scan results from the last scan for each wireless
9509cbe818SShteryana Shopovainterface on the system.
9609cbe818SShteryana Shopova.It Va wlanIfaceStatisticsTable
9709cbe818SShteryana ShopovaSummary statistics for each wireless interface on the system.
9809cbe818SShteryana Shopova.It Va wlanWepInterfaceTable
9909cbe818SShteryana ShopovaWEP configuration for the wireless interfaces on the system.
10009cbe818SShteryana Shopova.It Va wlanMACAccessControlTable
10109cbe818SShteryana ShopovaAccess Control configuration for wireless interfaces operating as access points.
10209cbe818SShteryana Shopova.It Va wlanMACAccessControlMACTable
10309cbe818SShteryana ShopovaThe table with Access Control MAC entries for which the configured Access
104f6ac2391SJoel DahlControl Policy on wireless interfaces operating in Host AP mode is applied.
10509cbe818SShteryana Shopova.Va wlanMACAccessControlMACStatus
106dbac569bSGordon Berglingcolumn is used to add or delete MAC ACL entries.
107dbac569bSGordon BerglingA set with value createAndGo(4) will add new entry, while with value destroy(6)
108dbac569bSGordon Berglingwill delete an existing one.
10909cbe818SShteryana Shopova.It Va wlanMeshRoutingConfig
11009cbe818SShteryana ShopovaThe subtree contains system configuration related to Wireless Mesh Routing.
11109cbe818SShteryana Shopova.It Va wlanMeshInterfaceTable
11209cbe818SShteryana ShopovaThe table contains information for wireless interfaces operating as wireless
11309cbe818SShteryana Shopovamesh points.
11409cbe818SShteryana Shopova.It Va wlanMeshNeighborTable
11509cbe818SShteryana ShopovaThe table contains information for the neighbors of wireless interfaces
11609cbe818SShteryana Shopovaoperating in mesh mode.
11709cbe818SShteryana Shopova.It Va wlanMeshRouteTable
11809cbe818SShteryana ShopovaThe mesh routing table for interfaces operating as mesh points, used for
11909cbe818SShteryana Shopovaforwarding packets on a mesh network.
12009cbe818SShteryana Shopova.Va wlanMeshRouteStatus
12109cbe818SShteryana Shopovacolumn is used to add or delete entries in the mesh routing table for an
122dbac569bSGordon Berglinginterface.
123dbac569bSGordon BerglingA set with value createAndGo(4) will add new entry, while with value destroy(6)
124dbac569bSGordon Berglingwill delete an existing one.
12509cbe818SShteryana Shopova.It Va wlanMeshStatsTable
12609cbe818SShteryana ShopovaSummary statistics for each virtual wireless interface operating as mesh point.
12709cbe818SShteryana Shopova.It Va wlanMeshHWMPConfig
12809cbe818SShteryana ShopovaThe subtree contains system configuration related to Hybrid Wireless Mesh
12909cbe818SShteryana ShopovaProtocol.
13009cbe818SShteryana Shopova.It Va wlanHWMPInterfaceTable
13109cbe818SShteryana ShopovaThe table contains HWMP information for wireless interfaces operating in mesh
13209cbe818SShteryana Shopovamode.
13309cbe818SShteryana Shopova.It Va wlanMeshHWMPStatsTable
13409cbe818SShteryana ShopovaSummary statistics for HWMP operation on interfaces operating as mesh points.
13509cbe818SShteryana Shopova.El
13609cbe818SShteryana Shopova.Sh RESTRICTIONS
13709cbe818SShteryana ShopovaNot all information or configuration in the MIBs is currently available in FreeBSD.
13809cbe818SShteryana ShopovaThe values of the following variables carry no information:
13909cbe818SShteryana Shopova.Bl -tag -width "XXXXXXXXX"
14009cbe818SShteryana Shopova.It Va wlanStatsReset
14109cbe818SShteryana Shopova.El
14209cbe818SShteryana Shopova.Sh FILES
14309cbe818SShteryana Shopova.Bl -tag -width "XXXXXXXXX"
14409cbe818SShteryana Shopova.It Pa /usr/share/snmp/defs/wlan_tree.def
14509cbe818SShteryana ShopovaThe description of the MIB tree implemented by
14609cbe818SShteryana Shopova.Nm .
14709cbe818SShteryana Shopova.It Pa /usr/share/snmp/mibs/BEGEMOT-WIRELESS-MIB.txt
14809cbe818SShteryana ShopovaThe private BEGEMOT-WIRELESS-MIB that is implemented by this module.
14909cbe818SShteryana Shopova.El
15009cbe818SShteryana Shopova.Sh SEE ALSO
15109cbe818SShteryana Shopova.Xr bsnmpd 1 ,
15209cbe818SShteryana Shopova.Xr gensnmptree 1 ,
153914f6e62SJoel Dahl.Xr snmpmod 3 ,
15409cbe818SShteryana Shopova.Xr wlan 4 ,
15509cbe818SShteryana Shopova.Xr wlan_acl 4 ,
15609cbe818SShteryana Shopova.Xr wlan_wep 4 ,
157914f6e62SJoel Dahl.Xr ifconfig 8
15809cbe818SShteryana Shopova.Sh AUTHORS
15901c2b8acSBaptiste Daroussin.An Shteryana Shopova Aq Mt syrinx@FreeBSD.org
160