mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
e6b72de703
Changelog from quic: Bug fixes, stability improvements from previous releases are present. There are no backward comatibility issues with this release. Reviewed-by: Robert Marko <robimarko@gmail.com> Tested-by: Michał Kwiatek <michal@kwiatek.it> # Xiaomi AX3600 Signed-off-by: Michał Kwiatek <michal@kwiatek.it>
78 lines
2.1 KiB
Makefile
78 lines
2.1 KiB
Makefile
#
|
|
# Copyright (C) 2022 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ath11k-firmware
|
|
PKG_SOURCE_DATE:=2023-07-28
|
|
PKG_SOURCE_VERSION:=006a4e2a23a6cf9e7a28d8349025a4418e39cb1d
|
|
PKG_MIRROR_HASH:=1043b8c01d28cad2a34e4586e4e6a3949bd1aed9f9afd5b71f527b6b23835e81
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/quic/upstream-wifi-fw.git
|
|
|
|
PKG_LICENSE_FILES:=LICENSE.qca_firmware
|
|
|
|
PKG_MAINTAINER:=Robert Marko <robimarko@gmail.com>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
RSTRIP:=:
|
|
STRIP:=:
|
|
|
|
define Package/ath11k-firmware-default
|
|
SECTION:=firmware
|
|
CATEGORY:=Firmware
|
|
URL:=$(PKG_SOURCE_URL)
|
|
DEPENDS:=
|
|
endef
|
|
|
|
define Package/ath11k-firmware-ipq8074
|
|
$(Package/ath11k-firmware-default)
|
|
TITLE:=IPQ8074 ath11k firmware
|
|
endef
|
|
|
|
define Package/ath11k-firmware-qcn9074
|
|
$(Package/ath11k-firmware-default)
|
|
TITLE:=QCN9074 ath11k firmware
|
|
endef
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
QCN9074_BOARD_REV:=8e140c65f36137714b6d8934e09dcd73cb05c2f6
|
|
QCN9074_BOARD_FILE:=board-2.bin.$(QCN9074_BOARD_REV)
|
|
|
|
define Download/qcn9074-board
|
|
URL:=https://github.com/kvalo/ath11k-firmware/raw/master/QCN9074/hw1.0/
|
|
URL_FILE:=board-2.bin
|
|
FILE:=$(QCN9074_BOARD_FILE)
|
|
HASH:=dbf0ca14aa1229eccd48f26f1026901b9718b143bd30b51b8ea67c84ba6207f1
|
|
endef
|
|
$(eval $(call Download,qcn9074-board))
|
|
|
|
define Package/ath11k-firmware-ipq8074/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/IPQ8074
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath11k-firmware/IPQ8074/hw2.0/2.9.0.1/WLAN.HK.2.9.0.1-01862-QCAHKSWPL_SILICONZ-1/* \
|
|
$(1)/lib/firmware/IPQ8074/
|
|
endef
|
|
|
|
define Package/ath11k-firmware-qcn9074/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/ath11k/QCN9074/hw1.0
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ath11k-firmware/QCN9074/hw1.0/2.9.0.1/WLAN.HK.2.9.0.1-01862-QCAHKSWPL_SILICONZ-1/* \
|
|
$(1)/lib/firmware/ath11k/QCN9074/hw1.0/
|
|
$(INSTALL_BIN) \
|
|
$(DL_DIR)/$(QCN9074_BOARD_FILE) $(1)/lib/firmware/ath11k/QCN9074/hw1.0/board-2.bin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ath11k-firmware-ipq8074))
|
|
$(eval $(call BuildPackage,ath11k-firmware-qcn9074))
|