wlan_bearer/wlanldd/wlan_common/umac_common/inc/UmacPrivacyModeFilterMixedMode1x.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:41:05 +0100
branchRCL_3
changeset 18 d3d7683d16f5
parent 0 c40eb8fe8501
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201029 Kit: 201035

/*
* Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:   Declaration of the WlanPrivacyModeFilterMixedMode1x class
*
*/

/*
* %version: 9 %
*/

#ifndef WLANPRIVACYMODEFILTERMIXEDMODE1X_H
#define WLANPRIVACYMODEFILTERMIXEDMODE1X_H

#include "UmacPrivacyModeFilter.h"

/**
* Class Implements mixed mode 802.1x rx filter
*/
class WlanPrivacyModeFilterMixedMode1x : public MWlanPrivacyModeFilter
    {
public:

    /**
    * C++ default constructor.
    */
    WlanPrivacyModeFilterMixedMode1x() {};

    /** Dtor */
    virtual ~WlanPrivacyModeFilterMixedMode1x() {};

    /**
    * Filtering function for Rx-data frames
    * @param aFrameheader Header of the received frame
    * @param aUserDataEnabled is protocol stack side datapath 
    *        enabled or not
    * @param aEthernetType Ethernet Type of the received frame
    * @param aUnicastKeyExists AP <-> client unicast key 
    *        is configured or not
    * @param aAesOrTkipOrWapiEncrypted ETrue if the frame is encrypted with AES,
    *        TKIP or WAPI, EFalse otherwise
    * @return ETrue if frame can be accepted, EFalse otherwise
    */
    virtual TBool operator()( 
        const SDataFrameHeader& aFrameheader, 
        TBool aUserDataEnabled, 
        TUint16 aEthernetType,
        TBool aUnicastKeyExists, 
        TBool aAesOrTkipOrWapiEncrypted ) const;
    
private:

    // Prohibit copy constructor
    WlanPrivacyModeFilterMixedMode1x( 
        const WlanPrivacyModeFilterMixedMode1x& );
    // Prohibit assigment operator
    WlanPrivacyModeFilterMixedMode1x& operator= ( 
        const WlanPrivacyModeFilterMixedMode1x& );
    };

#endif  // WLANPRIVACYMODEFILTERMIXEDMODE1X_H