wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/src/rwlmserver.cpp
changeset 36 1c425781161e
parent 13 ab7247ff6ef9
child 32 c01ef7f246fd
equal deleted inserted replaced
35:5e6ba967244f 36:1c425781161e
    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 %
    19 * %version: 30 %
    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"
   539 // ---------------------------------------------------------
   539 // ---------------------------------------------------------
   540 // ---------------------------------------------------------
   540 // ---------------------------------------------------------
   541 //
   541 //
   542 EXPORT_C void RWLMServer::RunProtectedSetup(
   542 EXPORT_C void RWLMServer::RunProtectedSetup(
   543     TRequestStatus& aStatus,
   543     TRequestStatus& aStatus,
   544     TUint32 aId,
   544     const TWlanSsid& aSsid,
       
   545     const TWlanWpsPin& aWspPin,  
   545     TDes8& aCredentials )
   546     TDes8& aCredentials )
   546     {
   547     {
   547     DEBUG( "RWLMServer::RunProtectedSetup(TRequestStatus)" );
   548     DEBUG( "RWLMServer::RunProtectedSetup(TRequestStatus)" );
   548 
   549 
   549     aStatus = KRequestPending;
   550     aStatus = KRequestPending;
   550     TIpcArgs params( aId, &aCredentials );
   551     
       
   552     iWlanSsidPckg = aSsid;
       
   553     iWlanWpsPinPckg = aWspPin;
       
   554     
       
   555     TIpcArgs params( &iWlanSsidPckg, &iWlanWpsPinPckg, &aCredentials );
   551 
   556 
   552     // Send the command
   557     // Send the command
   553     SendReceive( ERunProtectedSetup, params, aStatus );
   558     SendReceive( ERunProtectedSetup, params, aStatus );
   554     }
   559     }
   555 
   560