[Clientapps-cvs] symbianMmf/common hxmmfbasectrl.cpp,1.42,1.43

[Clientapps-cvs] symbianMmf/common hxmmfbasectrl.cpp,1.42,1.43

shivnani at helixcommunity.org shivnani at helixcommunity.org
Thu May 8 11:59:02 PDT 2008


Update of /cvsroot/clientapps/symbianMmf/common
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv17106

Modified Files:
	hxmmfbasectrl.cpp 
Log Message:
Nokia submits this code under the terms of a commercial contribution agreement with RealNetworks, and I am authorized to contribute this code under said agreement."

Modified by:  ext-amit.shivnani at nokia.com

Date: 02-May-2008

Project: SymbianMmf_Rel

TSW: OVIL-7DPT7U

Synopsis: It takes a long time to invalidate a connection to a WLAN AP that is not valid or is out of range

In current scenario the Helix AccessPoint Manager does not catch the error code "KErrWlanNetworkNotFound" coming from Symbian and allows the error to map to Helix error code "HXR_NET_CONNECT" which eventually allows the Helix Client to look for Switching transport.The Switch transport takes a lot of time before giving away the message KErrCouldNotConnect.


This CR corrects this problem by following changes:
1. A new Helix error code is created : HXR_INVALID_ACCESSPOINT .
2. This is mapped to KErrCouldNotConnect.
3. The error code KErrWlanNetworkNotFound is catched appropriately in AccessPoint Manager and is mapped to HXR_INVALID_ACCESSPOINT.


Root Cause of the problem: Implementation 
 

Files Modified:
	common/include/hxresult.h
	clientapps/symbianMmf/common/hxmmfbasectrl.cpp
	client/netwksvc/platform/symbian/hxsymbianapman.cpp


Files Added: None
 
 
Image Size and Heap Use impact: None

Module Release testing (STIF) : Done.

Test case(s) Added  :  N/A 
  
Memory leak check performed : yes. No leak.

Platforms and Profiles Build Verified: helix-client-s60-50-mmf-mdf-dsp

Platforms and Profiles Functionality verified: armv5, winscw 
  
Branch: Head & 210CayS


Index: hxmmfbasectrl.cpp
===================================================================
RCS file: /cvsroot/clientapps/symbianMmf/common/hxmmfbasectrl.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- hxmmfbasectrl.cpp	26 Mar 2008 21:17:31 -0000	1.42
+++ hxmmfbasectrl.cpp	8 May 2008 18:58:59 -0000	1.43
@@ -122,6 +122,7 @@
     { HXR_NET_SOCKET_INVALID,           KErrCouldNotConnect      },
     { HXR_NET_CONNECT,                  KErrCouldNotConnect      },
     { HXR_DNS_RESOLVE_FAILURE,          KErrCouldNotConnect      },
+    { HXR_INVALID_ACCESSPOINT,          KErrCouldNotConnect      },
     { HXR_IGNORE,                       KErrNone                 },
     { HXR_NOT_INITIALIZED,              KErrNotReady             },
     { HXR_INVALID_HOST,                 KErrCouldNotConnect      },




More information about the Clientapps-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.