wlan_bearer/wlanldd/wlan_common/umac_common/inc/umacnullsendcontroller.inl
branchRCL_3
changeset 14 13838cf40350
parent 0 c40eb8fe8501
equal deleted inserted replaced
12:af3fb27c7511 14:13838cf40350
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-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".
    15 *                methods.
    15 *                methods.
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 /*
    19 /*
    20 * %version: 10 %
    20 * %version: 11 %
    21 */
    21 */
    22 
    22 
    23 // Default Voice Call Entry timeout
    23 // Default Voice Call Entry timeout
    24 // This value is used if no other value has been provided
    24 // This value is used if no other value has been provided
    25 const TUint32 KDefaultVoiceCallEntryTimeout = 300000; // 300 ms
    25 const TUint32 KDefaultVoiceCallEntryTimeout = 300000; // 300 ms
    36 // This value is used if no other value has been provided
    36 // This value is used if no other value has been provided
    37 const TUint32 KDefaultNoVoiceTimeout = 1000000; // 1 s
    37 const TUint32 KDefaultNoVoiceTimeout = 1000000; // 1 s
    38 
    38 
    39 // Default Keep Alive timeout
    39 // Default Keep Alive timeout
    40 // This value is used if no other value has been provided
    40 // This value is used if no other value has been provided
    41 const TUint32 KDefaultKeepAliveTimeout = 200000000; // 200 s
    41 const TUint32 KDefaultKeepAliveTimeout = 60000000; // 60 s
    42 
    42 
    43 // Default value for frame payload length threashold of a potential 
    43 // Default value for frame payload length threashold of a potential 
    44 // carrier of downlink Voice over WLAN Call data, which is erroneously 
    44 // carrier of downlink Voice over WLAN Call data, which is erroneously 
    45 // tagged as Best Effort
    45 // tagged as Best Effort
    46 const TUint KDefaultBestEffortVoiceRxLengthThreshold = 400; // bytes
    46 const TUint KDefaultBestEffortVoiceRxLengthThreshold = 400; // bytes
   219         // to send any Keep Alive frames during a Voice Call, i.e. when the 
   219         // to send any Keep Alive frames during a Voice Call, i.e. when the 
   220         // NullTimer is running, because there's frequent frame Tx activity
   220         // NullTimer is running, because there's frequent frame Tx activity
   221         // during a Voice Call
   221         // during a Voice Call
   222         }
   222         }
   223     }
   223     }
       
   224 
       
   225 // ---------------------------------------------------------------------------
       
   226 // 
       
   227 // ---------------------------------------------------------------------------
       
   228 //
       
   229 inline TBool WlanNullSendController::InVoiceCallState() const
       
   230     {
       
   231     return static_cast<TBool>(iFlags & KInVoiceCallState);
       
   232     }