-
Notifications
You must be signed in to change notification settings - Fork 91
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
Implement Android to Android dynamic MTU negotiation with 250ms timeout #566
Comments
The following PRs implement dynamic mtu negotiation for android to android communication with a timeout of 250 ms for each negotiation. We will see an error pop up if it fails to negotiate even after 3 attempts. The PRs have been merged in 24-02-2023 Release and the latest commit id on mosip/inji/develop is cb47493 |
The following PRs implements incrementing the delay time between android to android mtu negotiation to 500 ms. The PRs have been merged in 28-02-2023 Release and the latest commit id on mosip/inji/develop is 7cdee82 |
More context about bumping up negotiation timeout to 500ms for each MTU sizeWe have observed in most of the scenarios, MTU negotiation is happening quite quickly. Whereas in some device combinations, the MTUChanged callback is returning consistently after 250ms. Hence, having 250ms will only exclude those devices from leveraging the dynamic MTU negotiation implementation as all three MTU negotiation attempts with various sizes will fail. So the call was made to bump up the wait time to 500ms. Bumping up wait time does't mean the transfer will be waiting for 500ms even if the callback is received sooner than 500ms. The wait time will be a function of |
What to do
The text was updated successfully, but these errors were encountered: