Bluetooth: controller: Make per adv filtering by CTE cond compilable

The filtering of periodic advertisements by scanner may be not needed
in certain situations e.g. while use of periodic advertising by BT ISO.
To make the code smaller and avoid execution of not needed code the
functionality will be conditionally compilable. It may be enabled
or disabled by use of CONFIG_BT_CTLR_SYNC_PERIODIC_CTE_TYPE_FILTERING
Kconfig option.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
This commit is contained in:
Piotr Pryga 2021-10-07 14:59:08 +02:00 committed by Christopher Friedt
commit 39c535fef8
7 changed files with 61 additions and 21 deletions

View file

@ -1445,7 +1445,7 @@ struct bt_hci_cp_le_ext_create_conn {
#define BT_HCI_OP_LE_PER_ADV_CREATE_SYNC BT_OP(BT_OGF_LE, 0x0044)
struct bt_hci_cp_le_per_adv_create_sync {
uint8_t options;
uint8_t options;
uint8_t sid;
bt_addr_le_t addr;
uint16_t skip;