zephyr/tests/bluetooth/controller
Erik Brockhoff 6dbc446342 Bluetooth: controller: use RX node piggy-back for NTF when possible
When possible re-use the already allocated RX node for notifications.
Store (retain) RX node and Link element on RX if NTF could occur.
Pass link element to LLCP (ull_cp_rx()) together with RX node.
New RX node type RETAIN introduced to signal retention

When no RX node is available allocate one and hold off TX on procedures
until such time that a node is available for NTF.

In case waiting for NTF buffer avail is needed, allocate and store TX
node to use for TX once NTF becomes available.

CIS Established (incl. timeout handling) is now handled entirely as a
specific event driven by ull_conn_iso - ie removal of procedure check
of cis->established and cis->expire, as this is doubling mechanism
in the conn_iso context.

Unit test and helpers updated to handle new node type.
Function ull_cp_release_ntf() was used only in unit test, so moved to
helper context.
Updating release_ntf to handle the fact that with piggy-backing in test
context the node used for NTF can be from two different memory pools

Signed-off-by: Erik Brockhoff <erbr@oticon.com>
2023-03-06 09:35:10 +01:00
..
common Bluetooth: controller: use RX node piggy-back for NTF when possible 2023-03-06 09:35:10 +01:00
ctrl_api samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
ctrl_chmu samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
ctrl_cis_create Bluetooth: controller: use RX node piggy-back for NTF when possible 2023-03-06 09:35:10 +01:00
ctrl_cis_terminate samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
ctrl_collision Bluetooth: controller: use RX node piggy-back for NTF when possible 2023-03-06 09:35:10 +01:00
ctrl_conn_update Bluetooth: controller: use RX node piggy-back for NTF when possible 2023-03-06 09:35:10 +01:00
ctrl_cte_req Bluetooth: controller: use RX node piggy-back for NTF when possible 2023-03-06 09:35:10 +01:00
ctrl_data_length_update Bluetooth: controller: use RX node piggy-back for NTF when possible 2023-03-06 09:35:10 +01:00
ctrl_encrypt Bluetooth: controller: use RX node piggy-back for NTF when possible 2023-03-06 09:35:10 +01:00
ctrl_feature_exchange Bluetooth: controller: use RX node piggy-back for NTF when possible 2023-03-06 09:35:10 +01:00
ctrl_hci Bluetooth: controller: use RX node piggy-back for NTF when possible 2023-03-06 09:35:10 +01:00
ctrl_invalid samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
ctrl_le_ping samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
ctrl_min_used_chans samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
ctrl_phy_update Bluetooth: controller: use RX node piggy-back for NTF when possible 2023-03-06 09:35:10 +01:00
ctrl_sca_update samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
ctrl_terminate samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
ctrl_tx_buffer_alloc Tests: bluetooth: controller: add correct number of max connections 2023-03-02 10:01:51 +01:00
ctrl_tx_queue samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
ctrl_unsupported samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
ctrl_version samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
mock_ctrl Bluetooth: controller: use RX node piggy-back for NTF when possible 2023-03-06 09:35:10 +01:00
uut bluetooth: controller: update unittests for LLCP to use proper ZTEST API 2023-02-24 11:46:39 +01:00