zephyr/tests
Thomas Ebert Hansen 154d67d90b Bluetooth: controller: llcp: Fix data pause/resume
llcp_tx_pause_data() calls ull_tx_q_pause_data() for each pause_mask,
while llcp_tx_resume_data() only calls ull_tx_q_resume_data() when
conn->llcp.tx_q_pause_data_mask == 0 leading to an unbalanced number of
calls to ull_tx_q_pause_data()/ull_tx_q_resume_data() which can leave
the data path of the TX Q paused.

Fix such that only the first call to llcp_tx_pause_data() will pause the
data path of the TX Q.

Add unit test to verify correct pause/resume behavior.

Signed-off-by: Thomas Ebert Hansen <thoh@oticon.com>
2022-07-07 10:00:44 +02:00
..
application_development/gen_inc_file kconfig: Rename the ZTEST stack size option to align with the rest 2022-02-22 08:23:05 -05:00
arch tests: arch: arm: move test arm_hardfault_validation to new ztest API 2022-07-06 16:53:01 -05:00
benchmarks tests: benchmarks: sys_kernel: Migrate to K_THREAD_STACK_DECLARE 2022-06-20 10:25:52 +02:00
bluetooth Bluetooth: controller: llcp: Fix data pause/resume 2022-07-07 10:00:44 +02:00
boards tests: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
boot/uefi tests: migrate includes to <zephyr/...> 2022-05-06 20:02:14 +02:00
cmake/config_dir
crypto test: tests/crypto/tinycrypt timeout 2022-06-29 20:59:31 -04:00
drivers tests: drivers: sensor: accel: Convert to use DEVICE_DT_GET 2022-07-07 09:59:12 +02:00
kernel gen_isr_table: Exclude m2gl025_miv from test 2022-07-07 10:00:20 +02:00
lib tests: lib: cmsis_nn: move to new ztest API 2022-07-06 20:02:19 -04:00
misc cmake: Update cmake_minimum_required to 3.20.0 2022-07-04 10:18:45 +02:00
net tests: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
posix tests: posix: increase coverage for picolibc 2022-07-05 12:53:49 -04:00
subsys tests: subsys: cpp: move libcxx to new ztest API 2022-07-07 02:09:52 -04:00
unit testing: add zephyr/ prefix to testing include path 2022-06-29 06:04:32 -04:00
ztest ztest: Add zassume* API 2022-07-04 14:16:34 -04:00