-- ********************************************************************
-- * Wireless LAN Enterprise Access Point Management Base
-- ********************************************************************

	AP-STATION DEFINITIONS ::= BEGIN
 
		IMPORTS
			OBJECT-GROUP			
	 			FROM SNMPv2-CONF			
			enterprises, IpAddress, Unsigned32, Counter64, OBJECT-TYPE, MODULE-IDENTITY			
				FROM SNMPv2-SMI			
			apRadioIndex
				FROM AP-RADIO
			apWlanIndex	
				FROM AP-WLAN
			DisplayString, RowStatus, TruthValue, MacAddress 			
				FROM SNMPv2-TC;
--
-- Node definitions
--

-- The Enterprises Number
		-- .1.3.6.1.4.1.27662	
		pepwave OBJECT IDENTIFIER ::= { enterprises 27662 }
        
		-- .1.3.6.1.4.1.27662.200
		productID  OBJECT IDENTIFIER ::= { pepwave 200 }

		-- .1.3.6.1.4.1.27662.200.1
		apMib OBJECT IDENTIFIER ::= { productID 1 }

		-- .1.3.6.1.4.1.27662.200.1.1
		apGeneralMib OBJECT IDENTIFIER ::= { apMib 1 }

-- ********************************************************************
-- *  MODULE IDENTITY
-- ********************************************************************

		ap-station-mib MODULE-IDENTITY 
			LAST-UPDATED "2011091900Z"		-- 09 19, 2011 at 12:00 GMT
			ORGANIZATION 
				"PEPWAVE"
			CONTACT-INFO 
				""
			DESCRIPTION 
				"The MIB module for PEPWAVE Enterprise WiFi AP.
				iso(1).org(3).dod(6).internet(1).private(4).
				enterprises(1).pepwave(27662).productID(200).apMib(1).apGeneralMib(1).ap-station-mib(6)"
			::= { apGeneralMib 6 }

--   Wireless LAN Access Point Identifier
  	
	apStation OBJECT IDENTIFIER ::= { ap-station-mib 1 }

-- ********************************************************************
-- *  Station Info Table
-- ********************************************************************
		apStationInfoTable OBJECT-TYPE
			SYNTAX SEQUENCE OF ApStationInfoEntry
			MAX-ACCESS not-accessible
			STATUS current
			DESCRIPTION
				"List of associated stations in a tabular form."
			::= { apStation 1 }

		apStationInfoEntry OBJECT-TYPE
			SYNTAX ApStationInfoEntry
			MAX-ACCESS not-accessible
			STATUS current
			DESCRIPTION
				"An entry in the apStationInfoTable."
			INDEX { apRadioIndex, apWlanIndex, apStaIndex }
			::= { apStationInfoTable 1 }

		ApStationInfoEntry ::=
			SEQUENCE {
				apStaIndex
					INTEGER, 
				apStaMacAddress
					MacAddress,
				apStaIpAddress	
					IpAddress,
				apStaManufacturer
					OCTET STRING,
				apStaTimeAssociated
					OCTET STRING,
				apStaConnectedTime
					OCTET STRING,
				apStaRssi
					Integer32,
				apStaTxRate
					Counter64,
				apStaRxRate
					Counter64,
				apStaRadioPolicy
					INTEGER
			}
		
		apStaIndex OBJECT-TYPE
			SYNTAX INTEGER
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"This attribute indicates the station info table index"
			::= { apStationInfoEntry 1 }

		apStaMacAddress OBJECT-TYPE
			SYNTAX MacAddress
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"This attribute shall indicate MAC address of the
				associated stationID."
			::= { apStationInfoEntry 2 }

		apStaIpAddress OBJECT-TYPE 
			SYNTAX IpAddress
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"This attribute shall indicate IP address of the
				associated stationID."
			::= { apStationInfoEntry 3 }

		apStaManufacturer OBJECT-TYPE 
			SYNTAX OCTET STRING(SIZE(0..255))
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"This attribute shall indicate the Manufacturer of the
				associated stationID."
			::= { apStationInfoEntry 4 }
		
		apStaTimeAssociated OBJECT-TYPE
           		SYNTAX OCTET STRING
        		MAX-ACCESS read-only
        		STATUS current
        		DESCRIPTION
        			"This attribute shall indicate the time period that the station associated
				to the AP."
        		::= { apStationInfoEntry 5 }

		apStaConnectedTime OBJECT-TYPE
           		SYNTAX OCTET STRING        
        		MAX-ACCESS read-only
        		STATUS current
        		DESCRIPTION
        			"This attribute shall indicate the start time that the station associated
				to the AP."
        		::= { apStationInfoEntry 6 }

		apStaRssi OBJECT-TYPE
			SYNTAX Integer32
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"This attribute shall indicate the noise margin of Ap 
				 with respect to the its recieved signal from station."
			::= { apStationInfoEntry 7 }

		apStaTxRate OBJECT-TYPE
			SYNTAX Counter64			
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"This attribute shall indicate the transmit rate(units: M) 
				that the station associated to the AP."
			::= { apStationInfoEntry 8 }

		apStaRxRate OBJECT-TYPE
			SYNTAX Counter64			
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"This attribute shall indicate the receive rate(units: M) 
				that the station associated to the AP."
			::= { apStationInfoEntry 9 }

		apStaRadioPolicy OBJECT-TYPE
			SYNTAX INTEGER{
				radio802dot11b(0),
				radio802dot11g(1), 
				radio802dot11a(2), 
				radio802dot11ng(3),
				radio802dot11na(4)
			}
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"This attribute shall indicate the radio policy of the
					associated stationID."
        		::= { apStationInfoEntry 10 }

