Commit Graph

4 Commits

Author SHA1 Message Date
rnhmjoj
cc065fe18a
ath9k-htc-blobless-firmware: use name expected by the kernel
The kernel asks for the firmware with the version string in the filename[1], so
it's not easy to load the "blobs" from this package.
With this change you can just add the package with a `lib.hiPrio` to
`hardware.firmware` and it will be loaded correctly.

Note: I used symlinks instead of simply renaming the files in order to not
introduce a breaking change.
2023-06-23 14:39:07 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
sternenseemann
6c8644fc37 ath9k-htc-blobless-firmware: fix evaluation with Nix 2.3
Path interpolation is not available in all Nix versions nixpkgs supports
2023-01-11 16:28:28 +01:00
Adam Joseph
7af47c9877 ath9k-htc-blobless-firmware: init at 1.4.0
This firmware is completely open source with no blobs, which is
quite rare in the wifi world.  Wifi chips have their own dedicated
general-purpose CPUs.  This source code allows you to see what those
CPUs are doing and modify their behavior.

When the upstream repository was created in 2013, "open source
firmware" meant "firmware which is open source".  In 2023 that is no
longer the generally accepted [definition], so I have chosen an
unambiguous adjective (whose meaning has remained stable for
decades) to use in the pname.

[definition]: https://web.archive.org/web/20221209121315/https://www.opencompute.org/projects/open-system-firmware#:~:text=Another,allows%20it

Co-authored-by: Artturi <Artturin@artturin.com>
2023-01-09 16:10:04 -08:00