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. |
826 * @param aCredentials Results of a successful Protected Setup operation. |
831 * @param aCredentials Results of a successful Protected Setup operation. |
827 */ |
832 */ |
828 CProtectedSetupRequest( |
833 CProtectedSetupRequest( |
829 CWlanMgmtImpl& aCallback, |
834 CWlanMgmtImpl& aCallback, |
830 RWLMServer& aServer, |
835 RWLMServer& aServer, |
831 TUint32 aId, |
836 const TWlanSsid& aSsid, |
|
837 const TWlanWpsPin& aWpsPin, |
832 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials ); |
838 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials ); |
833 |
839 |
834 /** |
840 /** |
835 * Destructor. |
841 * Destructor. |
836 */ |
842 */ |
872 CWlanMgmtImpl& iCallback; |
878 CWlanMgmtImpl& iCallback; |
873 |
879 |
874 // Interface to RWLMServer |
880 // Interface to RWLMServer |
875 RWLMServer& iServer; |
881 RWLMServer& iServer; |
876 |
882 |
877 // Service ID of network which user has selected to be configured. |
883 // SSID of the network to configure. |
878 TUint32 iServiceId; |
884 TWlanSsid iSsid; |
|
885 |
|
886 // PIN value to be used. |
|
887 TWlanWpsPin iWpsPin; |
879 |
888 |
880 // Results of a successful Protected Setup operation. |
889 // Results of a successful Protected Setup operation. |
881 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& iCredentials; |
890 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& iCredentials; |
882 |
891 |
883 // Storage for received credentials. |
892 // Storage for received credentials. |