-
Notifications
You must be signed in to change notification settings - Fork 727
[v3.5.99-ncs1-branch] Bluetooth: nRF Connect SDK v2.6.4 NCSIDB-1718 Preview 3 #3487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cvinayak
wants to merge
8
commits into
nrfconnect:v3.5.99-ncs1-branch
Choose a base branch
from
cvinayak:github_v3_5_99_ncs1_branch_ncsidb_1718_preview_3
base: v3.5.99-ncs1-branch
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[v3.5.99-ncs1-branch] Bluetooth: nRF Connect SDK v2.6.4 NCSIDB-1718 Preview 3 #3487
cvinayak
wants to merge
8
commits into
nrfconnect:v3.5.99-ncs1-branch
from
cvinayak:github_v3_5_99_ncs1_branch_ncsidb_1718_preview_3
+1,155
−281
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70e7b0a to
a624939
Compare
ca1a41d to
2bb4fd4
Compare
…r in rx pool" This reverts commit fa2f75e. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
… BT_CTLR" This reverts commit 7af2bc5. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
…allocation failure" This reverts commit eabfcff. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
…pool The Bluetooth data buffer API currently lacks a mechanism to notify when a buffer is freed in the RX pool. This limitation forces HCI drivers to adopt inefficient workarounds to manage buffer allocation. HCI drivers face two suboptimal options: - Blocking calls: Use bt_buf_get_rx with K_FOREVER, which blocks the execution context until a buffer becomes available. - Polling: Repeatedly call bt_buf_get_rx with K_NO_WAIT, which increases CPU load and reduces efficiency. This commit introduces a callback mechanism that is triggered each time a buffer is freed in the RX pool. With this feature, HCI drivers can: - Call bt_buf_get_rx with K_NO_WAIT. - Wait for the callback notification if a NULL buffer is returned, avoiding unnecessary polling. The new callback improves efficiency by enabling event-driven behavior for buffer management, reducing CPU overhead while maintaining responsiveness. Signed-off-by: Pavel Vasilyev <[email protected]> (cherry picked from commit c2488fd) Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
This code can be found (kinda) duplicated all over `tests/bsim/bluetooth`. Put it in a common place. Refactoring the current tests will be done in a future commit. Signed-off-by: Jonathan Rico <[email protected]> (cherry picked from commit 389192a) Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
Adds two macros to the babblekit library: * DEFINE_FLAG_STATIC * TEST_ASSERT_NO_MSG Signed-off-by: Håvard Reierstad <[email protected]> (cherry picked from commit c2c4f2e) Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
This commit adds a stress test to verify that the HCI driver does not drop any data. Specifically, it tests whether the HCI IPC driver can reliably pass data between the Host and Controller. Due to the current HCI IPC driver implementation, this test is guaranteed to fail if Controller-to-Host HCI ACL data flow control is disabled. Signed-off-by: Pavel Vasilyev <[email protected]> (cherry picked from commit a43b893) Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
Port GATT notify_stress test. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
2bb4fd4 to
72b6ee7
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.