Guidelines for Managing Packet Coalescing Receive Filters

If the miniport driver supports NDIS packet coalescing, it must follow these guidelines for managing packet coalescing receive filters:

  • The miniport driver and underlying network adapter must be able to handle the setting and clearing of receive filters dynamically. Individual receive filters may be set or cleared at any time.

  • The miniport driver must maintain a coalesced packet counter. This 64-bit counter contains a value for the number of received packets that have matched a packet coalescing filter. NDIS queries this counter through an OID query request of OID_PACKET_COALESCING_FILTER_MATCH_COUNT.

    Note  The miniport driver clears this counter when it transitions to a full-power state by handling an OID set request of OID_PNP_SET_POWER. The miniport driver also clears the counter when its MiniportResetEx function is called.

  • The miniport driver must not discard the packet coalescing receive filters when it transitions to a low-power state. However, while the network adapter is in a low-power state, it must only filter received packets based on wake-up patterns that have been offloaded to the adapter through OID set requests of OID_PNP_ENABLE_WAKE_UP.

    The miniport driver must configure the network adapter with the packet coalescing receive filters when the adapter transitions to a full-power state.

  • The miniport driver must not discard the packet coalescing receive filters when NDIS calls the driver's MiniportResetEx function. After the driver resets the network adapter, it must configure the adapter with the packet coalescing filters. Also, the driver must clear the coalesced packet counter.

    Note  The miniport driver must perform this operation regardless of whether the driver sets the AddressingReset parameter to TRUE.

  • If the miniport driver is operating in the Native 802.11 extensible station (ExtSTA) mode, it must not discard the packet coalescing receive filters when it handles an OID method request of OID_DOT11_RESET_REQUEST. After the miniport driver performs the 802.11 reset operation, it must configure the network adapter with the packet coalescing receive filters. Also, the driver must not clear the coalesced packet counter.

    For more information about the Native 802.11 extensible station mode, see Extensible Station Operation Mode.

    Note  NDIS does not support packet coalescing for native 802.11 miniport drivers that operate in extensible access point (ExtAP) mode. For more information about the ExtAP operation mode, see Extensible Access Point Operation Mode.