equal
deleted
inserted
replaced
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 the WlanPowerModeMgrBase class |
14 * Description: Implementation of the WlanPowerModeMgrBase class |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 8 % |
19 * %version: 9 % |
20 */ |
20 */ |
21 |
21 |
22 #include "config.h" |
22 #include "config.h" |
23 #include "umacpowermodemgrbase.h" |
23 #include "umacpowermodemgrbase.h" |
24 #include "UmacContextImpl.h" |
24 #include "UmacContextImpl.h" |
25 |
|
26 // Default frame payload length threshold value (in bytes) for U-APSD |
|
27 const TUint32 KUapsdRxFrameLengthThreshold = 400; |
|
28 |
25 |
29 |
26 |
30 // ================= MEMBER FUNCTIONS ======================= |
27 // ================= MEMBER FUNCTIONS ======================= |
31 |
28 |
32 // --------------------------------------------------------------------------- |
29 // --------------------------------------------------------------------------- |
33 // |
30 // |
34 // --------------------------------------------------------------------------- |
31 // --------------------------------------------------------------------------- |
35 // |
32 // |
36 WlanPowerModeMgrBase::WlanPowerModeMgrBase() : |
33 WlanPowerModeMgrBase::WlanPowerModeMgrBase() : |
37 iUapsdRxFrameLengthThreshold( KUapsdRxFrameLengthThreshold ) |
34 iUapsdRxFrameLengthThreshold( KDefaultUapsdRxFrameLengthThreshold ) |
38 { |
35 { |
39 } |
36 } |
40 |
37 |
41 // --------------------------------------------------------------------------- |
38 // --------------------------------------------------------------------------- |
42 // |
39 // |
44 // |
41 // |
45 WlanPowerModeMgrBase::~WlanPowerModeMgrBase() |
42 WlanPowerModeMgrBase::~WlanPowerModeMgrBase() |
46 { |
43 { |
47 } |
44 } |
48 |
45 |
|
46 // --------------------------------------------------------------------------- |
|
47 // |
|
48 // --------------------------------------------------------------------------- |
|
49 // |
|
50 TPowerMgmtModeChange WlanPowerModeMgrBase::OnPsModeErrorIndication() |
|
51 { |
|
52 return ENoChange; |
|
53 } |
|
54 |
49 // --------------------------------------------------------------------------- |
55 // --------------------------------------------------------------------------- |
50 // |
56 // |
51 // --------------------------------------------------------------------------- |
57 // --------------------------------------------------------------------------- |
52 // |
58 // |
53 TBool WlanPowerModeMgrBase::OnActiveToLightPsTimerTimeout() |
59 TBool WlanPowerModeMgrBase::OnActiveToLightPsTimerTimeout() |