wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/inc/core_types.h
branchRCL_3
changeset 3 6524e815f76f
parent 0 c40eb8fe8501
child 5 51a71243e562
equal deleted inserted replaced
0:c40eb8fe8501 3:6524e815f76f
     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:  Type definitions and constants for core engine
    14 * Description:  Type definitions and constants for core engine
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 93 %
    19 * %version: 93.1.1 %
    20 */
    20 */
    21 
    21 
    22 #ifndef CORE_TYPES_H
    22 #ifndef CORE_TYPES_H
    23 #define CORE_TYPES_H
    23 #define CORE_TYPES_H
    24 
    24 
   412     /** The length of KeyMaterial in bytes. Range: 0-29. */
   412     /** The length of KeyMaterial in bytes. Range: 0-29. */
   413     u32_t key_length;
   413     u32_t key_length;
   414     /** Array that stores the WEP key. */
   414     /** Array that stores the WEP key. */
   415     u8_t key_data[MAX_WEP_KEY_LENGTH];
   415     u8_t key_data[MAX_WEP_KEY_LENGTH];
   416     } core_wep_key_s;
   416     } core_wep_key_s;
       
   417 
       
   418 /**
       
   419  * Data structure for storing a cipher key.
       
   420  */
       
   421 typedef struct _core_cipher_key_s
       
   422     {
       
   423     /** The length of KeyMaterial in bytes. Range: 0-29. */
       
   424     u32_t key_length;
       
   425     /** Specifies which key to add or remove. Range: 0-3. */
       
   426     u8_t key_index;
       
   427     /** Array that stores the WEP key. */
       
   428     u8_t key_data[MAX_CIPHER_KEY_LENGTH];
       
   429     } core_cipher_key_s;    
       
   430 
       
   431 const core_cipher_key_s CIPHER_KEY_NOT_DEFINED = { 0,0 };
   417 
   432 
   418 /**
   433 /**
   419  * Data structure for storing an ARP filters.
   434  * Data structure for storing an ARP filters.
   420  */
   435  */
   421 typedef struct _core_arp_filter_s
   436 typedef struct _core_arp_filter_s