Поделиться через


NDIS_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES (Compact 2013)

3/26/2014

This structure defines the physical and operating attributes of the Native 802.11 miniport driver and 802.11 station.

Syntax

typedef struct NDIS_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES {
  NDIS_OBJECT_HEADER  Header;
  ULONG  OpModeCapability;
  ULONG  NumOfTXBuffers;
  ULONG  NumOfRXBuffers;
  BOOLEAN  MultiDomainCapabilityImplemented;
  ULONG  NumSupportedPhys;
  PDOT11_PHY_ATTRIBUTES  SupportedPhyAttributes;
  PDOT11_EXTSTA_ATTRIBUTES  ExtSTAAttributes;
} NDIS_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES,
*PNDIS_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES;

Members

  • Header
    The type, revision, and size of the NDIS_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES structure. This member is formatted as an NDIS_OBJECT_HEADER structure.

    The miniport driver must set the members of Header to the following values:

    Type

    This member must be set to NDIS_OBJECT_TYPE_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES

    Revision

    NDIS_MINIPORT_ADAPTER_802_11_ATTRIBUTES_REVISION_1

    Size

    This member must be set to NDIS_SIZEOF_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES_REVISION_1.

  • OpModeCapability
    A bitmask of the miniport driver’s supported operation modes. This bitmask is defined through the following:

    DOT11_OPERATION_MODE_EXTENSIBLE_STATION

    Specifies that the miniport driver supports the Extensible Station (ExtSTA) operation mode.

    DOT11_OPERATION_MODE_NETWORK_MONITOR

    Specifies that the miniport driver supports the Network Monitor (NetMon) operation mode.

  • NumOfTXBuffers
    The maximum number of media access control (MAC) service data unit (MSDU) packets that the 802.11 station can hold in its transmit queue. The miniport driver must support a minimum transmit queue depth of 64.

    The value of this member must not include the number of transmit buffers that the 802.11 station uses to send packets on its own, such as Beacon packets or 802.11 control packets.

  • NumOfRXBuffers
    The maximum number of MSDU packets that the 802.11 station can buffer in its receive queue. The miniport driver must support a minimum receive queue depth of 64.
  • MultiDomainCapabilityImplemented
    A Boolean value that, if TRUE, specifies that the 802.11 station can operate in multiple regulatory domains. For more information about 802.11 regulatory domains, refer to the IEEE 802.11d‑2001 standard.
  • NumSupportedPhys
    The number of PHYs on the 802.11 station.
  • SupportedPhyAttributes
    A pointer to an array of DOT11_PHY_ATTRIBUTES structures. This array must have NumSupportedPhys entries and must be sorted in the same order as the list of PHY types that are returned through a query of OID_DOT11_SUPPORTED_PHY_TYPES.
  • ExtSTAAttributes
    A pointer to a DOT11_EXTSTA_ATTRIBUTES structure that specifies the attributes of the miniport driver when operating in Extensible Station (ExtSTA) mode.

Remarks

When its MiniportInitializeEx function is called, the miniport driver must call the NdisMSetMiniportAttributes function to define the Native 802.11 attributes of the driver and 802.11 station. The miniport driver must follow these guidelines when it makes the call to NdisMSetMiniportAttributes:

  • The MiniportAttributes parameter must be set to the address of a driver-allocated block of memory that contains an NDIS_MINIPORT_ADAPTER_NATIVE_802_11_ATTRIBUTES structure together with the ExtSTA attributes and an array of PHY attributes.
  • The SupportedPhyAttributes member must be the address of the array of DOT11_PHY_ATTRIBUTES structures. This array must be within the driver-allocated memory block referenced by the MiniportAttributes parameter.
  • The ExtSTAAttributes member must be the address of a DOT11_EXTSTA_ATTRIBUTES structure. This structure must be within the driver-allocated memory block referenced by the MiniportAttributes parameter.

Requirements

Header

ndis.h

See Also

Reference

Native 802.11 Data Types
NDIS_OBJECT_HEADER
DOT11_PHY_ATTRIBUTES
OID_DOT11_SUPPORTED_PHY_TYPES
DOT11_EXTSTA_ATTRIBUTES
MiniportInitializeEx
NdisMSetMiniportAttributes
Native 802.11 Wireless LAN Reference