From 9d18e34052efc4bf289330f578073e8860e0bde6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 28 Feb 2016 09:55:18 +0000 Subject: [PATCH] mt76: update to the latest version, enable MT7603 support (very basic, needs testing and debugging work) Signed-off-by: Felix Fietkau SVN-Revision: 48811 --- package/kernel/mt76/Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile index c098832233..69d2a604ea 100644 --- a/package/kernel/mt76/Makefile +++ b/package/kernel/mt76/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mt76 -PKG_VERSION:=2016-02-08 +PKG_VERSION:=2016-02-28 PKG_RELEASE=1 PKG_LICENSE:=GPLv2 @@ -10,7 +10,7 @@ PKG_LICENSE_FILES:= PKG_SOURCE_URL:=https://github.com/openwrt/mt76 PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=84a312645c7b805255e6d7b6191e9f62142985d9 +PKG_SOURCE_VERSION:=f2add7b2f0291675331229ba12f1cac7494c7ec0 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz PKG_MAINTAINER:=Felix Fietkau @@ -21,12 +21,13 @@ include $(INCLUDE_DIR)/package.mk define KernelPackage/mt76 SUBMENU:=Wireless Drivers - TITLE:=MediaTek MT76x2 wireless driver + TITLE:=MediaTek MT76x2/MT7603 wireless driver DEPENDS:=+kmod-mac80211 +@DRIVER_11N_SUPPORT @PCI_SUPPORT FILES:=\ $(PKG_BUILD_DIR)/mt76.ko \ - $(PKG_BUILD_DIR)/mt76x2e.ko - AUTOLOAD:=$(call AutoLoad,50,mac80211 mt76 mt76x2e) + $(PKG_BUILD_DIR)/mt76x2e.ko \ + $(PKG_BUILD_DIR)/mt7603e.ko + AUTOLOAD:=$(call AutoLoad,50,mac80211 mt76 mt76x2e mt7603e) endef NOSTDINC_FLAGS = \ @@ -54,6 +55,8 @@ endef define KernelPackage/mt76/install $(INSTALL_DIR) $(1)/lib/firmware cp \ + $(PKG_BUILD_DIR)/firmware/mt7603_e1.bin \ + $(PKG_BUILD_DIR)/firmware/mt7603_e2.bin \ $(PKG_BUILD_DIR)/firmware/mt7662_rom_patch.bin \ $(PKG_BUILD_DIR)/firmware/mt7662.bin \ $(1)/lib/firmware