-- =====================================================================
-- == DIGI-WIRELESS-LAN-MIB :                                         ==
-- == DIGI Wireless Lan Management Information Base                   ==
-- ==                                                                 ==
-- ==   Digi International Part Number: 40002325_D                    ==
-- ==                                                                 ==
-- == (c) Copyright 2001-2003 Digi International, Inc.                ==
-- =====================================================================

DIGI-WIRELESS-LAN-MIB DEFINITIONS ::= BEGIN

IMPORTS
digiWLan FROM DIGI-SMI
OBJECT-TYPE FROM RFC-1212;

--   digiWLan MODULE-IDENTITY
--       LAST-UPDATED "0201090100Z"
--       ORGANIZATION "Digi International Inc."
--       CONTACT-INFO
--               "        Michael Nicholson
--                Postal: Digi International Inc.
--		          11001 Bren Road East
--                        Minnetonka, MN 55343
--
--                   Tel: 952-912-3146
--                   Fax: 952-912-4952
--                E-mail: Mike.Nicholson@digi.com"
--       DESCRIPTION
--               "Wireless Lan (WLan) MIB"
--       ::= { digiInterfaces 13 }

-- === + Textual Conventions + ===========================================

DisplayString ::= OCTET STRING

-- =======================================================================
-- =======================================================================
-- === + WLAN + ===========================================================
-- =======================================================================
-- =======================================================================

wlanDiversity OBJECT-TYPE
    SYNTAX INTEGER{ primary(1), secondary(2), tx_pri_rx_div(3) }
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
        "Radio antenna diversity"
::= { digiWLan 11 }

wlanRtsThreshold OBJECT-TYPE
    SYNTAX INTEGER(0..3000)
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
        "Number of bytes used for RTS/CTS handshake boundry"
::= { digiWLan 12 }

wlanFragmentationThreshold OBJECT-TYPE
    SYNTAX INTEGER(256..2346)
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
        "Number of bytes used for the fragmentation boundry for
         directed messages"
::= { digiWLan 13 }

wlanCountryCode OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
        "Radio country code"
::= { digiWLan 14 }

wlanAuthentication OBJECT-TYPE
    SYNTAX INTEGER{ open_system(1), shared_key(2) }
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
        "Authentication method to be used with the Access Point"
::= { digiWLan 15 }

wlanDensity OBJECT-TYPE
    SYNTAX INTEGER{ low(1), medium(2), high(3) }
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
        "Number of Access Points in the vicinity of the device"
::= { digiWLan 16 }

wlanAutoSsid OBJECT-TYPE
    SYNTAX INTEGER{ off(0), on(1) }
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
        "On causes the radio to randomly select an ssid from the
         list of visible Access Points.  Off causes the radio to
         use the defined ssid"
::= { digiWLan 17 }

wlanDesiredSsid OBJECT-TYPE
    SYNTAX OCTET STRING (SIZE (0..32))
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
        "SSID of the desired Access Point"
::= { digiWLan 18 }

wlanEncryptionMode OBJECT-TYPE
    SYNTAX INTEGER { em_none(1), em_64_bit(2), em_128_bit(3) }
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
        "Select encryption mode to be used with the Access Point
         em_none causes no encryption to be used, em_64_bit causes the
         radio to use 64 bit WEP encryption, and em_128_bit causes
         the radio to use 128 bit WEP encryption" 
::= { digiWLan 19 }

wlanEncryptionKey OBJECT-TYPE
    SYNTAX OCTET STRING (SIZE (0 | 10 | 26))
    ACCESS write-only
    STATUS mandatory
    DESCRIPTION
        "Hexidecimal encryption key of length 0, 10, or 26 digits"
::= { digiWLan 20 }

wlanCurrentChannel OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Channel over which the radio is currently communicating"
::= { digiWLan 21 }

wlanCurrentSsid OBJECT-TYPE
    SYNTAX OCTET STRING (SIZE (0..32))
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "SSID for the Access Point with which we are 
         currently associated"
::= { digiWLan 22 }

wlanRadioFirmwareVersion OBJECT-TYPE
    SYNTAX OCTET STRING (SIZE (0..64))
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Radio Firmware Version"
::= { digiWLan 23 }

wlanRadioHardwareVersion OBJECT-TYPE
    SYNTAX OCTET STRING (SIZE (0..64))
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Radio Hardware Version"
::= { digiWLan 24 }

wlanReceiveSignalStrength OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Current Receive Signal Strength"
::= { digiWLan 25 }

wlanCurrentTransmitPower OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Current Transmit Power"
::= { digiWLan 26 }

wlanCurrentTransmitSpeed OBJECT-TYPE
    SYNTAX INTEGER{ rate_1Mb(1), rate_2Mb(2), rate_5_5Mb(4), rate_11Mb(8) }
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Current Transmit Speed"
::= { digiWLan 27 }

wlanCurrentLinkStatus OBJECT-TYPE
    SYNTAX INTEGER{ searching(2), e_associated(4), i_associated(3), w_associated(6) }
    ACCESS read-only
    STATUS mandatory
    DESCRIPTION
        "Current Link Status"
::= { digiWLan 28 }

wlanEncryptionKeyID OBJECT-TYPE
    SYNTAX INTEGER
    ACCESS read-write
    STATUS mandatory
    DESCRIPTION
        "Select the index (1-4) of the encryption key to be sent to the
         Access Point.  This is used to select which slot the encryption
         key is stored in on the Access Point" 
::= { digiWLan 29 }

END
