ramips: enable external amplifier for D-Link DIR-810L
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>
Wed, 4 Sep 2019 09:29:12 +0000 (11:29 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 3 Nov 2019 13:02:38 +0000 (14:02 +0100)
The 2.4 GHz radio had very poor signal reception (-89 dBm for an AP
sitting 5 m away). By enabling the external amplifier, received signal
has improved to -50 dBm for the same AP.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
(cherry picked from commit e667d6f46b5fa9ade5da1d76c8cc1aab1df1dcb6)

target/linux/ramips/dts/DIR-810L.dts

index 08876200531f587d0ae97a74b8c8f31f31e11f41..479005fbf72c2fe5fc17107560b97125f4c7b6c2 100644 (file)
 
 &wmac {
        ralink,mtd-eeprom = <&factory 0x0>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pa_pins>;
        mtd-mac-address = <&factory 0x28>;
 };