equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2008 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: Implementation of the WlanDot11InitPhase1 class |
14 * Description: Implementation of the WlanDot11InitPhase1 class |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 34 % |
19 * %version: 35 % |
20 */ |
20 */ |
21 |
21 |
22 #include "config.h" |
22 #include "config.h" |
23 #include "UmacDot11InitPhase1.h" |
23 #include "UmacDot11InitPhase1.h" |
24 #include "UmacContextImpl.h" |
24 #include "UmacContextImpl.h" |
540 aCtxImpl.GetOurHtCapabilitiesIe().iData.SetMaxAmsduLength( |
540 aCtxImpl.GetOurHtCapabilitiesIe().iData.SetMaxAmsduLength( |
541 aCtxImpl.WHASettings().iHtCapabilities.iMaxAmsdu ); |
541 aCtxImpl.WHASettings().iHtCapabilities.iMaxAmsdu ); |
542 aCtxImpl.GetOurHtCapabilitiesIe().iData.SetDsssCckIn40Mhz( |
542 aCtxImpl.GetOurHtCapabilitiesIe().iData.SetDsssCckIn40Mhz( |
543 aCtxImpl.WHASettings().iHtCapabilities.iHTCapabilitiesBitMask & |
543 aCtxImpl.WHASettings().iHtCapabilities.iHTCapabilitiesBitMask & |
544 WHA::KDsssCckIn40Mhz ); |
544 WHA::KDsssCckIn40Mhz ); |
545 aCtxImpl.GetOurHtCapabilitiesIe().iData.SetPsmp( |
|
546 aCtxImpl.WHASettings().iHtCapabilities.iHTCapabilitiesBitMask & |
|
547 WHA::KPsmp ); |
|
548 aCtxImpl.GetOurHtCapabilitiesIe().iData.SetLsigTxopProtection( |
545 aCtxImpl.GetOurHtCapabilitiesIe().iData.SetLsigTxopProtection( |
549 aCtxImpl.WHASettings().iHtCapabilities.iHTCapabilitiesBitMask & |
546 aCtxImpl.WHASettings().iHtCapabilities.iHTCapabilitiesBitMask & |
550 WHA::KLsigTxopProtection ); |
547 WHA::KLsigTxopProtection ); |
551 |
548 |
552 // configure A-MPDU parameters field |
549 // configure A-MPDU parameters field |