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 |