Skip to content

Commit

Permalink
Bluetooth: Tester: Adjust bap ext adv options
Browse files Browse the repository at this point in the history
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.

(cherry picked from commit e414acf)

Original-signed-off-by: Frode van der Meeren <frode.vandermeeren@nordicsemi.no>
GitOrigin-RevId: e414acf
Change-Id: I6b17e4f3be53841f8620e2973a6ca6ada186b7d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5602052
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
  • Loading branch information
Frodevan authored and Chromeos LUCI committed Jun 6, 2024
1 parent ba300a6 commit 227f900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/bluetooth/tester/src/btp_bap_broadcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion tests/bluetooth/tester/src/btp_cap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 227f900

Please sign in to comment.