From 36fbc3ffc636fae0291b5d83ae6c59b8a814958d Mon Sep 17 00:00:00 2001 From: Frode van der Meeren Date: Wed, 3 Jul 2024 13:35:26 +0200 Subject: [PATCH] [nrf fromlist] bluetooth: tester: Adjust Broadcaster ext adv pars This change removes the BT_LE_PER_ADV_OPT_USE_TX_POWER option for extended advertisement in BLE Audio PTS tests. The Broadcaster setup options was hardcoded to include the BT_LE_PER_ADV_OPT_USE_TX_POWER option. This causes incompabilities for any controller not support it, and since the option is not required for the audio tests it should not be used here. Upstream PR: https://github.com/zephyrproject-rtos/zephyr/pull/73361 signed-off-by: Frode van der Meeren --- tests/bluetooth/tester/src/btp_bap_broadcast.c | 2 +- tests/bluetooth/tester/src/btp_cap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bluetooth/tester/src/btp_bap_broadcast.c b/tests/bluetooth/tester/src/btp_bap_broadcast.c index 75b2ed716e8..f213475d055 100644 --- a/tests/bluetooth/tester/src/btp_bap_broadcast.c +++ b/tests/bluetooth/tester/src/btp_bap_broadcast.c @@ -360,7 +360,7 @@ uint8_t btp_bap_broadcast_source_setup(const void *cmd, uint16_t cmd_len, err = tester_gap_padv_configure(BT_LE_PER_ADV_PARAM(BT_GAP_PER_ADV_FAST_INT_MIN_2, BT_GAP_PER_ADV_FAST_INT_MAX_2, - BT_LE_PER_ADV_OPT_USE_TX_POWER)); + BT_LE_PER_ADV_OPT_NONE)); if (err != 0) { LOG_DBG("Failed to configure periodic advertising: %d", err); diff --git a/tests/bluetooth/tester/src/btp_cap.c b/tests/bluetooth/tester/src/btp_cap.c index 58d34bd0651..7a46a19dc88 100644 --- a/tests/bluetooth/tester/src/btp_cap.c +++ b/tests/bluetooth/tester/src/btp_cap.c @@ -569,7 +569,7 @@ static int cap_broadcast_source_adv_setup(struct btp_bap_broadcast_local_source err = tester_gap_padv_configure(BT_LE_PER_ADV_PARAM(BT_GAP_PER_ADV_FAST_INT_MIN_2, BT_GAP_PER_ADV_FAST_INT_MAX_2, - BT_LE_PER_ADV_OPT_USE_TX_POWER)); + BT_LE_PER_ADV_OPT_NONE)); if (err != 0) { LOG_DBG("Failed to configure periodic advertising: %d", err);