wlan_bearer/wlanldd/wlan_common/umac_common/inc/UmacPrivacyModeFilterMixedModeWep.h
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:   Declaration of the WlanPrivacyModeFilterMixedModeWep class
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 9 %
       
    20 */
       
    21 
       
    22 #ifndef WLANPRIVACYMODEFILTERMIXEDMODEWEP_H
       
    23 #define WLANPRIVACYMODEFILTERMIXEDMODEWEP_H
       
    24 
       
    25 #include "UmacPrivacyModeFilter.h"
       
    26 
       
    27 /**
       
    28 * Class Implements mixed mode WEP rx filter
       
    29 */
       
    30 class WlanPrivacyModeFilterMixedModeWep : public MWlanPrivacyModeFilter
       
    31     {
       
    32 public:
       
    33 
       
    34     /**
       
    35     * C++ default constructor.
       
    36     */
       
    37     WlanPrivacyModeFilterMixedModeWep() {};
       
    38 
       
    39     /** Dtor */
       
    40     virtual ~WlanPrivacyModeFilterMixedModeWep() {};
       
    41 
       
    42     /**
       
    43     * Filtering function for Rx-data frames
       
    44     * @param aFrameheader Header of the received frame
       
    45     * @param aUserDataEnabled is protocol stack side datapath 
       
    46     *        enabled or not
       
    47     * @param aEthernetType Ethernet Type of the received frame
       
    48     * @param aUnicastKeyExists AP <-> client unicast key 
       
    49     *        is configured or not
       
    50     * @param aAesOrTkipOrWapiEncrypted ETrue if the frame is encrypted with AES,
       
    51     *        TKIP or WAPI, EFalse otherwise
       
    52     * @return ETrue if frame can be accepted, EFalse otherwise
       
    53     */
       
    54     virtual TBool operator()( 
       
    55         const SDataFrameHeader& aFrameheader, 
       
    56         TBool aUserDataEnabled, 
       
    57         TUint16 aEthernetType,
       
    58         TBool aUnicastKeyExists, 
       
    59         TBool aAesOrTkipOrWapiEncrypted ) const;
       
    60     
       
    61 private:
       
    62 
       
    63     // Prohibit copy constructor
       
    64     WlanPrivacyModeFilterMixedModeWep( 
       
    65         const WlanPrivacyModeFilterMixedModeWep& );
       
    66     // Prohibit assigment operator
       
    67     WlanPrivacyModeFilterMixedModeWep& operator= ( 
       
    68         const WlanPrivacyModeFilterMixedModeWep& );
       
    69     };
       
    70 
       
    71 #endif  // WLANPRIVACYMODEFILTERMIXEDMODEWEP_H