Skip to content

Commit 2cfc4d0

Browse files
committed
Add compatibility with the latest meta-mistylwb5p
1 parent 882f1eb commit 2cfc4d0

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

recipes-core/images/mistysom-image.bbappend

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ IMAGE_INSTALL_append = " wpa-supplicant"
4848

4949
# WiFi Module Laird Sterling-LWB5+ (Disable other WiFi modules because this module compiles a different cfg80211.ko)
5050
IMAGE_INSTALL_append = " lwb5plus-sdio-div-firmware"
51-
IMAGE_INSTALL_append = " kernel-module-lwb5p-backports-laird"
51+
IMAGE_INSTALL_append = " kernel-module-lwb5p-backports-summit"
5252
IMAGE_FEATURES_remove = "tools-profile tools-debug tools-testapps"
5353
# WiFi Module Archer T2UH
5454
#IMAGE_INSTALL_append = " linux-firmware-mt7650"

recipes-kernel/linux/Kconfigs/WIRELESS.cfg

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
CONFIG_MT76x0U=n
22
CONFIG_CFG80211=n
3-
43
CONFIG_MAC80211=n
4+
5+
CONFIG_CRYPTO_ECDH=y
56
CONFIG_NETDEVICES=y
67
CONFIG_WLAN=y
78
CONFIG_WLAN_VENDOR_MEDIATEK=y

recipes-network/drivers/kernel-module-lwb5p-backports-laird.bbappend recipes-network/drivers/kernel-module-lwb5p-backports-summit.bbappend

+8-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ do_install_append() {
1111
install -m 0644 ${B}/../wl-reset.service ${D}${systemd_system_unitdir}
1212
}
1313

14-
# Failed attempt to add other wifi modules with the command below
14+
# Add compatibility with kernel 5.10.201 in VLP v3.0.6
15+
do_patch() {
16+
if printf "%s\n%s" "${KERNEL_VERSION}" "5.10.188" | sort --version-sort --check=quiet; then
17+
rm ${S}/backport-include/linux/etherdevice.h
18+
fi
19+
}
20+
21+
# The line below is a failed attempt to add other wifi modules
1522
# BACKPORTS_CONFIG = "defconfig-wifi"
1623

1724
# Uncomment the lines below for verbose kernel debug messages

0 commit comments

Comments
 (0)