Qt 4.8
Classes | Macros | Typedefs | Enumerations | Variables
platformdefs.h File Reference
#include <wtypes.h>

Go to the source code of this file.

Classes

struct  DOT11_BSSID_LIST
 
struct  DOT11_SSID
 
struct  NDIS_OBJECT_HEADER
 
struct  WLAN_ASSOCIATION_ATTRIBUTES
 
struct  WLAN_AVAILABLE_NETWORK
 
struct  WLAN_AVAILABLE_NETWORK_LIST
 
struct  WLAN_CONNECTION_ATTRIBUTES
 
struct  WLAN_CONNECTION_PARAMETERS
 
struct  WLAN_INTERFACE_INFO
 
struct  WLAN_INTERFACE_INFO_LIST
 
struct  WLAN_NOTIFICATION_DATA
 
struct  WLAN_RAW_DATA
 
struct  WLAN_SECURITY_ATTRIBUTES
 

Macros

#define DOT11_SSID_MAX_LENGTH   32
 
#define WLAN_AVAILABLE_NETWORK_CONNECTED   1
 
#define WLAN_AVAILABLE_NETWORK_HAS_PROFILE   2
 
#define WLAN_MAX_NAME_LENGTH   256
 
#define WLAN_MAX_PHY_TYPE_NUMBER   8
 
#define WLAN_NOTIFICATION_SOURCE_ACM   0x00000008
 
#define WLAN_NOTIFICATION_SOURCE_ALL   0x0000ffff
 

Typedefs

typedef UCHAR DOT11_MAC_ADDRESS[6]
 
typedef void(WINAPI * WLAN_NOTIFICATION_CALLBACK) (WLAN_NOTIFICATION_DATA *, PVOID)
 
typedef DWORD(WINAPI * WlanCloseHandleProto) (HANDLE hClientHandle, PVOID pReserved)
 
typedef DWORD(WINAPI * WlanConnectProto) (HANDLE hClientHandle, const GUID *pInterfaceGuid, const WLAN_CONNECTION_PARAMETERS *pConnectionParameters, PVOID pReserved)
 
typedef DWORD(WINAPI * WlanDisconnectProto) (HANDLE hClientHandle, const GUID *pInterfaceGuid, PVOID pReserved)
 
typedef DWORD(WINAPI * WlanEnumInterfacesProto) (HANDLE hClientHandle, PVOID pReserved, WLAN_INTERFACE_INFO_LIST **ppInterfaceList)
 
typedef VOID(WINAPI * WlanFreeMemoryProto) (PVOID pMemory)
 
typedef DWORD(WINAPI * WlanGetAvailableNetworkListProto) (HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD dwFlags, PVOID pReserved, WLAN_AVAILABLE_NETWORK_LIST **ppAvailableNetworkList)
 
typedef DWORD(WINAPI * WlanOpenHandleProto) (DWORD dwClientVersion, PVOID pReserved, PDWORD pdwNegotiatedVersion, PHANDLE phClientHandle)
 
typedef DWORD(WINAPI * WlanQueryInterfaceProto) (HANDLE hClientHandle, const GUID *pInterfaceGuid, WLAN_INTF_OPCODE OpCode, PVOID pReserved, PDWORD pdwDataSize, PVOID *ppData, WLAN_OPCODE_VALUE_TYPE *pWlanOpcodeValueType)
 
typedef DWORD(WINAPI * WlanRegisterNotificationProto) (HANDLE hClientHandle, DWORD dwNotifSource, BOOL bIgnoreDuplicate, WLAN_NOTIFICATION_CALLBACK funcCallback, PVOID pCallbackContext, PVOID pReserved, PDWORD pdwPrevNotifSource)
 
typedef DWORD(WINAPI * WlanScanProto) (HANDLE hClientHandle, const GUID *pInterfaceGuid, const DOT11_SSID *pDot11Ssid, const WLAN_RAW_DATA *pIeData, PVOID pReserved)
 

