wlan_bearer/wlanldd/wlan_common/umac_common/inc/UmacContextImpl.inl
branchRCL_3
changeset 34 13838cf40350
parent 21 af3fb27c7511
equal deleted inserted replaced
21:af3fb27c7511 34:13838cf40350
    14 * Description:   Implementation of WlanContextImpl inline methods.
    14 * Description:   Implementation of WlanContextImpl inline methods.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 78 %
    19 * %version: 79 %
    20 */
    20 */
    21 
    21 
    22 #include "umacconnectcontext.h"
    22 #include "umacconnectcontext.h"
    23 
    23 
    24 // ---------------------------------------------------------------------------
    24 // ---------------------------------------------------------------------------
  1608 // 
  1608 // 
  1609 // ---------------------------------------------------------------------------
  1609 // ---------------------------------------------------------------------------
  1610 //
  1610 //
  1611 inline TPowerMgmtModeChange WlanContextImpl::OnFrameTx( 
  1611 inline TPowerMgmtModeChange WlanContextImpl::OnFrameTx( 
  1612     WHA::TQueueId aQueueId,
  1612     WHA::TQueueId aQueueId,
  1613     TUint16 aEtherType )
  1613     TUint16 aEtherType,
  1614     {
  1614     T802Dot11FrameControlTypeMask aDot11FrameType )
  1615     return iDynamicPowerModeCntx.OnFrameTx( aQueueId, aEtherType );
  1615     {
       
  1616     return iDynamicPowerModeCntx.OnFrameTx( 
       
  1617         aQueueId, 
       
  1618         aEtherType, 
       
  1619         aDot11FrameType );
  1616     }
  1620     }
  1617 
  1621 
  1618 // ---------------------------------------------------------------------------
  1622 // ---------------------------------------------------------------------------
  1619 // 
  1623 // 
  1620 // ---------------------------------------------------------------------------
  1624 // ---------------------------------------------------------------------------
  1628     return iDynamicPowerModeCntx.OnFrameRx( 
  1632     return iDynamicPowerModeCntx.OnFrameRx( 
  1629         aAccessCategory, 
  1633         aAccessCategory, 
  1630         aEtherType,
  1634         aEtherType,
  1631         aPayloadLength, 
  1635         aPayloadLength, 
  1632         aDaType );
  1636         aDaType );
       
  1637     }
       
  1638 
       
  1639 // ---------------------------------------------------------------------------
       
  1640 // 
       
  1641 // ---------------------------------------------------------------------------
       
  1642 //
       
  1643 inline TPowerMgmtModeChange WlanContextImpl::OnPsModeErrorIndication()
       
  1644     {
       
  1645     return iDynamicPowerModeCntx.OnPsModeErrorIndication();
  1633     }
  1646     }
  1634 
  1647 
  1635 // ---------------------------------------------------------------------------
  1648 // ---------------------------------------------------------------------------
  1636 // 
  1649 // 
  1637 // ---------------------------------------------------------------------------
  1650 // ---------------------------------------------------------------------------
  1691                     
  1704                     
  1692 // ---------------------------------------------------------------------------
  1705 // ---------------------------------------------------------------------------
  1693 // 
  1706 // 
  1694 // ---------------------------------------------------------------------------
  1707 // ---------------------------------------------------------------------------
  1695 //
  1708 //
       
  1709 inline void WlanContextImpl::RestorePwrModeMgmtParameters()
       
  1710     {
       
  1711     iDynamicPowerModeCntx.RestoreActiveModeParameters();
       
  1712     }
       
  1713 
       
  1714 // ---------------------------------------------------------------------------
       
  1715 // 
       
  1716 // ---------------------------------------------------------------------------
       
  1717 //
  1696 inline TBool WlanContextImpl::OnActiveToLightPsTimerTimeout()
  1718 inline TBool WlanContextImpl::OnActiveToLightPsTimerTimeout()
  1697     {
  1719     {
  1698     return iDynamicPowerModeCntx.OnActiveToLightPsTimerTimeout();
  1720     return iDynamicPowerModeCntx.OnActiveToLightPsTimerTimeout();
  1699     }
  1721     }
  1700 
  1722 
  2057 
  2079 
  2058 // ---------------------------------------------------------------------------
  2080 // ---------------------------------------------------------------------------
  2059 // 
  2081 // 
  2060 // ---------------------------------------------------------------------------
  2082 // ---------------------------------------------------------------------------
  2061 //
  2083 //
       
  2084 inline TBool WlanContextImpl::InVoiceCallState() const
       
  2085     {
       
  2086     return iNullSendController.InVoiceCallState();
       
  2087     }
       
  2088 
       
  2089 // ---------------------------------------------------------------------------
       
  2090 // 
       
  2091 // ---------------------------------------------------------------------------
       
  2092 //
  2062 inline TBool WlanContextImpl::InsertNewRcpiIntoPredictor( 
  2093 inline TBool WlanContextImpl::InsertNewRcpiIntoPredictor( 
  2063     TInt64 aTimestamp, 
  2094     TInt64 aTimestamp, 
  2064     WHA::TRcpi aRcpi )
  2095     WHA::TRcpi aRcpi )
  2065     {
  2096     {
  2066     return iWlanSignalPredictor.InsertNewRcpi( 
  2097     return iWlanSignalPredictor.InsertNewRcpi( 
  2098         aTimeToWarnLevel,
  2129         aTimeToWarnLevel,
  2099         aTimeToNextInd,
  2130         aTimeToNextInd,
  2100         aRcpiWarnLevel );
  2131         aRcpiWarnLevel );
  2101     }
  2132     }
  2102 
  2133 
       
  2134 // -----------------------------------------------------------------------------
       
  2135 // 
       
  2136 // -----------------------------------------------------------------------------
       
  2137 //
       
  2138 inline void WlanContextImpl::ClearBssMembershipFeatureList()
       
  2139     {
       
  2140     os_memset( 
       
  2141         &iOurBssMembershipFeatureArray, 
       
  2142         KUnallocated, 
       
  2143         sizeof( iOurBssMembershipFeatureArray ) );
       
  2144     }
       
  2145 
  2103 // ---------------------------------------------------------------------------
  2146 // ---------------------------------------------------------------------------
  2104 // 
  2147 // 
  2105 // ---------------------------------------------------------------------------
  2148 // ---------------------------------------------------------------------------
  2106 //
  2149 //
  2107 inline SHtCapabilitiesIE& WlanContextImpl::GetOurHtCapabilitiesIe()
  2150 inline SHtCapabilitiesIE& WlanContextImpl::GetOurHtCapabilitiesIe()