This article describes an issue in which the Dynamic Host Configuration Protocol (DHCP) connection takes a long time when the DHCP server is far away from the access point (AP) during Wi-Fi roaming, or device suspending or resuming in Windows Embedded Compact 7.An update is available to resolve this issue. Before you install this update, all previously issued updates for this product must be installed.
More Information
Software update information
Download information
The Windows Embedded Compact 7 Monthly Update (July 2014) is now available from Microsoft. To download this Windows Embedded Compact 7 monthly update, go to the following Microsoft Download Center website:
Windows Embedded Compact 7 updates The kind of processor that each file applies to is visible in the name of each file in the "File information" section.
Restart requirement
After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
-
On the Build menu, click Clean Solution, and then click Build Solution.
-
On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.
Update replacement information
This update does not replace any other updates.
About this update
After you apply this update, some new registry settings that help resolve this issue are available.The following registry settings are added to the [HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms] registry subkey:
-
ReUseDhcpInfoWhileAPRoaming: REG_DWORD
-
ForceReleaseLease:Â REG_DWORD
-
PersistDuringRelease:Â REG_DWORD
-
ContinueAutoIPAfterRelease:Â REG_DWORD
-
ForceRenewLease:Â REG_DWORD
-
SkipRenewIfAutoIpRunning:Â REG_DWORD
-
StartDORA:Â REG_DWORD
-
DhcpGlobalFirstRetransmitInterval:Â REG_DWORD
-
DhcpGlobalMaxRetransmitInterval:Â REG_DWORD
-
DhcpGlobalMaxRetries:Â REG_DWORD
-
DhcpGlobalLastSendPacketDelay:Â REG_DWORD
-
DhcpGlobalInitDelayInterval:Â REG_DWORD
-
DhcpGlobalConstantRate:Â REG_DWORD
The following registry settings are added to the [HKEY_LOCAL_MACHINE\Comm\[AdapterName]\Parms\Tcpip] registry subkey:
-
ReUseDhcpInfoWhileAPRoaming:Â REG_DWORD
-
MaxPingAttempts:Â REG_DWORD
-
PingTarget:Â REG_MULTI_SZ
-
ForceReleaseLease:Â REG_DWORD
-
PersistDuringRelease:Â REG_DWORD
-
ContinueAutoIPAfterRelease:Â REG_DWORD
-
ForceRenewLease:Â REG_DWORD
-
SkipRenewIfAutoIpRunning:Â REG_DWORD
-
StartDORA:Â REG_DWORD
-
DhcpFirstRetransmitInterval:Â REG_DWORD
-
DhcpMaxRetransmitInterval:Â REG_DWORD
-
DhcpMaxRetries:Â REG_DWORD
-
DhcpRenewFirstRetransmitInterval:Â REG_DWORD
-
DhcpRenewMaxRetransmitInterval:Â REG_DWORD
-
DhcpRenewMaxRetries:Â REG_DWORD
-
DhcpLastSendPacketDelay:Â REG_DWORD
-
DhcpInitDelayInterval:Â REG_DWORD
-
DhcpBootPFlagType:Â REG_DWORD
The details about the registry settings are as follows:
-
ReUseDhcpInfoWhileAPRoamingThe default value data is 0. It means the renewal attempt is sent during media connection, and the DORA attempt is sent when the renewal fails. When the value data is set to 1, DHCP tries to ping the devices one-by-one that are denoted by PingTarget during media connection. If the ping action succeeds, the previous IP is used. If the ping fails, DHCP sends a request to renew the IP address. If the renewal also fails, DHCP tries to send DORA.
-
MaxPingAttemptsThe default value data is 3. When ReUseDhcpInfoWhileAPRoaming is set to true, DHCP may try to ping a device that is denoted by PingTarget. This registry sets the number of retry times that DHCP takes for each target device.
-
PingTargetThe default value data is gateway. When ReUseDhcpInfoWhileAPRoaming is set to true, this registry contains one or more values of "gateway," "dhcpserver," "DNS1," "DNS2," "DNS3," and "DNS4." They indicate the device types that are pinged. If one of the target types is not valid, DHCP skips that invalid type and pings the next one.
-
PingTimeoutThe default value data is 1000 milliseconds. This registry sets the time-out value for each ping attempt.
-
ForceReleaseLeaseThe default value data is 0. In this situation, if the media is in disconnection state, DHCP does not release the IP address. When the value data is set to 1, DHCP releases the IP address even if the media is in disconnection state during the DHCP release.
-
PersistDuringReleaseThe default value data is 0. In this situation, the IP address is deleted during the DHCP release. When the value data is set to 1, the IP address is not deleted during the DHCP release.
-
ContinueAutoIPAfterReleaseThe default value data is 0. In this situation, DHCP does not enter the auto IP phase after the DHCP release. When the value data is set to 1, DHCP enters the auto IP state after the DHCP release.
-
SkipRenewIfAutoIpRunningThe default value data is 0. When the value data is set to 1, if DHCP is already in the auto IP state, it does not renew itself during the DHCP renewal. It periodically sends renewal or DORA to obtain the IP address.
-
StartDORAThe default value data is 0. When the value data is set to 1, DHCP does not renew the old IP address in the DHCP media connection phase. It sends DORA to obtain a new IP address.
-
DhcpGlobalFirstRetransmitIntervalThe default value data is 500 milliseconds. It sets the DHCP first interval time that DHCP takes to send renewal or DORA packets for all adapters, except for the adapter that has its own DhcpFirstRetransmitInterval or DhcpRenewFirstRetransmitInterval value.
-
DhcpGlobalMaxRetransmitIntervalThe default value data is 64000 milliseconds. It sets the DHCP maximum interval time that DHCP takes to send renewal or DORA packets for all adapters, except for the adapter that has its own DhcpMaxRetransmitInterval or DhcpRenewMaxRetransmitInterval value.
-
DhcpGlobalMaxRetriesThe default value data is 6. It sets the DHCP maximum number of retry times for sending renewal or DORA packets for all adapters, except for the adapter that has its own DhcpMaxRetries or DhcpRenewMaxRetries value.
-
DhcpGlobalLastSendPacketDelayThe default value data is 8000 milliseconds. It sets the delay time of DHCP last sending for all adapters, except for the adapter that has its own DhcpLastSendPacketDelay value.
-
DhcpGlobalInitDelayIntervalThe default value data is 5000 milliseconds. It sets the delay time of DHCP first sending for all adapters, except for the adapter that has its own DhcpInitDelayInterval value.
-
DhcpFirstRetransmitIntervalThe default value data is DhcpGlobalFirstRetransmitInterval. It sets the DHCP first interval time for sending DORA packets.
-
DhcpMaxRetransmitIntervalThe default value data is DhcpGlobalMaxRetransmitInterval. It sets the DHCP maximum interval time for sending DORA packets.
-
DhcpMaxRetriesThe default value data is DhcpGlobalMaxRetries. It sets the DHCP maximum number of retry times for sending DORA packets.
-
DhcpRenewFirstRetransmitIntervalThe default value data is DhcpGlobalFirstRetransmitInterval. It sets the DHCP first interval time for sending renewal packets.
-
DhcpRenewMaxRetransmitIntervalThe default value data is DhcpGlobalMaxRetransmitInterval. It sets the DHCP maximum interval time for sending renewal packets.
-
DhcpRenewMaxRetriesThe default value data is DhcpGlobalMaxRetries. It sets the DHCP maximum number of retry times for sending renewal packets.
-
DhcpLastSendPacketDelayThe default value data is 8000 milliseconds. It sets the delay time of DHCP last sending.
-
DhcpInitDelayIntervalThe default value data is 0 milliseconds. It sets the delay time before the first sending.
-
DhcpGlobalConstantRateThe default value data is 0. It means that the value of the DhcpFirstRetransmitInterval registry is multiplied by two after each attempt. When the value data is set to 1, the value of the DhcpFirstRetransmitInterval registry is not multiplied by two after each attempt. It applies to all adapters.
-
DhcpConstantRateThe default value data is 0. It means that the value of the DhcpFirstRetransmitInterval registry is multiplied by two after each attempt. When the value data is set to 1, the value of the DhcpFirstRetransmitInterval registry is not multiplied by two after each attempt. It applies to an individual adapter.
-
DhcpBootPFlagTypeIts value controls whether DHCP uses broadcast or unicast to send discover or request packets. The default value data is 0. The meaning of the different value data is as follows:
-
0: Broadcast first.
-
1: The same as 0, broadcast first.
-
2: Unicast first.
-
3: Broadcast only.
-
4: Unicast only.
-
The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Files that are included in this hotfix package
|
File name |
File size |
Date |
Time |
Path |
|---|---|---|---|---|
|
Dhcp.dll |
131,072 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Target\X86\Retail |
|
Dhcp.dll |
249,856 |
29-Jul-2014 |
00:55 |
Public\Common\Oak\Target\X86\Debug |
|
Dhcp.dll |
163,840 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Target\X86\Checked |
|
Dhcp.dll |
159,744 |
28-Jul-2014 |
22:13 |
Public\Common\Oak\Target\Armv5\Retail |
|
Dhcp.dll |
339,968 |
29-Jul-2014 |
00:07 |
Public\Common\Oak\Target\Armv5\Debug |
|
Dhcp.dll |
204,800 |
28-Jul-2014 |
22:14 |
Public\Common\Oak\Target\Armv5\Checked |
|
Dhcp.dll |
155,648 |
28-Jul-2014 |
22:13 |
Public\Common\Oak\Target\Armv6\Retail |
|
Dhcp.dll |
339,968 |
29-Jul-2014 |
00:08 |
Public\Common\Oak\Target\Armv6\Debug |
|
Dhcp.dll |
204,800 |
28-Jul-2014 |
22:15 |
Public\Common\Oak\Target\Armv6\Checked |
|
Dhcp.dll |
155,648 |
28-Jul-2014 |
22:13 |
Public\Common\Oak\Target\Armv7\Retail |
|
Dhcp.dll |
339,968 |
29-Jul-2014 |
00:10 |
Public\Common\Oak\Target\Armv7\Debug |
|
Dhcp.dll |
204,800 |
28-Jul-2014 |
22:13 |
Public\Common\Oak\Target\Armv7\Checked |
|
Dhcp.dll |
188,416 |
28-Jul-2014 |
22:13 |
Public\Common\Oak\Target\Mipsii\Retail |
|
Dhcp.dll |
380,928 |
29-Jul-2014 |
00:11 |
Public\Common\Oak\Target\Mipsii\Debug |
|
Dhcp.dll |
241,664 |
28-Jul-2014 |
22:13 |
Public\Common\Oak\Target\Mipsii\Checked |
|
Dhcp.dll |
188,416 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Target\Mipsii_fp\Retail |
|
Dhcp.dll |
380,928 |
29-Jul-2014 |
00:11 |
Public\Common\Oak\Target\Mipsii_fp\Debug |
|
Dhcp.dll |
241,664 |
28-Jul-2014 |
22:13 |
Public\Common\Oak\Target\Mipsii_fp\Checked |
|
Dhcp.dll |
143,360 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Target\Sh4\Retail |
|
Dhcp.dll |
290,816 |
29-Jul-2014 |
00:51 |
Public\Common\Oak\Target\Sh4\Debug |
|
Dhcp.dll |
184,320 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Target\Sh4\Checked |
|
Dhcp.lib |
3,704 |
28-Jul-2014 |
22:11 |
Public\Common\Oak\Lib\X86\Retail |
|
Dhcp.lib |
3,704 |
29-Jul-2014 |
00:55 |
Public\Common\Oak\Lib\X86\Debug |
|
Dhcp.lib |
3,704 |
28-Jul-2014 |
22:11 |
Public\Common\Oak\Lib\X86\Checked |
|
Dhcp.lib |
3,680 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Lib\Armv5\Retail |
|
Dhcp.lib |
3,680 |
29-Jul-2014 |
00:07 |
Public\Common\Oak\Lib\Armv5\Debug |
|
Dhcp.lib |
3,680 |
28-Jul-2014 |
22:14 |
Public\Common\Oak\Lib\Armv5\Checked |
|
Dhcp.lib |
3,680 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Lib\Armv6\Retail |
|
Dhcp.lib |
3,680 |
29-Jul-2014 |
00:08 |
Public\Common\Oak\Lib\Armv6\Debug |
|
Dhcp.lib |
3,680 |
28-Jul-2014 |
22:15 |
Public\Common\Oak\Lib\Armv6\Checked |
|
Dhcp.lib |
3,680 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Lib\Armv7\Retail |
|
Dhcp.lib |
3,680 |
29-Jul-2014 |
00:10 |
Public\Common\Oak\Lib\Armv7\Debug |
|
Dhcp.lib |
3,680 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Lib\Armv7\Checked |
|
Dhcp.lib |
3,680 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Lib\Mipsii\Retail |
|
Dhcp.lib |
3,680 |
29-Jul-2014 |
00:11 |
Public\Common\Oak\Lib\Mipsii\Debug |
|
Dhcp.lib |
3,680 |
28-Jul-2014 |
22:13 |
Public\Common\Oak\Lib\Mipsii\Checked |
|
Dhcp.lib |
3,680 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Lib\Mipsii_fp\Retail |
|
Dhcp.lib |
3,680 |
29-Jul-2014 |
00:11 |
Public\Common\Oak\Lib\Mipsii_fp\Debug |
|
Dhcp.lib |
3,680 |
28-Jul-2014 |
22:13 |
Public\Common\Oak\Lib\Mipsii_fp\Checked |
|
Dhcp.lib |
3,704 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Lib\Sh4\Retail |
|
Dhcp.lib |
3,704 |
29-Jul-2014 |
00:51 |
Public\Common\Oak\Lib\Sh4\Debug |
|
Dhcp.lib |
3,704 |
28-Jul-2014 |
22:12 |
Public\Common\Oak\Lib\Sh4\Checked |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates