1 /* |
1 /* |
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-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 WlanActiveModePowerModeMgr inline methods |
14 * Description: Implementation of WlanActiveModePowerModeMgr inline methods |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 4 % |
19 * %version: 5 % |
20 */ |
20 */ |
21 |
21 |
22 // ----------------------------------------------------------------------------- |
22 // ----------------------------------------------------------------------------- |
23 // |
23 // |
24 // ----------------------------------------------------------------------------- |
24 // ----------------------------------------------------------------------------- |
25 // |
25 // |
26 inline void WlanActiveModePowerModeMgr::SetParameters( |
26 inline void WlanActiveModePowerModeMgr::SetParameters( |
27 TUint aToLightPsFrameThreshold, |
27 TUint aToLightPsFrameThreshold, |
28 TUint16 aUapsdRxFrameLengthThreshold ) |
28 TUint16 aUapsdRxFrameLengthThreshold ) |
29 { |
29 { |
|
30 OsTracePrint( KPwrStateTransition, (TUint8*) |
|
31 ("UMAC: WlanActiveModePowerModeMgr::SetParameters: " |
|
32 "aToLightPsFrameThreshold: %d"), |
|
33 aToLightPsFrameThreshold ); |
|
34 OsTracePrint( KPwrStateTransition, (TUint8*) |
|
35 ("UMAC: WlanActiveModePowerModeMgr::SetParameters: " |
|
36 "aUapsdRxFrameLengthThreshold: %d"), |
|
37 aUapsdRxFrameLengthThreshold ); |
|
38 |
30 iToLightPsFrameThreshold = aToLightPsFrameThreshold; |
39 iToLightPsFrameThreshold = aToLightPsFrameThreshold; |
31 iUapsdRxFrameLengthThreshold = aUapsdRxFrameLengthThreshold; |
40 iUapsdRxFrameLengthThreshold = aUapsdRxFrameLengthThreshold; |
32 } |
41 } |