-
Notifications
You must be signed in to change notification settings - Fork 0
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
[PW_SID:551265] [BlueZ,1/4] shared/mgmt: Set MTU to UINT16_MAX #1002
Conversation
This patch adds workflow files for ci: [schedule_work.yml] - runs every 30 mins. - sync repo with upstream repo and rebase workflow branch to tip of master. - creates PR after reading patches from patchwork.kernel.org [ci.yml] - Tests the following checks: - checkpatch - gitlint - make - make check [code_scan.yml] - Static code checker: Coverity and Clang - Coverity: Submit the result to the coverity website - Clang Code Scan: Send email with result file to the internal team To simplify the history, new change will amend to this patch without creating new patch.
This sets MTU of MGMT socket to UINT16_MAX since some commands may require more than the default size (e.g. Load LTKs). Fixes: bluez#201
HCI_MAX_ACL_SIZE actually includes the maximum frames in AMP controller so this changes it to properly define the max ACL frames on non-AMP controllers and introduces a dedicated define for AMP controller as HCI_MAX_AMP_SIZE.
This adds mgmt_get_mtu function which can be used to query the transport MTU.
If MGMT MTU cannot accomodate all the existing LTKs only send the ones that fit in the MTU and leave the remaining as unpaired.
CheckPatch Output:
|
GitLint |
Prep - Setup ELL |
Build - Prep |
Build - Configure |
Build - Make |
Make Check |
Make Distcheck |
Build w/ext ELL - Configure |
Build w/ext ELL - Make |
b8c416a
to
e6ed6d1
Compare
From: Luiz Augusto von Dentz luiz.von.dentz@intel.com
This sets MTU of MGMT socket to UINT16_MAX since some commands may
require more than the default size (e.g. Load LTKs).
Fixes: bluez#201