wlan_bearer/wlanldd/wlan_common/umac_common/inc/UmacContextImpl.h
branchRCL_3
changeset 14 13838cf40350
parent 12 af3fb27c7511
equal deleted inserted replaced
12:af3fb27c7511 14:13838cf40350
    14 * Description:   Declaration of the UmacContextImpl class
    14 * Description:   Declaration of the UmacContextImpl class
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 106 %
    19 * %version: 107 %
    20 */
    20 */
    21 
    21 
    22 #ifndef WLANCONTEXTIMPL_H
    22 #ifndef WLANCONTEXTIMPL_H
    23 #define WLANCONTEXTIMPL_H
    23 #define WLANCONTEXTIMPL_H
    24 
    24 
  1308     *
  1308     *
  1309     * @since S60 3.1
  1309     * @since S60 3.1
  1310     * @param aQueueId Id of the queue/AC via which the frame will be 
  1310     * @param aQueueId Id of the queue/AC via which the frame will be 
  1311     *                 transmitted
  1311     *                 transmitted
  1312     * @param aEtherType Ethernet type of the frame
  1312     * @param aEtherType Ethernet type of the frame
       
  1313     * @param aDot11FrameType 802.11 frame type
  1313     * @return To which power management mode to change; if any at all
  1314     * @return To which power management mode to change; if any at all
  1314     */
  1315     */
  1315     inline TPowerMgmtModeChange OnFrameTx( 
  1316     inline TPowerMgmtModeChange OnFrameTx( 
  1316         WHA::TQueueId aQueueId,
  1317         WHA::TQueueId aQueueId,
  1317         TUint16 aEtherType );
  1318         TUint16 aEtherType,
       
  1319         T802Dot11FrameControlTypeMask aDot11FrameType = E802Dot11FrameTypeData );
  1318 
  1320 
  1319     /** 
  1321     /** 
  1320     * To be called when accepting an Rx frame
  1322     * To be called when accepting an Rx frame
  1321     *
  1323     *
  1322     * @since S60 3.1
  1324     * @since S60 3.1
  1330         WHA::TQueueId aAccessCategory,
  1332         WHA::TQueueId aAccessCategory,
  1331         TUint16 aEtherType,
  1333         TUint16 aEtherType,
  1332         TUint aPayloadLength,
  1334         TUint aPayloadLength,
  1333         TDaType aDaType );
  1335         TDaType aDaType );
  1334                         
  1336                         
       
  1337     /**
       
  1338     * To be called when receiving the PS Mode Error indication
       
  1339     * 
       
  1340     * Informs Dynamic Power Mode Manager about the indication.
       
  1341     * Determines the need to make a power mode transition.
       
  1342     *
       
  1343     * @return To which power management mode to change; if any at all
       
  1344     */
       
  1345     inline TPowerMgmtModeChange OnPsModeErrorIndication();
       
  1346     
  1335     /**
  1347     /**
  1336     * Sets the dynamic power mode transition algorithm parameters
  1348     * Sets the dynamic power mode transition algorithm parameters
  1337     *
  1349     *
  1338     * @since S60 3.1
  1350     * @since S60 3.1
  1339     * @param aCtxImpl statemachine context
  1351     * @param aCtxImpl statemachine context
  1413     * @since S60 3.2
  1425     * @since S60 3.2
  1414     */
  1426     */
  1415     inline void FreezePwrModeMgmtTrafficOverride();
  1427     inline void FreezePwrModeMgmtTrafficOverride();
  1416 
  1428 
  1417     /**
  1429     /**
       
  1430     * Restores the Active mode parameters of dynamic power mode management 
       
  1431     * back to their WLAN Mgmt Client provided values
       
  1432     */
       
  1433     inline void RestorePwrModeMgmtParameters();
       
  1434 
       
  1435     /**
  1418     * To be called upon Active to Light PS timer timeout
  1436     * To be called upon Active to Light PS timer timeout
  1419     *
  1437     *
  1420     * @since S60 v5.1
  1438     * @since S60 v5.1
  1421     * @return ETrue if power mode transition should be done, 
  1439     * @return ETrue if power mode transition should be done, 
  1422     *         EFalse otherwise
  1440     *         EFalse otherwise
  1758     /**
  1776     /**
  1759     * To be called upon Keep Alive Timer timeout
  1777     * To be called upon Keep Alive Timer timeout
  1760     *
  1778     *
  1761     * @since S60 3.2
  1779     * @since S60 3.2
  1762     */
  1780     */
  1763     void OnKeepAliveTimerTimeout();    
  1781     inline void OnKeepAliveTimerTimeout();
       
  1782     
       
  1783     /** 
       
  1784     * Are we currently in Voice over WLAN Call state
       
  1785     * 
       
  1786     * @return ETrue if we are
       
  1787     *         EFalse if we are not
       
  1788     */
       
  1789     inline TBool InVoiceCallState() const;
  1764     
  1790     
  1765     /**
  1791     /**
  1766      * Insert new RCPI value into the Signal Predictor.
  1792      * Insert new RCPI value into the Signal Predictor.
  1767      *
  1793      *
  1768      * @since S60 3.2
  1794      * @since S60 3.2
  1802         TUint32 aTimeToWarnLevel,
  1828         TUint32 aTimeToWarnLevel,
  1803         TUint32 aTimeToNextInd,
  1829         TUint32 aTimeToNextInd,
  1804         WHA::TRcpi aRcpiWarnLevel );
  1830         WHA::TRcpi aRcpiWarnLevel );
  1805 
  1831 
  1806     /**
  1832     /**
  1807      * Adds a WLAN feature supported by us to the list of those supported
  1833      * Adds the specified WLAN feature supported by us to the list of those 
       
  1834      * supported features which are indicated in BSS membership selector
       
  1835      *
       
  1836      * @param aFeature Feature to add
       
  1837      */
       
  1838     void AddBssMembershipFeature( T802Dot11BssMembershipSelector aFeature );
       
  1839     
       
  1840     /**
       
  1841      * Removes the specified WLAN feature from our list of those supported
  1808      * features which are indicated in BSS membership selector
  1842      * features which are indicated in BSS membership selector
  1809      *
  1843      *
  1810      * @param aFeature Feature to add
  1844      * @param aFeature Feature to remove
  1811      */
  1845      */
  1812     void AddBssMembershipFeature( T802Dot11BssMembershipSelector aFeature );
  1846     void RemoveBssMembershipFeature( TUint8 aItem );
  1813 
  1847     
       
  1848     /**
       
  1849      * Clears (i.e. makes empty) our list of features which are indicated 
       
  1850      * in BSS membership selector
       
  1851      */
       
  1852     inline void ClearBssMembershipFeatureList();
       
  1853     
  1814     /**
  1854     /**
  1815      * Checks if the specified item is a WLAN feature indicated in BSS 
  1855      * Checks if the specified item is a WLAN feature indicated in BSS 
  1816      * membership selector and if it is supported by us
  1856      * membership selector and if it is supported by us
  1817      *
  1857      *
  1818      * @param aItem Item to check
  1858      * @param aItem Item to check