equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
14 * Description: Declaration of the UmacDot11Synchronize class |
14 * Description: Declaration of the UmacDot11Synchronize class |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 18 % |
19 * %version: 19 % |
20 */ |
20 */ |
21 |
21 |
22 #ifndef WLANDOT11SYNCHRONIZE_H |
22 #ifndef WLANDOT11SYNCHRONIZE_H |
23 #define WLANDOT11SYNCHRONIZE_H |
23 #define WLANDOT11SYNCHRONIZE_H |
24 |
24 |
79 ESETHTBSSOPERATION, // configure HT BSS operation mib |
79 ESETHTBSSOPERATION, // configure HT BSS operation mib |
80 ERESETHTCAPABILITIES, // reset HT capabilities mib |
80 ERESETHTCAPABILITIES, // reset HT capabilities mib |
81 EISSUEJOIN, // issue join command |
81 EISSUEJOIN, // issue join command |
82 ESETHTBLOCKACKCONF, // configure HT Block Ack configure mib |
82 ESETHTBLOCKACKCONF, // configure HT Block Ack configure mib |
83 ERESETHTBLOCKACKCONF, // reset HT Block Ack configure mib |
83 ERESETHTBLOCKACKCONF, // reset HT Block Ack configure mib |
|
84 ESETPAIRWISEKEY, // set pairwise key |
84 ECONTINUEDOT11TRAVERSE, // continue dot11 fsm traversal |
85 ECONTINUEDOT11TRAVERSE, // continue dot11 fsm traversal |
85 ESTATEMAX // defined as an upper bound |
86 ESTATEMAX // defined as an upper bound |
86 }; |
87 }; |
87 |
88 |
88 void Fsm( |
89 void Fsm( |
151 * Informs lower layer about the HT Block Ack configuration |
152 * Informs lower layer about the HT Block Ack configuration |
152 * of the target network |
153 * of the target network |
153 * @param aCtxImpl statemachine context |
154 * @param aCtxImpl statemachine context |
154 */ |
155 */ |
155 void SetHtBlockAckConfiguration( WlanContextImpl& aCtxImpl ); |
156 void SetHtBlockAckConfiguration( WlanContextImpl& aCtxImpl ); |
|
157 |
|
158 /** |
|
159 * Sets pairwise key according to the used cipher suite |
|
160 * |
|
161 * @param aCtxImpl global statemachine context |
|
162 */ |
|
163 void SetPtk( WlanContextImpl& aCtxImpl ); |
|
164 |
|
165 /** |
|
166 * Sets CCMP key |
|
167 * |
|
168 * @param aCtxImpl global statemachine context |
|
169 */ |
|
170 TBool SetCcmpPtk( WlanContextImpl& aCtxImpl ); |
|
171 |
|
172 /** |
|
173 * Sets TKIP key |
|
174 * |
|
175 * @param aCtxImpl global statemachine context |
|
176 */ |
|
177 TBool SetTkipPtk( WlanContextImpl& aCtxImpl ); |
|
178 |
|
179 /** |
|
180 * Sets WEP key |
|
181 * |
|
182 * @param aCtxImpl global statemachine context |
|
183 */ |
|
184 TBool SetWepKey( WlanContextImpl& aCtxImpl ); |
156 |
185 |
157 #ifndef NDEBUG |
186 #ifndef NDEBUG |
158 virtual const TInt8* GetStateName( TUint8& aLength ) const; |
187 virtual const TInt8* GetStateName( TUint8& aLength ) const; |
159 #endif // !NDEBUG |
188 #endif // !NDEBUG |
160 |
189 |
161 void Entry( WlanContextImpl& aCtxImpl ); |
190 void Entry( WlanContextImpl& aCtxImpl ); |
162 |
191 |
163 void Exit( WlanContextImpl& aCtxImpl ); |
192 void Exit( WlanContextImpl& aCtxImpl ); |