user/linux-rm: disable wifi powermanagement
This commit is contained in:
parent
45918ec123
commit
d2468de3c5
2 changed files with 16 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
pkgname=linux-rm
|
pkgname=linux-rm
|
||||||
pkgver=5.4.70
|
pkgver=5.4.70
|
||||||
_rmver=1.3.3
|
_rmver=1.3.3
|
||||||
pkgrel=7
|
pkgrel=8
|
||||||
pkgdesc="Linux kernel with reMarkable patches"
|
pkgdesc="Linux kernel with reMarkable patches"
|
||||||
url=https://github.com/reMarkable/linux
|
url=https://github.com/reMarkable/linux
|
||||||
depends="initramfs-generator linux-firmware-brcm linux-firmware-cypress"
|
depends="initramfs-generator linux-firmware-brcm linux-firmware-cypress"
|
||||||
|
@ -17,6 +17,7 @@ builddir="$srcdir"/linux-RM1XX_${pkgver}_v$_rmver
|
||||||
source="
|
source="
|
||||||
https://github.com/reMarkable/linux/archive/refs/tags/RM1XX_${pkgver}_v$_rmver.tar.gz
|
https://github.com/reMarkable/linux/archive/refs/tags/RM1XX_${pkgver}_v$_rmver.tar.gz
|
||||||
https://raw.githubusercontent.com/ichaozi/RemarkableFramebuffer/0f37dc8c06d340dc1af52ff2d4d6d5789ccf14bb/kernel-mxc-epdc-fb-reference/epdc_ES103CS1.fw
|
https://raw.githubusercontent.com/ichaozi/RemarkableFramebuffer/0f37dc8c06d340dc1af52ff2d4d6d5789ccf14bb/kernel-mxc-epdc-fb-reference/epdc_ES103CS1.fw
|
||||||
|
brcmfmac-disable-power-management.patch
|
||||||
brcmfmac-fix-suspend-resume-when-power-is-cut-off.patch
|
brcmfmac-fix-suspend-resume-when-power-is-cut-off.patch
|
||||||
enable-automatic-partial-refreshing.patch
|
enable-automatic-partial-refreshing.patch
|
||||||
config-changes-rm.armv7
|
config-changes-rm.armv7
|
||||||
|
@ -247,6 +248,7 @@ _dev() {
|
||||||
sha512sums="
|
sha512sums="
|
||||||
80ab274ca3d30935d9913490662f17499c1ceedb438fe171554097d25ffc1cf85ee53f0c1642e94c0b833fdfb17636cd554bf685e4a6f5dac20cf122c1a25447 RM1XX_5.4.70_v1.3.3.tar.gz
|
80ab274ca3d30935d9913490662f17499c1ceedb438fe171554097d25ffc1cf85ee53f0c1642e94c0b833fdfb17636cd554bf685e4a6f5dac20cf122c1a25447 RM1XX_5.4.70_v1.3.3.tar.gz
|
||||||
ad4bd6f332319aceee7a1c7b71b49439e8217621214b6249c7e20198360d02ea442f31edfc8e1af1b85ed71e6f97c1cb7decf7b0885c9d0293361eef47f218b2 epdc_ES103CS1.fw
|
ad4bd6f332319aceee7a1c7b71b49439e8217621214b6249c7e20198360d02ea442f31edfc8e1af1b85ed71e6f97c1cb7decf7b0885c9d0293361eef47f218b2 epdc_ES103CS1.fw
|
||||||
|
c5fc4f2f70112cc66a91a2948f7fd4adcd7172a95191b4c862084c7b80093cfa696925aa9a825c41bddac7441ba153eb264b8146e52a4556a73349e6fd10e641 brcmfmac-disable-power-management.patch
|
||||||
27ec1bc1d916dbd2258192c1ed864eacbd2746b49caa554fbaf1124bac478bab0b729e7fabbab8705ae175bb098800f795d415f4de4964da921c1b802560b67a brcmfmac-fix-suspend-resume-when-power-is-cut-off.patch
|
27ec1bc1d916dbd2258192c1ed864eacbd2746b49caa554fbaf1124bac478bab0b729e7fabbab8705ae175bb098800f795d415f4de4964da921c1b802560b67a brcmfmac-fix-suspend-resume-when-power-is-cut-off.patch
|
||||||
0f47278c5bfafb939e46224fbf16f9491e3cc560ac128dcf430a1f6cf9064fb1c5bf5db1a3076c35d30c004aec525a7d6616a647564f197bb29c57701c1db982 enable-automatic-partial-refreshing.patch
|
0f47278c5bfafb939e46224fbf16f9491e3cc560ac128dcf430a1f6cf9064fb1c5bf5db1a3076c35d30c004aec525a7d6616a647564f197bb29c57701c1db982 enable-automatic-partial-refreshing.patch
|
||||||
c70724d061977b91654ef0340b18dfda4516d19b78d9edea33e398bfbf747ff010d10b684ced93672a954a3be50289887676a720459e90cd877296bdec4d3493 config-changes-rm.armv7
|
c70724d061977b91654ef0340b18dfda4516d19b78d9edea33e398bfbf747ff010d10b684ced93672a954a3be50289887676a720459e90cd877296bdec4d3493 config-changes-rm.armv7
|
||||||
|
|
13
user/linux-rm/brcmfmac-disable-power-management.patch
Normal file
13
user/linux-rm/brcmfmac-disable-power-management.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/./drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c.orig b/./drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
||||||
|
index f507d82..6c06044 100644
|
||||||
|
--- a/./drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c.orig
|
||||||
|
+++ b/./drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
|
||||||
|
@@ -2743,6 +2743,8 @@ brcmf_cfg80211_set_power_mgmt(struct wiphy *wiphy, struct net_device *ndev,
|
||||||
|
* preference in cfg struct to apply this to
|
||||||
|
* FW later while initializing the dongle
|
||||||
|
*/
|
||||||
|
+ pr_info("power management disabled\n");
|
||||||
|
+ enabled = false;
|
||||||
|
cfg->pwr_save = enabled;
|
||||||
|
if (!check_vif_up(ifp->vif)) {
|
||||||
|
|
Loading…
Reference in a new issue