-- ********************************************************************
-- *  Station Stat Table
-- ********************************************************************
	apStationStatTable OBJECT-TYPE
		SYNTAX SEQUENCE OF ApStationStatEntry
		MAX-ACCESS not-accessible
		STATUS current
		DESCRIPTION
			"List of station status."
		::= { apStation 2 }

		apStationStatEntry OBJECT-TYPE
			SYNTAX ApStationStatEntry
			MAX-ACCESS not-accessible
			STATUS current
			DESCRIPTION
				"An entry in the apStationStatTable."
			INDEX { apRadioIndex, apWlanIndex, apStaIndex }
			::= { apStationStatTable 1 }

		ApStationStatEntry ::=
			SEQUENCE {
				apStaTxPackets
					Counter64, 
				apStaRxPackets
					Counter64,
				apStaTxBytes
					Counter64, 
				apStaRxBytes
					Counter64, 
				apStaTxRetriesPackets
					Counter64, 
				apStaRxRetriesPackets
					Counter64,
				apStaTxExcessiveRetriesPackets
					Counter64, 
				apStaRxDuplicatesPackets
					Counter64, 
				apStaTxErrorPackets
					Counter64,
				apStaRxErrorPackets
					Counter64				
			}	

		apStaTxPackets OBJECT-TYPE
				SYNTAX Counter64
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"This attribute shall indicates the station transmit packets  of the
					associated stationID."
				::= { apStationStatEntry 1 }	
	
		apStaRxPackets OBJECT-TYPE
			SYNTAX Counter64
			MAX-ACCESS read-only
			STATUS current
			DESCRIPTION
				"This attribute shall indicates the station receive packets of the
				associated stationID."
			::= { apStationStatEntry 2 }				

		apStaTxBytes OBJECT-TYPE
				SYNTAX Counter64
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"This attribute shall indicates the transmit bytes of the
					associated stationID."
				::= { apStationStatEntry 3 }
		
		apStaRxBytes OBJECT-TYPE
				SYNTAX Counter64
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"This attribute shall indicates the station receive bytes of the
					associated stationID."
				::= { apStationStatEntry 4 }

		apStaTxRetriesPackets OBJECT-TYPE
				SYNTAX Counter64
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"This attribute shall indicates the station transmit retries of the
					associated stationID."
				::= { apStationStatEntry 5 }

		apStaRxRetriesPackets OBJECT-TYPE
				SYNTAX Counter64
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"This attribute shall indicates the station receive retries of the
					associated stationID."
				::= { apStationStatEntry 6 }

		apStaTxExcessiveRetriesPackets OBJECT-TYPE
				SYNTAX Counter64
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"This attribute shall indicates the station excessive retries packets of the
					associated stationID."
				::= { apStationStatEntry 7 }
		
		apStaRxDuplicatesPackets OBJECT-TYPE
				SYNTAX Counter64
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"This attribute shall indicates the station receive duplicates packets of the
					associated stationID."
				::= { apStationStatEntry 8 }

		apStaTxErrorPackets OBJECT-TYPE
				SYNTAX Counter64
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"This attribute shall indicates the station transmit error packets of the
					associated stationID."
				::= { apStationStatEntry 9 }

		apStaRxErrorPackets OBJECT-TYPE
				SYNTAX Counter64
				MAX-ACCESS read-only
				STATUS current
				DESCRIPTION
					"This attribute shall indicates the station receive error packets of the
					associated stationID."
				::= { apStationStatEntry 10 }
END
