-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Bluetooth: Host: L2CAP: Fix checking signaling packets size #90058
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
sjanc
wants to merge
1
commit into
zephyrproject-rtos:main
Choose a base branch
from
sjanc:l2cap_signaling
base: main
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.
+24
−16
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
jhedberg
previously approved these changes
May 16, 2025
Thalley
reviewed
May 16, 2025
Recent test specification added additional test for validating invalid packet sizes on L2CAP signaling channel. IUT is allowed to either disconnect link, ignore packet, reject packet or issue a warning to upper tester if other action is taken. To keep things in line with previous check for too small size simply ignore fixed size packets of invalid length. This was affecting L2CAP/COS/CED/BI-11-C qualification test. Signed-off-by: Szymon Janc <[email protected]>
cvinayak
approved these changes
May 16, 2025
|
Thalley
approved these changes
May 16, 2025
#AutoPTS run zephyr L2CAP |
Scheduled PR #90058 (comment), board: nrf52, estimated start time: 15:40:11, test case count: 97, estimated duration: 0:41:19 Test cases to be runL2CAP/COS/CED/BI-05-CL2CAP/COS/CED/BI-09-C L2CAP/COS/CED/BI-11-C L2CAP/COS/CED/BI-13-C L2CAP/COS/CED/BI-16-C L2CAP/COS/CED/BI-17-C L2CAP/COS/CFC/BV-01-C L2CAP/COS/CFC/BV-02-C L2CAP/COS/CFC/BV-03-C L2CAP/COS/CFC/BV-04-C L2CAP/COS/CFC/BV-05-C L2CAP/COS/ECFC/BV-01-C L2CAP/COS/ECFC/BV-02-C L2CAP/COS/ECFC/BV-03-C L2CAP/COS/ECFC/BV-04-C L2CAP/LE/CPU/BV-01-C L2CAP/LE/CPU/BV-02-C L2CAP/LE/CPU/BI-01-C L2CAP/LE/CPU/BI-02-C L2CAP/LE/REJ/BI-02-C L2CAP/LE/CFC/BV-01-C L2CAP/LE/CFC/BV-02-C L2CAP/LE/CFC/BV-03-C L2CAP/LE/CFC/BV-04-C L2CAP/LE/CFC/BV-05-C L2CAP/LE/CFC/BV-06-C L2CAP/LE/CFC/BV-07-C L2CAP/LE/CFC/BI-01-C L2CAP/LE/CFC/BV-08-C L2CAP/LE/CFC/BV-09-C L2CAP/LE/CFC/BV-10-C L2CAP/LE/CFC/BV-11-C L2CAP/LE/CFC/BV-12-C L2CAP/LE/CFC/BV-13-C L2CAP/LE/CFC/BV-14-C L2CAP/LE/CFC/BV-15-C L2CAP/LE/CFC/BV-16-C L2CAP/LE/CFC/BV-18-C L2CAP/LE/CFC/BV-19-C L2CAP/LE/CFC/BV-20-C L2CAP/LE/CFC/BV-21-C L2CAP/LE/CFC/BV-22-C L2CAP/LE/CFC/BV-23-C L2CAP/LE/CFC/BV-24-C L2CAP/LE/CFC/BV-25-C L2CAP/LE/CFC/BV-26-C L2CAP/LE/CFC/BV-27-C L2CAP/LE/CFC/BV-28-C L2CAP/LE/CFC/BV-29-C L2CAP/LE/CFC/BV-30-C L2CAP/LE/CFC/BV-31-C L2CAP/LE/CID/BI-01-C L2CAP/ECFC/BV-01-C L2CAP/ECFC/BV-02-C L2CAP/ECFC/BV-03-C L2CAP/ECFC/BV-04-C L2CAP/ECFC/BV-06-C L2CAP/ECFC/BV-07-C L2CAP/ECFC/BI-01-C L2CAP/ECFC/BI-02-C L2CAP/ECFC/BV-08-C L2CAP/ECFC/BV-09-C L2CAP/ECFC/BV-10-C L2CAP/ECFC/BV-11-C L2CAP/ECFC/BV-12-C L2CAP/ECFC/BV-13-C L2CAP/ECFC/BV-14-C L2CAP/ECFC/BV-15-C L2CAP/ECFC/BV-16-C L2CAP/ECFC/BV-17-C L2CAP/ECFC/BV-18-C L2CAP/ECFC/BV-19-C L2CAP/ECFC/BV-20-C L2CAP/ECFC/BV-21-C L2CAP/ECFC/BV-22-C L2CAP/ECFC/BV-23-C L2CAP/ECFC/BI-03-C L2CAP/ECFC/BV-24-C L2CAP/ECFC/BV-25-C L2CAP/ECFC/BI-04-C L2CAP/ECFC/BV-26-C L2CAP/ECFC/BV-27-C L2CAP/ECFC/BV-28-C L2CAP/ECFC/BV-29-C L2CAP/ECFC/BV-30-C L2CAP/ECFC/BV-31-C L2CAP/ECFC/BV-32-C L2CAP/ECFC/BV-33-C L2CAP/ECFC/BV-34-C L2CAP/ECFC/BV-35-C L2CAP/ECFC/BV-38-C L2CAP/ECFC/BV-39-C L2CAP/ECFC/BV-41-C L2CAP/ECFC/BI-05-C L2CAP/ECFC/BI-06-C L2CAP/ECFC/BI-07-C L2CAP/TIM/BV-03-C |
AutoPTS Bot results: Successful tests (97)L2CAP L2CAP/COS/CED/BI-05-C PASSL2CAP L2CAP/COS/CED/BI-09-C PASS L2CAP L2CAP/COS/CED/BI-11-C PASS L2CAP L2CAP/COS/CED/BI-13-C PASS L2CAP L2CAP/COS/CED/BI-16-C PASS L2CAP L2CAP/COS/CED/BI-17-C PASS L2CAP L2CAP/COS/CFC/BV-01-C PASS L2CAP L2CAP/COS/CFC/BV-02-C PASS L2CAP L2CAP/COS/CFC/BV-03-C PASS L2CAP L2CAP/COS/CFC/BV-04-C PASS L2CAP L2CAP/COS/CFC/BV-05-C PASS L2CAP L2CAP/COS/ECFC/BV-01-C PASS L2CAP L2CAP/COS/ECFC/BV-02-C PASS L2CAP L2CAP/COS/ECFC/BV-03-C PASS L2CAP L2CAP/COS/ECFC/BV-04-C PASS L2CAP L2CAP/ECFC/BI-01-C PASS L2CAP L2CAP/ECFC/BI-02-C PASS L2CAP L2CAP/ECFC/BI-03-C PASS L2CAP L2CAP/ECFC/BI-04-C PASS L2CAP L2CAP/ECFC/BI-05-C PASS L2CAP L2CAP/ECFC/BI-06-C PASS L2CAP L2CAP/ECFC/BI-07-C PASS L2CAP L2CAP/ECFC/BV-01-C PASS L2CAP L2CAP/ECFC/BV-02-C PASS L2CAP L2CAP/ECFC/BV-03-C PASS L2CAP L2CAP/ECFC/BV-04-C PASS L2CAP L2CAP/ECFC/BV-06-C PASS L2CAP L2CAP/ECFC/BV-07-C PASS L2CAP L2CAP/ECFC/BV-08-C PASS L2CAP L2CAP/ECFC/BV-09-C PASS L2CAP L2CAP/ECFC/BV-10-C PASS L2CAP L2CAP/ECFC/BV-11-C PASS L2CAP L2CAP/ECFC/BV-12-C PASS L2CAP L2CAP/ECFC/BV-13-C PASS L2CAP L2CAP/ECFC/BV-14-C PASS L2CAP L2CAP/ECFC/BV-15-C PASS L2CAP L2CAP/ECFC/BV-16-C PASS L2CAP L2CAP/ECFC/BV-17-C PASS L2CAP L2CAP/ECFC/BV-18-C PASS L2CAP L2CAP/ECFC/BV-19-C PASS L2CAP L2CAP/ECFC/BV-20-C PASS L2CAP L2CAP/ECFC/BV-21-C PASS L2CAP L2CAP/ECFC/BV-22-C PASS L2CAP L2CAP/ECFC/BV-23-C PASS L2CAP L2CAP/ECFC/BV-24-C PASS L2CAP L2CAP/ECFC/BV-25-C PASS L2CAP L2CAP/ECFC/BV-26-C PASS L2CAP L2CAP/ECFC/BV-27-C PASS L2CAP L2CAP/ECFC/BV-28-C PASS L2CAP L2CAP/ECFC/BV-29-C PASS L2CAP L2CAP/ECFC/BV-30-C PASS L2CAP L2CAP/ECFC/BV-31-C PASS L2CAP L2CAP/ECFC/BV-32-C PASS L2CAP L2CAP/ECFC/BV-33-C PASS L2CAP L2CAP/ECFC/BV-34-C PASS L2CAP L2CAP/ECFC/BV-35-C PASS L2CAP L2CAP/ECFC/BV-38-C PASS L2CAP L2CAP/ECFC/BV-39-C PASS L2CAP L2CAP/ECFC/BV-41-C PASS L2CAP L2CAP/LE/CFC/BI-01-C PASS L2CAP L2CAP/LE/CFC/BV-01-C PASS L2CAP L2CAP/LE/CFC/BV-02-C PASS L2CAP L2CAP/LE/CFC/BV-03-C PASS L2CAP L2CAP/LE/CFC/BV-04-C PASS L2CAP L2CAP/LE/CFC/BV-05-C PASS L2CAP L2CAP/LE/CFC/BV-06-C PASS L2CAP L2CAP/LE/CFC/BV-07-C PASS L2CAP L2CAP/LE/CFC/BV-08-C PASS L2CAP L2CAP/LE/CFC/BV-09-C PASS L2CAP L2CAP/LE/CFC/BV-10-C PASS L2CAP L2CAP/LE/CFC/BV-11-C PASS L2CAP L2CAP/LE/CFC/BV-12-C PASS L2CAP L2CAP/LE/CFC/BV-13-C PASS L2CAP L2CAP/LE/CFC/BV-14-C PASS L2CAP L2CAP/LE/CFC/BV-15-C PASS L2CAP L2CAP/LE/CFC/BV-16-C PASS L2CAP L2CAP/LE/CFC/BV-18-C PASS L2CAP L2CAP/LE/CFC/BV-19-C PASS L2CAP L2CAP/LE/CFC/BV-20-C PASS L2CAP L2CAP/LE/CFC/BV-21-C PASS L2CAP L2CAP/LE/CFC/BV-22-C PASS L2CAP L2CAP/LE/CFC/BV-23-C PASS L2CAP L2CAP/LE/CFC/BV-24-C PASS L2CAP L2CAP/LE/CFC/BV-25-C PASS L2CAP L2CAP/LE/CFC/BV-26-C PASS L2CAP L2CAP/LE/CFC/BV-27-C PASS L2CAP L2CAP/LE/CFC/BV-28-C PASS L2CAP L2CAP/LE/CFC/BV-29-C PASS L2CAP L2CAP/LE/CFC/BV-30-C PASS L2CAP L2CAP/LE/CFC/BV-31-C PASS L2CAP L2CAP/LE/CID/BI-01-C PASS L2CAP L2CAP/LE/CPU/BI-01-C PASS L2CAP L2CAP/LE/CPU/BI-02-C PASS L2CAP L2CAP/LE/CPU/BV-01-C PASS L2CAP L2CAP/LE/CPU/BV-02-C PASS L2CAP L2CAP/LE/REJ/BI-02-C PASS L2CAP L2CAP/TIM/BV-03-C PASS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Bluetooth Host
Bluetooth Host (excluding BR/EDR)
area: Bluetooth Qualification
Bluetooth Qualification -related issues and pull requests
area: Bluetooth
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.
Recent test specification added additional test for validating invalid packet sizes on L2CAP signaling channel. IUT is allowed to either disconnect link, ignore packet, reject packet or issue a warning to upper tester if other action is taken.
To keep things in line with previous check for too small size simply ignore fixed size packets of invalid length.
This was affecting L2CAP/COS/CED/BI-11-C qualification test.