Enumerations

enum  DOT11_AUTH_ALGORITHM {
  DOT11_AUTH_ALGO_80211_OPEN = 1, DOT11_AUTH_ALGO_80211_SHARED_KEY = 2, DOT11_AUTH_ALGO_WPA = 3, DOT11_AUTH_ALGO_WPA_PSK = 4,
  DOT11_AUTH_ALGO_WPA_NONE = 5, DOT11_AUTH_ALGO_RSNA = 6, DOT11_AUTH_ALGO_RSNA_PSK = 7, DOT11_AUTH_ALGO_IHV_START = 0x80000000,
  DOT11_AUTH_ALGO_IHV_END = 0xffffffff
}
 
enum  DOT11_BSS_TYPE { dot11_BSS_type_infrastructure = 1, dot11_BSS_type_independent = 2, dot11_BSS_type_any = 3 }
 
enum  DOT11_CIPHER_ALGORITHM {
  DOT11_CIPHER_ALGO_NONE = 0x00, DOT11_CIPHER_ALGO_WEP40 = 0x01, DOT11_CIPHER_ALGO_TKIP = 0x02, DOT11_CIPHER_ALGO_CCMP = 0x04,
  DOT11_CIPHER_ALGO_WEP104 = 0x05, DOT11_CIPHER_ALGO_WPA_USE_GROUP = 0x100, DOT11_CIPHER_ALGO_RSN_USE_GROUP = 0x100, DOT11_CIPHER_ALGO_WEP = 0x101,
  DOT11_CIPHER_ALGO_IHV_START = 0x80000000, DOT11_CIPHER_ALGO_IHV_END = 0xffffffff
}
 
enum  DOT11_PHY_TYPE {
  dot11_phy_type_unknown = 0, dot11_phy_type_any = dot11_phy_type_unknown, dot11_phy_type_fhss = 1, dot11_phy_type_dsss = 2,
  dot11_phy_type_irbaseband = 3, dot11_phy_type_ofdm = 4, dot11_phy_type_hrdsss = 5, dot11_phy_type_erp = 6,
  dot11_phy_type_ht = 7, dot11_phy_type_IHV_start = 0x80000000, dot11_phy_type_IHV_end = 0xffffffff
}
 
enum  WLAN_CONNECTION_MODE {
  wlan_connection_mode_profile = 0, wlan_connection_mode_temporary_profile, wlan_connection_mode_discovery_secure, wlan_connection_mode_discovery_unsecure,
  wlan_connection_mode_auto, wlan_connection_mode_invalid
}
 
enum  WLAN_INTERFACE_STATE {
  wlan_interface_state_not_ready = 0, wlan_interface_state_connected, wlan_interface_state_ad_hoc_network_formed, wlan_interface_state_disconnecting,
  wlan_interface_state_disconnected, wlan_interface_state_associating, wlan_interface_state_discovering, wlan_interface_state_authenticating
}
 
enum  WLAN_INTF_OPCODE {
  wlan_intf_opcode_autoconf_start = 0x000000000, wlan_intf_opcode_autoconf_enabled, wlan_intf_opcode_background_scan_enabled, wlan_intf_opcode_media_streaming_mode,
  wlan_intf_opcode_radio_state, wlan_intf_opcode_bss_type, wlan_intf_opcode_interface_state, wlan_intf_opcode_current_connection,
  wlan_intf_opcode_channel_number, wlan_intf_opcode_supported_infrastructure_auth_cipher_pairs, wlan_intf_opcode_supported_adhoc_auth_cipher_pairs, wlan_intf_opcode_supported_country_or_region_string_list,
  wlan_intf_opcode_current_operation_mode, wlan_intf_opcode_supported_safe_mode, wlan_intf_opcode_certified_safe_mode, wlan_intf_opcode_autoconf_end = 0x0fffffff,
  wlan_intf_opcode_msm_start = 0x10000100, wlan_intf_opcode_statistics, wlan_intf_opcode_rssi, wlan_intf_opcode_msm_end = 0x1fffffff,
  wlan_intf_opcode_security_start = 0x20010000, wlan_intf_opcode_security_end = 0x2fffffff, wlan_intf_opcode_ihv_start = 0x30000000, wlan_intf_opcode_ihv_end = 0x3fffffff
}
 
