Skip to content

Commit

Permalink
[nrf fromlist] bluetooth: tester: Adjust Broadcaster ext adv pars
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.

Upstream PR: zephyrproject-rtos/zephyr#73361

signed-off-by: Frode van der Meeren <frode.vandermeeren@nordicsemi.no>
  • Loading branch information
Frodevan authored and anangl committed Jul 9, 2024
1 parent ded7e9f commit 36fbc3f
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 36fbc3f

Please sign in to comment.