wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/rwlmserver.cpp
branchRCL_3
changeset 42 a828660c511c
parent 34 13838cf40350
child 43 d3d7683d16f5
equal deleted inserted replaced
40:5fb7af913dfd 42:a828660c511c
    14 * Description:  Implementation of interface for WLAN services.
    14 * Description:  Implementation of interface for WLAN services.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 28.1.1 %
    19 * %version: 31 %
    20 */
    20 */
    21 
    21 
    22 #include <in_sock.h>
    22 #include <in_sock.h>
    23 #include "wlandevicesettings.h"
    23 #include "wlandevicesettings.h"
    24 #include "rwlmserver.h"
    24 #include "rwlmserver.h"
   542 // ---------------------------------------------------------
   542 // ---------------------------------------------------------
   543 // ---------------------------------------------------------
   543 // ---------------------------------------------------------
   544 //
   544 //
   545 EXPORT_C void RWLMServer::RunProtectedSetup(
   545 EXPORT_C void RWLMServer::RunProtectedSetup(
   546     TRequestStatus& aStatus,
   546     TRequestStatus& aStatus,
   547     TUint32 aId,
   547     const TWlanSsid& aSsid,
       
   548     const TWlanWpsPin& aWspPin,  
   548     TDes8& aCredentials )
   549     TDes8& aCredentials )
   549     {
   550     {
   550     DEBUG( "RWLMServer::RunProtectedSetup(TRequestStatus)" );
   551     DEBUG( "RWLMServer::RunProtectedSetup(TRequestStatus)" );
   551 
   552 
   552     aStatus = KRequestPending;
   553     aStatus = KRequestPending;
   553     TIpcArgs params( aId, &aCredentials );
   554     
       
   555     iWlanSsidPckg = aSsid;
       
   556     iWlanWpsPinPckg = aWspPin;
       
   557     
       
   558     TIpcArgs params( &iWlanSsidPckg, &iWlanWpsPinPckg, &aCredentials );
   554 
   559 
   555     // Send the command
   560     // Send the command
   556     SendReceive( ERunProtectedSetup, params, aStatus );
   561     SendReceive( ERunProtectedSetup, params, aStatus );
   557     }
   562     }
   558 
   563