wlan_bearer/wlanldd/wlan_common/umac_common/inc/umacactivemodepowermodemgr.inl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 21 Jun 2010 17:43:00 +0300
branchRCL_3
changeset 14 13838cf40350
parent 0 c40eb8fe8501
permissions -rw-r--r--
Revision: 201023 Kit: 2010125

/*
* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:   Implementation of WlanActiveModePowerModeMgr inline methods
*
*/

/*
* %version: 5 %
*/

// -----------------------------------------------------------------------------
// 
// -----------------------------------------------------------------------------
//
inline void WlanActiveModePowerModeMgr::SetParameters(
    TUint aToLightPsFrameThreshold,
    TUint16 aUapsdRxFrameLengthThreshold )
    {
    OsTracePrint( KPwrStateTransition, (TUint8*)
        ("UMAC: WlanActiveModePowerModeMgr::SetParameters: "
         "aToLightPsFrameThreshold: %d"),
        aToLightPsFrameThreshold );
    OsTracePrint( KPwrStateTransition, (TUint8*)
        ("UMAC: WlanActiveModePowerModeMgr::SetParameters: "
         "aUapsdRxFrameLengthThreshold: %d"),
        aUapsdRxFrameLengthThreshold );

    iToLightPsFrameThreshold = aToLightPsFrameThreshold;
    iUapsdRxFrameLengthThreshold = aUapsdRxFrameLengthThreshold;    
    }