Packet Sniffer SDK DLL Edition

HNAdapterConfig :: Properties :: AdpCfgIsWireless

 Previous Next

Return the value of the flag which indicates that the network adapter actually is wireless (802.11) device.

Syntax:

BOOL __stdcall AdpCfgIsWireless(HANDLE hCfg);

Parameters:

hCfg

[in] HNAdapterConfig object handle.

Return values:

If the function succeeds, the return value is TRUE if the network adapter is wireless (802.11) device.

Description:

Since in most cases 802.11 devices working under Windows OS emulate work of 802.3 devices, PSSDK for such devices returns atEthernet device type (see HNAdapterConfig.AdapterType property).

IsWireless is intended to specify if the particular network adapter actually is 802.11 device: it returns TRUE in this case.

This property may be useful to identify what MAC filter must be set to capture traffic on 802.11 devices. Since there are no universal method of setting 802.11 devices in promiscuous mode without using of specific functions of the device vendor driver, to get full-blast traffic capture on such devices you should use mfOwnerAll MAC filter (see HNMacFilter).

See also:HNAdapterConfig, AdpCfgGetAdapterType, HNNetAdapterType, HNMacFilter