projects
/
openwrt
/
staging
/
rmilecki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0517183
)
ramips: add RSSI leds for uci-defaults for ALL0256N
author
Gabor Juhos
<
[email protected]
>
Wed, 22 Aug 2012 09:46:30 +0000
(09:46 +0000)
committer
Gabor Juhos
<
[email protected]
>
Wed, 22 Aug 2012 09:46:30 +0000
(09:46 +0000)
Signed-off-by: Daniel Golle <
[email protected]
>
SVN-Revision: 33220
target/linux/ramips/base-files/etc/uci-defaults/leds
patch
|
blob
|
history
diff --git
a/target/linux/ramips/base-files/etc/uci-defaults/leds
b/target/linux/ramips/base-files/etc/uci-defaults/leds
index c09751daddd9337220c8b32da7394b7092d587aa..2fddc011ed1be90e38720d6de6c02801142790bd 100755
(executable)
--- a/
target/linux/ramips/base-files/etc/uci-defaults/leds
+++ b/
target/linux/ramips/base-files/etc/uci-defaults/leds
@@
-19,6
+19,10
@@
case $board in
set_usb_led "edimax:blue:3g"
;;
all0256n)
+ ucidef_set_rssimon "wlan0" "40000" "1"
+ ucidef_set_led_rssi "rssilow" "RSSILOW" "all0256n:green:rssilow" "wlan0" "1" "40" "0" "6"
+ ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0256n:green:rssimed" "wlan0" "30" "80" "-29" "5"
+ ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
set_wifi_led "rt2800pci-phy0::radio"
;;
bc2)