mt76: sync with version 878456caf6 from master

Backport required DT changes from commit dabdd123c9.
Significantly improves stability and performance for MT76x2 and MT7603

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2017-10-12 11:49:00 +02:00
parent baa8eaaba6
commit c1023c8075
31 changed files with 38 additions and 52 deletions

View File

@ -1,16 +1,16 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=mt76
PKG_RELEASE=2
PKG_RELEASE=1
PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:=
PKG_SOURCE_URL:=https://github.com/openwrt/mt76
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2017-01-31
PKG_SOURCE_VERSION:=3c8caafc5e150db79f714b958a51cee8f242f309
PKG_MIRROR_HASH:=c03c166466cb7ea825e52cd085511045e3847d927ba2bde2b8fb46595a3ed13a
PKG_SOURCE_DATE:=2017-10-12
PKG_SOURCE_VERSION:=1be430fc8ae486e61f51f76925b30d6ff64c37dd
PKG_MIRROR_HASH:=992e3d86d493b976ec23fb4f1179a72c3e34199c6ec5a93f37069555c9b19d9c
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
PKG_BUILD_PARALLEL:=1

View File

@ -147,7 +147,6 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 32768>;
mediatek,2ghz = <0>;
};
};
};

View File

@ -181,7 +181,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 32768>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-1)>;
};

View File

@ -188,7 +188,6 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 32768>;
mediatek,2ghz = <0>;
};
};
};

View File

@ -116,7 +116,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 0x2000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
@ -125,7 +125,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&radio 0>;
mediatek,5ghz = <0>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};

View File

@ -93,7 +93,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
@ -102,7 +102,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};

View File

@ -143,7 +143,6 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
};
};
};

View File

@ -87,7 +87,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&art 0x1000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};

View File

@ -134,7 +134,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};

View File

@ -122,7 +122,6 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
};
};
};

View File

@ -143,7 +143,6 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
};
};
};

View File

@ -117,7 +117,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
@ -126,7 +126,6 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};
};

View File

@ -149,7 +149,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
@ -158,7 +158,6 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};
};

View File

@ -103,7 +103,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};

View File

@ -109,7 +109,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};

View File

@ -103,7 +103,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
@ -112,7 +112,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,5ghz = <0>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};

View File

@ -95,7 +95,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
@ -104,7 +104,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};

View File

@ -92,7 +92,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
@ -101,7 +101,6 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};
};

View File

@ -72,20 +72,19 @@
status = "okay";
pcie0 {
wifi@14c3,7662 {
compatible = "pci14c3,7662";
wifi@14c3,7603 {
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};
pcie1 {
wifi@14c3,7603 {
compatible = "pci14c3,7603";
wifi@14c3,7662 {
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};

View File

@ -85,7 +85,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
@ -94,7 +94,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};

View File

@ -165,7 +165,7 @@
compatible = "pci0,0";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};

View File

@ -89,7 +89,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
mtd-mac-address = <&factory 0xe000>;
};
};
@ -99,7 +99,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
ieee80211-freq-limit = <2400000 2500000>;
mtd-mac-address = <&factory 0xe000>;
};
};

View File

@ -77,7 +77,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};

View File

@ -111,7 +111,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
@ -120,7 +120,6 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};
};

View File

@ -170,7 +170,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
@ -179,7 +179,6 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};
};

View File

@ -173,7 +173,6 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};
};

View File

@ -84,7 +84,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};

View File

@ -124,7 +124,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};

View File

@ -93,7 +93,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
@ -102,7 +102,7 @@
reg = <0x0000 0 0 0 0>;
device_type = "pci";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
ieee80211-freq-limit = <2400000 2500000>;
};
};
};

View File

@ -88,7 +88,6 @@
compatible = "pci14c3,7603";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};
@ -97,7 +96,7 @@
compatible = "pci14c3,7662";
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&factory 0x8000>;
mediatek,2ghz = <0>;
ieee80211-freq-limit = <5000000 6000000>;
};
};
};

View File

@ -474,6 +474,5 @@
status = "disabled";
mediatek,mtd-eeprom = <&factory 0x0000>;
mediatek,5ghz = <0>;
};
};