svn commit: r210502 - head/usr.sbin/bsnmpd/modules/snmp_wlan

Shteryana Shopova syrinx at FreeBSD.org
Mon Jul 26 16:16:39 UTC 2010


Author: syrinx
Date: Mon Jul 26 16:16:39 2010
New Revision: 210502
URL: http://svn.freebsd.org/changeset/base/210502

Log:
  Bring in a SNMP module to support monitoring cloned wireless interfaces
  via bsnmpd(1). The module implements a private BEGEMOT-WIRELESS-MIB.
  
  Sponsored by:	The FreeBSD Foundation
  Reviewed by:	philip@
  Approved by:	philip@

Added:
  head/usr.sbin/bsnmpd/modules/snmp_wlan/
  head/usr.sbin/bsnmpd/modules/snmp_wlan/BEGEMOT-WIRELESS-MIB.txt   (contents, props changed)
  head/usr.sbin/bsnmpd/modules/snmp_wlan/Makefile   (contents, props changed)
  head/usr.sbin/bsnmpd/modules/snmp_wlan/snmp_wlan.3   (contents, props changed)
  head/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c   (contents, props changed)
  head/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.h   (contents, props changed)
  head/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c   (contents, props changed)
  head/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_tree.def   (contents, props changed)

Added: head/usr.sbin/bsnmpd/modules/snmp_wlan/BEGEMOT-WIRELESS-MIB.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/usr.sbin/bsnmpd/modules/snmp_wlan/BEGEMOT-WIRELESS-MIB.txt	Mon Jul 26 16:16:39 2010	(r210502)
@@ -0,0 +1,3898 @@
+--
+-- Copyright (C) 2010 The FreeBSD Foundation
+-- All rights reserved.
+--
+-- This documentation was written by Shteryana Sotirova Shopova under
+-- sponsorship from the FreeBSD Foundation.
+--
+-- Redistribution and use in source and binary forms, with or without
+-- modification, are permitted provided that the following conditions
+-- are met:
+-- 1. Redistributions of source code must retain the above copyright
+--    notice, this list of conditions and the following disclaimer.
+-- 2. Redistributions in binary form must reproduce the above copyright
+--    notice, this list of conditions and the following disclaimer in the
+--    documentation and/or other materials provided with the distribution.
+--
+-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+-- ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
+-- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+-- SUCH DAMAGE.
+--
+-- $FreeBSD$
+--
+
+BEGEMOT-WIRELESS-MIB DEFINITIONS ::= BEGIN
+
+IMPORTS
+    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
+    Counter32, Integer32, TimeTicks, Unsigned32, mib-2
+	FROM SNMPv2-SMI
+    TEXTUAL-CONVENTION, MacAddress, TruthValue, RowStatus,
+    DisplayString
+	FROM SNMPv2-TC
+    InterfaceIndex, ifIndex FROM IF-MIB
+    begemot
+	FROM BEGEMOT-MIB;
+
+begemotWlan MODULE-IDENTITY
+    LAST-UPDATED "201005170000Z"
+    ORGANIZATION "The FreeBSD Foundation"
+    CONTACT-INFO
+	    "		Shteryana Shopova
+
+	     Postal:	12 Andrey Lyapchev Blvd.
+			block 2, ap.19
+			1797 Sofia
+			Bulgaria
+
+	     Fax:	N/A
+
+	     E-Mail:	syrinx at FreeBSD.org"
+    DESCRIPTION
+	    "The Begemot MIB for managing IEEE802.11 interfaces."
+    REVISION     "201005170000Z"
+    DESCRIPTION
+	    "Initial revision."
+    ::= { begemot 210 }
+
+-- ---------------------------------------------------------- --
+-- Textual conventions
+-- ---------------------------------------------------------- --
+WlanMgmtReasonCode ::= TEXTUAL-CONVENTION
+    STATUS	current
+    DESCRIPTION
+	"Enumeration of reason and codes used in IEEE802.11
+	management frames to indicate why an action took place."
+    SYNTAX	INTEGER {
+		    unspecified(1),
+		    authenticationExpire(2),
+		    authenticationLeave(3),
+		    associationExpire(4),
+		    associationTooMany(5),
+		    notAuthenticated(6),
+		    notAssociated(7),
+		    associationLeave(8),
+		    associationNotAuthenticated(9),
+-- XXX: TODO - FIXME
+		    dissasocPwrcapBad(10),
+		    dissasocSuperchanBad(11),
+		    ieInvalid(13),
+		    micFailure(14),
+		    fourWayHandshakeTimeout(15),
+		    groupKeyUpdateTimeout(16),
+		    ieIn4FourWayDiffers(17),
+		    groupCipherInvalid(18),
+		    pairwiseCiherInvalid(19),
+		    akmpInvalid(20),
+		    unsupportedRsnIeVersion(21),
+		    invalidRsnIeCap(22),
+		    dot1xAuthFailed(23),
+		    cipherSuiteRejected(24),
+		    unspeciffiedQos(32),
+		    insufficientBw(33),
+		    tooManyFrames(34),
+		    outsideTxOp(35),
+		    leavingQbss(36),
+		    badMechanism(37),
+		    setupNeeded(38),
+		    timeout(39)
+		}
+
+WlanMgmtMeshReasonCode ::= TEXTUAL-CONVENTION
+    STATUS	current
+    DESCRIPTION
+	"Enumeration of reason and codes used in IEEE802.11
+	mesh routing management frames to indicate why an
+	action took place."
+    SYNTAX	INTEGER {
+-- XXX: TODO - FIXME
+		    peerLinkCancelled(2),
+		    maxPeers(3),
+		    cpViolation(4),
+		    closeRcvd(5),
+		    maxRetries(6),
+		    confirmTimeout(7),
+		    invalidGtk(8),
+		    inconsistentParams(9),
+		    invalidSecurity(10),
+		    perrUnspecified(11),
+		    perrNoFI(12),
+		    perrDestUnreach(13)
+		}
+
+WlanMgmtStatusCode ::= TEXTUAL-CONVENTION
+    STATUS	current
+    DESCRIPTION
+	"Enumeration of reason and codes used in IEEE802.11
+	management frames to indicate what the result of an
+	operation is."
+    SYNTAX	INTEGER {
+-- XXX: TODO - FIXME
+		    success(0),
+		    unspecified(1),
+		    capabilitiesInfo(10),
+		    notAssociated(11),
+		    other(12),
+		    algorithm(13),
+		    sequence(14),
+		    challenge(15),
+		    timeout(16),
+		    tooMany(17),
+		    basicRate(18),
+		    spRequired(19),
+		    pbccRequired(20),
+		    caRequired(21),
+		    specMgmtRequired(22),
+		    pwrcapRequire(23),
+		    superchanRequired(24),
+		    shortSlotRequired(25),
+		    dssofdmRequired(26),
+		    missingHTCaps(27),
+		    invalidIE(40),
+		    groupCipherInvalid(41),
+		    pairwiseCipherInvalid(42),
+		    akmpInvalid(43),
+		    unsupportedRsnIEVersion(44),
+		    invalidRsnIECap(45),
+		    cipherSuiteRejected(46)
+		}
+
+WlanRegDomainCode ::= TEXTUAL-CONVENTION
+    STATUS	current
+    DESCRIPTION
+	"Enumeration of regdomain codes."
+    SYNTAX	INTEGER {
+			fcc(1),
+			ca(2),
+			etsi(3),
+			etsi2(4),
+			etsi3(5),
+			fcc3(6),
+			japan(7),
+			korea(8),
+			apac(9),
+			apac2(10),
+			apac3(11),
+			row(12),
+			none(13),
+			debug(14),
+			sr9(15),
+			xr9(16),
+			gz901(17)
+		}
+
+WlanIfaceDot11nPduType ::= TEXTUAL-CONVENTION
+    STATUS	current
+    DESCRIPTION
+	"Enumeration of values for PDU transmit/receive enabled."
+    SYNTAX	INTEGER {
+			disabled(0),
+			rxOnly(1),
+			txOnly(2),
+			txAndRx(3)
+		}
+
+WlanPeerCapabilityFlags ::= TEXTUAL-CONVENTION
+    STATUS	current
+    DESCRIPTION
+	"A list of capability bits that may be advertised by a peer."
+    SYNTAX	BITS {
+			ess(1),
+			ibss(2),
+			cfPollable(3),
+			cfPollRequest(4),
+			privacy(5),
+			shortPreamble(6),
+			pbcc(7),
+			channelAgility(8),
+			shortSlotTime(9),
+			rsn(10),
+			dsssofdm(11)
+		}
+
+WlanIfPhyMode ::= TEXTUAL-CONVENTION
+    STATUS	current
+    DESCRIPTION
+	"A list of wireless PHY operating modes."
+    SYNTAX	INTEGER {
+			auto(1),
+			dot11a(2),
+			dot11b(3),
+			dot11g(4),
+			fh(5),
+			turboA(6),
+			turboG(7),
+			sturboA(8),
+			dot11na(9),
+			dot11ng(10),
+			ofdmHalf(11),
+			ofdmQuarter(12)
+		}
+
+-- ---------------------------------------------------------- --
+-- Subtrees in the Begemot Wireless MIB
+-- ---------------------------------------------------------- --
+begemotWlanNotifications	OBJECT IDENTIFIER ::= { begemotWlan 0 }
+
+begemotWlanInterface		OBJECT IDENTIFIER ::= { begemotWlan 1 }
+
+begemotWlanScanning		OBJECT IDENTIFIER ::= { begemotWlan 2 }
+
+begemotWlanStatistics		OBJECT IDENTIFIER ::= { begemotWlan 3 }
+
+begemotWlanWep			OBJECT IDENTIFIER ::= { begemotWlan 4 }
+
+begemotWlanMACAccessControl	OBJECT IDENTIFIER ::= { begemotWlan 5 }
+
+begemotWlanMeshRouting		OBJECT IDENTIFIER ::= { begemotWlan 6 }
+
+-- ---------------------------------------------------------- --
+-- begemotWlanMultimedia	OBJECT IDENTIFIER ::= { begemotWlan 7 }
+-- ---------------------------------------------------------- --
+
+-- ---------------------------------------------------------- --
+-- Cloned wireless interfaces' database
+-- ---------------------------------------------------------- --
+wlanInterfaceTable OBJECT-TYPE
+    SYNTAX	SEQUENCE OF WlanInterfaceEntry
+    MAX-ACCESS	not-accessible
+    STATUS	current
+    DESCRIPTION
+	"A table that contains the list of cloned wireless
+	interfaces created on the system."
+    ::= { begemotWlanInterface 1 }
+
+wlanInterfaceEntry OBJECT-TYPE
+    SYNTAX	WlanInterfaceEntry
+    MAX-ACCESS	not-accessible
+    STATUS	current
+    DESCRIPTION
+	"Information for a cloned wireless interface."
+    INDEX { wlanIfaceName }
+    ::= { wlanInterfaceTable 1 }
+
+WlanInterfaceEntry ::= SEQUENCE {
+    wlanIfaceIndex				InterfaceIndex,
+    wlanIfaceName				DisplayString,
+    wlanParentIfName				DisplayString,
+    wlanIfaceOperatingMode			INTEGER,
+    wlanIfaceFlags				BITS,
+    wlanIfaceBssid				MacAddress,
+    wlanIfaceLocalAddress			MacAddress,
+    wlanIfaceStatus				RowStatus,
+    wlanIfaceState				INTEGER
+}
+
+wlanIfaceIndex OBJECT-TYPE
+    SYNTAX	InterfaceIndex
+    MAX-ACCESS	read-only
+    STATUS	current
+    DESCRIPTION
+	"The ifIndex of this cloned wireless interface."
+    ::= { wlanInterfaceEntry 1 }
+
+wlanIfaceName OBJECT-TYPE
+    SYNTAX	DisplayString (SIZE(1..32))
+    MAX-ACCESS	read-create
+    STATUS	current
+    DESCRIPTION
+	"The name of this cloned wireless interface."
+    ::= { wlanInterfaceEntry 2 }
+
+wlanParentIfName OBJECT-TYPE
+    SYNTAX	DisplayString (SIZE(1..32))
+    MAX-ACCESS	read-create
+    STATUS	current
+    DESCRIPTION
+	"The name of this cloned wireless interface's parent hardware
+	interface."
+    ::= { wlanInterfaceEntry 3 }
+
+wlanIfaceOperatingMode OBJECT-TYPE
+    SYNTAX	INTEGER {
+			ibss(0),
+			station(1),
+			wds(2),
+			adhocDemo(3),
+			hostAp(4),
+			monitor(5),
+			meshPoint(6),
+			tdma(7)
+    		}
+    MAX-ACCESS	read-create
+    STATUS	current
+    DESCRIPTION
+	"The desired operating mode of the cloned wireless interface."
+    DEFVAL	{ station }
+    ::= { wlanInterfaceEntry 4 }
+
+wlanIfaceFlags OBJECT-TYPE
+    SYNTAX	BITS {
+			uniqueBssid(1),
+			noBeacons(2),
+			wdsLegacy(3)
+		}
+    MAX-ACCESS	read-create
+    STATUS	current
+    DESCRIPTION
+	"Flags per cloned wireless interface used during creation."
+    ::= { wlanInterfaceEntry 5 }
+
+wlanIfaceBssid OBJECT-TYPE
+    SYNTAX	MacAddress
+    MAX-ACCESS	read-create
+    STATUS	current
+    DESCRIPTION
+	"The BSSID assigned to a cloned wireless interface operating in
+	WDS mode."
+    ::= { wlanInterfaceEntry 6 }
+
+wlanIfaceLocalAddress OBJECT-TYPE
+    SYNTAX	MacAddress
+    MAX-ACCESS	read-create
+    STATUS	current
+    DESCRIPTION
+	"The unique local MAC address assigned to the cloned wireless
+	interface during creation."
+    ::= { wlanInterfaceEntry 7 }
+
+wlanIfaceStatus OBJECT-TYPE
+    SYNTAX	RowStatus
+    MAX-ACCESS	read-create
+    STATUS	current
+    DESCRIPTION
+	"This column allows creation or deletion of cloned wireless
+	interfaces."
+    ::= { wlanInterfaceEntry 8 }
+
+wlanIfaceState OBJECT-TYPE
+    SYNTAX	INTEGER {
+			up(1),
+			down(2)
+		}
+    MAX-ACCESS	read-create
+    STATUS	current
+    DESCRIPTION
+	"The operating state of the interface."
+    ::= { wlanInterfaceEntry 9 }
+
+wlanIfParentTable OBJECT-TYPE
+    SYNTAX	SEQUENCE OF WlanIfParentEntry
+    MAX-ACCESS	not-accessible
+    STATUS	current
+    DESCRIPTION
+	"A table that contains information about the parent hardware
+	interface of every cloned wireless interface in the system."
+    ::= { begemotWlanInterface 2 }
+
+wlanIfParentEntry OBJECT-TYPE
+    SYNTAX	WlanIfParentEntry
+    MAX-ACCESS	not-accessible
+    STATUS	current
+    DESCRIPTION
+	"Information for the parent hardware interface of a cloned
+	wireless interface."
+    AUGMENTS { wlanInterfaceEntry }
+    ::= { wlanIfParentTable 1 }
+
+WlanIfParentEntry ::= SEQUENCE {
+    wlanIfParentDriverCapabilities		BITS,
+    wlanIfParentCryptoCapabilities		BITS,
+    wlanIfParentHTCapabilities			BITS
+}
+
+wlanIfParentDriverCapabilities OBJECT-TYPE
+    SYNTAX	BITS {
+			station(1),
+			ieee8023encap(2),
+			athFastFrames(3),
+			athTurbo(4),
+			ibss(5),
+			pmgt(6),
+			hostAp(7),
+			ahDemo(8),
+			swRetry(9),
+			txPmgt(10),
+			shortSlot(11),
+			shortPreamble(12),
+			monitor(13),
+			dfs(14),
+			mbss(15),
+			wpa1(16),
+			wpa2(17),
+			burst(18),
+			wme(19),
+			wds(20),
+			bgScan(21),
+			txFrag(22),
+			tdma(23)
+		}
+    MAX-ACCESS	read-only
+    STATUS	current
+    DESCRIPTION
+	"The driver capabilities of this cloned interface's parent."
+    ::= { wlanIfParentEntry 1 }
+
+wlanIfParentCryptoCapabilities OBJECT-TYPE
+    SYNTAX	BITS {
+			wep(1),
+			tkip(2),
+			aes(3),
+			aesCcm(4),
+			tkipMic(5),
+			ckip(6)
+		}
+    MAX-ACCESS	read-only
+    STATUS	current
+    DESCRIPTION
+	"The hardware cryptographic capabilities of this cloned
+	interface's parent."
+    ::= { wlanIfParentEntry 2 }
+
+wlanIfParentHTCapabilities OBJECT-TYPE
+    SYNTAX	BITS {
+			ldpc(1),
+			chwidth40(2),
+			greenField(3),
+			shortGi20(4),
+			shortGi40(5),
+			txStbc(6),
+			delba(7),
+			amsdu7935(8),
+			dssscck40(9),
+			psmp(10),
+			fortyMHzIntolerant(11),
+			lsigTxOpProt(12),
+			htcAmpdu(13),
+			htcAmsdu(14),
+			htcHt(15),
+			htcSmps(16),
+			htcRifs(17)
+		}
+    MAX-ACCESS	read-only
+    STATUS	current
+    DESCRIPTION
+	"The hardware High Throughput capabilities of this cloned
+	interface's parent."
+    ::= { wlanIfParentEntry 3 }
+
+wlanIfaceConfigTable OBJECT-TYPE
+    SYNTAX	SEQUENCE OF WlanIfaceConfigEntry
+    MAX-ACCESS	not-accessible
+    STATUS	current
+    DESCRIPTION
+	"A table that contains a list of configuration parameters per
+	cloned wireless interface. Some of the parameters may not be
+	applicable depending on the underlying device's hardware
+	capabilities and operating mode of the virtual interface."
+    ::= { begemotWlanInterface 3 }
+
+wlanIfaceConfigEntry OBJECT-TYPE
+    SYNTAX	WlanIfaceConfigEntry
+    MAX-ACCESS	not-accessible
+    STATUS	current
+    DESCRIPTION
+	"A list of configuration parameters for a cloned wireless interface."
+    AUGMENTS { wlanInterfaceEntry }
+    ::= { wlanIfaceConfigTable 1 }
+
+WlanIfaceConfigEntry ::= SEQUENCE {
+    wlanIfacePacketBurst			TruthValue,
+    wlanIfaceCountryCode			OCTET STRING,
+    wlanIfaceRegDomain				INTEGER,
+    wlanIfaceDesiredSsid			OCTET STRING,
+    wlanIfaceDesiredChannel			INTEGER,
+    wlanIfaceDynamicFreqSelection		TruthValue,
+    wlanIfaceFastFrames				TruthValue,
+    wlanIfaceDturbo				TruthValue,
+    wlanIfaceTxPower				INTEGER,
+    wlanIfaceFragmentThreshold			INTEGER,
+    wlanIfaceRTSThreshold			INTEGER,
+    wlanIfaceWlanPrivacySubscribe		TruthValue,
+-- Parameters for station mode
+    wlanIfaceBgScan				TruthValue,
+    wlanIfaceBgScanIdle				INTEGER,
+    wlanIfaceBgScanInterval			INTEGER,
+    wlanIfaceBeaconMissedThreshold		INTEGER,
+    wlanIfaceDesiredBssid			MacAddress,
+    wlanIfaceRoamingMode			INTEGER,
+-- Additional parameters when operating in host-ap/ad-hoc mode
+    wlanIfaceDot11d				TruthValue,
+    wlanIfaceDot11h				TruthValue,
+    wlanIfaceDynamicWds				TruthValue,
+    wlanIfacePowerSave				TruthValue,
+    wlanIfaceApBridge				TruthValue,
+    wlanIfaceBeaconInterval			INTEGER,
+    wlanIfaceDtimPeriod				INTEGER,
+    wlanIfaceHideSsid				TruthValue,
+    wlanIfaceInactivityProccess			TruthValue,
+    wlanIfaceDot11gProtMode			INTEGER,
+    wlanIfaceDot11gPureMode			TruthValue,
+    wlanIfaceDot11nPureMode			TruthValue,
+    wlanIfaceDot11nAmpdu			INTEGER,
+    wlanIfaceDot11nAmpduDensity			INTEGER,
+    wlanIfaceDot11nAmpduLimit			INTEGER,
+    wlanIfaceDot11nAmsdu			INTEGER,
+    wlanIfaceDot11nAmsduLimit			INTEGER,
+    wlanIfaceDot11nHighThroughput		TruthValue,
+    wlanIfaceDot11nHTCompatible			TruthValue,
+    wlanIfaceDot11nHTProtMode			INTEGER,
+    wlanIfaceDot11nRIFS				TruthValue,
+    wlanIfaceDot11nShortGI			TruthValue,
+    wlanIfaceDot11nSMPSMode			INTEGER,
+-- Parameters when operating in tdma mode
+    wlanIfaceTdmaSlot				INTEGER,
+    wlanIfaceTdmaSlotCount			INTEGER,
+    wlanIfaceTdmaSlotLength			INTEGER,
+    wlanIfaceTdmaBeaconInterval			INTEGER
+}
+
+wlanIfacePacketBurst OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object controls whether packet bursting is
+	enabled on the interface."
+    ::= { wlanIfaceConfigEntry 1 }
+
+wlanIfaceCountryCode OBJECT-TYPE
+    SYNTAX	OCTET STRING (SIZE(3))
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object controls the country regulatory
+	constraints for operation of this wireless interface. The first
+	two octets of this string is the two character country code as
+	described in ISO/IEC 3166-1. The third octet shall contain one
+	of the following:
+
+	1. an ASCII space character, if the regulations under which the
+	interface is operating include all environments in the specified
+	country.
+
+	2. an ASCII 'O' character, if the country's regulastions are for
+	Outdoor environment only.
+
+	3. an ASCII 'I' character, if the country's regulastions are for
+	Indoor environment only."
+    ::= { wlanIfaceConfigEntry 2 }
+
+wlanIfaceRegDomain OBJECT-TYPE
+    SYNTAX	WlanRegDomainCode
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"This object specifies the regulatory domain to use when calculating
+	the regulatory constraints for operation of the interface."
+    ::= { wlanIfaceConfigEntry 3 }
+
+wlanIfaceDesiredSsid OBJECT-TYPE
+    SYNTAX	OCTET STRING (SIZE(0..32))
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The desired SSID for the interface as an ASCII  string.
+	Specifying an empty string shall remove the current configured
+	SSID."
+    ::= { wlanIfaceConfigEntry 4 }
+
+wlanIfaceDesiredChannel OBJECT-TYPE
+    SYNTAX	INTEGER
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The desired operating channel for this interface. The value of this
+	column is the channel index (wlanIfaceChannelId) of the corresponding
+	entry from the wlanIfaceChannelTable. The interface status must be
+	down so that the current operating channel may be set properly."
+    ::= { wlanIfaceConfigEntry 5 }
+
+wlanIfaceDynamicFreqSelection OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether Dynamic Frequency
+	Selection (DFS) as specified in 802.11h is enabled on an
+	interface that supports 802.11h and DFS."
+    DEFVAL	{ false }
+    ::= { wlanIfaceConfigEntry 6 }
+
+wlanIfaceFastFrames OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object controls whether use of Atheros Fast
+	Frames is enabled when when communicating with another Fast
+	Frames-capable station. The value is only meaningfull for
+	interfaces that support Atheros Fast Frames."
+    ::= { wlanIfaceConfigEntry 7 }
+
+wlanIfaceDturbo OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object controls whether use of Atheros Dynamic
+	Turbo mode is enabled when when communicating with another Dynamic
+	Turbo-capable station. The value is only meaningfull for interfaces
+	that support Atheros Dynamic Turbo mode."
+    ::= { wlanIfaceConfigEntry 8 }
+
+wlanIfaceTxPower OBJECT-TYPE
+    SYNTAX	INTEGER
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object controls the power used to transmit
+	frames. Accepted values are in units of one tenths of a dBm in
+	steps of .5 dBm, e.g setting the value of this object to 155
+	results in 15.5 dBm transmit power configured on the interface."
+    ::= { wlanIfaceConfigEntry 9 }
+
+wlanIfaceFragmentThreshold OBJECT-TYPE
+    SYNTAX	INTEGER (256..2346)
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object controls the threshold for which
+	transmitted frames are broken into fragments. Setting the value
+	of this object to 2346 will disable transmit fragmentation."
+    DEFVAL	{ 2346 }
+    ::= { wlanIfaceConfigEntry 10 }
+
+wlanIfaceRTSThreshold OBJECT-TYPE
+    SYNTAX	INTEGER (1..2346)
+    UNITS	"bytes"
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object controls the threshold for which
+	transmitted frames are preceded by transmission of an RTS
+	control frame. Setting the value of this object to 2346 will
+	disable transmission of RTS frames."
+     DEFVAL	{ 2346 }
+   ::= { wlanIfaceConfigEntry 11 }
+
+wlanIfaceWlanPrivacySubscribe OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether Wireless Privacy
+	Subscriber support is enabled on the interface."
+    ::= { wlanIfaceConfigEntry 12 }
+
+wlanIfaceBgScan OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether background scanning
+	is enabled for an interface operating in station mode."
+    ::= { wlanIfaceConfigEntry 13 }
+
+wlanIfaceBgScanIdle OBJECT-TYPE
+    SYNTAX	INTEGER
+    UNITS	"milliseconds"
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies the minimum time a station must
+	be idle before a background scan is initiated on an interface
+	operating in station mode."
+    DEFVAL	{ 250 }
+    ::= { wlanIfaceConfigEntry 14 }
+
+wlanIfaceBgScanInterval OBJECT-TYPE
+    SYNTAX	INTEGER
+    UNITS	"seconds"
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies the interval at which background
+	scanning is attempted when operating in station mode."
+    DEFVAL	{ 300 }
+    ::= { wlanIfaceConfigEntry 15 }
+
+wlanIfaceBeaconMissedThreshold OBJECT-TYPE
+    SYNTAX	INTEGER (1..255)
+    UNITS	"frames"
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies the number of consequtive missed
+	beacons before an interface operating in station mode will attempt
+	to search for a new access point."
+    DEFVAL	{ 7 }
+    ::= { wlanIfaceConfigEntry 16 }
+
+wlanIfaceDesiredBssid OBJECT-TYPE
+    SYNTAX	MacAddress
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies the MAC address of the desired
+	access point to use when an interface is operating as a station."
+    ::= { wlanIfaceConfigEntry 17 }
+
+wlanIfaceRoamingMode OBJECT-TYPE
+    SYNTAX	INTEGER {
+			device(1),
+			auto(2),
+			manual(3)
+		}
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies the desired system behavior
+	when the interface is operating as a station and the communication
+	with the current access point is broken."
+    DEFVAL	{ auto }
+    ::= { wlanIfaceConfigEntry 18 }
+
+wlanIfaceDot11d OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether 802.11d specification
+	support is enabled."
+    DEFVAL	{ false }
+    ::= { wlanIfaceConfigEntry 19 }
+
+wlanIfaceDot11h OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether 802.11h support
+	including spectrum management is enabled. The value is only
+	meaningfull for interfaces that support 802.11h specification."
+    DEFVAL	{ false }
+    ::= { wlanIfaceConfigEntry 20 }
+
+wlanIfaceDynamicWds OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether Dynamic WDS (DWDS)
+	support is enabled. The value is only meaningfull for interfaces
+	that support Dynamic WDS."
+    ::= { wlanIfaceConfigEntry 21 }
+
+wlanIfacePowerSave OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether powersave operation
+	is enabled. The value is only meaningfull for interfaces that
+	support powersave operation."
+    ::= { wlanIfaceConfigEntry 22 }
+
+wlanIfaceApBridge OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether packets between
+	wireless clients will be passed directly by an interface
+	operating in host ap mode. Disabling it may be usefull in
+	situations when traffic between wireless clients needs to be
+	processed with packet filtering."
+    DEFVAL	{ true }
+    ::= { wlanIfaceConfigEntry 23 }
+
+wlanIfaceBeaconInterval OBJECT-TYPE
+    SYNTAX	INTEGER (25..1000)
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies the interval at with beacon
+	frames are sent when an interface is operating in ad-hoc or ap
+	mode. The beacon interval is specified in TU's (1024 usecs)."
+    DEFVAL	{ 100 }
+    ::= { wlanIfaceConfigEntry 24 }
+
+wlanIfaceDtimPeriod OBJECT-TYPE
+    SYNTAX	INTEGER (1..15)
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies the DTIM period at which
+	buffered multicast data frames are transmitted by an interface
+	operating in host ap mode. Its value indicates the number of
+	beacon intervals between DTIM."
+    DEFVAL	{ 1 }
+    ::= { wlanIfaceConfigEntry 25 }
+
+wlanIfaceHideSsid OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether broadcasting of the
+	SSID in beacon frames and responding to undirected probe request
+	frames is enabled for an interface operating in ap mode."
+    DEFVAL	{ false }
+    ::= { wlanIfaceConfigEntry 26 }
+
+wlanIfaceInactivityProccess OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether inactivity processing
+	for associated station on an interface operating in ap mode is
+	enabled."
+    DEFVAL	{ true }
+    ::= { wlanIfaceConfigEntry 27 }
+
+wlanIfaceDot11gProtMode OBJECT-TYPE
+    SYNTAX	INTEGER {
+			off(1),
+			cts(2),
+			rtscts(3)
+		}
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies the technique used for
+	protecting OFDM frames in a mixed 11b/11g network."
+    ::= { wlanIfaceConfigEntry 28 }
+
+wlanIfaceDot11gPureMode OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether only 802.11g-capable
+	stations will be allowed to associate to an interface operating
+	as access point in 802.11g mode."
+    ::= { wlanIfaceConfigEntry 29 }
+
+wlanIfaceDot11nPureMode OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether only HT-capable
+	stations will be allowed to associate to an interface operating
+	as access point in 802.11n mode."
+    ::= { wlanIfaceConfigEntry 30 }
+
+wlanIfaceDot11nAmpdu OBJECT-TYPE
+    SYNTAX	WlanIfaceDot11nPduType
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether sending and
+	receiving of AMPDU frames is enabled on an interface
+	operating in 802.11n mode."
+    DEFVAL	{ txAndRx }
+    ::= { wlanIfaceConfigEntry 31 }
+
+wlanIfaceDot11nAmpduDensity OBJECT-TYPE
+    SYNTAX	INTEGER (0|25|50|100|200|400|800|1600)
+    UNITS	"1/100ths-of-microsecond"
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies the AMPDU density parameter
+	for an interface operating in 802.11n mode."
+    ::= { wlanIfaceConfigEntry 32 }
+
+wlanIfaceDot11nAmpduLimit OBJECT-TYPE
+    SYNTAX	INTEGER (8192|16384|32768|65536)
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies a limit on the AMPDU packet
+	size for receiving AMPDU frames for an interface operating in
+	802.11n mode."
+    ::= { wlanIfaceConfigEntry 33 }
+
+wlanIfaceDot11nAmsdu OBJECT-TYPE
+    SYNTAX	WlanIfaceDot11nPduType
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether sending and receiving
+	of AMSDU frames is enabled on an interface operating in 802.11n
+	mode."
+    DEFVAL	{ rxOnly }
+    ::= { wlanIfaceConfigEntry 34 }
+
+wlanIfaceDot11nAmsduLimit OBJECT-TYPE
+    SYNTAX	INTEGER (3839|7935)
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies a limit on the AMSDU packet
+	size when sending and receiving AMSDU frames for an interface
+	operating in 802.11n mode."
+    ::= { wlanIfaceConfigEntry 35 }
+
+wlanIfaceDot11nHighThroughput OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether use of High Throughput
+	(HT) is enabled for an interface operating in 802.11n mode."
+    DEFVAL	{ true }
+    ::= { wlanIfaceConfigEntry 36 }
+
+wlanIfaceDot11nHTCompatible OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether use of compatibility
+	support for pre-802.11n devices is enabled for an interface
+	operating in 802.11n mode."
+    DEFVAL	{ true }
+    ::= { wlanIfaceConfigEntry 37 }
+
+wlanIfaceDot11nHTProtMode OBJECT-TYPE
+    SYNTAX	INTEGER {
+			off(1),
+			rts(2)
+		}
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies the technique used for
+	protecting HT frames in a mixed legacy/HT network for interfaces
+	operating in 802.11n mode."
+    DEFVAL	{ rts }
+    ::= { wlanIfaceConfigEntry 38 }
+
+wlanIfaceDot11nRIFS OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION
+	"The value of this object specifies whether Reduced InterFrame
+	Spacing (RIFS) is enabled for an interface operating in 802.11n
+	mode on an HT channel."
+    ::= { wlanIfaceConfigEntry 39 }
+
+wlanIfaceDot11nShortGI OBJECT-TYPE
+    SYNTAX	TruthValue
+    MAX-ACCESS	read-write
+    STATUS	current
+    DESCRIPTION

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***


More information about the svn-src-head mailing list