openwrt.git
7 years agokirkwood: add wpad-mini to guruplug profile
luka [Sun, 25 Jan 2015 13:39:24 +0000 (13:39 +0000)]
kirkwood: add wpad-mini to guruplug profile

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44125 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokirkwood: enable swconfig by default on EA3500
luka [Sun, 25 Jan 2015 13:11:07 +0000 (13:11 +0000)]
kirkwood: enable swconfig by default on EA3500

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44124 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokirkwood: fix EA3500 ubi options
luka [Sun, 25 Jan 2015 13:11:04 +0000 (13:11 +0000)]
kirkwood: fix EA3500 ubi options

Previous options resulted in a nonfunctional image.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44123 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokirkwood: drop port-based VLAN setup
luka [Sun, 25 Jan 2015 13:11:02 +0000 (13:11 +0000)]
kirkwood: drop port-based VLAN setup

Using port-based VLANs depends on a non-standard
swconfig parameter, which compilcates things like
LuCI that don't know about it. This patch changes
the default to use 802.1q VLANs internally in the
switch, but without tagging packets since we have
two Ethernet ports.

iperf3 tests indicate no difference in performance
versus port-based VLANs when the CPU port is not
using tags.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44122 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agogeneric/3.18: update to 3.18.3
kaloz [Sun, 25 Jan 2015 11:39:30 +0000 (11:39 +0000)]
generic/3.18: update to 3.18.3

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44121 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: fix typo in hwmon.mk (#18813)
nbd [Sun, 25 Jan 2015 11:21:48 +0000 (11:21 +0000)]
kernel: fix typo in hwmon.mk (#18813)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44120 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoinclude: drop kernel 3.3.x leftovers
luka [Sat, 24 Jan 2015 23:08:17 +0000 (23:08 +0000)]
include: drop kernel 3.3.x leftovers

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44119 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: fix ethernet feature TSO not work
nbd [Sat, 24 Jan 2015 22:45:28 +0000 (22:45 +0000)]
ralink: fix ethernet feature TSO not work

* fix TSO features verify on mt7621 firewrt board
* improve tx clean up. no need to access uncached
  memory. also use TX_DTX register instead of
  read tx ring DONE bit
* mt7621 need napi weight 64 to get more performance
* remove netif_receive_skb, after kernel version
  3.7 tcp4_gro_receive can handle tcp checksum.
  on rt2880 use iperf tcp LAN to WAN throughput test.
  with gro 135 Mbits/sec. without gro 80.4Mbits/sec.

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44118 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: init tx/rx vlan offload register for mt7621
nbd [Sat, 24 Jan 2015 22:45:23 +0000 (22:45 +0000)]
ralink: init tx/rx vlan offload register for mt7621

on mt7621 don't have tx vlan vid registers.
so set FE_REG_FE_DMA_VID_BASE to 0.
set rx vlan offload register to disable.

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44117 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: use fe_max_buf_size to get rx buffer size
nbd [Sat, 24 Jan 2015 22:45:16 +0000 (22:45 +0000)]
ralink: use fe_max_buf_size to get rx buffer size

the rx_buf_size now is 1534 when mtu is 1500.
the ethernet frame with vlan tag and FCS is 1522.
so the buffer is enough.

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44116 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: fix ethernet vlan tx offload support check
nbd [Sat, 24 Jan 2015 22:45:10 +0000 (22:45 +0000)]
ramips: fix ethernet vlan tx offload support check

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44115 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: eliminate a few kernel_patchver_*/CompareKernelPatchVer calls
nbd [Sat, 24 Jan 2015 22:13:31 +0000 (22:13 +0000)]
kernel: eliminate a few kernel_patchver_*/CompareKernelPatchVer calls

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44114 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: drop obsolete kernel version checks
nbd [Sat, 24 Jan 2015 22:13:22 +0000 (22:13 +0000)]
kernel: drop obsolete kernel version checks

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44113 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoep93xx: remove obsolete kernel version check
nbd [Sat, 24 Jan 2015 22:13:17 +0000 (22:13 +0000)]
ep93xx: remove obsolete kernel version check

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44112 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86: remove linux 3.3 support
nbd [Sat, 24 Jan 2015 20:02:23 +0000 (20:02 +0000)]
x86: remove linux 3.3 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44111 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobuild: drop obsolete kernel version dependencies
nbd [Sat, 24 Jan 2015 20:02:09 +0000 (20:02 +0000)]
build: drop obsolete kernel version dependencies

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44110 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: remove linux 3.3 patches and config
nbd [Sat, 24 Jan 2015 20:02:02 +0000 (20:02 +0000)]
kernel: remove linux 3.3 patches and config

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44109 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agopxa: mark as broken
nbd [Sat, 24 Jan 2015 20:01:45 +0000 (20:01 +0000)]
pxa: mark as broken

It still uses the long obsolete 3.3 kernel version

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44108 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agox86: mark the ep80579 subtarget as broken
nbd [Sat, 24 Jan 2015 20:01:40 +0000 (20:01 +0000)]
x86: mark the ep80579 subtarget as broken

It still uses the long obsolete 3.3 kernel version

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44107 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomcs814x: remove linux 3.3 support
nbd [Sat, 24 Jan 2015 20:01:33 +0000 (20:01 +0000)]
mcs814x: remove linux 3.3 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44106 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: prefix mii_xxx functions to avoid kernel namespace pollution
nbd [Sat, 24 Jan 2015 19:42:12 +0000 (19:42 +0000)]
ar8216: prefix mii_xxx functions to avoid kernel namespace pollution

Prefix the exported mii_xxx32 functions with ar8xxx_
to avoid kernel namespace pollution.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44105 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: add swconfig attribute to display ARL table on AR8327/AR8337
nbd [Sat, 24 Jan 2015 19:42:06 +0000 (19:42 +0000)]
ar8216: add swconfig attribute to display ARL table on AR8327/AR8337

Add global read-only swconfig attribute "arl_table" to display the
address resolution table.
So far the chip-specific part is implemented for AR8327/AR8337 only
as I don't have the datasheets for the other AR8XXX chips.

Successfully tested on TL-WDR4300 (AR8327rev2)
and TL-WDR4900 (AR8327rev4).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44104 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: decrease page switch wait time
nbd [Sat, 24 Jan 2015 19:42:01 +0000 (19:42 +0000)]
ar8216: decrease page switch wait time

Until a few years ago the page switch wait time was set to msleep(1)
what was changed to usleep_range(1000, 2000) later.

I can not imagine that a low-level operation like switching page
on register level takes so much time.
Most likely the value of 1ms was initially set to check whether
it fixes an issue and then remained w/o further checking whether
also a smaller value would be sufficient.

Now the wait time is set to 5us and I successfully tested this on
AR8327. IMHO 5us should be plenty of time for all supported chips.
However I couldn't test this due to missing hardware.

If other chips should need a longer wait time we can add the
wait time as a parameter to the ar8xxx_chip struct.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44103 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: add link change detection for switch ports
nbd [Sat, 24 Jan 2015 19:41:55 +0000 (19:41 +0000)]
ar8216: add link change detection for switch ports

Check for switch port link changes and
- flush ATU in case of a change
- report link change via syslog

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44102 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: fix ATU flushing
nbd [Sat, 24 Jan 2015 19:41:51 +0000 (19:41 +0000)]
ar8216: fix ATU flushing

The functionality to flush the address translation table contains two bugs
which luckily compensate each other.
1. Just setting the operation is not sufficient to perform the flushing.
   The "active" bit needs to be set to actually trigger an action.
   For the vtu operations this is implemented correctly.
2. ar8xxx_phy_read_status is called every 2s by the phy state machine
   to check for link changes. This would have caused an ATU flush
   every 2s.

Fix the chip-specific ATU flush functions and remove the ATU flush call
from ar8xxx_phy_read_status.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44101 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomac80211/hostapd: fix HT mode setup for RSN ad-hoc networks
nbd [Sat, 24 Jan 2015 19:27:22 +0000 (19:27 +0000)]
mac80211/hostapd: fix HT mode setup for RSN ad-hoc networks

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44100 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agorelayd: prevent start for disabled interfaces
nbd [Sat, 24 Jan 2015 18:12:09 +0000 (18:12 +0000)]
relayd: prevent start for disabled interfaces

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44099 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: fix a regression with some VLAN configurations introduced in the last update
nbd [Sat, 24 Jan 2015 14:16:36 +0000 (14:16 +0000)]
netifd: fix a regression with some VLAN configurations introduced in the last update

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44098 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoppp: on PPPoE, always send PADT when shutting down the connection
nbd [Sat, 24 Jan 2015 13:41:10 +0000 (13:41 +0000)]
ppp: on PPPoE, always send PADT when shutting down the connection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44097 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: do not stop service on shutdown, only call ifdown
nbd [Sat, 24 Jan 2015 13:41:04 +0000 (13:41 +0000)]
netifd: do not stop service on shutdown, only call ifdown

Also add a small delay, like on restart

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44096 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoppp: rework host-uniq support to take hex encoded strings
jow [Sat, 24 Jan 2015 11:30:45 +0000 (11:30 +0000)]
ppp: rework host-uniq support to take hex encoded strings

The previous implementation of the "host-uniq" option used plain strings for
passing the value to pppd which made it impossible to specify binary data.

Switch the format to a hex encoded string to support binary data.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44094 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: update to the latest version, fixes bridge reload (#18351) and device config...
nbd [Sat, 24 Jan 2015 00:30:36 +0000 (00:30 +0000)]
netifd: update to the latest version, fixes bridge reload (#18351) and device config issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44093 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: store additional DHCP lease information
jow [Fri, 23 Jan 2015 22:19:29 +0000 (22:19 +0000)]
netifd: store additional DHCP lease information

Extend the DHCPv4 handler script to store additional information from the
DHCP lease in the per-interface data object.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44092 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoinclude, base-files: align default repository url with changed buildbot structure
jow [Fri, 23 Jan 2015 13:09:54 +0000 (13:09 +0000)]
include, base-files: align default repository url with changed buildbot structure

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44091 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoRevert "version.mk: add "%s" placeholder for dotted target.subtarget notation"
jow [Fri, 23 Jan 2015 13:09:50 +0000 (13:09 +0000)]
Revert "version.mk: add "%s" placeholder for dotted target.subtarget notation"

This reverts commit d388882dccc1b25575939c3713b3ab394c371fd0.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44090 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoRevert "version.mk: explicitely filter "generic" subtarget for "%s" placeholder ...
jow [Fri, 23 Jan 2015 13:09:45 +0000 (13:09 +0000)]
Revert "version.mk: explicitely filter "generic" subtarget for "%s" placeholder (#18710)"

This reverts commit d907396dc1c2ae0268dc54835b108afef4761d4e.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44089 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoscripts: remote-gdb: fix target / libc matching on directory names
jow [Fri, 23 Jan 2015 12:41:06 +0000 (12:41 +0000)]
scripts: remote-gdb: fix target / libc matching on directory names

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44088 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobase-files: fix led script to skip missing triggers
blogic [Fri, 23 Jan 2015 12:33:04 +0000 (12:33 +0000)]
base-files: fix led script to skip missing triggers

this is based on http://patchwork.ozlabs.org/patch/424451/

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44087 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agouboot-lantiq: add a cgu fix for arx100
blogic [Fri, 23 Jan 2015 12:32:54 +0000 (12:32 +0000)]
uboot-lantiq: add a cgu fix for arx100

http://patchwork.ozlabs.org/patch/431024/

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44086 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: add support for TP-LINK TL-WR843ND v1
blogic [Fri, 23 Jan 2015 12:32:46 +0000 (12:32 +0000)]
ar71xx: add support for TP-LINK TL-WR843ND v1

TP-LINK TL-WR843ND v1 is the same model like wr41, but with
Power over Ethernet on wan port.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44085 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomodules: add 6LoWPAN over Bluetooth Low Energy
blogic [Fri, 23 Jan 2015 12:32:36 +0000 (12:32 +0000)]
modules: add 6LoWPAN over Bluetooth Low Energy

Adding support 6LoWPAN over Bluetooth Low Energy in kernel 3.18.
Creating new bluetooth_6lowpan group with CONFIG_6LOWPAN and CONFIG_BT_6LOWPAN.
Adding kernel object dependencies for 6LoWPAN over Bluetooth Low Energy.

Signed-off-by: Lukasz Duda <lukasz.duda@nordicsemi.no>
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44084 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolantiq: correct value for fpi clock on ar9
blogic [Fri, 23 Jan 2015 12:32:28 +0000 (12:32 +0000)]
lantiq: correct value for fpi clock on ar9

This adds a patch to target/linux/lantiq/patches-3.14
fixing a bug clock code on ar9. The current version returns
the wrong value for the fpi clock frequency in some
cases.

See discussion for further details:
https://lists.openwrt.org/pipermail/openwrt-devel/2015-January/030688.html

I'm not sure about the patch naming and numbering convention.
Do please let me know it this is not OK.

Many thanks,

Ben Mulvihill

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44083 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agogmp: use http instead of ftp download (#18805)
nbd [Fri, 23 Jan 2015 10:54:56 +0000 (10:54 +0000)]
gmp: use http instead of ftp download (#18805)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44082 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoubus: update to the latest version
nbd [Fri, 23 Jan 2015 10:54:52 +0000 (10:54 +0000)]
ubus: update to the latest version

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44081 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolibubox: update to the latest version
nbd [Fri, 23 Jan 2015 10:54:45 +0000 (10:54 +0000)]
libubox: update to the latest version

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44080 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobuild: revert r44076
blogic [Thu, 22 Jan 2015 13:13:09 +0000 (13:13 +0000)]
build: revert r44076

the patch causes issues when installing feeds

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44078 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: add support for the UniFi AP Outdoor Plus
blogic [Thu, 22 Jan 2015 09:35:46 +0000 (09:35 +0000)]
ar71xx: add support for the UniFi AP Outdoor Plus

the GPIO controlling the rf filter is not configured properly by this patch.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44077 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobuild: allow openwrt.git packages to be replaced by feeds
blogic [Thu, 22 Jan 2015 09:35:40 +0000 (09:35 +0000)]
build: allow openwrt.git packages to be replaced by feeds

Currently, replacing a package available in openwrt.git requires
modifications in openwrt.git, or requires duplicating the package in a
feed but with a different name, which causes all kind of problems
related to dependencies (all packages selecting it would have to be
modified accordingly to select the new package).

With this change, if a package with the same name is present both in
feeds/ and package/ folders, the one in feeds/ can override the one
in package/, both in the menuconfig and during the build, by passing the
"-f" option to "./scripts/feeds install"

This mechanism is particularly useful for vendor tree, or in general for
application which needs to replace one particular package which exists
within openwrt.git by a custom/newer version.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44076 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomodules: f2fs: enable support for xattr
blogic [Thu, 22 Jan 2015 09:35:35 +0000 (09:35 +0000)]
modules: f2fs: enable support for xattr

To use overlayfs on f2fs, xattr needs to be supported.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44075 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomodules: f2fs: add missing symbols for 3.18
blogic [Thu, 22 Jan 2015 09:35:29 +0000 (09:35 +0000)]
modules: f2fs: add missing symbols for 3.18

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44074 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: add support for Tenda 3G150B
blogic [Thu, 22 Jan 2015 09:35:22 +0000 (09:35 +0000)]
ramips: add support for Tenda 3G150B

Add suport for Tenda 3G150B:
- cpu: Ralink RT5350F
- flash: 4MB
- ram: 32MB
- 1x USB 2.0
- 1x RJ45
- one reset button
- battery powered (BP-4L, 3.7V 1450mAh)

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44073 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: improve and fix Memory 2 Move support
blogic [Thu, 22 Jan 2015 09:35:12 +0000 (09:35 +0000)]
ramips: improve and fix Memory 2 Move support

This patch is a follow up for my previous patch:
"ramips: add support for Intenso Memory 2 Move USB 3.0".

It fixes a couple of errors in the DTS (one of which broke
the gpio-buttons). The kmod-leds-gpio dependency has been
dropped as it is already part of the ramips target.

Furthermore the ramdisk/uImage image is generated by default
for the rt3050 subtarget. This image is needed to flash
OpenWrt for the first time onto the device via TFTP.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44072 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomcs814x: document how to include 3rd party binary packages
florian [Wed, 21 Jan 2015 23:55:11 +0000 (23:55 +0000)]
mcs814x: document how to include 3rd party binary packages

The dLAN USB Extender profile was referecing binary packages which are not to
be included in any of the source-only feeds. Instead remove these references
and document how to use the 3rd party feed.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44071 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobcm53xx: backport official Buffalo WZR-900DHP patch
rmilecki [Wed, 21 Jan 2015 07:23:31 +0000 (07:23 +0000)]
bcm53xx: backport official Buffalo WZR-900DHP patch

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44070 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobcm53xx: backport spi-nor changes to add gd25q128 support
rmilecki [Wed, 21 Jan 2015 06:53:15 +0000 (06:53 +0000)]
bcm53xx: backport spi-nor changes to add gd25q128 support

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44069 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomodules: install the newly introduced grace.ko in nfs-common in 3.18
wigyori [Tue, 20 Jan 2015 23:49:44 +0000 (23:49 +0000)]
modules: install the newly introduced grace.ko in nfs-common in 3.18

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44068 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agopackages: uboot-sunxi: add support for Lamobo R1
wigyori [Tue, 20 Jan 2015 22:50:52 +0000 (22:50 +0000)]
packages: uboot-sunxi: add support for Lamobo R1

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44067 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agopackages: uboot-sunxi: fix GMAC TX delay for Bananapi
wigyori [Tue, 20 Jan 2015 22:49:47 +0000 (22:49 +0000)]
packages: uboot-sunxi: fix GMAC TX delay for Bananapi

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44066 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: add support for TL-WA701ND v2
blogic [Tue, 20 Jan 2015 15:48:07 +0000 (15:48 +0000)]
ar71xx: add support for TL-WA701ND v2

Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44063 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonftables: bump for minor fixes
cyrus [Tue, 20 Jan 2015 13:42:47 +0000 (13:42 +0000)]
nftables: bump for minor fixes

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44062 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agopolarssl: patch CVE-2015-1182
jow [Tue, 20 Jan 2015 12:49:54 +0000 (12:49 +0000)]
polarssl: patch CVE-2015-1182

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44060 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobcm53xx: use final (backported) patch fixing serial console
rmilecki [Tue, 20 Jan 2015 08:04:27 +0000 (08:04 +0000)]
bcm53xx: use final (backported) patch fixing serial console

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44059 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobcm53xx: backport 3 BCM5301X patches from Hauke repo
rmilecki [Tue, 20 Jan 2015 07:21:30 +0000 (07:21 +0000)]
bcm53xx: backport 3 BCM5301X patches from Hauke repo

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44058 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobcm53xx: rename patches modifying DTS files
rmilecki [Tue, 20 Jan 2015 06:58:03 +0000 (06:58 +0000)]
bcm53xx: rename patches modifying DTS files

Ths will allow us to use early 3xx numbers for patches designed for
sending mainline.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44057 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobase-files: Use 200ms LED timing as before for the new phase preinit_regular.
blogic [Tue, 20 Jan 2015 06:54:53 +0000 (06:54 +0000)]
base-files: Use 200ms LED timing as before for the new phase preinit_regular.

This restores normal pre-r43715 200ms blink-period for the System LED we're all accustomed to see while our OpenWrt routers are booting.

Failsafe possibility will now be signalled with a new 100ms blinking, which is easily recognizable from the normal 200ms booting.

So no existing user will be scared by a new 500ms LED pattern, since such a slow pattern could easily be mistaken for something wrong... I was like "ok why my router is collapsing now, is this a bad flash, a kernel panic, or what else" when I've seen it for the first time ;)

Sorry for not having explained myself better in v1 of this patch.

Original:
Preinit, failsafe is possible: 200ms
Preinit, failsafe not possible anymore, booting normally: 200ms
Failsafe entered: 50ms

Now (after preinit_regular has been introduced):
Preinit, failsafe is possible: 200ms
Preinit, failsafe not possible anymore, booting normally: 500ms *here is the "offending" change*
Failsafe entered: 50ms

With my proposed patch:
Preinit, failsafe is possible: 100ms *indicate this condition with a new timing, that prompts the user to press the key if they want to start failsafe*
Preinit, failsafe not possible anymore, booting normally: 200ms *keep this as before*
Failsafe entered: 50ms

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44056 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: add support for firewrt
blogic [Tue, 20 Jan 2015 06:34:28 +0000 (06:34 +0000)]
ralink: add support for firewrt

this is a mt7621 based board

Signed-off-by: wengbj <linux.c@foxmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44055 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agocomgt: Allow using non-TTY devices
blogic [Tue, 20 Jan 2015 06:33:49 +0000 (06:33 +0000)]
comgt: Allow using non-TTY devices

Some Huawei mobile broadband sticks utilizing the NCM protocol expose
the control channel as a cdc-wdm device node instead of a virtual TTY.
This device node does not support the terminal ioctls. This patch
adds a check whether the provided device is a TTY or not and does not
attempt to use the terminal ioctls if they are not supported.

v2: reduce diffstat by simplifying code a little
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44054 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agouclient: update to the latest version with timeout support
rmilecki [Mon, 19 Jan 2015 16:02:59 +0000 (16:02 +0000)]
uclient: update to the latest version with timeout support

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44053 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolibubox: update to the latest commit with JSON and usock fixes
rmilecki [Mon, 19 Jan 2015 15:56:06 +0000 (15:56 +0000)]
libubox: update to the latest commit with JSON and usock fixes

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44052 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobcm53xx: add support/firmware for Asus RT-AC87U
rmilecki [Mon, 19 Jan 2015 11:05:22 +0000 (11:05 +0000)]
bcm53xx: add support/firmware for Asus RT-AC87U

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44051 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agonetifd: add option to customize IPv6 interface identifiers (thx Hans Dedecker)
cyrus [Mon, 19 Jan 2015 08:39:04 +0000 (08:39 +0000)]
netifd: add option to customize IPv6 interface identifiers (thx Hans Dedecker)

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44050 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agopackages: uboot-sunxi: uEnv is used as a script rather than default env
wigyori [Mon, 19 Jan 2015 00:00:57 +0000 (00:00 +0000)]
packages: uboot-sunxi: uEnv is used as a script rather than default env

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44048 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: fix ethernet rx buffer size breakage
nbd [Sun, 18 Jan 2015 20:17:41 +0000 (20:17 +0000)]
ralink: fix ethernet rx buffer size breakage

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44047 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: improve check rx sg function. use check frags instead of function call
nbd [Sun, 18 Jan 2015 20:17:28 +0000 (20:17 +0000)]
ralink: improve check rx sg function. use check frags instead of function call

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44046 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: correct handle hardware rx 2bytes offset
nbd [Sun, 18 Jan 2015 20:17:18 +0000 (20:17 +0000)]
ralink: correct handle hardware rx 2bytes offset

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44045 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: use fe_reset to control all reset
nbd [Sun, 18 Jan 2015 20:17:07 +0000 (20:17 +0000)]
ralink: use fe_reset to control all reset

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44044 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: improve tx_timeout function
nbd [Sun, 18 Jan 2015 20:16:50 +0000 (20:16 +0000)]
ralink: improve tx_timeout function

* use default timeout value
* print more debug ring info
* move timeout reset function to workqueue

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44043 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: add ethernet fe and esw reset control bit
nbd [Sun, 18 Jan 2015 20:16:44 +0000 (20:16 +0000)]
ralink: add ethernet fe and esw reset control bit

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44042 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoralink: reduce access to uncached tx/rx dma ring buffer
nbd [Sun, 18 Jan 2015 20:16:35 +0000 (20:16 +0000)]
ralink: reduce access to uncached tx/rx dma ring buffer

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44041 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agosunxi: update Olimex A13 SOM profile
wigyori [Sun, 18 Jan 2015 16:58:35 +0000 (16:58 +0000)]
sunxi: update Olimex A13 SOM profile

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44040 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agopackages: uboot-sunxi: re-add Olimex A13 SOM which went AWOL in u-boot trunk
wigyori [Sun, 18 Jan 2015 16:56:08 +0000 (16:56 +0000)]
packages: uboot-sunxi: re-add Olimex A13 SOM which went AWOL in u-boot trunk

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44039 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agopackages: uboot-sunxi: remove unused Hackberry target
wigyori [Sun, 18 Jan 2015 16:47:50 +0000 (16:47 +0000)]
packages: uboot-sunxi: remove unused Hackberry target

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44038 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agouboot-envtools: fix Linksys EA3500 env size
luka [Sun, 18 Jan 2015 16:45:11 +0000 (16:45 +0000)]
uboot-envtools: fix Linksys EA3500 env size

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44037 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokirkwood: enable switch on Linksys EA3500
luka [Sun, 18 Jan 2015 16:45:01 +0000 (16:45 +0000)]
kirkwood: enable switch on Linksys EA3500

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44036 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agopackages: update uboot-sunxi to 2015.01
wigyori [Sun, 18 Jan 2015 16:42:42 +0000 (16:42 +0000)]
packages: update uboot-sunxi to 2015.01

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44035 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: add missing config symbol for 3.18
wigyori [Sun, 18 Jan 2015 14:28:13 +0000 (14:28 +0000)]
kernel: add missing config symbol for 3.18

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44034 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomac80211: add throughput trigger to ath10k
blogic [Sun, 18 Jan 2015 10:26:57 +0000 (10:26 +0000)]
mac80211: add throughput trigger to ath10k

add a led trigger to ath10k based on the ath9k code

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44033 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolantiq: DGN3500 cleanups
blogic [Sun, 18 Jan 2015 09:41:04 +0000 (09:41 +0000)]
lantiq: DGN3500 cleanups

This patch builds on the previous three to streamline support for the
Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44032 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolantiq: Restore call to orphaned etop function
blogic [Sun, 18 Jan 2015 09:40:58 +0000 (09:40 +0000)]
lantiq: Restore call to orphaned etop function

It seems the call to ltq_get_eth_mac() disappeared at some point. This
patch puts it where it currently most makes sense.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44031 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: preserve bootloader command line on MIPS
blogic [Sun, 18 Jan 2015 09:40:53 +0000 (09:40 +0000)]
kernel: preserve bootloader command line on MIPS

Somewhere in the conversion of the MIPS architecture code to Device Tree
usage, there's been a failure to keep the separate variables holding the
kernel command line reconciled between the tree and the bootloader. This
patch restores previous functionality that broke.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44030 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolantiq: Fix initscript issue
blogic [Sun, 18 Jan 2015 09:40:47 +0000 (09:40 +0000)]
lantiq: Fix initscript issue

Currently this initscript fails if the macaddr has any leading zeroes.
This patch corrects the problem.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44029 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messages
nbd [Sun, 18 Jan 2015 09:25:49 +0000 (09:25 +0000)]
ramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messages

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44028 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: add mt7621 cpu feature overrides
nbd [Sun, 18 Jan 2015 09:25:43 +0000 (09:25 +0000)]
ramips: add mt7621 cpu feature overrides

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44027 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: add missing config symbol
nbd [Sun, 18 Jan 2015 09:25:38 +0000 (09:25 +0000)]
kernel: add missing config symbol

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44026 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: refresh kernel patches
nbd [Sun, 18 Jan 2015 09:25:32 +0000 (09:25 +0000)]
ramips: refresh kernel patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44025 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: backport upstream commit to fix MIPS cache shift with secondary cache enabled
nbd [Sun, 18 Jan 2015 09:25:27 +0000 (09:25 +0000)]
kernel: backport upstream commit to fix MIPS cache shift with secondary cache enabled

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44024 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: display flow control info in swconfig get_link in case of autonegatiation too
nbd [Sun, 18 Jan 2015 00:54:06 +0000 (00:54 +0000)]
ar8216: display flow control info in swconfig get_link in case of autonegatiation too

The swconfig get_link attribute (at least) on AR8327/AR8337 doesn't
consider the autonegotiated flow control.
AR8327/AR8337 provide the info about autonegotiated rx/tx flow control
in bits 10 and 11 of the port status register.
Use these values to display info about autonegotiated rx/tx flow
control as part of the get_link attribute.

Successfully tested on TL-WDR4900 (AR8327 rev.4) and
TL-WDR4300 (AR8327 rev.2).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44023 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: add 802.3az EEE info to swconfig get_link attribute
nbd [Sun, 18 Jan 2015 00:53:59 +0000 (00:53 +0000)]
ar8216: add 802.3az EEE info to swconfig get_link attribute

AR8327/AR8337 allow to read the result of EEE autonegotiation.
If EEE is autonegotiated between the link partners, display
this as part of the swconfig get_link attribute.

eee100:  100MBit EEE supported by both link partners
eee1000: 1GBit EEE supported by both link partners

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44022 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar8216: introduce enable_eee swconfig attribute to control 802.3az EEE per port
nbd [Sun, 18 Jan 2015 00:53:53 +0000 (00:53 +0000)]
ar8216: introduce enable_eee swconfig attribute to control 802.3az EEE per port

Users reported network issues with AR8327 which turned out to be caused
by EEE not working correctly with certain link partners (ticket 14597).
The workaround was to disable EEE on all ports (changeset 41577).

The issue was with certain link partners only, therefore this patch
allows to control usage of EEE per port via swconfig.
Still the default is to initially disable EEE on all ports.

Successfully tested on a TL-WDR4900 (AR8327 rev.4)

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44021 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoigmpproxy: add patch to silence unnecessary logging of downstream igmp traffic
nbd [Sun, 18 Jan 2015 00:42:43 +0000 (00:42 +0000)]
igmpproxy: add patch to silence unnecessary logging of downstream igmp traffic

This patch adds a simple check to silence logging of messages about
unrecognized igmp packets which originate from devices in local network.

Without this patch igmpproxy floods openwrt syslog with messages such as:
  user.warn igmpproxy[19818]: The source address 192.168.1.175 for group
  239.255.250.250, is not in any valid net for upstream VIF.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44020 3c298f89-4303-0410-b956-a3cf2f4a3e73