config-wsl: enable CMAC, zstd firmware, and MediaTek BT USB#1
Open
elcalzado wants to merge 1 commit into
Open
Conversation
JPHutchins
reviewed
Jul 9, 2026
There was a problem hiding this comment.
Looks good!
I'm not sure what WSL2's commit message standards are, but to lower friction you should look at existing commits. The one thing you definitely need to add is the Signed-off-by line. Your summary line is already conventional commit.
Here's an example:
0c2a55a to
1bfb067
Compare
Enable features needed for USB Bluetooth dongles attached to WSL2 via usbipd. CONFIG_CRYPTO_CMAC=y: On WSL2 a kernel-initiated request_module() runs via usermodehelper in the init namespace, which cannot reach the distro's /sbin/modprobe or /lib/modules, so autoloading cmac fails and LE Secure Connections crypto is unavailable. Building it in avoids the request_module(). CONFIG_FW_LOADER_COMPRESS_ZSTD=y: support zstd-compressed firmware as shipped by current linux-firmware (CONFIG_ZSTD_DECOMPRESS was already enabled). CONFIG_BT_HCIBTUSB_MTK=y (selects CONFIG_BT_MTK=m): MediaTek USB Bluetooth controller support. Signed-off-by: Elias Calzado Carvajal <elias@intercreate.io>
1bfb067 to
ff66dc4
Compare
JPHutchins
reviewed
Jul 10, 2026
JPHutchins
left a comment
There was a problem hiding this comment.
Looks good, approved for upstream PR.
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.
Enable features needed for USB Bluetooth dongles attached to WSL2 via usbipd:
CONFIG_CRYPTO_CMAC=y: build CMAC in rather than as a module. On WSL2 a kernel-initiated request_module() runs via usermodehelper in the init namespace, which cannot reach the distro's /sbin/modprobe or /lib/modules, so autoloading cmac fails and LE Secure Connections crypto is unavailable. Building it in avoids the request_module().
CONFIG_FW_LOADER_COMPRESS_ZSTD=y: support zstd-compressed firmware as shipped by current linux-firmware (CONFIG_ZSTD_DECOMPRESS was already enabled).
CONFIG_BT_HCIBTUSB_MTK=y (selects CONFIG_BT_MTK=m): MediaTek USB Bluetooth controller support.