[OpenWrt-Devel,v2,1/5] linux-firmware: add wil6210 firmware
diff mbox series

Message ID 20200116115100.1906-1-freifunk@adrianschmutzler.de
State Under Review
Delegated to: Adrian Schmutzler
Headers show
Series
  • [OpenWrt-Devel,v2,1/5] linux-firmware: add wil6210 firmware
Related show

Commit Message

Adrian Schmutzler Jan. 16, 2020, 11:50 a.m. UTC
From: Robert Marko <robimarko@gmail.com>

This patch adds wil6210 firmware and board files.
Firmware version is not up to date but is only freely
redistributable one I found.
Board file is a generic one so most devices and especially those
for long distance PtP links will require so in a ipq-wifi like way.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
 package/firmware/linux-firmware/qca.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Nick Jan. 18, 2020, 9:57 a.m. UTC | #1
I have several issues on a x86_64 testbed.

> https://github.com/openwrt/openwrt/pull/2417#issuecomment-575878911
I think, they are not directly related to the patches, but something is
strange, and make 60 ghz out-of-the-box not working on OpenWrt.
Espeically, the segmentation fault in the ubus library, is strange and
further the netfid stuff will crash... :/

On 16.01.20 12:50, Adrian Schmutzler wrote:
> From: Robert Marko <robimarko@gmail.com>
>
> This patch adds wil6210 firmware and board files.
> Firmware version is not up to date but is only freely
> redistributable one I found.
> Board file is a generic one so most devices and especially those
> for long distance PtP links will require so in a ipq-wifi like way.
>
> Signed-off-by: Robert Marko <robimarko@gmail.com>
> ---
>  package/firmware/linux-firmware/qca.mk | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/package/firmware/linux-firmware/qca.mk b/package/firmware/linux-firmware/qca.mk
> index 23fcc0905a..71b484d5c7 100644
> --- a/package/firmware/linux-firmware/qca.mk
> +++ b/package/firmware/linux-firmware/qca.mk
> @@ -37,3 +37,11 @@ define Package/carl9170-firmware/install
>  	$(INSTALL_DATA) $(PKG_BUILD_DIR)/carl9170-1.fw $(1)/lib/firmware
>  endef
>  $(eval $(call BuildPackage,carl9170-firmware))
> +
> +Package/wil6210-firmware = $(call Package/firmware-default,wil6210 firmware)
> +define Package/wil6210-firmware/install
> +	$(INSTALL_DIR) $(1)/lib/firmware
> +	$(INSTALL_DATA) $(PKG_BUILD_DIR)/wil6210.fw $(1)/lib/firmware
> +	$(INSTALL_DATA) $(PKG_BUILD_DIR)/wil6210.brd $(1)/lib/firmware
> +endef
> +$(eval $(call BuildPackage,wil6210-firmware))

Patch
diff mbox series

diff --git a/package/firmware/linux-firmware/qca.mk b/package/firmware/linux-firmware/qca.mk
index 23fcc0905a..71b484d5c7 100644
--- a/package/firmware/linux-firmware/qca.mk
+++ b/package/firmware/linux-firmware/qca.mk
@@ -37,3 +37,11 @@  define Package/carl9170-firmware/install
 	$(INSTALL_DATA) $(PKG_BUILD_DIR)/carl9170-1.fw $(1)/lib/firmware
 endef
 $(eval $(call BuildPackage,carl9170-firmware))
+
+Package/wil6210-firmware = $(call Package/firmware-default,wil6210 firmware)
+define Package/wil6210-firmware/install
+	$(INSTALL_DIR) $(1)/lib/firmware
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/wil6210.fw $(1)/lib/firmware
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/wil6210.brd $(1)/lib/firmware
+endef
+$(eval $(call BuildPackage,wil6210-firmware))