From e414acfabcc6d948d83136f32971b49b8349f9e6 Mon Sep 17 00:00:00 2001 From: Frode van der Meeren Date: Mon, 27 May 2024 16:51:50 +0200 Subject: [PATCH] Bluetooth: Tester: Adjust bap ext adv options 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. 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);