wlan_bearer/wlanldd/wlan_common/umac_common/inc/UmacDot11State.h
branchRCL_3
changeset 12 af3fb27c7511
parent 0 c40eb8fe8501
child 14 13838cf40350
equal deleted inserted replaced
11:a9473894c0f1 12:af3fb27c7511
     1 /*
     1 /*
     2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-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".
    14 * Description:   Declaration of the WlanDot11State class
    14 * Description:   Declaration of the WlanDot11State class
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 57 %
    19 * %version: 58 %
    20 */
    20 */
    21 
    21 
    22 #ifndef WLANDOT11STATE_H
    22 #ifndef WLANDOT11STATE_H
    23 #define WLANDOT11STATE_H
    23 #define WLANDOT11STATE_H
    24 
    24 
   854     virtual TBool AddUnicastWapiKey( 
   854     virtual TBool AddUnicastWapiKey( 
   855         WlanContextImpl& aCtxImpl,
   855         WlanContextImpl& aCtxImpl,
   856         const TUint8* aData, 
   856         const TUint8* aData, 
   857         TUint32 aLength,
   857         TUint32 aLength,
   858         T802Dot11WepKeyId aKeyIndex,
   858         T802Dot11WepKeyId aKeyIndex,
       
   859         const TMacAddress& aMacAddr );
       
   860 
       
   861     /**
       
   862     * Adds a multicast MAC address and starts to filter (Rx) multicast 
       
   863     * traffic sent to any other MAC addresses than those that have been 
       
   864     * specified using this method
       
   865     * @param aCtxImpl statemachine context
       
   866     * @param aMacAddr The address to be added
       
   867     * @return ETrue if a state change occurred in the state machine 
       
   868     *         EFalse otherwise
       
   869     */
       
   870     virtual TBool AddMulticastAddr(
       
   871         WlanContextImpl& aCtxImpl,
       
   872         const TMacAddress& aMacAddr );
       
   873         
       
   874     /**
       
   875     * Removes a multicast MAC address from multicast (Rx) filtering
       
   876     * configuration. So any packet that we receive and which has been sent
       
   877     * to the multicast address in question is not accepted any more (i.e. 
       
   878     * it is filtered).
       
   879     * However, if there are no addresses left in the multicast (Rx) filtering
       
   880     * configuration after this remove, the multicast filtering is disabled
       
   881     * and all (otherwise acceptable) multicast packets are accepted again.
       
   882     * @param aCtxImpl statemachine context
       
   883     * @param aMacAddr The address to be removed
       
   884     * @return ETrue if a state change occurred in the state machine 
       
   885     *         EFalse otherwise
       
   886     */
       
   887     virtual TBool RemoveMulticastAddr(
       
   888         WlanContextImpl& aCtxImpl,
       
   889         TBool aRemoveAll,
   859         const TMacAddress& aMacAddr );
   890         const TMacAddress& aMacAddr );
   860 
   891 
   861     /**
   892     /**
   862     * Set transmission power level. 
   893     * Set transmission power level. 
   863     * This has to be legal at the current region.
   894     * This has to be legal at the current region.
  1120     virtual TBool ConfigureProprietarySnapHdr(
  1151     virtual TBool ConfigureProprietarySnapHdr(
  1121         WlanContextImpl& aCtxImpl, 
  1152         WlanContextImpl& aCtxImpl, 
  1122         const TSnapHeader& aSnapHeader );        
  1153         const TSnapHeader& aSnapHeader );        
  1123 
  1154 
  1124     /**
  1155     /**
       
  1156     * Sets the WHA::KMibDot11GroupAddressesTable MIB
       
  1157     * 
       
  1158     * @param aCtxImpl statemachine context
       
  1159     * @return ETrue if a state change occurred in the state machine 
       
  1160     *         EFalse otherwise
       
  1161     */
       
  1162     TBool SetGroupAddressesTableMib(
       
  1163         WlanContextImpl& aCtxImpl );
       
  1164 
       
  1165     /**
  1125      * Sets the beacon lost count value
  1166      * Sets the beacon lost count value
  1126      *
  1167      *
  1127      * @since S60 v3.1
  1168      * @since S60 v3.1
  1128      * @param aCtxImpl statemachine context
  1169      * @param aCtxImpl statemachine context
  1129      * @param aBeaconLostCount beacon lost count
  1170      * @param aBeaconLostCount beacon lost count