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 * |
|
311 * @param aStatus Status of the calling active object. On successful |
310 * @param aStatus Status of the calling active object. On successful |
312 * completion contains KErrNone, otherwise one of the |
311 * completion contains KErrNone, otherwise one of the |
313 * system-wide error codes. |
312 * system-wide error codes. |
314 * @param aSsid SSID of the network to configure. |
313 * @param aId Service ID of network which user has selected to be configured. |
315 * @param aWpsPin PIN value to be used. "00000000" (string of eight zeros) |
|
316 * if push button method is used. |
|
317 * @param aCredentials Results of a successful Protected Setup operation. |
314 * @param aCredentials Results of a successful Protected Setup operation. |
318 * @sa \link psetup Protected Setup-specific error codes \endlink. |
315 */ |
319 */ |
|
320 virtual void RunProtectedSetup( |
316 virtual void RunProtectedSetup( |
321 TRequestStatus& aStatus, |
317 TRequestStatus& aStatus, |
322 const TWlanSsid& aSsid, |
318 TUint32 aId, |
323 const TWlanWpsPin& aWpsPin, |
|
324 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials ); |
319 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials ); |
325 |
320 |
326 /** |
321 /** |
327 * (From MWlanMgmtInterface) |
322 * (From MWlanMgmtInterface) |
328 * Cancel an outstanding Protected Setup operation. |
323 * Cancel an outstanding Protected Setup operation. |
831 * @param aCredentials Results of a successful Protected Setup operation. |
826 * @param aCredentials Results of a successful Protected Setup operation. |
832 */ |
827 */ |
833 CProtectedSetupRequest( |
828 CProtectedSetupRequest( |
834 CWlanMgmtImpl& aCallback, |
829 CWlanMgmtImpl& aCallback, |
835 RWLMServer& aServer, |
830 RWLMServer& aServer, |
836 const TWlanSsid& aSsid, |
831 TUint32 aId, |
837 const TWlanWpsPin& aWpsPin, |
|
838 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials ); |
832 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& aCredentials ); |
839 |
833 |
840 /** |
834 /** |
841 * Destructor. |
835 * Destructor. |
842 */ |
836 */ |
878 CWlanMgmtImpl& iCallback; |
872 CWlanMgmtImpl& iCallback; |
879 |
873 |
880 // Interface to RWLMServer |
874 // Interface to RWLMServer |
881 RWLMServer& iServer; |
875 RWLMServer& iServer; |
882 |
876 |
883 // SSID of the network to configure. |
877 // Service ID of network which user has selected to be configured. |
884 TWlanSsid iSsid; |
878 TUint32 iServiceId; |
885 |
|
886 // PIN value to be used. |
|
887 TWlanWpsPin iWpsPin; |
|
888 |
879 |
889 // Results of a successful Protected Setup operation. |
880 // Results of a successful Protected Setup operation. |
890 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& iCredentials; |
881 CArrayFixSeg<TWlanProtectedSetupCredentialAttribute>& iCredentials; |
891 |
882 |
892 // Storage for received credentials. |
883 // Storage for received credentials. |