Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/stm32wba/BLE_TransparentMode/Core/Inc/app_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ typedef enum

#define CFG_EXTERNAL_PA_ENABLE (0)

#define CFG_BLE_AOA_AOD_ENABLE (0)
#define CFG_BLE_AOA_AOD_ENABLE (1)
#define CFG_RADIO_NUM_OF_ANTENNAS (8) /* Link Layer supported number of antennas */

/* Radio sleep clock LSE accuracy configuration */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,19 +129,19 @@
#ifndef SUPPORT_CHANNEL_SOUNDING
#define SUPPORT_CHANNEL_SOUNDING 0 /* Enable\Disable Channel Sounding Feature. Enable:1 - Disable:0 */
#endif /* SUPPORT_CHANNEL_SOUNDING */

#ifndef SUPPORT_FRAME_SPACE_UPDATE
#define SUPPORT_FRAME_SPACE_UPDATE 0 /* Enable\Disable Frame Space Update Feature. Enable:1 - Disable:0 */
#endif /* SUPPORT_FRAME_SPACE_UPDATE */

#ifndef SUPPORT_EXT_FEATURE_SET
#define SUPPORT_EXT_FEATURE_SET 0 /* Enable\Disable Extended Feature Set Exchange. Enable:1 - Disable:0 */
#endif /* SUPPORT_EXT_FEATURE_SET */

#ifndef SUPPORT_ISO_UNSEG_MODE
#define SUPPORT_ISO_UNSEG_MODE 0 /* Enable\Disable Unsegmented Mode for Framed ISO PDUs. Enable: 1 - Disable: 0*/
#endif /* SUPPORT_ISO_UNSEG_MODE */

#ifndef SUPPORT_LE_ADVERTISERS_MONITORING
#define SUPPORT_LE_ADVERTISERS_MONITORING 0 /* Enable\Disable Advertisers Monitoring Feature. Enable:1 - Disable:0 */
#endif /* SUPPORT_LE_ADVERTISERS_MONITORING */
Expand Down
3 changes: 2 additions & 1 deletion lib/stm32wba/STM32_WPAN/link_layer/ll_cmd_lib/inc/bsp.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/1.32a-lca02/firmware/public_inc/bsp.h#2 $*/
/*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/2.00a-lca01/firmware/public_inc/bsp.h#1 $*/

/**
********************************************************************************
Expand Down Expand Up @@ -280,6 +280,7 @@ typedef enum Debug_GPIO_e{
DBG_IO_ED_TMR_HNDL ,
DBG_IO_OS_TMR_EVNT_CBK ,
DBG_IO_PROFILE_MARKER_PHY_WAKEUP_TIME ,
DBG_IO_PROFILE_MARKER_BLOCKING_PHY_WAKEUP_TIME ,
DBG_IO_PROFILE_END_DRIFT_TIME ,
DBG_IO_PROC_RADIO_RCV ,
DBG_IO_EVNT_TIME_UPDT ,
Expand Down
85 changes: 79 additions & 6 deletions lib/stm32wba/STM32_WPAN/link_layer/ll_cmd_lib/inc/common_types.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/1.32a-lca02/firmware/public_inc/common_types.h#3 $*/
/*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/2.00a-lca01/firmware/public_inc/common_types.h#1 $*/
/**
********************************************************************************
* @file common_types.h
Expand Down Expand Up @@ -101,10 +101,6 @@
/****************** User configuration **********************************/
#define CS_TESTING TRUE

#ifndef SUPPORT_GNRC_SCHDLR_IF
#define SUPPORT_GNRC_SCHDLR_IF 1 /* Enable\Disable event EXTRNL_GNRC in Ble event manager. Enable:1 - Disable:0 */
#endif /* SUPPORT_GNRC_SCHDLR_IF */

/********************* Macros **********************************/

