HCI: increase maxMtu to 128 for Realtek chips (accumulated)#66
Draft
pseiderer wants to merge 2 commits into
Draft
HCI: increase maxMtu to 128 for Realtek chips (accumulated)#66pseiderer wants to merge 2 commits into
pseiderer wants to merge 2 commits into
Conversation
- increase maxMtu to 128 for Realtek chips (enables GATT notify with
large message size)
Tested with ASUS USB-BT500:
usb 1-4: new full-speed USB device number 6 using xhci_hcd
usb 1-4: New USB device found, idVendor=0b05, idProduct=190e, bcdDevice= 2.00
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: ASUS USB-BT500
usb 1-4: Manufacturer: Realtek
usb 1-4: SerialNumber: 00E04C239987
Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
Bluetooth: hci0: RTL: rom_version status=0 version=1
Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
Bluetooth: hci0: RTL: fw version 0xdfc6d922
Bluetooth: MGMT ver 1.23
Notes:
- larger maxMtu values (>248) will lead to failures, e.g. 251 will
already break the GATT characteristic handshake
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix hci_ufilter struct member alignment padding to pad opcode by 2 bytes. Interacting with bt socket no longer works on kernel 6.8.0 or newer, get OSError: [Errno 22] Invalid Argument #63
(taken from Fix hci_ufilter struct member alignment padding to pad opcode by 2 bytes. #63 #64)
HCI: increase maxMtu to 128 for Realtek chips
(taken from HCI: increase maxMtu to 128 for Realtek chips #65)
Accumulated pull requst/branch for easy access by customer.