enum  WLAN_NOTIFICATION_ACM {
  wlan_notification_acm_start = 0, wlan_notification_acm_autoconf_enabled, wlan_notification_acm_autoconf_disabled, wlan_notification_acm_background_scan_enabled,
  wlan_notification_acm_background_scan_disabled, wlan_notification_acm_bss_type_change, wlan_notification_acm_power_setting_change, wlan_notification_acm_scan_complete,
  wlan_notification_acm_scan_fail, wlan_notification_acm_connection_start, wlan_notification_acm_connection_complete, wlan_notification_acm_connection_attempt_fail,
  wlan_notification_acm_filter_list_change, wlan_notification_acm_interface_arrival, wlan_notification_acm_interface_removal, wlan_notification_acm_profile_change,
  wlan_notification_acm_profile_name_change, wlan_notification_acm_profiles_exhausted, wlan_notification_acm_network_not_available, wlan_notification_acm_network_available,
  wlan_notification_acm_disconnecting, wlan_notification_acm_disconnected, wlan_notification_acm_adhoc_network_state_change, wlan_notification_acm_end
}
 
enum  WLAN_OPCODE_VALUE_TYPE { wlan_opcode_value_type_query_only = 0, wlan_opcode_value_type_set_by_group_policy, wlan_opcode_value_type_set_by_user, wlan_opcode_value_type_invalid }
 

Variables

WlanCloseHandleProto local_WlanCloseHandle
 
WlanConnectProto local_WlanConnect
 
WlanDisconnectProto local_WlanDisconnect
 
WlanEnumInterfacesProto local_WlanEnumInterfaces
 
WlanFreeMemoryProto local_WlanFreeMemory
 
WlanGetAvailableNetworkListProto local_WlanGetAvailableNetworkList
 
WlanOpenHandleProto local_WlanOpenHandle
 
WlanQueryInterfaceProto local_WlanQueryInterface
 
WlanRegisterNotificationProto local_WlanRegisterNotification
 
WlanScanProto local_WlanScan
 

Macro Definition Documentation

◆ DOT11_SSID_MAX_LENGTH

#define DOT11_SSID_MAX_LENGTH   32

Definition at line 56 of file platformdefs.h.

◆ WLAN_AVAILABLE_NETWORK_CONNECTED

#define WLAN_AVAILABLE_NETWORK_CONNECTED   1

Definition at line 54 of file platformdefs.h.

Referenced by QNativeWifiEngine::scanComplete().

◆ WLAN_AVAILABLE_NETWORK_HAS_PROFILE

#define WLAN_AVAILABLE_NETWORK_HAS_PROFILE   2

Definition at line 55 of file platformdefs.h.

Referenced by QNativeWifiEngine::scanComplete().

◆ WLAN_MAX_NAME_LENGTH

#define WLAN_MAX_NAME_LENGTH   256

Definition at line 50 of file platformdefs.h.

◆ WLAN_MAX_PHY_TYPE_NUMBER

#define WLAN_MAX_PHY_TYPE_NUMBER   8

Definition at line 51 of file platformdefs.h.

◆ WLAN_NOTIFICATION_SOURCE_ACM

#define WLAN_NOTIFICATION_SOURCE_ACM   0x00000008

Definition at line 52 of file platformdefs.h.

Referenced by qNotificationCallback().

◆ WLAN_NOTIFICATION_SOURCE_ALL

#define WLAN_NOTIFICATION_SOURCE_ALL   0x0000ffff

Definition at line 53 of file platformdefs.h.

Referenced by QNativeWifiEngine::available().

Typedef Documentation

◆ DOT11_MAC_ADDRESS

typedef UCHAR DOT11_MAC_ADDRESS[6]

Definition at line 102 of file platformdefs.h.

◆ WLAN_NOTIFICATION_CALLBACK

typedef void(WINAPI * WLAN_NOTIFICATION_CALLBACK) (WLAN_NOTIFICATION_DATA *, PVOID)

Definition at line 289 of file platformdefs.h.

◆ WlanCloseHandleProto

typedef DWORD(WINAPI * WlanCloseHandleProto) (HANDLE hClientHandle, PVOID pReserved)

Definition at line 314 of file platformdefs.h.

◆ WlanConnectProto

typedef DWORD(WINAPI * WlanConnectProto) (HANDLE hClientHandle, const GUID *pInterfaceGuid, const WLAN_CONNECTION_PARAMETERS *pConnectionParameters, PVOID pReserved)

Definition at line 306 of file platformdefs.h.

◆ WlanDisconnectProto

typedef DWORD(WINAPI * WlanDisconnectProto) (HANDLE hClientHandle, const GUID *pInterfaceGuid, PVOID pReserved)

Definition at line 309 of file platformdefs.h.

◆ WlanEnumInterfacesProto

typedef DWORD(WINAPI * WlanEnumInterfacesProto) (HANDLE hClientHandle, PVOID pReserved, WLAN_INTERFACE_INFO_LIST **ppInterfaceList)

Definition at line 298 of file platformdefs.h.

◆ WlanFreeMemoryProto

typedef VOID(WINAPI * WlanFreeMemoryProto) (PVOID pMemory)

Definition at line 313 of file platformdefs.h.

◆ WlanGetAvailableNetworkListProto

typedef DWORD(WINAPI * WlanGetAvailableNetworkListProto) (HANDLE hClientHandle, const GUID *pInterfaceGuid, DWORD dwFlags, PVOID pReserved, WLAN_AVAILABLE_NETWORK_LIST **ppAvailableNetworkList)

Definition at line 300 of file platformdefs.h.

◆ WlanOpenHandleProto

typedef DWORD(WINAPI * WlanOpenHandleProto) (DWORD dwClientVersion, PVOID pReserved, PDWORD pdwNegotiatedVersion, PHANDLE phClientHandle)

Definition at line 292 of file platformdefs.h.

◆ WlanQueryInterfaceProto

typedef DWORD(WINAPI * WlanQueryInterfaceProto) (HANDLE hClientHandle, const GUID *pInterfaceGuid, WLAN_INTF_OPCODE OpCode, PVOID pReserved, PDWORD pdwDataSize, PVOID *ppData, WLAN_OPCODE_VALUE_TYPE *pWlanOpcodeValueType)

Definition at line 303 of file platformdefs.h.

◆ WlanRegisterNotificationProto

typedef DWORD(WINAPI * WlanRegisterNotificationProto) (HANDLE hClientHandle, DWORD dwNotifSource, BOOL bIgnoreDuplicate, WLAN_NOTIFICATION_CALLBACK funcCallback, PVOID pCallbackContext, PVOID pReserved, PDWORD pdwPrevNotifSource)

Definition at line 294 of file platformdefs.h.

◆ WlanScanProto

typedef DWORD(WINAPI * WlanScanProto) (HANDLE hClientHandle, const GUID *pInterfaceGuid, const DOT11_SSID *pDot11Ssid, const WLAN_RAW_DATA *pIeData, PVOID pReserved)

Definition at line 311 of file platformdefs.h.

Enumeration Type Documentation

◆ DOT11_AUTH_ALGORITHM

