# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1277312306 -10800 # Node ID 9d2fe561daac86bcc4c5838efedad5ede86aa42d # Parent c0a997472b1cb522bf1721e57103f454625caf27 Revision: 201025 Kit: 2010125 diff -r c0a997472b1c -r 9d2fe561daac build.config.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.config.xml Wed Jun 23 19:58:26 2010 +0300 @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + diff -r c0a997472b1c -r 9d2fe561daac layers.sysdef.xml --- a/layers.sysdef.xml Fri Jun 11 15:15:43 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - diff -r c0a997472b1c -r 9d2fe561daac networkcontrol/iptransportlayer/src/netmcpr.cpp --- a/networkcontrol/iptransportlayer/src/netmcpr.cpp Fri Jun 11 15:15:43 2010 +0300 +++ b/networkcontrol/iptransportlayer/src/netmcpr.cpp Wed Jun 23 19:58:26 2010 +0300 @@ -33,6 +33,8 @@ #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW #include +// Custom type for WLAN bearer +const TUint32 KNetMcprWlanBearer = 0x3C; #endif //SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW #include @@ -477,8 +479,11 @@ //TCP receive window size for ethernet iBearerInfoMap.Insert(KEthernetBearer,KBearerEthernetWinSize); + //TCP receive window size for WLAN bearer + iBearerInfoMap.Insert(KNetMcprWlanBearer,KBearerWlanWinSize); + //TCP receive window size for other bearer - iBearerInfoMap.Insert(KDefaultBearer,KBearerWlanWinSize); + iBearerInfoMap.Insert(KDefaultBearer,KBearerDefaultWinSize); } void CDfltTCPReceiveWindowSize::SetTcpWin(TUint aBearerType) @@ -486,8 +491,20 @@ * Set TCP receive window */ { - //Set the TCP Receive Window. - iWinSize = *static_cast(iBearerInfoMap.Find(aBearerType)); + // Get bearer window size from hash table + TUint* iWinSizePtr = static_cast(iBearerInfoMap.Find(aBearerType)); + + // Check whether bearer type was known + if ( iWinSizePtr != NULL ) + { + // Set the TCP Receive Window + iWinSize = *iWinSizePtr; + } + else + { + // Use default window + iWinSize = KBearerDefaultWinSize; + } //Set the Max TCP receive Window. SetMaxWinSize(aBearerType); @@ -511,12 +528,16 @@ // iMaxWinSize = KBearerHsdpaWinSize; break; - case KEthernetBearer: - iMaxWinSize = KEthernetMaxWinSize; + case KNetMcprWlanBearer: + iMaxWinSize = KBearerWlanWinSize; break; + case KEthernetBearer: + iMaxWinSize = KEthernetMaxWinSize; + break; + default: - iMaxWinSize = KEthernetMaxWinSize; + iMaxWinSize = KBearerDefaultMaxWinSize; break; } } diff -r c0a997472b1c -r 9d2fe561daac tcpiputils/networkaddressandporttranslation/TE_Napt/configs/Te_NaptConnection_target.xml --- a/tcpiputils/networkaddressandporttranslation/TE_Napt/configs/Te_NaptConnection_target.xml Fri Jun 11 15:15:43 2010 +0300 +++ b/tcpiputils/networkaddressandporttranslation/TE_Napt/configs/Te_NaptConnection_target.xml Wed Jun 23 19:58:26 2010 +0300 @@ -822,7 +822,7 @@ ip 255.255.255.0 10.32.194.254 - 10.225.164.209 + 10.225.171.70 TRUE TRUE 194.72.6.51 diff -r c0a997472b1c -r 9d2fe561daac tcpiputils/networkaddressandporttranslation/TE_Napt/configs/Te_NaptConnection_winscw.xml --- a/tcpiputils/networkaddressandporttranslation/TE_Napt/configs/Te_NaptConnection_winscw.xml Fri Jun 11 15:15:43 2010 +0300 +++ b/tcpiputils/networkaddressandporttranslation/TE_Napt/configs/Te_NaptConnection_winscw.xml Wed Jun 23 19:58:26 2010 +0300 @@ -822,7 +822,7 @@ ip 255.255.255.0 10.32.194.254 - 10.253.27.249 + 10.225.171.70 TRUE TRUE 194.72.6.51 diff -r c0a997472b1c -r 9d2fe561daac tcpiputils/networkaddressandporttranslation/TE_Napt/configs/te_naptconfig_target.ini --- a/tcpiputils/networkaddressandporttranslation/TE_Napt/configs/te_naptconfig_target.ini Fri Jun 11 15:15:43 2010 +0300 +++ b/tcpiputils/networkaddressandporttranslation/TE_Napt/configs/te_naptconfig_target.ini Wed Jun 23 19:58:26 2010 +0300 @@ -4,7 +4,7 @@ [General] NaptStatus=On -NaptTestServer=10.225.164.210 +NaptTestServer=10.225.171.71 NaptTestServerPort=48555 EthIPAddr=10.192.192.79 EchoPort = 7 diff -r c0a997472b1c -r 9d2fe561daac tcpiputils/networkaddressandporttranslation/TE_Napt/configs/te_naptconfig_winscw.ini --- a/tcpiputils/networkaddressandporttranslation/TE_Napt/configs/te_naptconfig_winscw.ini Fri Jun 11 15:15:43 2010 +0300 +++ b/tcpiputils/networkaddressandporttranslation/TE_Napt/configs/te_naptconfig_winscw.ini Wed Jun 23 19:58:26 2010 +0300 @@ -4,7 +4,7 @@ [General] NaptStatus=On -NaptTestServer=10.253.27.250 +NaptTestServer=10.225.171.71 NaptTestServerPort=48555 EthIPAddr=10.192.192.79 EchoPort = 7