Skip to content

Conversation

@sjanc
Copy link
Contributor

@sjanc sjanc commented Oct 18, 2021

This allows for better control over IUT behaviour by Upper Tester.

PTS and TS require inconsistent behaviour in terms of how IUT should
return credits. Some tests require return on explicit UT request and
some require that IUT returns credits autonomously.

Signed-off-by: Szymon Janc [email protected]

This allows for better control over IUT behaviour by Upper Tester.

PTS and TS require inconsistent behaviour in terms of how IUT should
return credits. Some tests require return on explicit UT request and
some require that IUT returns credits autonomously.

Signed-off-by: Szymon Janc <[email protected]>
@github-actions github-actions bot added the area: Tests Issues related to a particular existing or missing test label Oct 18, 2021
@sjanc sjanc added the area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests label Oct 18, 2021
@sjanc sjanc added this to the v2.7.1 milestone Oct 18, 2021
CONTROLLER_INDEX, recv_cb_buf, sizeof(*ev) + buf->len);

if (!chan->pending_credit) {
if (chan->hold_credit && !chan->pending_credit) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a suggestion that this might be better named as "user_confirm". Since that is how returning EINPROGRESS is documented

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to keep chan option same as in BTP spec (and not zephyr's implementation detail)

@carlescufi carlescufi merged commit 17c0132 into zephyrproject-rtos:main Oct 18, 2021
@sjanc sjanc deleted the l2cap_options branch October 18, 2021 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Tests Issues related to a particular existing or missing test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants