Share via


Native Wi-Fi WLAN Registry Settings (Windows CE 5.0)

Send Feedback

You can use the registry to configure the settings for a Native Wi-Fi AP. The following table shows the configurable registry settings for the [HKEY_LOCAL_MACHINE\Comm\NATIVEWIFI\PARAMETERS\ADAPTERS\<Native Wi-Fi Adapter Name>\AP] key.

Value : type Description
DesiredSSID : REG_SZ Default set to "Native 802.11 AP." Specifies the name of the Service Set Identifier (SSID) for the Native Wi-Fi AP.
MaxNumOfAssociations : REG_DWORD Default set to 100. Specifies the maximum number of clients that can be associated with the AP.
AutoFreqSelectionEnabled : REG_DWORD Default set to 1. Setting this value to 1 enables automatic frequency selection, which allows the AP to automatically select the best frequency for the current connection.
AccessPointState : REG_DWORD Set to 0 (disabled). Specifies the state of the access point. This key should be disabled by default until the AP device, upon startup, programmatically enables it. If you choose to set this key to 1 (enabled), you need to specify a Wired Equivalent Privacy (WEP) key and additional WEP-specific information as shown in the code example below.

If you set the value for the AccessPointState key to 1, you need to provide a WEP key and additional WEP-specific settings. The following example shows the registry settings for a wireless access point that uses the Realtek RTL8180 Native Wi-Fi AP Driver. The API in this example uses OPEN authentication with WEP encryption and a 40-bit key of 1234567890.

[HKEY_LOCAL_MACHINE\Comm\NATIVEWIFI\PARAMETERS\ADAPTERS\RTL8180_NWIFI\AP]
   "DesiredSSID"="Nativewifi_RTL8180"
   "MaxNumOfAssociations"=dword:a
   "AutoFreqSelectionEnabled"=dword:1
   "AccessPointState"=dword:1
   "DefaultKey1"=hex:01,
   00,00,00,01,00,00,00,01,00,00,00,01,00,00,00,05,00,00,00,12,34,56,78,90
   "PrivacyInvoked"=dword:1
   "ExcludeUnencrypted"=dword:1
   "WepDefaultKeyID"=dword:0   
   "EnabledAuthAlgo"=dword:0

See Also

Native Wi-Fi WLAN

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.