|
1 /* |
|
2 * Copyright (c) 2005-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 WlanWhaConfigureAc class. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 10 % |
|
20 */ |
|
21 |
|
22 #ifndef WLANWHACONFIGUREAC_H |
|
23 #define WLANWHACONFIGUREAC_H |
|
24 |
|
25 #include "UmacWsaCommand.h" |
|
26 #include "umacinternaldefinitions.h" |
|
27 #include "UmacContextImpl.h" |
|
28 |
|
29 /** |
|
30 * Encapsulates the execution of ConfigureAc WHA command. |
|
31 * |
|
32 * @lib wlanumac.lib |
|
33 * @since S60 v3.1 |
|
34 */ |
|
35 class WlanWhaConfigureAc : public WlanWsaCommand |
|
36 { |
|
37 |
|
38 public: |
|
39 |
|
40 WlanWhaConfigureAc(); |
|
41 |
|
42 virtual ~WlanWhaConfigureAc() {}; |
|
43 |
|
44 /** |
|
45 * ?description |
|
46 * |
|
47 * @since S60 3.1 |
|
48 * @param ?arg1 ?description |
|
49 * @param ?arg2 ?description |
|
50 * @return ?description |
|
51 */ |
|
52 void Set( |
|
53 const TCwMinVector& aCwMin, |
|
54 const TCwMaxVector& aCwMax, |
|
55 const TAifsVector& aAIFS, |
|
56 const TTxOplimitVector& aTxOplimit ); |
|
57 |
|
58 private: |
|
59 |
|
60 /** |
|
61 * ?description |
|
62 * |
|
63 * @since S60 3.1 |
|
64 * @param ?arg1 ?description |
|
65 * @param ?arg2 ?description |
|
66 * @return ?description |
|
67 */ |
|
68 virtual void Entry( WlanContextImpl& aCtxImpl ); |
|
69 |
|
70 /** |
|
71 * ?description |
|
72 * |
|
73 * @since S60 3.1 |
|
74 * @param ?arg1 ?description |
|
75 * @param ?arg2 ?description |
|
76 * @return ?description |
|
77 */ |
|
78 #ifndef NDEBUG |
|
79 virtual const TInt8* GetStateName( TUint8& aLength ) const; |
|
80 #endif // !NDEBUG |
|
81 |
|
82 /** |
|
83 * ?description |
|
84 * |
|
85 * @since S60 3.1 |
|
86 * @param ?arg1 ?description |
|
87 * @param ?arg2 ?description |
|
88 * @return ?description |
|
89 */ |
|
90 virtual void CommandResponse( |
|
91 WlanContextImpl& aCtxImpl, |
|
92 WHA::TCommandId aCommandId, |
|
93 WHA::TStatus aStatus, |
|
94 const WHA::UCommandResponseParams& aCommandResponseParams ); |
|
95 |
|
96 // Prohibit copy constructor. |
|
97 WlanWhaConfigureAc( const WlanWhaConfigureAc& ); |
|
98 // Prohibit assigment operator. |
|
99 WlanWhaConfigureAc& operator= ( const WlanWhaConfigureAc& ); |
|
100 |
|
101 private: // data |
|
102 |
|
103 #ifndef NDEBUG |
|
104 /** |
|
105 * name of the state |
|
106 */ |
|
107 static const TInt8 iName[]; |
|
108 #endif |
|
109 |
|
110 TUint16 iCwMin[WHA::Wha::KNumOfEdcaQueues]; |
|
111 TUint16 iCwMax[WHA::Wha::KNumOfEdcaQueues]; |
|
112 TUint8 iAIFS[WHA::Wha::KNumOfEdcaQueues]; |
|
113 TUint16 iTxOplimit[WHA::Wha::KNumOfEdcaQueues]; |
|
114 }; |
|
115 |
|
116 #endif // WLANWHACONFIGUREAC_H |