wlan_bearer/wlanldd/wlan_common/umac_common/inc/umacprivacymodefilters.inl
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2002-2008 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 WlanPrivacyModeFilters inline methods.
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 7 %
       
    20 */
       
    21 
       
    22 // ---------------------------------------------------------------------------
       
    23 // 
       
    24 // ---------------------------------------------------------------------------
       
    25 //
       
    26 inline WlanPrivacyModeFilters::WlanPrivacyModeFilters() 
       
    27     : iActiveFilter( NULL ) 
       
    28     {
       
    29     }
       
    30 
       
    31 // ---------------------------------------------------------------------------
       
    32 // 
       
    33 // ---------------------------------------------------------------------------
       
    34 //
       
    35 inline WlanPrivacyModeFilters::~WlanPrivacyModeFilters() 
       
    36     {
       
    37     iActiveFilter = NULL;
       
    38     }
       
    39 
       
    40 // ---------------------------------------------------------------------------
       
    41 // 
       
    42 // ---------------------------------------------------------------------------
       
    43 //
       
    44 inline TBool WlanPrivacyModeFilters::ExecuteFilter( 
       
    45     const SDataFrameHeader& aFrameheader, 
       
    46     TBool aUserDataEnabled, 
       
    47     TUint16 aEthernetType,
       
    48     TBool aUnicastKeyExists, 
       
    49     TBool aAesOrTkipOrWapiEncrypted ) const    
       
    50     {
       
    51     return (*iActiveFilter)( 
       
    52         aFrameheader, 
       
    53         aUserDataEnabled, 
       
    54         aEthernetType, 
       
    55         aUnicastKeyExists, 
       
    56         aAesOrTkipOrWapiEncrypted ); 
       
    57     }