diff mbox series

[OpenWrt-Devel] ath79: wlr-7100: use ath10k-ct smallbuffers package variant

Message ID 20200114164004.3883-1-tomek_n@o2.pl
State Accepted
Delegated to: John Crispin
Headers show
Series [OpenWrt-Devel] ath79: wlr-7100: use ath10k-ct smallbuffers package variant | expand

Commit Message

Tomasz Maciej Nowak Jan. 14, 2020, 4:40 p.m. UTC
The memory hacks got removed from ath10k with 1e27bef ("mac80211: remove
ath10k_pci memory hacks"). As this device has low amount of RAM, switch
to ath-10k-ct small buffers variant, to avoid the OOM Reaper.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
---
 target/linux/ath79/image/generic.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

John Crispin Jan. 15, 2020, 6:55 p.m. UTC | #1
On 14/01/2020 17:40, Tomasz Maciej Nowak wrote:
> The memory hacks got removed from ath10k with 1e27bef ("mac80211: remove
> ath10k_pci memory hacks"). As this device has low amount of RAM, switch
> to ath-10k-ct small buffers variant, to avoid the OOM Reaper.
> 
> Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Thanks, merged !
> ---
>   target/linux/ath79/image/generic.mk | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk
> index 18dad80d5d..abc6f96a80 100644
> --- a/target/linux/ath79/image/generic.mk
> +++ b/target/linux/ath79/image/generic.mk
> @@ -986,7 +986,7 @@ define Device/sitecom_wlr-7100
>     DEVICE_VENDOR := Sitecom
>     DEVICE_MODEL := WLR-7100
>     DEVICE_VARIANT := v1 002
> -  DEVICE_PACKAGES := ath10k-firmware-qca988x kmod-ath10k kmod-usb2
> +  DEVICE_PACKAGES := ath10k-firmware-qca988x-ct kmod-ath10k-ct-smallbuffers kmod-usb2
>     IMAGES += factory.dlf
>     IMAGE/factory.dlf := append-kernel | pad-to $$$$(BLOCKSIZE) | \
>   	append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
>
diff mbox series

Patch

diff --git a/target/linux/ath79/image/generic.mk b/target/linux/ath79/image/generic.mk
index 18dad80d5d..abc6f96a80 100644
--- a/target/linux/ath79/image/generic.mk
+++ b/target/linux/ath79/image/generic.mk
@@ -986,7 +986,7 @@  define Device/sitecom_wlr-7100
   DEVICE_VENDOR := Sitecom
   DEVICE_MODEL := WLR-7100
   DEVICE_VARIANT := v1 002
-  DEVICE_PACKAGES := ath10k-firmware-qca988x kmod-ath10k kmod-usb2
+  DEVICE_PACKAGES := ath10k-firmware-qca988x-ct kmod-ath10k-ct-smallbuffers kmod-usb2
   IMAGES += factory.dlf
   IMAGE/factory.dlf := append-kernel | pad-to $$$$(BLOCKSIZE) | \
 	append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \