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

📄 c802_3mini.hpp

📁 Atheros Communications AR6001 WLAN Driver for SDIO installation Read Me March 26,2007 (based on
💻 HPP
字号:
//------------------------------------------------------------------------------
// <copyright file="c802_3mini.hpp" company="Atheros and Microsoft">
//    Copyright (c) 2006 Microsoft Corporation.  All rights reserved.
//    Copyright (c) 2006 Atheros Corporation.  All rights reserved.
//
//    The use and distribution terms for this software are covered by the
//    Microsoft Limited Permissive License (Ms-LPL) 
//    http://www.microsoft.com/resources/sharedsource/licensingbasics/limitedpermissivelicense.mspx 
//    which can be found in the file MS-LPL.txt at the root of this distribution.
//    By using this software in any fashion, you are agreeing to be bound by
//    the terms of this license.
//
//    You must not remove this notice, or any other, from this software.
// </copyright>
// 
// <summary>
//    Windows CE Wifi Driver for AR-6000
// </summary>
//------------------------------------------------------------------------------
//==============================================================================
// NDIS 802.3 Miniport class.
//
// Author(s): ="Atheros and Microsoft"
//==============================================================================

#define ETHERNET_MAC_ADDRESS_LENGTH	   6
#define ETH_HEADER_SIZE                14


class C802_3Miniport : public CMiniport
{
public:
	C802_3Miniport();
    virtual ~C802_3Miniport();

	virtual NDIS_STATUS         QueryInformation(IN NDIS_OID Oid, OUT PVOID Buffer, IN ULONG cbBuffer, OUT PULONG pcbWritten, OUT PULONG pcbNeeded);
	virtual NDIS_STATUS         SetInformation(  IN NDIS_OID Oid, IN  PVOID Buffer, IN ULONG cbBuffer, OUT PULONG pcbRead, OUT PULONG pcbNeeded);

	virtual NDIS_MEDIUM         GetSupportedNdisMediumType();
	virtual PNDIS_OID           GetSupportedOidList(OUT PNDIS_OID pOidBuffer, IN OUT PULONG pMaxOidsToAddToBuffer, IN OUT PULONG pTotalNumberOfSupportedOids);

	virtual ULONG               GetSupportedPacketTypes();

	// OID_GEN Query Handlers

	virtual NDIS_HARDWARE_STATUS  GetGenHardwareStatus();
	virtual NDIS_MEDIUM           GetGenMediaSupported();
	virtual NDIS_MEDIUM           GetGenMediaInUse();
	virtual ULONG                 GetGenMaximumLookahead();
	virtual ULONG                 GetGenCurrentLookahead();
	virtual ULONG                 GetGenMaximumFrameSize();
	virtual ULONG                 GetGenMaximumTotalSize();

	// OID_802_3 Query Handlers
	virtual BYTE *                Get802_3PermanentAddress() = NULL;
	virtual BYTE *                Get802_3CurrentAddress() = NULL;
	virtual void                  Get802_3MulticastList(OUT PBYTE *pMulticastAddreses, OUT PULONG pNumMulticastAddresses) = NULL;
	virtual ULONG                 Get802_3MaxMulticastListSize() = NULL;
	virtual ULONG                 Get802_3MacOptions() = NULL;
	virtual ULONG                 Get802_3RcvErrorAlignment() = NULL;
	virtual ULONG                 Get802_3XmitOneCollision() = NULL;
	virtual ULONG                 Get802_3XmitMoreCollision() = NULL;

	// OID_802_3 Set Handlers
	virtual NDIS_STATUS           Set802_3MulticastList(IN PBYTE pMulticastAddreses, IN ULONG NumMulticastAddresses) = NULL;
};

⌨️ 快捷键说明

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