wlan_bearer/wlanldd/wlan_common/umac_common/inc/umacusertxdatacntx.inl
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   Implementation of TWlanUserTxDataCntx inline 
       
    15 *                methods.
       
    16 *
       
    17 */
       
    18 
       
    19 /*
       
    20 * %version: 8 %
       
    21 */
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // 
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 inline TUint8* TWlanUserTxDataCntx::StartOfFrame()
       
    28     {
       
    29     return iStartOfFrame;
       
    30     }
       
    31 
       
    32 // -----------------------------------------------------------------------------
       
    33 // 
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 inline void TWlanUserTxDataCntx::LengthOfFrame( TUint aFrameLength )
       
    37     {
       
    38     iLengthOfData = aFrameLength;
       
    39     }
       
    40 
       
    41 // -----------------------------------------------------------------------------
       
    42 // 
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 inline TUint TWlanUserTxDataCntx::LengthOfFrame() const
       
    46     {
       
    47     return iLengthOfData;
       
    48     }
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 // 
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 inline void TWlanUserTxDataCntx::Dot11FrameReady( 
       
    55     TUint8* aStartOfFrame, 
       
    56     TUint aLengthOfFrame )
       
    57     {
       
    58     iStartOfFrame = aStartOfFrame;
       
    59     iLengthOfData = aLengthOfFrame;
       
    60     }