305 CWlanScanInfo& aResults ); |
305 CWlanScanInfo& aResults ); |
306 |
306 |
307 /** |
307 /** |
308 * (From MWlanMgmtInterface) |
308 * (From MWlanMgmtInterface) |
309 * Start Protected Setup. |
309 * Start Protected Setup. |
|
310 * |
310 * @param aStatus Status of the calling active object. On successful |
311 * @param aStatus Status of the calling active object. On successful |
311 * completion contains KErrNone, otherwise one of the |
312 * completion contains KErrNone, otherwise one of the |
312 * system-wide error codes. |
313 * system-wide error codes. |
313 * @param aId Service ID of network which user has selected to be configured. |
314 * @param aSsid SSID of the network to configure. |
|
315 * @param aWpsPin PIN value to be used. "00000000" (string of eight zeros) |
|
316 * if push button method is used. |
314 * @param aCredentials Results of a successful Protected Setup operation. |
317 * @param aCredentials Results of a successful Protected Setup operation. |
315 */ |
318 * @sa \link psetup Protected Setup-specific error codes \endlink. |
|
319 */ |
316 virtual void RunProtectedSetup( |
320 virtual void RunProtectedSetup( |
317 TRequestStatus& aStatus, |
321 TRequestStatus& aStatus, |
318 TUint32 aId, |
322 const TWlanSsid& aSsid, |
|
323 const TWlanWpsPin& aWpsPin, |
319 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials ); |
324 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials ); |
320 |
325 |
321 /** |
326 /** |
322 * (From MWlanMgmtInterface) |
327 * (From MWlanMgmtInterface) |
323 * Cancel an outstanding Protected Setup operation. |
328 * Cancel an outstanding Protected Setup operation. |
763 * @param aCredentials Results of a successful Protected Setup operation. |
768 * @param aCredentials Results of a successful Protected Setup operation. |
764 */ |
769 */ |
765 CProtectedSetupRequest( |
770 CProtectedSetupRequest( |
766 CWlanMgmtImpl& aCallback, |
771 CWlanMgmtImpl& aCallback, |
767 RWLMServer& aServer, |
772 RWLMServer& aServer, |
768 TUint32 aId, |
773 const TWlanSsid& aSsid, |
|
774 const TWlanWpsPin& aWpsPin, |
769 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials ); |
775 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials ); |
770 |
776 |
771 /** |
777 /** |
772 * Destructor. |
778 * Destructor. |
773 */ |
779 */ |
809 CWlanMgmtImpl& iCallback; |
815 CWlanMgmtImpl& iCallback; |
810 |
816 |
811 // Interface to RWLMServer |
817 // Interface to RWLMServer |
812 RWLMServer& iServer; |
818 RWLMServer& iServer; |
813 |
819 |
814 // Service ID of network which user has selected to be configured. |
820 // SSID of the network to configure. |
815 TUint32 iServiceId; |
821 TWlanSsid iSsid; |
|
822 |
|
823 // PIN value to be used. |
|
824 TWlanWpsPin iWpsPin; |
816 |
825 |
817 // Results of a successful Protected Setup operation. |
826 // Results of a successful Protected Setup operation. |
818 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& iCredentials; |
827 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& iCredentials; |
819 |
828 |
820 // Storage for received credentials. |
829 // Storage for received credentials. |