none
Connection manager RRS feed

  • Question

  • Hi All,

    I am using Wince6.0 R3 which support connection manager. Before turn on the connection manager catalog item, the connection time for a RAS GPRS is around 2.5s by using RAS_Dial. After turn on connection manager catalog item, the connection time for RAS is increased to 5s. If I use connection manager APIs like ConnMgrEstablishConnectionSync the time is almost the same (~5s). I already do the same test for over 10 times so the result obtained is quite reliable. If I remove the catalog item and do a clean sysgen, then the connection time reduced to 2.5s again.

    So the question is why connection manager will slow down the RAS connection time? I think connection manager is really a cool feature so I hope I can use it but the side effect is not what I expected.

     

    BR,

    Tim

    Tuesday, September 14, 2010 10:43 AM

Answers

  • You are right actually.

    That packet is a DHCP packet and the problem is after add the connection manager catalog item the following registry key will be added.

     

    [HKLM\Comm\Ppp\Parms\]

    "DHCPTimeoutMs" = DWORD :3e8

     

    If I change this value to a smaller number, say 20, the connection speed will be same as before.

     

    BR,

    Tim

    • Marked as answer by ChanYiuMan Friday, September 24, 2010 6:45 AM
    Friday, September 24, 2010 6:45 AM

All replies

  • Have you compared the whole registry of both cases ?

    May be you can find an entry which control this time.

    Wednesday, September 15, 2010 11:34 AM
  • Hi all,

     

    For this problem I trace the ppp traffics and find that at the end of the authentication step there are 3 identical  PPP packets send out without reply. The raw data in hex is as below:

    [7e][21][45][0][1][13][0][0][0][0]
    [80][11][8d][84][a][cc][a1][8a][ff][ff] [ff][ff]
    [0] [44][0][43][0][ff][0][0][1][8][6][0]
    [12][34][56][78][0][6][0][0][a][cc][a1][8a]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][53][45][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0][0][0][0]
    [0][0][0][0][0][0][0]
    [0][0][0][0][0][0][63][82][53][63]
    [35][1][8][37][1][f][ff][98][48][7e]

     

    The above packet will send in total 3 times and seems waiting for reply until timeout (which ~1s). Finally it will report connected in RAS. Based on my limited knowledge  I think it is a UDP broadcast packet but the purpose of it is unknown. Does anybody know what is the usage of this packet and how I can get rid of it (or at least reduce the timeout time / retry count) to reduce the total RAS connection time?

     

    BR,

    Tim

    Friday, September 24, 2010 4:52 AM
  • You are right actually.

    That packet is a DHCP packet and the problem is after add the connection manager catalog item the following registry key will be added.

     

    [HKLM\Comm\Ppp\Parms\]

    "DHCPTimeoutMs" = DWORD :3e8

     

    If I change this value to a smaller number, say 20, the connection speed will be same as before.

     

    BR,

    Tim

    • Marked as answer by ChanYiuMan Friday, September 24, 2010 6:45 AM
    Friday, September 24, 2010 6:45 AM