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

📄 protocol802_11instanceobject.h

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

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.

*///==============================================================================// Protocol802_11InstanceObject.h //       Implementation of the class Protocol802_11Instance//==============================================================================#pragma once#ifndef DllExport#define DllExport // __declspec( dllimport  )#endif#include "LinkProtocolInstanceObject.h"#include "inc/Base/base_VectorObject.h"#include <vector>using namespace std;using namespace Intel::Mobile::Base;//==============================================================================namespace Intel{	namespace Mobile	{		namespace Network		{			class Protocol802_11Class;			class Protocol802_11Collection;			class LinkProtocolFactory;			struct ApStruct {				AuthenticationModeEnum AuthenticationMode;				int Rssi;				IntelMobileChar Ssid[256];				unsigned char Bssid[6];				WlanBandEnum Band;				OperatingModeEnum OperatingMode;				bool Encrypted;				unsigned __int32 Channel;				WlanEncryptionModeEnum EncryptionMode;			};			typedef VectorObject<ApStruct> ApStructVector;			class DllExport Protocol802_11Instance : public LinkProtocolInstance			{				friend class Protocol802_11Class;				friend class Protocol802_11Collection;				// friend class ::CObserverWrapper;				friend class LinkProtocolFactory;			private:				Protocol802_11Instance( void *pImpl );			public:				virtual ~Protocol802_11Instance();				bool ResetStatistics();				ApStructVector ScanAps();							public:				Intel::Mobile::Base::ByteArrayProperty		Bssid;			//ndis_wlan_bssid				Intel::Mobile::Base::UIntProperty        	AtimWindow;				Intel::Mobile::Base::UIntProperty        	BeaconPeriod;				Intel::Mobile::Base::UIntProperty        	Frequency;				Intel::Mobile::Base::UIntProperty        	DwellTime;				Intel::Mobile::Base::UIntProperty        	HopPattern;				Intel::Mobile::Base::UIntProperty        	HopSet;				Intel::Mobile::Base::UInt64Property      	FailedCount;				Intel::Mobile::Base::UInt64Property      	FcsErrorCount;				Intel::Mobile::Base::UInt64Property      	FrameDuplicateCount;				Intel::Mobile::Base::UInt64Property      	MulticastReceivedFrameCount;				Intel::Mobile::Base::UInt64Property      	MulticastTransmittedFrameCount;				Intel::Mobile::Base::UInt64Property      	MultipleRetryCount;				Intel::Mobile::Base::UInt64Property      	ReceivedFragmentCount;				Intel::Mobile::Base::UInt64Property      	RetryCount;				Intel::Mobile::Base::UInt64Property      	RtsFailureCount;				Intel::Mobile::Base::UInt64Property      	RtsSuccessCount;				Intel::Mobile::Base::UInt64Property      	TransmittedFragmentCount;				Intel::Mobile::Base::ByteProperty        	OperatingMode;				Intel::Mobile::Base::IntProperty         	Rssi;                           				Intel::Mobile::Network::ModulationTypeEnumArrayProperty    	ModulationTypes;				Intel::Mobile::Network::ModulationTypeEnumProperty         	ModulationType;				// NEW				Intel::Mobile::Base::StringProperty      	Ssid;				Intel::Mobile::Base::UIntProperty		 	RxAntennaId;				Intel::Mobile::Base::UIntProperty		 	TxAntennaId;				Intel::Mobile::Network::WlanPowerModeEnumProperty		 	PowerMode;				Intel::Mobile::Base::UIntProperty		 	FragmentationThreshold;				//Extension Properties				Intel::Mobile::Base::UIntProperty Channel;				Intel::Mobile::Network::AuthenticationModeEnumProperty AuthenticationMode;				Intel::Mobile::Network::WlanBandEnumProperty Band;				Intel::Mobile::Network::WlanEncryptionModeEnumProperty EncryptionMode;				Intel::Mobile::Network::WlanEncryptionModeEnumArrayProperty EncryptionModes;				//UIntProperty IBSSTxPower;				Intel::Mobile::Network::AssociationStateEnumProperty AssociationState;				Intel::Mobile::Network::SecurityModeEnumArrayProperty SecurityModes;				Intel::Mobile::Network::QosEnumProperty Qos;				//UInt64Property TxRate;				Intel::Mobile::Base::UInt64Property DataTxPackets;				Intel::Mobile::Base::UInt64Property DataRxPackets;				Intel::Mobile::Base::UInt64Property DataTxBytes;				Intel::Mobile::Base::UInt64Property DataRxBytes;				Intel::Mobile::Network::LinkQualityEnumProperty LinkQuality;				EventProperty Associated;				EventProperty Disassociated;				EventProperty StatisticsReset;			};		}	}}//==============================================================================

⌨️ 快捷键说明

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