wlan_bearer/wlanldd/wlan_common/umac_common/src/UmacDot11Associated.cpp
changeset 13 ab7247ff6ef9
parent 0 c40eb8fe8501
child 21 af3fb27c7511
child 22 c6a1762761b8
child 25 a0fdcd0e4c56
equal deleted inserted replaced
0:c40eb8fe8501 13:ab7247ff6ef9
     1 /*
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-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:   Implementation of the WlanDot11Associated class
    14 * Description:   Implementation of the WlanDot11Associated class
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 95 %
    19 * %version: 96 %
    20 */
    20 */
    21 
    21 
    22 #include "config.h"
    22 #include "config.h"
    23 #include "UmacDot11Associated.h"
    23 #include "UmacDot11Associated.h"
    24 #include "UmacContextImpl.h"
    24 #include "UmacContextImpl.h"
   916             }
   916             }
   917         
   917         
   918         // inform Null Send Controller about data frame Rx
   918         // inform Null Send Controller about data frame Rx
   919         aCtxImpl.OnDataRxCompleted( 
   919         aCtxImpl.OnDataRxCompleted( 
   920             ( KEtherType == KEapolType || KEtherType == KWaiType ) ?
   920             ( KEtherType == KEapolType || KEtherType == KWaiType ) ?
   921             // as EAPOL and WAI frames or not really Voice data (they
   921             // as EAPOL and WAI frames are not really Voice data (they
   922             // are just sometimes sent with Voice priority), handle them 
   922             // are just sometimes sent with Voice priority), handle them 
   923             // here as Best Effort (Legacy)
   923             // here as Best Effort (Legacy)
   924             WHA::ELegacy : 
   924             WHA::ELegacy : 
   925             accessCategory, 
   925             accessCategory, 
   926             KEtherPayloadLen );
   926             KEtherPayloadLen );
  2075             {
  2075             {
  2076             // inform Null Data frame sending controller of successful
  2076             // inform Null Data frame sending controller of successful
  2077             // data frame Tx completion
  2077             // data frame Tx completion
  2078             aCtxImpl.OnDataTxCompleted( 
  2078             aCtxImpl.OnDataTxCompleted( 
  2079                 aPacketId == E802Dot11FrameTypeDataEapol ?
  2079                 aPacketId == E802Dot11FrameTypeDataEapol ?
  2080                 // as EAPOL and WAI frames or not really Voice data (we just
  2080                 // as EAPOL and WAI frames are not really Voice data (we just
  2081                 // send them with Voice priority in WMM nw), handle them
  2081                 // send them with Voice priority in WMM nw), handle them
  2082                 // here as Best Effort (Legacy)
  2082                 // here as Best Effort (Legacy)
  2083                 WHA::ELegacy : 
  2083                 WHA::ELegacy : 
  2084                 aQueueId );
  2084                 aQueueId );
  2085             }
  2085             }