You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "guy-m (via GitHub)" <gi...@apache.org> on 2025/07/16 18:55:33 UTC

[PR] nimble/host: Reject L2CAP_FLOW_CONTROL_CREDIT_IND with zero credits [mynewt-nimble]

guy-m opened a new pull request, #2082:
URL: https://github.com/apache/mynewt-nimble/pull/2082

   L2CAP_FLOW_CONTROL_CREDIT_IND with 0 credits value is invalid and should be responded with L2CAP_COMMAND_REJECT_RSP.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] nimble/host: Reject L2CAP_FLOW_CONTROL_CREDIT_IND with zero credits [mynewt-nimble]

Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc commented on PR #2082:
URL: https://github.com/apache/mynewt-nimble/pull/2082#issuecomment-3082888087

   Hmm L2CAP/LE/REJ/BI-02-C is for testing rejection of unknown PDU and opcode 0x16 would be sent only if CoC is not supported by IUT
   
   Also it does pass in our internal tests (PTS 8.9.1)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] nimble/host: Reject L2CAP_FLOW_CONTROL_CREDIT_IND with zero credits [mynewt-nimble]

Posted by "guy-m (via GitHub)" <gi...@apache.org>.
guy-m commented on PR #2082:
URL: https://github.com/apache/mynewt-nimble/pull/2082#issuecomment-3082666062

   From the BLE SIG Spec L2CAP_FLOW_CONTROL_CREDIT_IND packet credit value shall be a number between 1 and 65535.
   A zero credit value is invalid and should return a non zero return code in order for function ble_l2cap_sig_rx to reject the packet according to test L2CAP_LE_REJ_BI-02-C (tested with PTS v 8.8.1).
   Note: With older versions of PTS a L2CAP_FLOW_CONTROL_CREDIT_IND with zero credit was not sent as part of the test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] nimble/host: Reject L2CAP_FLOW_CONTROL_CREDIT_IND with zero credits [mynewt-nimble]

Posted by "guy-m (via GitHub)" <gi...@apache.org>.
guy-m commented on PR #2082:
URL: https://github.com/apache/mynewt-nimble/pull/2082#issuecomment-3083036460

   You are correct. After further debug it appeared there was an ETS update for L2CAP that fixed that behavior.
   After replacing the file PTS doesn't send the L2CAP_FLOW_CONTROL_CREDIT_IND at all and test pass without any fix.
   This PR can be rejected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] nimble/host: Reject L2CAP_FLOW_CONTROL_CREDIT_IND with zero credits [mynewt-nimble]

Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc closed pull request #2082: nimble/host: Reject L2CAP_FLOW_CONTROL_CREDIT_IND with zero credits
URL: https://github.com/apache/mynewt-nimble/pull/2082


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org