openwrt.git
9 years agox86_64: enable PCIE support
jow [Thu, 29 Jan 2015 19:12:29 +0000 (19:12 +0000)]
x86_64: enable PCIE support

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

9 years agocurl: fix build with --disable-crypto-auth (#18838)
jow [Thu, 29 Jan 2015 16:52:15 +0000 (16:52 +0000)]
curl: fix build with --disable-crypto-auth (#18838)

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

9 years agocurl: fix typo in 2 config symbols
nico [Thu, 29 Jan 2015 16:37:08 +0000 (16:37 +0000)]
curl: fix typo in 2 config symbols

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44191 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoinclude: apply version filter on kmod file list
jow [Thu, 29 Jan 2015 15:51:05 +0000 (15:51 +0000)]
include: apply version filter on kmod file list

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

9 years agoinclude: pass kernel version when generating kconfig overrides
jow [Thu, 29 Jan 2015 15:51:00 +0000 (15:51 +0000)]
include: pass kernel version when generating kconfig overrides

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

9 years agoscripts: add version_filter command to metadata.pl
jow [Thu, 29 Jan 2015 15:50:53 +0000 (15:50 +0000)]
scripts: add version_filter command to metadata.pl

Also support version annotated Kconfig symbols in the kconfig subcommand.

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

9 years agonetfilter: add missing symbols and modules for Linux 3.18+
jow [Thu, 29 Jan 2015 10:22:17 +0000 (10:22 +0000)]
netfilter: add missing symbols and modules for Linux 3.18+

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

9 years agobcm53xx: early support for Netgear R8000
rmilecki [Wed, 28 Jan 2015 21:55:43 +0000 (21:55 +0000)]
bcm53xx: early support for Netgear R8000

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

9 years agokernel: bcm47xxpart: support T_Meter partitions
rmilecki [Wed, 28 Jan 2015 21:26:31 +0000 (21:26 +0000)]
kernel: bcm47xxpart: support T_Meter partitions

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

9 years agomodules: Add support for Realtek r8712 and RTL8192SU.
blogic [Wed, 28 Jan 2015 19:19:57 +0000 (19:19 +0000)]
modules: Add support for Realtek r8712 and RTL8192SU.

This patch adds support for Realtek r8712 and RTL8188SU/RTL8191SU/RTL8192SU
family of fullmac usb wireless cards. The r8712u staging driver only supports
WEXT but works with no problems in OpenWRT.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>

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

9 years agoar71xx: fix D-Link DIR-615 rev. C1 WLAN MAC address
blogic [Wed, 28 Jan 2015 19:19:47 +0000 (19:19 +0000)]
ar71xx: fix D-Link DIR-615 rev. C1 WLAN MAC address

Fix the WLAN MAC address to match the one printed on the label by using the
correct address from the ART instead of the address of the LAN interface.

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

9 years agocomgt-ncm: Fix NCM protocol
blogic [Wed, 28 Jan 2015 19:19:33 +0000 (19:19 +0000)]
comgt-ncm: Fix NCM protocol

This patch fixes the NCM protocol by adding the missing ifname
to the netifd script and changing one unintended "send" statement to
"print" in runcommand.gcom. It also cleans up logging and makes the
manufacturer names case-insensitive. Furthermore, comgt-ncm should
not depend on the USB-serial-related kernel modules, as the cdc-wdm
control device works without them. There is also no need to depend on
kmod-huawei-cdc-ncm, since other manufacturers (like Sony-Ericsson
and Samsung) which use other kernel modules should also be supported.

I'd appreciate if someone with Samsung or Sony-Ericsson modems could
test this, I was only able to test it with Huawei E3276, E3372 and
E353.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44182 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolinux: add upstream patch to allow building dwc2 as module on 3.18
jow [Wed, 28 Jan 2015 13:45:06 +0000 (13:45 +0000)]
linux: add upstream patch to allow building dwc2 as module on 3.18

Also add the required config symbols to usb.mk

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

9 years agofstools: fix exit code of uci-defaults script
jow [Wed, 28 Jan 2015 13:44:37 +0000 (13:44 +0000)]
fstools: fix exit code of uci-defaults script

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

9 years agouboot-lantiq: fix P-2812HNU-F1/3 package dependency
blogic [Wed, 28 Jan 2015 12:08:13 +0000 (12:08 +0000)]
uboot-lantiq: fix P-2812HNU-F1/3 package dependency

After r43987 TARGET_lantiq_xrx200_P2812HNUFX does not exist anymore.
Fix empty menuconfig bootloader selection by making u-boot depend on
one of the new target profiles.

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

9 years agolibubox: update to latest git HEAD
blogic [Wed, 28 Jan 2015 12:08:04 +0000 (12:08 +0000)]
libubox: update to latest git HEAD

adds "ignore SIGPIPE by default"

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

9 years agoprocd: update to latest git HEAD
blogic [Wed, 28 Jan 2015 12:07:55 +0000 (12:07 +0000)]
procd: update to latest git HEAD

adds a zram size calculation bug fix

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

9 years agocURL: Update to version 7.40.0
blogic [Wed, 28 Jan 2015 12:07:47 +0000 (12:07 +0000)]
cURL: Update to version 7.40.0

* Update to version 7.40.0
* remove non existing config options around enable/disable HTTPS protocoll
* remove --with-ca-path if ssl support disabled
* set proxy support as default like all versions before CC did

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44176 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolibertas: set wireless macaddr
blogic [Wed, 28 Jan 2015 12:07:35 +0000 (12:07 +0000)]
libertas: set wireless macaddr

Update the wireless macaddr with the value retrieved from the H/W.

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

9 years agolibertas: configure sysfs symlinks
blogic [Wed, 28 Jan 2015 12:07:29 +0000 (12:07 +0000)]
libertas: configure sysfs symlinks

Update the libertas driver to configure symlinks in sysfs.  This enables
the driver to be handled correctly by the mac80211/netifd/hostapd scripts.
With this patch, the wireless interface is functional on Guruplug Server Plus.

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

9 years agomac80211: Add some missing 802.11n capabilities to hostapd configuration
blogic [Wed, 28 Jan 2015 12:07:21 +0000 (12:07 +0000)]
mac80211: Add some missing 802.11n capabilities to hostapd configuration

Add some missing 802.11n capabilities to the hostapd ht_capab string when
supported by the hardware: Spatial Multiplexing Power-Save and 7935-byte AMSDUs.

Signed-off-by: Robert Hancock <hancockrwd@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44173 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: fix fallback to macaddr
blogic [Wed, 28 Jan 2015 12:07:08 +0000 (12:07 +0000)]
mac80211: fix fallback to macaddr

If '/sys/class/ieee80211/phyN' is not a symlink, the call to readlink
produces either an empty path (if /sys/class/ieee80211/phyN/device doesn't
exist) or a path that begins with '/sys/class/ieee80211' (which does not
work with the subsequent line to strip '/sys/devices' from the beginning of
the path).  Modify the checks to detect these conditions, and fallback to
using the macaddr.

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

9 years agomac80211: update libertas_sdio package name
blogic [Wed, 28 Jan 2015 12:06:59 +0000 (12:06 +0000)]
mac80211: update libertas_sdio package name

Change the name of the package to match the module name so it matches the
package name referenced by the Kirkwood (Guruplug) profile.

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

9 years agomodules: select grace_period config option for nfs-common
blogic [Wed, 28 Jan 2015 12:06:52 +0000 (12:06 +0000)]
modules: select grace_period config option for nfs-common

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

9 years agomodules: add lz4 compression support
blogic [Wed, 28 Jan 2015 12:06:45 +0000 (12:06 +0000)]
modules: add lz4 compression support

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

9 years agokernel: add LZ4 decompressors to kconfig hack
blogic [Wed, 28 Jan 2015 12:06:35 +0000 (12:06 +0000)]
kernel: add LZ4 decompressors to kconfig hack

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

9 years agokernel: kmod-usb2-pci to Intel ixp4xx/Geode
blogic [Wed, 28 Jan 2015 12:06:28 +0000 (12:06 +0000)]
kernel: kmod-usb2-pci to Intel ixp4xx/Geode

Signed-off-by: Ted Hess <thess@kitschensync.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44167 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: check ethernet MAC address whether it is valid
blogic [Wed, 28 Jan 2015 12:06:22 +0000 (12:06 +0000)]
ralink: check ethernet MAC address whether it is valid

The mac address usually write in factory block. but sometime user erase this block , the mac address will change to ff:ff:ff:ff:ff:ff.
This patch is purpose to fix this issue.

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

9 years agoar71xx: add default LED configuration for D-Link DIR-615 rev. C1
blogic [Wed, 28 Jan 2015 12:06:13 +0000 (12:06 +0000)]
ar71xx: add default LED configuration for D-Link DIR-615 rev. C1

This patch adds an entry in the uci-defaults' led-file to configure the
WAN and WLAN LEDs by default.

Signed-off-by: Vincent Wiemann <me@bibbl.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44165 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoeglibc: mark 2.15 as broken it is effected by CVE-2015-0235
blogic [Wed, 28 Jan 2015 12:06:05 +0000 (12:06 +0000)]
eglibc: mark 2.15 as broken it is effected by CVE-2015-0235

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

9 years agoconfig: fix typo in Global build settings menu
blogic [Wed, 28 Jan 2015 12:05:58 +0000 (12:05 +0000)]
config: fix typo in Global build settings menu

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

9 years agokernel: update 3.14 to 3.14.30
luka [Wed, 28 Jan 2015 01:00:08 +0000 (01:00 +0000)]
kernel: update 3.14 to 3.14.30

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

9 years agokernel: bcm47xxpart: support boart_data partition on Xiaomi
rmilecki [Tue, 27 Jan 2015 22:13:18 +0000 (22:13 +0000)]
kernel: bcm47xxpart: support boart_data partition on Xiaomi

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

9 years agokernel: backport queued bcm47xxpart changes
rmilecki [Tue, 27 Jan 2015 22:08:14 +0000 (22:08 +0000)]
kernel: backport queued bcm47xxpart changes

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

9 years agoep93xx: fix broken kmods after r44112 (#18833)
jow [Tue, 27 Jan 2015 20:46:53 +0000 (20:46 +0000)]
ep93xx: fix broken kmods after r44112 (#18833)

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

9 years agokernel: fix regression in building kmod-serial-8250 on linux 3.8 (#18821)
nbd [Tue, 27 Jan 2015 00:06:42 +0000 (00:06 +0000)]
kernel: fix regression in building kmod-serial-8250 on linux 3.8 (#18821)

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

9 years agomvebu: temporary el cheapo' fan control script
kaloz [Mon, 26 Jan 2015 20:41:43 +0000 (20:41 +0000)]
mvebu: temporary el cheapo' fan control script

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

9 years agokernel: add missing symbol to generic 3.18 config
jow [Sun, 25 Jan 2015 23:36:09 +0000 (23:36 +0000)]
kernel: add missing symbol to generic 3.18 config

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

9 years agofix subject in generated certificates
jow [Sun, 25 Jan 2015 23:33:49 +0000 (23:33 +0000)]
fix subject in generated certificates

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

9 years agomvebu: add missing config symbol
jow [Sun, 25 Jan 2015 22:17:43 +0000 (22:17 +0000)]
mvebu: add missing config symbol

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

9 years agolinux: disable kmod-bcma on ppc40x, it does not build
jow [Sun, 25 Jan 2015 21:55:36 +0000 (21:55 +0000)]
linux: disable kmod-bcma on ppc40x, it does not build

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

9 years agolinux: disable kmod-zram on ep93xx, it does not export unmap_kernel_range
jow [Sun, 25 Jan 2015 21:02:12 +0000 (21:02 +0000)]
linux: disable kmod-zram on ep93xx, it does not export unmap_kernel_range

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

9 years agoipq806x: declare missing config symbols
jow [Sun, 25 Jan 2015 20:52:50 +0000 (20:52 +0000)]
ipq806x: declare missing config symbols

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

9 years agouhttpd: fix another remaining relro issue in the Lua plugin
jow [Sun, 25 Jan 2015 20:43:17 +0000 (20:43 +0000)]
uhttpd: fix another remaining relro issue in the Lua plugin

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

9 years agolinux: fix broken kmod-i2c-mux-pca9541 after r44113
jow [Sun, 25 Jan 2015 20:03:26 +0000 (20:03 +0000)]
linux: fix broken kmod-i2c-mux-pca9541 after r44113

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

9 years agogeneric/3.19: fixup the value of IFF_NO_IP_ALIGN
kaloz [Sun, 25 Jan 2015 18:14:18 +0000 (18:14 +0000)]
generic/3.19: fixup the value of IFF_NO_IP_ALIGN

Reported-by: Stephen Walker <stephendwalker+openwrt@gmail.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44139 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouhttpd: fix time_t type mismatch on 32bit systems
jow [Sun, 25 Jan 2015 17:59:08 +0000 (17:59 +0000)]
uhttpd: fix time_t type mismatch on 32bit systems

The previous update introducing LFS support unconditionally changed the
sprintf() pattern used to print the file modification time to use PRIx64.

Explicitely convert the st_mtime member of the stat struct to uint64_t in
order to avoid type mismatch errors when building for non-64bit targets.

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

9 years agokernel: update 3.14 to 3.14.29
luka [Sun, 25 Jan 2015 17:29:41 +0000 (17:29 +0000)]
kernel: update 3.14 to 3.14.29

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

9 years agocns21xx: remove stray CONFIG_WAN from kernel config
jow [Sun, 25 Jan 2015 17:29:04 +0000 (17:29 +0000)]
cns21xx: remove stray CONFIG_WAN from kernel config

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

9 years agouhttpd: fix crash with enabled relro, memory leak in dirlists and lfs
jow [Sun, 25 Jan 2015 17:23:26 +0000 (17:23 +0000)]
uhttpd: fix crash with enabled relro, memory leak in dirlists and lfs

 * Fix the ubus plugin to not make its uhttpd_plugin entry symbol
   constant as uhttpd needs to modify its list_head member
 * Make sure that uhttpd supports large files by using 64bit ints
   where appropriate and by passing _FILE_OFFSET_BITS=64 to the build
 * Plug a possible memleak in the directory listing code

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

9 years agoprocd: make build of upgraded optional
jow [Sun, 25 Jan 2015 16:12:52 +0000 (16:12 +0000)]
procd: make build of upgraded optional

Update to latest git head in order to support disabling the build
of upgraded which causes linker errors on avr32.

This also adds some fixes to the ubus system.info and system.board
methods.

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

9 years agoxburst: fix kernel build
jow [Sun, 25 Jan 2015 15:55:03 +0000 (15:55 +0000)]
xburst: fix kernel build

Changeset r43049 removed the "062-mips_decompressor_build_fix.patch" which is
still required to properly build the xburst kernel.

Fix the syntax error in the preprocessed code by explicitely undefining the
"memcpy" and "memset" macros prior to declaring the replacements functions.

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

9 years agouhttpd: fix exit code of mod-ubus postinstall script
jow [Sun, 25 Jan 2015 15:54:43 +0000 (15:54 +0000)]
uhttpd: fix exit code of mod-ubus postinstall script

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

9 years agomvebu: use pwmfan in the profile
kaloz [Sun, 25 Jan 2015 15:52:28 +0000 (15:52 +0000)]
mvebu: use pwmfan in the profile

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

9 years agomvebu: preliminary 3.19 support
kaloz [Sun, 25 Jan 2015 15:37:31 +0000 (15:37 +0000)]
mvebu: preliminary 3.19 support

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

9 years agomvebu: gpio based pwm support
kaloz [Sun, 25 Jan 2015 15:36:47 +0000 (15:36 +0000)]
mvebu: gpio based pwm support

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

9 years agomvebu: update mamba dts
kaloz [Sun, 25 Jan 2015 15:26:33 +0000 (15:26 +0000)]
mvebu: update mamba dts

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

9 years agomvebu: backport some upstream changes
kaloz [Sun, 25 Jan 2015 15:25:14 +0000 (15:25 +0000)]
mvebu: backport some upstream changes

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

9 years agogeneric: add preliminary 3.19 support
kaloz [Sun, 25 Jan 2015 15:20:39 +0000 (15:20 +0000)]
generic: add preliminary 3.19 support

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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