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

LL: Disconnect on invalid MIC #116

Open
TorstenRobitzki opened this issue Jul 22, 2023 · 0 comments
Open

LL: Disconnect on invalid MIC #116

TorstenRobitzki opened this issue Jul 22, 2023 · 0 comments
Labels

Comments

@TorstenRobitzki
Copy link
Owner

LL/SEC/PER/BI-03-C and LL/SEC/PER/BI-04-C requires the IUT to disconnect the connection. It requires to not even acknowledge the received PDU.

The challenge here is, that in case, that the LL central resends a PDU, the MIC will also appear to be invalid, as the wrong counter is applied, when calculating the MIC. Solutions:

  • Recalculate the MIC with the previous counter (counter will only be incremented for acknowledged PDUs)
  • Keep the MIC (and maybe CRC) value of the last PDU for the connection.
@TorstenRobitzki TorstenRobitzki added this to the found_by_pts milestone Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant