Skip to content

Commit 6956674

Browse files
Thalleynashif
authored andcommitted
tests: Bluetooth: BAP: Add -RealEncryption=1 to enc broadcast test
The shell script did not provide -RealEncryption=1 which then never really did proper encryption, which is the point of the test. Signed-off-by: Emil Gydesen <[email protected]>
1 parent 3735ae9 commit 6956674

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/bsim/bluetooth/audio/test_scripts/bap_broadcast_audio_encrypted.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ printf "\n\n======== Broadcaster encrypted test =========\n\n"
1616
SIMULATION_ID="broadcaster_encrypted"
1717

1818
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_prj_conf \
19-
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source_encrypted -rs=23 -D=2
19+
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=0 -testid=broadcast_source_encrypted \
20+
-RealEncryption=1 -rs=23 -D=2
2021

2122

2223
Execute ./bs_${BOARD_TS}_tests_bsim_bluetooth_audio_prj_conf \
23-
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=broadcast_sink_encrypted -rs=27 -D=2
24+
-v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} -d=1 -testid=broadcast_sink_encrypted \
25+
-RealEncryption=1 -rs=27 -D=2
2426

2527
# Simulation time should be larger than the WAIT_TIME in common.h
2628
Execute ./bs_2G4_phy_v1 -v=${VERBOSITY_LEVEL} -s=${SIMULATION_ID} \

0 commit comments

Comments
 (0)