wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/inc/core_types.h
changeset 13 ab7247ff6ef9
parent 0 c40eb8fe8501
child 14 00032b836e76
equal deleted inserted replaced
0:c40eb8fe8501 13:ab7247ff6ef9
     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: 95 %
    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
   543      * 
   558      * 
   544      * See the description of core_notification_rcpi_roam_attempt_started
   559      * See the description of core_notification_rcpi_roam_attempt_started
   545      * for further information on this indication. 
   560      * for further information on this indication. 
   546      */
   561      */
   547     core_notification_rcpi_roam_attempt_completed,
   562     core_notification_rcpi_roam_attempt_completed,
   548     /**
       
   549      * Indicates that the Broken Power Save test has failed.
       
   550      * 
       
   551      * If the Broken Power Save test fails, the engine will not allow the any power
       
   552      * save functionality to be used with this BSSID, decreasing battery life.
       
   553      */
       
   554     core_notification_broken_power_save_test_failed,
       
   555     /**
   563     /**
   556      * Indicates the traffic mode of an access class has changed.
   564      * Indicates the traffic mode of an access class has changed.
   557      *
   565      *
   558      * The first byte of payload data contains the access class
   566      * The first byte of payload data contains the access class
   559      * (core_access_class_e). The second byte contains the traffic mode
   567      * (core_access_class_e). The second byte contains the traffic mode