wlan_bearer/wlanldd/wlan_common/umac_common/src/UmacDot11Associated.cpp
branchRCL_3
changeset 14 13838cf40350
parent 12 af3fb27c7511
child 17 a828660c511c
equal deleted inserted replaced
12:af3fb27c7511 14:13838cf40350
    14 * Description:   Implementation of the WlanDot11Associated class
    14 * Description:   Implementation of the WlanDot11Associated class
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 96.1.1 %
    19 * %version: 96.1.2 %
    20 */
    20 */
    21 
    21 
    22 #include "config.h"
    22 #include "config.h"
    23 #include "UmacDot11Associated.h"
    23 #include "UmacDot11Associated.h"
    24 #include "UmacContextImpl.h"
    24 #include "UmacContextImpl.h"
  1994             
  1994             
  1995         // check if we need to change power mgmt mode because of frame Tx
  1995         // check if we need to change power mgmt mode because of frame Tx
  1996         const TPowerMgmtModeChange KPowerMgmtModeChange ( 
  1996         const TPowerMgmtModeChange KPowerMgmtModeChange ( 
  1997             aCtxImpl.OnFrameTx( queue_id, etherType ) );
  1997             aCtxImpl.OnFrameTx( queue_id, etherType ) );
  1998         
  1998         
  1999         // if any change change is needed regarding our power mgmt mode,
  1999         // if any change is needed regarding our power mgmt mode,
  2000         // proceed with it
  2000         // proceed with it
  2001         stateChange = PowerMgmtModeChange( aCtxImpl, KPowerMgmtModeChange );        
  2001         stateChange = PowerMgmtModeChange( aCtxImpl, KPowerMgmtModeChange );        
  2002         }
  2002         }
  2003     else
  2003     else
  2004         {
  2004         {
  2234         {
  2234         {
  2235         // power mgmt mode change needed
  2235         // power mgmt mode change needed
  2236         
  2236         
  2237         if ( aPowerMgmtModeChange == EToActive )
  2237         if ( aPowerMgmtModeChange == EToActive )
  2238             {
  2238             {
  2239             aCtxImpl.DesiredDot11PwrMgmtMode( WHA::KPsDisable );                
  2239             aCtxImpl.DesiredDot11PwrMgmtMode( WHA::KPsDisable );
  2240             }
  2240             }
  2241         else if ( aPowerMgmtModeChange == EToLightPs )
  2241         else if ( aPowerMgmtModeChange == EToLightPs )
  2242             {
  2242             {
  2243             aCtxImpl.DesiredDot11PwrMgmtMode( WHA::KPsEnable );
  2243             aCtxImpl.DesiredDot11PwrMgmtMode( WHA::KPsEnable );
  2244             aCtxImpl.SetDesiredPsModeConfig( 
  2244             aCtxImpl.SetDesiredPsModeConfig(