|
1 /* |
|
2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Declaration of the WlanWsaSetBssParameters class. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 8 % |
|
20 */ |
|
21 |
|
22 #ifndef WLANWSASETBSSPARAMETERS_H |
|
23 #define WLANWSASETBSSPARAMETERS_H |
|
24 |
|
25 #include "UmacWsaCommand.h" |
|
26 |
|
27 /** |
|
28 * Encapsulates the execution of SetBssParameters WHA command. |
|
29 * |
|
30 * @lib wlanumac.lib |
|
31 * @since S60 v3.1 |
|
32 */ |
|
33 class WlanWsaSetBssParameters : public WlanWsaCommand |
|
34 { |
|
35 |
|
36 public: |
|
37 |
|
38 /** |
|
39 * C++ default constructor. |
|
40 */ |
|
41 WlanWsaSetBssParameters() : iDtim( 0 ), iAid( 0 ) {}; |
|
42 |
|
43 /** |
|
44 * Destructor. |
|
45 */ |
|
46 virtual ~WlanWsaSetBssParameters() {}; |
|
47 |
|
48 void Set( |
|
49 WlanContextImpl& aCtxImpl, |
|
50 TUint32 aDtim, |
|
51 TUint32 aAid ); |
|
52 |
|
53 private: |
|
54 |
|
55 virtual void Entry( WlanContextImpl& aCtxImpl ); |
|
56 #ifndef NDEBUG |
|
57 virtual const TInt8* GetStateName( TUint8& aLength ) const; |
|
58 #endif // !NDEBUG |
|
59 |
|
60 virtual void CommandResponse( |
|
61 WlanContextImpl& aCtxImpl, |
|
62 WHA::TCommandId aCommandId, |
|
63 WHA::TStatus aStatus, |
|
64 const WHA::UCommandResponseParams& aCommandResponseParams ); |
|
65 |
|
66 // Prohibit copy constructor. |
|
67 WlanWsaSetBssParameters( const WlanWsaSetBssParameters& ); |
|
68 // Prohibit assigment operator. |
|
69 WlanWsaSetBssParameters& operator= ( |
|
70 const WlanWsaSetBssParameters& ); |
|
71 |
|
72 private: // Data |
|
73 |
|
74 #ifndef NDEBUG |
|
75 static const TInt8 iName[]; |
|
76 #endif |
|
77 |
|
78 TUint32 iDtim; |
|
79 TUint32 iAid; |
|
80 }; |
|
81 |
|
82 #endif // WLANWSASETBSSPARAMETERS_H |