1 /* |
1 /* |
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005-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". |
54 |
54 |
55 // --------------------------------------------------------------------------- |
55 // --------------------------------------------------------------------------- |
56 // |
56 // |
57 // --------------------------------------------------------------------------- |
57 // --------------------------------------------------------------------------- |
58 // |
58 // |
|
59 void WlanDot11InfrastructureNormalMode::DoPsModeErrorIndication( |
|
60 WlanContextImpl& aCtxImpl ) |
|
61 { |
|
62 OsTracePrint( KWlmIndication, (TUint8*) |
|
63 ("UMAC: WlanDot11InfrastructureMode::DoPsModeErrorIndication") ); |
|
64 |
|
65 // as the lower layers indicate that there is a problem with the PS |
|
66 // operation of the current AP, we want to be in CAM mode for as long |
|
67 // as there's data activity. So, check if we need a mode change to be |
|
68 // in CAM now |
|
69 const TPowerMgmtModeChange KPowerMgmtModeChange ( |
|
70 aCtxImpl.OnPsModeErrorIndication() ); |
|
71 |
|
72 // if any change is needed regarding our power mgmt mode, |
|
73 // proceed with it |
|
74 PowerMgmtModeChange( aCtxImpl, KPowerMgmtModeChange ); |
|
75 } |
|
76 |
|
77 // --------------------------------------------------------------------------- |
|
78 // |
|
79 // --------------------------------------------------------------------------- |
|
80 // |
59 TBool WlanDot11InfrastructureNormalMode::OnActiveToLightPsTimerTimeout( |
81 TBool WlanDot11InfrastructureNormalMode::OnActiveToLightPsTimerTimeout( |
60 WlanContextImpl& aCtxImpl ) |
82 WlanContextImpl& aCtxImpl ) |
61 { |
83 { |
62 TBool statechange( EFalse ); |
84 TBool statechange( EFalse ); |
63 |
85 |