⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 protocol802_11instance.java

📁 270的linux说明
💻 JAVA
字号:
/*

Copyright (c) 2008, Intel Corporation. 

All rights reserved.

 

Redistribution and use in source and binary forms, with or without modification, 
are permitted provided that the following conditions are met:


    * Redistributions of source code must retain the above copyright notice, 
this list of conditions and the following disclaimer.

    * 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.

    * Neither the name of Intel Corporation nor the names of its contributors 
may be used to endorse or promote products derived from this software without 
specific prior written permission.

 

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 THE COPYRIGHT OWNER 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.

*/package com.intel.mobile.network;import java.util.*;import com.intel.mobile.base.*;/** * The instance object for protocol 802.11 */public class Protocol802_11Instance extends LinkProtocolInstance{	  public final ByteArrayProperty         Bssid = null;          //ndis_wlan_bssid    public final UIntProperty              AtimWindow = null;    public final UIntProperty              BeaconPeriod = null;    public final UIntProperty              Frequency = null;    public final UIntProperty              DwellTime = null;    public final UIntProperty              HopPattern = null;    public final UIntProperty              HopSet = null;    public final UInt64Property            FailedCount = null;    public final UInt64Property            FcsErrorCount = null;    public final UInt64Property            FrameDuplicateCount = null;    public final UInt64Property            MulticastReceivedFrameCount = null;    public final UInt64Property            MulticastTransmittedFrameCount = null;    public final UInt64Property            MultipleRetryCount = null;    public final UInt64Property            ReceivedFragmentCount = null;    public final UInt64Property            RetryCount = null;    public final UInt64Property            RtsFailureCount = null;    public final UInt64Property            RtsSuccessCount = null;    public final UInt64Property            TransmittedFragmentCount = null;    public final OperatingModeEnumProperty OperatingMode = null;    public final IntProperty               Rssi = null;    public final ModulationTypeEnumArrayProperty    	ModulationTypes = null;    public final ModulationTypeEnumProperty         	ModulationType = null;    // NEW    public final StringProperty            Ssid = null;    public final UIntProperty              RxAntennaId = null;    public final UIntProperty              TxAntennaId = null;    public final WlanPowerModeEnumProperty		 	PowerMode = null;    public final UIntProperty              FragmentationThreshold = null;		// Extension Properties		public final UIntProperty Channel = null;		public final AuthenticationModeEnumProperty AuthenticationMode = null;		public final WlanBandEnumProperty Band = null;		public final WlanEncryptionModeEnumProperty EncryptionMode = null;		public final WlanEncryptionModeEnumArrayProperty EncryptionModes = null;		//UIntProperty IBSSTxPower;		public final AssociationStateEnumProperty AssociationState = null;		public final SecurityModeEnumArrayProperty SecurityModes = null;		public final QosEnumProperty Qos = null;		//UInt64Property TxRate;		public final UInt64Property DataTxPackets = null;		public final UInt64Property DataRxPackets = null;		public final UInt64Property DataTxBytes = null;		public final UInt64Property DataRxBytes = null;		public final LinkQualityEnumProperty LinkQuality = null;        // Events    public EventProperty Associated;    public EventProperty Disassociated;    public EventProperty StatisticsReset;        // Constructor    private Protocol802_11Instance(long objRef) throws IntelMobileException    {        super(objRef);        init(objRef);    }        /**     * Reset statistics.     * @return boolean     * @throws IntelMobileException     */    public boolean ResetStatistics() throws IntelMobileException    {    	  return ResetStatisticsNative();    }        /**     * Scan available APs     * @return List of APs     * @throws IntelMobileException     */    public List ScanAps() throws IntelMobileException    {		return ScanApsNative();    }        private native void init(long objRef) throws IntelMobileException;    private native boolean ResetStatisticsNative() throws IntelMobileException;    private native List ScanApsNative() throws IntelMobileException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -