-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
patches/openwrt/0020-at71xx-TP-LINK-Archer-add-5GHz-led-entry.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
From: Matthias Schiffer <mschiffer@universe-factory.net> | ||
Date: Tue, 10 Mar 2015 13:17:23 +0100 | ||
Subject: at71xx: TP-LINK Archer: add 5GHz led entry | ||
|
||
Add 5GHz led entry after r44033. | ||
|
||
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> | ||
|
||
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | ||
index a74b8f4..36fe028 100755 | ||
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | ||
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | ||
@@ -326,6 +326,7 @@ tl-wdr4900-v2) | ||
ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1" | ||
ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1" | ||
ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt" | ||
+ ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy1tpt" | ||
;; | ||
|
||
tl-wr741nd) |
34 changes: 34 additions & 0 deletions
34
patches/openwrt/0021-ar71xx-fix-switched-WLAN-LEDs-on-TP-LINK-Archer-C5-C7.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
From: Matthias Schiffer <mschiffer@universe-factory.net> | ||
Date: Tue, 10 Mar 2015 14:06:01 +0100 | ||
Subject: ar71xx: fix switched WLAN LEDs on TP-LINK Archer C5/C7 | ||
|
||
ath10k is loaded before ath9k, so the 5GHz adapter becomes phy0. | ||
|
||
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | ||
index 36fe028..315a9fd 100755 | ||
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | ||
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds | ||
@@ -320,8 +320,6 @@ tl-wdr4300) | ||
ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt" | ||
;; | ||
|
||
-archer-c5|\ | ||
-archer-c7|\ | ||
tl-wdr4900-v2) | ||
ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1" | ||
ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1" | ||
@@ -329,6 +327,14 @@ tl-wdr4900-v2) | ||
ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy1tpt" | ||
;; | ||
|
||
+archer-c5|\ | ||
+archer-c7) | ||
+ ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1" | ||
+ ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1" | ||
+ ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy1tpt" | ||
+ ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy0tpt" | ||
+ ;; | ||
+ | ||
tl-wr741nd) | ||
ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1" | ||
ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02" |