From d392f079270b58180aed1fcc2f165470829d05f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Duje=20Mihanovi=C4=87?= Date: Thu, 9 Apr 2026 19:50:26 +0200 Subject: [PATCH] device-samsung-coreprimevelte: add WLAN calibration & QoL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The calibration is loaded from firmware, which in turn is done through a modprobe config file. Besides this, there're a few QoL fixes: * Update my email in maintainer= * Drop _pmb_recommends approach for firmware, it's now depended on * Sort depends alphabetically Signed-off-by: Duje Mihanović Part-of: --- .../device-samsung-coreprimevelte/APKBUILD | 22 +++++++++++-------- .../modprobe.d_mwifiex.conf | 2 ++ 2 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 device/community/device-samsung-coreprimevelte/modprobe.d_mwifiex.conf diff --git a/device/community/device-samsung-coreprimevelte/APKBUILD b/device/community/device-samsung-coreprimevelte/APKBUILD index 60565cf1c..b8bc0d60f 100644 --- a/device/community/device-samsung-coreprimevelte/APKBUILD +++ b/device/community/device-samsung-coreprimevelte/APKBUILD @@ -1,25 +1,28 @@ # Reference: -maintainer="Duje Mihanović " +maintainer="Duje Mihanović " pkgname=device-samsung-coreprimevelte pkgdesc="Samsung Galaxy Core Prime VE LTE" -pkgver=8 +pkgver=9 pkgrel=0 url="https://postmarketos.org" license="MIT" arch="aarch64" options="!check !archcheck" -depends="dtc +depends=" + dtc + firmware-samsung-pxa1908 linux-samsung-coreprimevelte - u-boot-coreprimevelte - postmarketos-base mkbootimg + postmarketos-base + pxa-mkbootimg + u-boot-coreprimevelte u-boot-tools - pxa-mkbootimg" +" makedepends="devicepkg-dev" -_pmb_recommends="firmware-samsung-pxa1908" source=" boot-image.its deviceinfo + modprobe.d_mwifiex.conf modules-initfs 90-mlan-to-wlan.rules " @@ -33,15 +36,16 @@ package() { install -Dm644 "$srcdir"/90-mlan-to-wlan.rules \ -t "$pkgdir"/usr/lib/udev/rules.d - - mkdir -p "$pkgdir"/usr/share/u-boot/coreprimevelte/ install -Dm644 "$srcdir"/boot-image.its \ -t "$pkgdir"/usr/share/u-boot/coreprimevelte/ + install -Dm644 "$srcdir"/modprobe.d_mwifiex.conf \ + "$pkgdir"/usr/lib/modprobe.d/mwifiex.conf } sha512sums=" fd8183975ed524f5f04f45abadd58bf7cccda5672262dcb733a180f1a9b3edbab1abda3e849f2c0a7a8d593ac804b9b07952955f7c8af8bad1263015ab02c242 boot-image.its 452485d2da3802b0a8557f951c94085c31f5ba5bb67a6c446080cd3735766d75cfbaa4f54c4396d0ba7919717f79130e953b047223de2b7d37cbfb5badbc3e3e deviceinfo +d0f22c864f19d9d54c42a8397cb8c2412d43192211fb36a86d0bd61f9f420349f774282b9b6789b54e7a8be6d379f18e56b49ae19260a60d0b572e39729931c2 modprobe.d_mwifiex.conf b1617e4b116d60abb15003c5bf7d4e8fa13e57a4a12feadd1e128946238b0922e98810289690f0466fec39f54adcc9ef08346acdef0f5a0fbb62c68438c3a063 modules-initfs d51facbaa99f69964786e770dc8ed500bfb2609353a25aa344701c851131cc421ef3a2663fe4422a21a5f38e01f0c34235fa4fad75739fb614109a2fb268db8a 90-mlan-to-wlan.rules " diff --git a/device/community/device-samsung-coreprimevelte/modprobe.d_mwifiex.conf b/device/community/device-samsung-coreprimevelte/modprobe.d_mwifiex.conf new file mode 100644 index 000000000..8dffa1bd2 --- /dev/null +++ b/device/community/device-samsung-coreprimevelte/modprobe.d_mwifiex.conf @@ -0,0 +1,2 @@ +# Load WLAN calibration data from a firmware file +options mwifiex cal_data_cfg=mrvl/WlanCalData_ext.conf