1 /*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/1.21a-SOW07PatchV4/firmware/shrd_utils/inc/ll_fw_config.h#1 $*/ 2 /** 3 ******************************************************************************** 4 * @file ll_fw_config.h 5 * @brief This file contains the major configurations to the BLE controller. 6 ****************************************************************************** 7 * @copy 8 * 9 *COPYRIGHT 2022 SYNOPSYS, Inc. This Synopsys "product" and all associated documentation 10 *are proprietary to Synopsys, Inc. and may only be used pursuant to the terms and 11 *conditions of a written license agreement with Synopsys, Inc. All other use, 12 *reproduction, modification, or distribution of the Synopsys "product" or the associated 13 *documentation is strictly prohibited. 14 * 15 * 16 * THE ENTIRE NOTICE ABOVE MUST BE REPRODUCED ON ALL AUTHORIZED COPIES. 17 * 18 * <h2><center>© (C) COPYRIGHT 2022 SYNOPSYS, INC.</center></h2> 19 * <h2><center>© ALL RIGHTS RESERVED</center></h2> 20 * 21 * \n\n<b>References</b>\n 22 * -Documents folder . 23 * 24 * <b>Edit History For File</b>\n 25 * This section contains comments describing changes made to this file.\n 26 * Notice that changes are listed in reverse chronological order.\n 27 * <table border> 28 * <tr> 29 * <td><b> when </b></td> 30 * <td><b> who </b></td> 31 * <td><b> what, where, why </b></td> 32 * </tr> 33 * <tr> 34 * </tr> 35 * </table>\n 36 */ 37 #ifndef INCLUDE_LL_FW_CONFIG_H 38 #define INCLUDE_LL_FW_CONFIG_H 39 40 41 /*************************** BLE Configuration *************************************/ 42 /*Configurations of BLE will apply only when BLE is enabled*/ 43 /* Roles configurations */ 44 #define SUPPORT_EXPLCT_OBSERVER_ROLE 1 /* Enable\Disable Explicit observer role. Enable:1 - Disable:0 */ 45 #define SUPPORT_EXPLCT_BROADCASTER_ROLE 1 /* Enable\Disable Explicit broadcaster role. Enable:1 - Disable:0 */ 46 #define SUPPORT_MASTER_CONNECTION 1 /* Enable\Disable Master connection role. Enable:1 - Disable:0 */ 47 #define SUPPORT_SLAVE_CONNECTION 1 /* Enable\Disable Slave connection role. Enable:1 - Disable:0 */ 48 49 /* Standard features configurations */ 50 #define SUPPORT_LE_ENCRYPTION 1 /* Enable\Disable Encryption feature. Enable:1 - Disable:0 */ 51 #define SUPPORT_PRIVACY 1 /* Enable\Disable Privacy feature. Enable:1 - Disable:0 */ 52 53 /* Capabilities configurations */ 54 #define MAX_NUM_CNCRT_STAT_MCHNS 8 /* Set maximum number of states the controller can support */ 55 #define USE_NON_ACCURATE_32K_SLEEP_CLK 1 /* Allow to drive the sleep clock by sources other than the default crystal oscillator source.*/ 56 /*LL can use crystal oscillator or RTC or RCO to drive the sleep clock.This selection is done via "DEFAULT_SLEEP_CLOCK_SOURCE" macro. */ 57 #define SUPPORT_LE_EXTENDED_ADVERTISING 1 /* Enable\Disable Extended advertising feature. Enable:1 - Disable:0 */ 58 #define SUPPORT_LE_PERIODIC_ADVERTISING 1 /* Enable\Disable Periodic advertising feature. Enable:1 - Disable:0 */ 59 #define SUPPORT_LE_POWER_CLASS_1 1 /* Enable\Disable Low power class 1 feature. Enable:1 - Disable:0 */ 60 #define SUPPORT_AOA_AOD 1 /* Enable\Disable AOA_AOD feature. Enable:1 - Disable:0 */ 61 #define SUPPORT_PERIODIC_SYNC_TRANSFER 1 /* Enable\Disable PAST feature. Enable:1 - Disable:0 */ 62 #define SUPPORT_SLEEP_CLOCK_ACCURCY_UPDATES 1 /* Enable\Disable Sleep Clock Accuracy Updates Feature. Enable:1 - Disable:0 */ 63 #define SUPPORT_CONNECTED_ISOCHRONOUS 1 /* Enable\Disable Connected Isochronous Channel Feature. Enable:1 - Disable:0 */ 64 #define SUPPORT_BRD_ISOCHRONOUS 1 /* Enable\Disable Broadcast Isochronous Channel Feature. Enable:1 - Disable:0 */ 65 #define SUPPORT_SYNC_ISOCHRONOUS 1 /* Enable\Disable Broadcast Isochronous Synchronizer Channel Feature. Enable:1 - Disable:0 */ 66 #define SUPPORT_LE_POWER_CONTROL 1 /* Enable\Disable LE Power Control Feature. Enable:1 - Disable:0 */ 67 68 /* 5.3 features */ 69 #define SUPPORT_PERIODIC_ADV_ADI 1 70 #define SUPPORT_CHANNEL_CLASSIFICATION 1 71 #define SUPPORT_LE_ENHANCED_CONN_UPDATE 1 72 73 /* Capabilities configurations */ 74 #define MAX_NUM_CNCRT_STAT_MCHNS 8 /* Set maximum number of states the controller can support */ 75 #define USE_NON_ACCURATE_32K_SLEEP_CLK 1 /* Allow to drive the sleep clock by sources other than the default crystal oscillator source.*/ 76 /*LL can use crystal oscillator or RTC or RCO to drive the sleep clock.This selection is done via "DEFAULT_SLEEP_CLOCK_SOURCE" macro. */ 77 78 /* Non-standard features configurations */ 79 #define NUM_OF_CTSM_EMNGR_HNDLS 1 /* Number of custom handles in event manager to be used for app specific needs */ 80 #define SUPPORT_AUGMENTED_BLE_MODE 1 /* Enable\Disable Augmented BLE Support. Enable:1 - Disable:0 */ 81 #define SUPPORT_PTA 1 /* Enable\Disable PTA Feature. Enable:1 - Disable:0 */ 82 83 #define SUPPORT_AUTONOMOUS_POWER_CONTROL_REQ (1) 84 #define LL_BASIC 0 85 86 /*************************** MAC Configuration *************************************/ 87 /*Configurations of MAC will apply only when MAC is enabled*/ 88 #define FFD_DEVICE_CONFIG 0 /* Enable\Disable FFD:1 - RFD:0 */ 89 #ifdef SUPPORT_AUG_MAC_HCI_UART 90 #define RAL_NUMBER_OF_INSTANCE 0 /* The Number of RAL instances supported */ 91 #else 92 #define RAL_NUMBER_OF_INSTANCE 0 /* The Number of RAL instances supported */ 93 #endif 94 #define MAX_NUMBER_OF_INDIRECT_DATA 0 /* The maximum number of supported indirect data buffers */ 95 #define SUPPORT_OPENTHREAD_1_2 0 /* Enable / disable FW parts related to new features introduced in openthread 1.2*/ 96 #define SUPPORT_SEC 0 /* The MAC Security Supported : 1 - Not Supported:0 */ 97 #define RADIO_CSMA 0 /* Enable\Disable CSMA Algorithm in Radio Layer, Must be Enabled if MAC_LAYER_BUILD */ 98 #define SUPPORT_A_MAC 0 99 #define SMPL_PRTCL_TEST_ENABLE 0 100 101 #endif /* INCLUDE_LL_FW_CONFIG_H */ 102