Skip to content

Commit f7bd475

Browse files
committed
Revert "[nrf noup] Bluetooth: Mesh: Disable processing of ext ADV packets"
This reverts commit 3d00d2a. Signed-off-by: Ingar Kulbrandstad <[email protected]>
1 parent 89bad3f commit f7bd475

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

subsys/bluetooth/mesh/Kconfig

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -152,17 +152,6 @@ config BT_MESH_ADV_EXT_FRIEND_SEPARATE
152152
messages as close to the start of the ReceiveWindow as possible,
153153
thus reducing the scanning time on the Low Power node.
154154

155-
config BT_MESH_ADV_EXT_ACCEPT_EXT_ADV_PACKETS
156-
bool "Reject or accept extended advertising packets"
157-
depends on BT_LL_SOFTDEVICE
158-
help
159-
Configure the scanner and initiator to either reject or accept extended
160-
advertising packets by the SoftDevice Controller. This is set to false
161-
by default, to prevent loss of scan time when receiving a pointer packet
162-
while scanning for Bluetooth Mesh packets. Set to true if extended
163-
advertising packets are to be received by the SoftDevice Controller for
164-
purposes other than Bluetooth Mesh.
165-
166155
endif # BT_MESH_ADV_EXT
167156

168157
endchoice

subsys/bluetooth/mesh/adv_ext.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -454,18 +454,6 @@ void bt_mesh_adv_init(void)
454454
for (int i = 0; i < ARRAY_SIZE(advs); i++) {
455455
(void)memcpy(&advs[i].adv_param, &adv_param, sizeof(adv_param));
456456
}
457-
458-
#if defined(CONFIG_BT_LL_SOFTDEVICE)
459-
const sdc_hci_cmd_vs_scan_accept_ext_adv_packets_set_t cmd_params = {
460-
.accept_ext_adv_packets = IS_ENABLED(CONFIG_BT_MESH_ADV_EXT_ACCEPT_EXT_ADV_PACKETS),
461-
};
462-
463-
int err = sdc_hci_cmd_vs_scan_accept_ext_adv_packets_set(&cmd_params);
464-
465-
if (err) {
466-
LOG_ERR("Failed to set accept_ext_adv_packets: %d", err);
467-
}
468-
#endif
469457
}
470458

471459
static struct bt_mesh_ext_adv *adv_instance_find(struct bt_le_ext_adv *instance)

0 commit comments

Comments
 (0)