wlan_bearer/wlanldd/wlan_common/umac_common/inc/umaclightpsmodepowermodemgr.h
branchRCL_3
changeset 14 13838cf40350
parent 0 c40eb8fe8501
equal deleted inserted replaced
12:af3fb27c7511 14:13838cf40350
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-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:   Declaration of the WlanLightPsModePowerModeMgr class
    14 * Description:   Declaration of the WlanLightPsModePowerModeMgr class
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 3 %
    19 * %version: 4 %
    20 */
    20 */
    21 
    21 
    22 #ifndef WLAN_LIGHT_PS_MODE_POWER_MODE_MGR
    22 #ifndef WLAN_LIGHT_PS_MODE_POWER_MODE_MGR
    23 #define WLAN_LIGHT_PS_MODE_POWER_MODE_MGR
    23 #define WLAN_LIGHT_PS_MODE_POWER_MODE_MGR
    24 
    24 
    63     * @since S60 5.1
    63     * @since S60 5.1
    64     * Determines the need to make a power mode transition
    64     * Determines the need to make a power mode transition
    65     * @param aCtxImpl global statemachine context
    65     * @param aCtxImpl global statemachine context
    66     * @param aQueueId Id of the queue/AC via which the frame will be transmitted
    66     * @param aQueueId Id of the queue/AC via which the frame will be transmitted
    67     * @param aEtherType Ethernet type of the frame
    67     * @param aEtherType Ethernet type of the frame
       
    68     * @param aDot11FrameType 802.11 frame type
    68     * @param aIgnoreThisFrame shall this frame be ignored from dynamic power 
    69     * @param aIgnoreThisFrame shall this frame be ignored from dynamic power 
    69     *                         mode management perspective
    70     *                         mode management perspective
    70     * @return To which power management mode to change; if any at all
    71     * @return To which power management mode to change; if any at all
    71     */
    72     */
    72     virtual TPowerMgmtModeChange OnFrameTx( 
    73     virtual TPowerMgmtModeChange OnFrameTx( 
    73         WlanContextImpl& aCtxImpl, 
    74         WlanContextImpl& aCtxImpl, 
    74         WHA::TQueueId aQueueId,
    75         WHA::TQueueId aQueueId,
    75         TUint16 aEtherType,
    76         TUint16 aEtherType,
       
    77         T802Dot11FrameControlTypeMask aDot11FrameType,
    76         TBool aIgnoreThisFrame );
    78         TBool aIgnoreThisFrame );
    77 
    79 
    78     /** 
    80     /** 
    79     * To be called when accepting an Rx frame
    81     * To be called when accepting an Rx frame
    80     *
    82     *
    93         WHA::TQueueId aAccessCategory,
    95         WHA::TQueueId aAccessCategory,
    94         TUint16 aEtherType,
    96         TUint16 aEtherType,
    95         TBool aIgnoreThisFrame,
    97         TBool aIgnoreThisFrame,
    96         TUint aPayloadLength,
    98         TUint aPayloadLength,
    97         TDaType aDaType );
    99         TDaType aDaType );
       
   100     
       
   101     /**
       
   102     * From WlanPowerModeMgrBase
       
   103     * To be called upon receiving the PS Mode Error indication
       
   104     * Determines the need to make a power mode transition
       
   105     *
       
   106     * @return To which power management mode to change; if any at all
       
   107     */
       
   108     virtual TPowerMgmtModeChange OnPsModeErrorIndication();
    98     
   109     
    99     /**
   110     /**
   100     * From WlanPowerModeMgrBase
   111     * From WlanPowerModeMgrBase
   101     * To be called upon Light PS to Active timer timeout
   112     * To be called upon Light PS to Active timer timeout
   102     *
   113     *