wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/rwlmserver.cpp
branchRCL_3
changeset 43 d3d7683d16f5
parent 42 a828660c511c
equal deleted inserted replaced
42:a828660c511c 43:d3d7683d16f5
    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: 31 %
    19 * %version: 28.1.1 %
    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     const TWlanSsid& aSsid,
   547     TUint32 aId,
   548     const TWlanWpsPin& aWspPin,  
       
   549     TDes8& aCredentials )
   548     TDes8& aCredentials )
   550     {
   549     {
   551     DEBUG( "RWLMServer::RunProtectedSetup(TRequestStatus)" );
   550     DEBUG( "RWLMServer::RunProtectedSetup(TRequestStatus)" );
   552 
   551 
   553     aStatus = KRequestPending;
   552     aStatus = KRequestPending;
   554     
   553     TIpcArgs params( aId, &aCredentials );
   555     iWlanSsidPckg = aSsid;
       
   556     iWlanWpsPinPckg = aWspPin;
       
   557     
       
   558     TIpcArgs params( &iWlanSsidPckg, &iWlanWpsPinPckg, &aCredentials );
       
   559 
   554 
   560     // Send the command
   555     // Send the command
   561     SendReceive( ERunProtectedSetup, params, aStatus );
   556     SendReceive( ERunProtectedSetup, params, aStatus );
   562     }
   557     }
   563 
   558