Enumerator
DOT11_AUTH_ALGO_80211_OPEN 
DOT11_AUTH_ALGO_80211_SHARED_KEY 
DOT11_AUTH_ALGO_WPA 
DOT11_AUTH_ALGO_WPA_PSK 
DOT11_AUTH_ALGO_WPA_NONE 
DOT11_AUTH_ALGO_RSNA 
DOT11_AUTH_ALGO_RSNA_PSK 
DOT11_AUTH_ALGO_IHV_START 
DOT11_AUTH_ALGO_IHV_END 

Definition at line 130 of file platformdefs.h.

◆ DOT11_BSS_TYPE

Enumerator
dot11_BSS_type_infrastructure 
dot11_BSS_type_independent 
dot11_BSS_type_any 

Definition at line 110 of file platformdefs.h.

◆ DOT11_CIPHER_ALGORITHM

Enumerator
DOT11_CIPHER_ALGO_NONE 
DOT11_CIPHER_ALGO_WEP40 
DOT11_CIPHER_ALGO_TKIP 
DOT11_CIPHER_ALGO_CCMP 
DOT11_CIPHER_ALGO_WEP104 
DOT11_CIPHER_ALGO_WPA_USE_GROUP 
DOT11_CIPHER_ALGO_RSN_USE_GROUP 
DOT11_CIPHER_ALGO_WEP 
DOT11_CIPHER_ALGO_IHV_START 
DOT11_CIPHER_ALGO_IHV_END 

Definition at line 142 of file platformdefs.h.

◆ DOT11_PHY_TYPE

Enumerator
dot11_phy_type_unknown 
dot11_phy_type_any 
dot11_phy_type_fhss 
dot11_phy_type_dsss 
dot11_phy_type_irbaseband 
dot11_phy_type_ofdm 
dot11_phy_type_hrdsss 
dot11_phy_type_erp 
dot11_phy_type_ht 
dot11_phy_type_IHV_start 
dot11_phy_type_IHV_end 

Definition at line 116 of file platformdefs.h.

◆ WLAN_CONNECTION_MODE

Enumerator
wlan_connection_mode_profile 
wlan_connection_mode_temporary_profile 
wlan_connection_mode_discovery_secure 
wlan_connection_mode_discovery_unsecure 
wlan_connection_mode_auto 
wlan_connection_mode_invalid 

Definition at line 213 of file platformdefs.h.

◆ WLAN_INTERFACE_STATE

Enumerator
wlan_interface_state_not_ready 
wlan_interface_state_connected 
wlan_interface_state_ad_hoc_network_formed 
wlan_interface_state_disconnecting 
wlan_interface_state_disconnected 
wlan_interface_state_associating 
wlan_interface_state_discovering 
wlan_interface_state_authenticating 

Definition at line 68 of file platformdefs.h.

◆ WLAN_INTF_OPCODE

Enumerator
wlan_intf_opcode_autoconf_start 
wlan_intf_opcode_autoconf_enabled 
wlan_intf_opcode_background_scan_enabled 
wlan_intf_opcode_media_streaming_mode 
wlan_intf_opcode_radio_state 
wlan_intf_opcode_bss_type 
wlan_intf_opcode_interface_state 
wlan_intf_opcode_current_connection 
wlan_intf_opcode_channel_number 
wlan_intf_opcode_supported_infrastructure_auth_cipher_pairs 
wlan_intf_opcode_supported_adhoc_auth_cipher_pairs 
wlan_intf_opcode_supported_country_or_region_string_list 
wlan_intf_opcode_current_operation_mode 
wlan_intf_opcode_supported_safe_mode 
wlan_intf_opcode_certified_safe_mode 
wlan_intf_opcode_autoconf_end 
wlan_intf_opcode_msm_start 
wlan_intf_opcode_statistics 
wlan_intf_opcode_rssi 
wlan_intf_opcode_msm_end 
wlan_intf_opcode_security_start 
wlan_intf_opcode_security_end 
wlan_intf_opcode_ihv_start 
wlan_intf_opcode_ihv_end 

Definition at line 179 of file platformdefs.h.

