2
0
Эх сурвалжийг харах

ramips: mt7620: add DIR-810L's mt7610e 5 GHz radio

The 5 GHz radio of this device uses an mt7610e pci-e chip, which has
been recently added support.

Tested on the actual device as AP and client, TCP throughput ~90 Mbps
U/D.

Signed-off-by: Roger Pueyo Centelles <[email protected]>
Roger Pueyo Centelles 7 жил өмнө
parent
commit
cb6a8aa584

+ 8 - 0
target/linux/ramips/dts/DIR-810L.dts

@@ -143,3 +143,11 @@
 &wmac {
 	ralink,mtd-eeprom = <&factory 0>;
 };
+
+&pcie0 {
+	wifi@0,0 {
+		reg = <0x0000 0 0 0 0>;
+		mediatek,mtd-eeprom = <&factory 0x8000>;
+		ieee80211-freq-limit = <5000000 6000000>;
+	};
+};

+ 2 - 1
target/linux/ramips/image/mt7620.mk

@@ -154,8 +154,9 @@ TARGET_DEVICES += dch-m225
 
 define Device/dir-810l
   DTS := DIR-810L
-  IMAGE_SIZE := 6720k
+  DEVICE_PACKAGES := kmod-mt76x0e
   DEVICE_TITLE := D-Link DIR-810L
+  IMAGE_SIZE := 6720k
 endef
 TARGET_DEVICES += dir-810l