1
0
forked from nikkuss/pkgs

add x1e ath12k firmware patch

This commit is contained in:
2025-07-30 11:15:14 +04:00
parent 8e2ef04cce
commit e7d58bb03a
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,11 @@
{ ath-tools, linux-firmware }:
linux-firmware.overrideAttrs (final: {
postInstall = ''
mkdir temp
cd temp || exit
${ath-tools.ath12k-tools}/bin/ath12k-bdencoder -e $out/lib/firmware/ath12k/WCN7850/hw2.0/board-2.bin
patch -p1 < ${./firmware.patch}
${ath-tools.ath12k-tools}/bin/ath12k-bdencoder -c board-2.json
cp board-2.bin $out/lib/firmware/ath12k/WCN7850/hw2.0/board-2.bin
'';
})