179  {
180  wlan_intf_opcode_autoconf_start = 0x000000000,
195  wlan_intf_opcode_autoconf_end = 0x0fffffff,
196  wlan_intf_opcode_msm_start = 0x10000100,
199  wlan_intf_opcode_msm_end = 0x1fffffff,
200  wlan_intf_opcode_security_start = 0x20010000,
201  wlan_intf_opcode_security_end = 0x2fffffff,
202  wlan_intf_opcode_ihv_start = 0x30000000,
203  wlan_intf_opcode_ihv_end = 0x3fffffff
204 };

◆ WLAN_NOTIFICATION_ACM

Enumerator
wlan_notification_acm_start 
wlan_notification_acm_autoconf_enabled 
wlan_notification_acm_autoconf_disabled 
wlan_notification_acm_background_scan_enabled 
wlan_notification_acm_background_scan_disabled 
wlan_notification_acm_bss_type_change 
wlan_notification_acm_power_setting_change 
wlan_notification_acm_scan_complete 
wlan_notification_acm_scan_fail 
wlan_notification_acm_connection_start 
wlan_notification_acm_connection_complete 
wlan_notification_acm_connection_attempt_fail 
wlan_notification_acm_filter_list_change 
wlan_notification_acm_interface_arrival 
wlan_notification_acm_interface_removal 
wlan_notification_acm_profile_change 
wlan_notification_acm_profile_name_change 
wlan_notification_acm_profiles_exhausted 
wlan_notification_acm_network_not_available 
wlan_notification_acm_network_available 
wlan_notification_acm_disconnecting 
wlan_notification_acm_disconnected 
wlan_notification_acm_adhoc_network_state_change 
wlan_notification_acm_end 

Definition at line 236 of file platformdefs.h.

236  {
261 };

◆ WLAN_OPCODE_VALUE_TYPE

Enumerator
wlan_opcode_value_type_query_only 
wlan_opcode_value_type_set_by_group_policy 
wlan_opcode_value_type_set_by_user 
wlan_opcode_value_type_invalid 

Definition at line 206 of file platformdefs.h.

Variable Documentation

◆ local_WlanCloseHandle

WlanCloseHandleProto local_WlanCloseHandle

Definition at line 66 of file qnativewifiengine.cpp.

Referenced by QNativeWifiEngine::closeHandle(), and resolveLibrary().

◆ local_WlanConnect

WlanConnectProto local_WlanConnect

Definition at line 62 of file qnativewifiengine.cpp.

Referenced by QNativeWifiEngine::connectToId(), and resolveLibrary().

◆ local_WlanDisconnect

WlanDisconnectProto local_WlanDisconnect

Definition at line 63 of file qnativewifiengine.cpp.

Referenced by QNativeWifiEngine::disconnectFromId(), and resolveLibrary().

◆ local_WlanEnumInterfaces

WlanEnumInterfacesProto local_WlanEnumInterfaces

◆ local_WlanFreeMemory

WlanFreeMemoryProto local_WlanFreeMemory

◆ local_WlanGetAvailableNetworkList

WlanGetAvailableNetworkListProto local_WlanGetAvailableNetworkList

◆ local_WlanOpenHandle

WlanOpenHandleProto local_WlanOpenHandle

◆ local_WlanQueryInterface

WlanQueryInterfaceProto local_WlanQueryInterface

Definition at line 61 of file qnativewifiengine.cpp.

Referenced by QNativeWifiEngine::getInterfaceFromId(), and resolveLibrary().

◆ local_WlanRegisterNotification

WlanRegisterNotificationProto local_WlanRegisterNotification

Definition at line 58 of file qnativewifiengine.cpp.

Referenced by QNativeWifiEngine::available(), and resolveLibrary().

◆ local_WlanScan

WlanScanProto local_WlanScan

Definition at line 64 of file qnativewifiengine.cpp.

Referenced by QNativeWifiEngine::requestUpdate(), and resolveLibrary().