#ifndef SUCCESS
Expand Down Expand Up @@ -192,6 +188,10 @@ typedef enum {
LE_2M = 0x02,
LE_CODED_S8 = 0x03,
LE_CODED = 0x04,
/*=============== Channel Sounding ===============*/
#if (SUPPORT_CHANNEL_SOUNDING &&( SUPPORT_MASTER_CONNECTION || SUPPORT_SLAVE_CONNECTION))
LE_2M_2BT = 0x08,
#endif /*SUPPORT_CHANNEL_SOUNDING &&( SUPPORT_MASTER_CONNECTION || SUPPORT_SLAVE_CONNECTION)*/
#if (SUPPORT_LE_POWER_CONTROL)
LE_PHY_UNDEFINED = 0xFC,
NEW_PHY_CODED_S2 = 0xFD,
Expand All @@ -216,6 +216,7 @@ typedef struct time_st {
uint16_t time_stamp_fine;
uint8_t overflow_flag;
} ble_time_t, *ble_time_p;

typedef enum dpslp_state {
DEEP_SLEEP_ENABLE = 0x01,
DEEP_SLEEP_DISABLE = 0x00
Expand Down Expand Up @@ -445,7 +446,9 @@ typedef enum {
/**
* The default PHY periodic calibration period in second. this Macro can be set to any value , Zero means that phy periodic calibration is disabled
*/
#ifndef DEFAULT_PHY_CALIBRATION_PERIOD
#define DEFAULT_PHY_CALIBRATION_PERIOD 10 /* Time period for PHY calibration = 10s */
#endif /* DEFAULT_PHY_CALIBRATION_PERIOD */

#if defined(PHY_40nm_3_00_a) || defined(PHY_40nm_3_40_a)
#define SUPPORT_MAC_PHY_CONT_TESTING_CMDS 1
Expand All @@ -459,8 +462,9 @@ typedef enum {
#ifndef EXTERNAL_CUSTOM_CMDS
#define EXTERNAL_CUSTOM_CMDS 0 /* Indicates that an external custom HCI commands module exists */
#endif /* EXTERNAL_CUSTOM_CMDS */
#ifndef SUPPORT_ZIGBEE_PHY_CERTIFICATION
#define SUPPORT_ZIGBEE_PHY_CERTIFICATION 0 /* 0 disable , 1 enable .. used to enable support of hci command required to implement zigbee phy Test cases*/

#endif /* SUPPORT_ZIGBEE_PHY_CERTIFICATION */

#if (!USE_HCI_TRANSPORT) && (SUPPORT_BLE) /* SUPPORT_HCI_EVENT_ONLY cannot be supported with default HCI_transport */
/* if this marco is enabled it will enable the below features
Expand All @@ -476,7 +480,9 @@ typedef enum {
#define SUPPORT_HCI_EVENT_ONLY_TESTING 0
#endif /* SUPPORT_HCI_EVENT_ONLY_TESTING */

#ifndef SUPPORT_HW_AUDIO_SYNC_SIGNAL
#define SUPPORT_HW_AUDIO_SYNC_SIGNAL 0
#endif /* SUPPORT_HW_AUDIO_SYNC_SIGNAL */

#if SUPPORT_LE_PAWR_SYNC_ROLE
#define SUPPORT_PAWR_CUSTOM_SYNC 1
Expand All @@ -491,9 +497,13 @@ typedef enum {



#ifndef SUPPORT_TIM_UPDT
#define SUPPORT_TIM_UPDT 1
#endif /* SUPPORT_TIM_UPDT */

#ifndef SUPPORT_RX_DTP_CONTROL
#define SUPPORT_RX_DTP_CONTROL 1 /* Enable\Disable ACL Rx data throughput feature */
#endif /* SUPPORT_RX_DTP_CONTROL */

#ifndef SUPPORT_CUSTOM_ADV_SCAN_TESTING
#define SUPPORT_CUSTOM_ADV_SCAN_TESTING 0
Expand All @@ -508,4 +518,67 @@ typedef enum {
#endif /* SUPPORT_EXT_FEATURE_SET */


#ifndef SUPPORT_CONFIGURABLE_GAIN_FIX
#define SUPPORT_CONFIGURABLE_GAIN_FIX 0 /* Enable\Disable configurable gain fix support */
#endif /* SUPPORT_CONFIGURABLE_GAIN_FIX */

#if SUPPORT_CONFIGURABLE_GAIN_FIX
#define PREEMPH_GAIN_COEFF_STEP_SIZE 10 /* percentage margin of single step */
#define GAIN_FIX_WAKEUP_TIME_OVERHEAD 4 /* in sleep timer units, the added time overhead from patching all pre-emphasis coefficients */
#else
#define GAIN_FIX_WAKEUP_TIME_OVERHEAD 0
#endif /* SUPPORT_CONFIGURABLE_GAIN_FIX */

#ifndef SUPPORT_PHY_SHUTDOWN_MODE
#if defined(PHY_40nm_3_60_a_tc) || defined(PHY_40nm_3_00_a) || defined(PHY_40nm_3_40_a)
#define SUPPORT_PHY_SHUTDOWN_MODE 1 /* Enable\Disable phpy shutdown mode support */
#else
#define SUPPORT_PHY_SHUTDOWN_MODE 0
#endif /* defined(PHY_40nm_3_60_a_tc) || defined(PHY_40nm_3_00_a) || defined(PHY_40nm_3_40_a) */
#endif /* SUPPORT_PHY_SHUTDOWN_MODE */

#if SUPPORT_PHY_SHUTDOWN_MODE
#define PHY_SHUTDOWN_WAKEUP_TIME_OVERHEAD 2 /* in sleep timer units, the added time overhead from executing override seqeuences needed in phy shutdown mode */
#else
#define PHY_SHUTDOWN_WAKEUP_TIME_OVERHEAD 0
#endif /* SUPPORT_PHY_SHUTDOWN_MODE */

#ifndef SUPPORT_GNRC_SCHDLR_IF
#define SUPPORT_GNRC_SCHDLR_IF 1
#endif
#ifndef NEAR_AUX_AFTER_EXT_SLEEP_TIMER_SCHEDULING
#define NEAR_AUX_AFTER_EXT_SLEEP_TIMER_SCHEDULING 0
#endif /* NEAR_AUX_AFTER_EXT_SLEEP_TIMER_SCHEDULING */

#if (SUPPORT_CHANNEL_SOUNDING &&( SUPPORT_MASTER_CONNECTION || SUPPORT_SLAVE_CONNECTION))
/**
* @brief holds the possible values for cs roles
*/
typedef enum _cs_role_e
{
CS_ROLE_INITIATOR,
CS_ROLE_REFLECTOR
} cs_role_e;

/**
* @brief holds the possible values for cs step mode types
*/
typedef enum _cs_step_mode_type_e
{
CS_STEP_MODE_0,
CS_STEP_MODE_1,
CS_STEP_MODE_2,
CS_STEP_MODE_3,
CS_STEP_MODE_NONE = 0xFF
} cs_step_mode_type_e;

/**
* @brief cs host buffer structure
*/
typedef struct _cs_host_buffer {
uint8_t buffer[257]; /*CS_HOST_BUFFER_DATA_MAX (255) + HCI_EVENT_HEADER_LEN(2)*/
}cs_host_buffer;

#endif /*SUPPORT_CHANNEL_SOUNDING &&( SUPPORT_MASTER_CONNECTION || SUPPORT_SLAVE_CONNECTION)*/

#endif /*COMMON_TYPES_H_*/
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/1.32a-lca02/firmware/public_inc/event_manager.h#2 $*/
/*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/2.00a-lca01/firmware/public_inc/event_manager.h#1 $*/
/**
********************************************************************************
* @file event_manager.h
Expand Down Expand Up @@ -126,6 +126,9 @@ typedef enum {
HCI_RADIO_ACTIVITY_EVENT,
#endif /* END_OF_RADIO_ACTIVITY_REPORTING */
#endif /* SUPPORT_HCI_EVENT_ONLY */
#if (SUPPORT_CHANNEL_SOUNDING &&( SUPPORT_MASTER_CONNECTION || SUPPORT_SLAVE_CONNECTION))
CS_EVENT_REMOVE,
#endif /*(SUPPORT_CHANNEL_SOUNDING &&( SUPPORT_MASTER_CONNECTION || SUPPORT_SLAVE_CONNECTION))*/
#if ((SUPPORT_MAC) && (MAC_LAYER_BUILD))
MLME_TIMER_EVENT,
DIRECT_DATA_TX_EVENT,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/1.32a-lca02/firmware/public_inc/evnt_schdlr_gnrc_if.h#2 $*/
/*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/2.00a-lca01/firmware/public_inc/evnt_schdlr_gnrc_if.h#1 $*/
/**
********************************************************************************
* @file evnt_schdlr_gnrc_if.h
Expand Down
2 changes: 1 addition & 1 deletion lib/stm32wba/STM32_WPAN/link_layer/ll_cmd_lib/inc/hci.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/1.32a-lca02/firmware/public_inc/hci.h#2 $*/
/*$Id: //dwh/bluetooth/DWC_ble154combo/firmware/rel/2.00a-lca01/firmware/public_inc/hci.h#1 $*/
/**
********************************************************************************
* @file hci.h
Expand Down
Loading