Skip to content
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

[Backport-v2.2-branch] Bluetooth: controller: split: correct timing calculation in PKT_US #23570

Merged

Conversation

kruithofa
Copy link
Collaborator

@kruithofa kruithofa commented Mar 18, 2020

Fixes #23482

A bug in the PKT_US resulted in wrong calculations for the 2M phy since the preamble size was incorrect. This results in reduced throughput since data that should fit in one packet was split in two packets.
Fixes the bug, verified on EBQ.
Also adds some defines for improved readability.

See also PR #23557 which is for the master branch

Signed-off-by: Andries Kruithof Andries.Kruithof@nordicsemi.no

A bug in the PKT_US resulted in wrong calculations for the 2M phy.
Fixes the bug, verified on EBQ.
Also adds some defines for improved readability.

Fixes zephyrproject-rtos#23482

Signed-off-by: Andries Kruithof <Andries.Kruithof@nordicsemi.no>
@kruithofa kruithofa added bug The issue is a bug, or the PR is fixing a bug area: Bluetooth labels Mar 18, 2020
@kruithofa kruithofa requested a review from carlescufi as a code owner March 18, 2020 15:14
@aescolar aescolar changed the title Bluetooth: controller: split: correct timing calculation in PKT_US [Backport-v2.2-branch] Bluetooth: controller: split: correct timing calculation in PKT_US Mar 18, 2020
kruithofa added a commit to kruithofa/zephyr that referenced this pull request Mar 19, 2020
Fixes zephyrproject-rtos#23482.

There is a bug in calculation of time for the DLE procedure:
the preamble size is incorrect for the 2M phy

This is for the legacy code, see PR zephyrproject-rtos#23570 for the split controller

Signed-off-by: Andries Kruithof <Andries.Kruithof@nordicsemi.no>
@nashif nashif added this to the 2.2.1 milestone Mar 21, 2020
@kruithofa
Copy link
Collaborator Author

@carlescufi Please advise on what more info is required

@mtpr-ot
Copy link
Collaborator

mtpr-ot commented Apr 1, 2020

@carlescufi, is this still waiting for approval?

@carlescufi
Copy link
Member

@carlescufi, is this still waiting for approval?

No, this is in the Ready column of the Backports project. This means that it can be merged at any time, but I will leave it to @jhedberg to decide when.

@mtpr-ot
Copy link
Collaborator

mtpr-ot commented Apr 12, 2020

@carlescufi, is this still waiting for approval?

No, this is in the Ready column of the Backports project. This means that it can be merged at any time, but I will leave it to @jhedberg to decide when.

Fair enough. The sooner the 2.2 backports are merged, the sooner we will start doing serious testing on the branch.

@jhedberg jhedberg merged commit b83d9a5 into zephyrproject-rtos:v2.2-branch Apr 12, 2020
jhedberg pushed a commit that referenced this pull request Apr 22, 2020
Fixes #23482.

There is a bug in calculation of time for the DLE procedure:
the preamble size is incorrect for the 2M phy

This is for the legacy code, see PR #23570 for the split controller

Signed-off-by: Andries Kruithof <Andries.Kruithof@nordicsemi.no>
pkral78 pushed a commit to cloudfieldcz/zephyr that referenced this pull request Aug 4, 2020
Fixes zephyrproject-rtos#23482.

There is a bug in calculation of time for the DLE procedure:
the preamble size is incorrect for the 2M phy

This is for the legacy code, see PR zephyrproject-rtos#23570 for the split controller

Signed-off-by: Andries Kruithof <Andries.Kruithof@nordicsemi.no>
@kruithofa kruithofa deleted the DLE_bug_23482_for_2.2 branch February 22, 2022 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

9 participants