openwrt.git
10 years ago[package] netifd: prevent error in ifup if no /etc/config/wireless exists, properly...
jow [Sat, 15 Sep 2012 12:50:55 +0000 (12:50 +0000)]
[package] netifd: prevent error in ifup if no /etc/config/wireless exists, properly handle wifi-iface sections which are part of multiple networks

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

10 years agoopkg: add host and package parallel build support
nbd [Sat, 15 Sep 2012 12:34:52 +0000 (12:34 +0000)]
opkg: add host and package parallel build support

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

10 years agobuild: add jobserver support for host builds
nbd [Sat, 15 Sep 2012 12:34:48 +0000 (12:34 +0000)]
build: add jobserver support for host builds

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

10 years agobuild: move the -j flag to package.mk instead of grabbing it from makeflags, otherwis...
nbd [Sat, 15 Sep 2012 12:16:14 +0000 (12:16 +0000)]
build: move the -j flag to package.mk instead of grabbing it from makeflags, otherwise it occasionally gets omitted on full builds

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

10 years agokernel: suppress redundant calls to headers installation
nbd [Sat, 15 Sep 2012 12:16:11 +0000 (12:16 +0000)]
kernel: suppress redundant calls to headers installation

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

10 years agokernel: remove the explicit kernel make call for "oldconfig prepare scripts", the...
nbd [Sat, 15 Sep 2012 12:16:07 +0000 (12:16 +0000)]
kernel: remove the explicit kernel make call for "oldconfig prepare scripts", the kernel build system has proper dependencies

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

10 years agohostapd: enable parallel build
nbd [Sat, 15 Sep 2012 11:37:07 +0000 (11:37 +0000)]
hostapd: enable parallel build

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

10 years agolinux-atm: enable parallel builds
nbd [Sat, 15 Sep 2012 11:37:04 +0000 (11:37 +0000)]
linux-atm: enable parallel builds

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

10 years agolibpcap: enable parallel builds
nbd [Sat, 15 Sep 2012 11:37:01 +0000 (11:37 +0000)]
libpcap: enable parallel builds

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

10 years agodnsmasq: enable parallel builds
nbd [Sat, 15 Sep 2012 11:36:58 +0000 (11:36 +0000)]
dnsmasq: enable parallel builds

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

10 years agoppp: enable parallel builds
nbd [Sat, 15 Sep 2012 11:36:55 +0000 (11:36 +0000)]
ppp: enable parallel builds

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

10 years agobuild: add a config option for passing the top-level make jobserver to packages that...
nbd [Sat, 15 Sep 2012 10:21:24 +0000 (10:21 +0000)]
build: add a config option for passing the top-level make jobserver to packages that have parallel build enabled, significantly improves parallelization and gets rid of CPU overcommit during intra-package parallel builds

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

10 years agoar71xx: fix WP543 image builds
nbd [Sat, 15 Sep 2012 10:21:21 +0000 (10:21 +0000)]
ar71xx: fix WP543 image builds

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

10 years agohostapd: add a config option for the inactivity timeout
nbd [Sat, 15 Sep 2012 10:21:18 +0000 (10:21 +0000)]
hostapd: add a config option for the inactivity timeout

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

10 years agoD-Link DAP-1350; Avoid bricking esw config
blogic [Sat, 15 Sep 2012 09:28:28 +0000 (09:28 +0000)]
D-Link DAP-1350; Avoid bricking esw config

This is a patch to connect eth0.1 (lan) to the only
ethernet connector available.

D-Link DAP-1350 goes bricked with AA 12.09-beta.

This is because the current esw configuration for the
board connects eth0.2 (wan) to the *ONE and ONLY*
ethernet connector available, preventing initial access
to the board through 192.168.1.1 on eth0.1 after flashing,
effectively bricking the board.

There are things that should be done to make this board
really useful, but for AA 12.09, this one liner is
indispensable.

Signed of by Yoichi Shinoda <shinoda@jaist.ac.jp>

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

10 years agoramips/rt3883: fix a typo in the ASUS profile
blogic [Sat, 15 Sep 2012 09:20:50 +0000 (09:20 +0000)]
ramips/rt3883: fix a typo in the ASUS profile

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33410 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[realview] partially revert r33403
florian [Fri, 14 Sep 2012 15:44:25 +0000 (15:44 +0000)]
[realview] partially revert r33403

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

10 years ago[leon] set DEVICE_TYPE to developerboard
florian [Fri, 14 Sep 2012 15:37:51 +0000 (15:37 +0000)]
[leon] set DEVICE_TYPE to developerboard

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

10 years ago[leon] fix sparc32 assembler failures with newer toolchains
florian [Fri, 14 Sep 2012 15:37:40 +0000 (15:37 +0000)]
[leon] fix sparc32 assembler failures with newer toolchains

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

10 years ago[leon] refresh patches so they apply cleanly
florian [Fri, 14 Sep 2012 15:37:12 +0000 (15:37 +0000)]
[leon] refresh patches so they apply cleanly

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

10 years ago[buildroot] add sparc specific site files
florian [Fri, 14 Sep 2012 15:36:41 +0000 (15:36 +0000)]
[buildroot] add sparc specific site files

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

10 years ago[package] busybox: add patch to fix CVE-2011-2716 in udhcp.
florian [Fri, 14 Sep 2012 15:36:38 +0000 (15:36 +0000)]
[package] busybox: add patch to fix CVE-2011-2716 in udhcp.

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

10 years ago[realview] set DEVICE_TYPE to developperboard
florian [Fri, 14 Sep 2012 15:36:33 +0000 (15:36 +0000)]
[realview] set DEVICE_TYPE to developperboard

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

10 years ago[malta] set DEVICE_TYPE to developperboard
florian [Fri, 14 Sep 2012 15:36:30 +0000 (15:36 +0000)]
[malta] set DEVICE_TYPE to developperboard

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

10 years agohostapd: add a patch for suppressing probe responses from APs that have reached their...
nbd [Fri, 14 Sep 2012 14:08:39 +0000 (14:08 +0000)]
hostapd: add a patch for suppressing probe responses from APs that have reached their limit of maximum number of clients

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

10 years agohostapd: add an option for configuring the maximum number of connected clients
nbd [Fri, 14 Sep 2012 14:08:35 +0000 (14:08 +0000)]
hostapd: add an option for configuring the maximum number of connected clients

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

10 years agohostapd: enable disassoc on many consecutive excessive retries, improves AP mode...
nbd [Fri, 14 Sep 2012 13:45:29 +0000 (13:45 +0000)]
hostapd: enable disassoc on many consecutive excessive retries, improves AP mode reliability with many clients

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

10 years agomac80211: fix regdb locking issues
nbd [Fri, 14 Sep 2012 13:37:30 +0000 (13:37 +0000)]
mac80211: fix regdb locking issues

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

10 years ago[package] busybox: fix build with recent eglibc toolchains
florian [Thu, 13 Sep 2012 15:57:59 +0000 (15:57 +0000)]
[package] busybox: fix build with recent eglibc toolchains

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

10 years agohostapd: support wps in hostapd_cli even when built from the mini variant
nbd [Thu, 13 Sep 2012 12:39:14 +0000 (12:39 +0000)]
hostapd: support wps in hostapd_cli even when built from the mini variant

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

10 years agohostapd: update to 2012-09-10
nbd [Thu, 13 Sep 2012 12:38:51 +0000 (12:38 +0000)]
hostapd: update to 2012-09-10

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

10 years ago[package] base-files: remove route enabled check in lib/functions/network.sh after...
jow [Thu, 13 Sep 2012 08:47:10 +0000 (08:47 +0000)]
[package] base-files: remove route enabled check in lib/functions/network.sh after netifd bump

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

10 years ago[package] netifd: update to latest git head, reorganizes ubus output of inactive...
jow [Thu, 13 Sep 2012 08:47:06 +0000 (08:47 +0000)]
[package] netifd: update to latest git head, reorganizes ubus output of inactive values

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

10 years agoar71xx: merge machine support patches
juhosg [Thu, 13 Sep 2012 07:26:28 +0000 (07:26 +0000)]
ar71xx: merge machine support patches

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

10 years agoar71xx: register the NAND controller device on the RB2011
juhosg [Thu, 13 Sep 2012 07:26:26 +0000 (07:26 +0000)]
ar71xx: register the NAND controller device on the RB2011

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

10 years agoar71xx: add device registration code for the AR934x NAND flash controller
juhosg [Thu, 13 Sep 2012 07:26:25 +0000 (07:26 +0000)]
ar71xx: add device registration code for the AR934x NAND flash controller

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

10 years agoar71xx: package the AR934x NAND driver module
juhosg [Thu, 13 Sep 2012 07:26:23 +0000 (07:26 +0000)]
ar71xx: package the AR934x NAND driver module

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

10 years agoar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
juhosg [Thu, 13 Sep 2012 07:26:22 +0000 (07:26 +0000)]
ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x

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

10 years agogeneric: add MTD_NAND_AR934X symbol
juhosg [Thu, 13 Sep 2012 07:26:21 +0000 (07:26 +0000)]
generic: add MTD_NAND_AR934X symbol

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

10 years agogeneric: move GENERIC_PWM symbol into the generic config
juhosg [Thu, 13 Sep 2012 06:38:31 +0000 (06:38 +0000)]
generic: move GENERIC_PWM symbol into the generic config

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

10 years agoar71xx: define NAND controller base address and register size for AR934X/QCA955x
juhosg [Wed, 12 Sep 2012 19:06:38 +0000 (19:06 +0000)]
ar71xx: define NAND controller base address and register size for AR934X/QCA955x

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

10 years agoramips/rt305x: add initial support for Rt5350 SoC
juhosg [Wed, 12 Sep 2012 19:03:12 +0000 (19:03 +0000)]
ramips/rt305x: add initial support for Rt5350 SoC

Somehow detecting the RAM size in common/setup.c doesn't
work here, it always detects 64M and then crashes on devices
with less RAM.
Probably using MEMC_REG_SDRAM_CFG1 to know the RAM size is how
it could be, for now I use the mem=32M kernel parameter to get
stuff working.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33381 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[package] mountd: add "-f" option to not daemonize mountd, use service wrappers in...
jow [Wed, 12 Sep 2012 10:09:55 +0000 (10:09 +0000)]
[package] mountd: add "-f" option to not daemonize mountd, use service wrappers in init script

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

10 years ago[brcm47xx]: add gpio sysfs entries
hauke [Tue, 11 Sep 2012 15:04:20 +0000 (15:04 +0000)]
[brcm47xx]: add gpio sysfs entries

This fixes #10256

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

10 years agoar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
juhosg [Mon, 10 Sep 2012 14:38:01 +0000 (14:38 +0000)]
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x

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

10 years agoar71xx: fix QCA955X_EHCI_SIZE
juhosg [Mon, 10 Sep 2012 14:32:54 +0000 (14:32 +0000)]
ar71xx: fix QCA955X_EHCI_SIZE

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

10 years ago[package] hostapd: introduce new default-off option "auth_cache" which controls PMKSA...
jow [Mon, 10 Sep 2012 12:23:41 +0000 (12:23 +0000)]
[package] hostapd: introduce new default-off option "auth_cache" which controls PMKSA and Opportunistic Key Caching (#12129)

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

10 years ago[package] block-mount: additionally try to umount disk by mountpoint (#12056)
jow [Mon, 10 Sep 2012 09:48:31 +0000 (09:48 +0000)]
[package] block-mount: additionally try to umount disk by mountpoint (#12056)

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

10 years ago[generic] fix ixp4xx_hss build failure (#12162)
florian [Mon, 10 Sep 2012 08:53:21 +0000 (08:53 +0000)]
[generic] fix ixp4xx_hss build failure (#12162)

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

10 years ago[scripts] fix library bundling when host libraries reside in /lib/tls/ or similar
jow [Sun, 9 Sep 2012 22:37:32 +0000 (22:37 +0000)]
[scripts] fix library bundling when host libraries reside in /lib/tls/ or similar

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

10 years ago[ar71xx] fix description of nand/Ath5k profile (#12149)
jow [Sun, 9 Sep 2012 21:40:26 +0000 (21:40 +0000)]
[ar71xx] fix description of nand/Ath5k profile (#12149)

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

10 years ago[buildroot] do not pass optimization flags in HOST_CPPFLAGS (#12153)
jow [Sun, 9 Sep 2012 21:35:42 +0000 (21:35 +0000)]
[buildroot] do not pass optimization flags in HOST_CPPFLAGS (#12153)

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

10 years ago[package] comgt: fix 3g redialling if dongle is physically reattached (#11567, #12008)
jow [Sun, 9 Sep 2012 19:46:38 +0000 (19:46 +0000)]
[package] comgt: fix 3g redialling if dongle is physically reattached (#11567, #12008)

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

10 years agoar71xx: add initial support for RB2011UAS-2HnD
juhosg [Sun, 9 Sep 2012 14:05:32 +0000 (14:05 +0000)]
ar71xx: add initial support for RB2011UAS-2HnD

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

10 years agoar71xx: use routerboot_find_tag to find wlan data offset on RB751
juhosg [Sun, 9 Sep 2012 14:05:30 +0000 (14:05 +0000)]
ar71xx: use routerboot_find_tag to find wlan data offset on RB751

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

10 years agoar71xx: add RouterBoot related helper routines
juhosg [Sun, 9 Sep 2012 14:05:28 +0000 (14:05 +0000)]
ar71xx: add RouterBoot related helper routines

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

10 years agogeneric add WLAN calibration data ID to routerboot.h
juhosg [Sun, 9 Sep 2012 14:05:26 +0000 (14:05 +0000)]
generic add WLAN calibration data ID to routerboot.h

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

10 years agoar71xx: define MTD partitions for RB2011
juhosg [Sun, 9 Sep 2012 14:05:24 +0000 (14:05 +0000)]
ar71xx: define MTD partitions for RB2011

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

10 years agoar71xx: add preliminary support for Mikrotik RB2011L
juhosg [Sun, 9 Sep 2012 14:05:22 +0000 (14:05 +0000)]
ar71xx: add preliminary support for Mikrotik RB2011L

This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.

[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33344 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
juhosg [Sun, 9 Sep 2012 14:05:20 +0000 (14:05 +0000)]
ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x

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

10 years agoar71xx: add dynamic MDIO clock calculation
juhosg [Sun, 9 Sep 2012 14:05:17 +0000 (14:05 +0000)]
ar71xx: add dynamic MDIO clock calculation

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

10 years agoadm5120: move common routerboot definitions into a separate header file
juhosg [Sun, 9 Sep 2012 11:55:42 +0000 (11:55 +0000)]
adm5120: move common routerboot definitions into a separate header file

Those will be used on the ar71xx platform as well.

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

10 years agobcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
jogo [Sun, 9 Sep 2012 11:54:56 +0000 (11:54 +0000)]
bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi

Fixes booting the device with button hotplug enabled (#10785).

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

10 years agoar71xx: use the RLE library for RB751
juhosg [Sat, 8 Sep 2012 17:51:56 +0000 (17:51 +0000)]
ar71xx: use the RLE library for RB751

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

10 years agoar71xx: add library code for RLE decoding
juhosg [Sat, 8 Sep 2012 17:51:54 +0000 (17:51 +0000)]
ar71xx: add library code for RLE decoding

It will be used for the MikroTik boards.

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

10 years agoar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
juhosg [Sat, 8 Sep 2012 13:39:09 +0000 (13:39 +0000)]
ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x

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

10 years agoar71xx: refresh kernel patches
juhosg [Sat, 8 Sep 2012 13:39:04 +0000 (13:39 +0000)]
ar71xx: refresh kernel patches

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

10 years agomac80211: bump PKG_RELEASE
nbd [Sat, 8 Sep 2012 13:19:21 +0000 (13:19 +0000)]
mac80211: bump PKG_RELEASE

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

10 years agoath9k: disable PA predistortion by default, since it has been reported to reduce...
nbd [Sat, 8 Sep 2012 13:18:58 +0000 (13:18 +0000)]
ath9k: disable PA predistortion by default, since it has been reported to reduce rx sensitivity on some devices (#12135)

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

10 years agomac80211: update to 2012-09-07, adds ath9k beacon fixes, mesh/adhoc fixes, and more
nbd [Sat, 8 Sep 2012 11:10:54 +0000 (11:10 +0000)]
mac80211: update to 2012-09-07, adds ath9k beacon fixes, mesh/adhoc fixes, and more

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

10 years ago[mcs814x] use the recommended ARM I/O accessors
florian [Sat, 8 Sep 2012 09:51:05 +0000 (09:51 +0000)]
[mcs814x] use the recommended ARM I/O accessors

use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.

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

10 years ago[toolchain] gcc: add upstream fixes for GCC bug 54494
florian [Fri, 7 Sep 2012 10:31:58 +0000 (10:31 +0000)]
[toolchain] gcc: add upstream fixes for GCC bug 54494

See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54494 for more infos.

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

10 years ago[toolchain] gcc: add upstream fixes for GCC bug 54369
florian [Fri, 7 Sep 2012 10:31:54 +0000 (10:31 +0000)]
[toolchain] gcc: add upstream fixes for GCC bug 54369

See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54369 for more infos.

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

10 years ago[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first...
cshore [Thu, 6 Sep 2012 18:15:26 +0000 (18:15 +0000)]
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.

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

10 years agonetifd: update to latest version, fixes premature device release on link loss (fixes...
nbd [Thu, 6 Sep 2012 15:05:30 +0000 (15:05 +0000)]
netifd: update to latest version, fixes premature device release on link loss (fixes #12114, #12112, #11959)

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

10 years agolantiq: fix sx76x default uci network configuration
luka [Thu, 6 Sep 2012 00:09:46 +0000 (00:09 +0000)]
lantiq: fix sx76x default uci network configuration

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

10 years ago[mcs814x] add some ohci workarounds to make ohci work
florian [Wed, 5 Sep 2012 20:19:29 +0000 (20:19 +0000)]
[mcs814x] add some ohci workarounds to make ohci work

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

10 years agoramips: Add missing andmask to ramips_esw register read for recv_good value.
juhosg [Wed, 5 Sep 2012 20:08:43 +0000 (20:08 +0000)]
ramips: Add missing andmask to ramips_esw register read for recv_good value.

Add missing andmask to ramips_esw register read for recv_good value.

Without the mask, recv_bad leaks into the recv_good packet count.
Didn't notice the bug before since you don't usually get bad
packets, so I only saw it when I was playing with overlength packets
earlier...

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33322 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.
juhosg [Wed, 5 Sep 2012 20:08:42 +0000 (20:08 +0000)]
ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.

Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.

Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.

Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.

Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.

I did some tests regarding maximum packet size and did not see any

difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33321 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[x86] add missing kvm_guest kernel options
blogic [Wed, 5 Sep 2012 19:38:42 +0000 (19:38 +0000)]
[x86] add missing kvm_guest kernel options

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

10 years agoar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
juhosg [Wed, 5 Sep 2012 19:26:50 +0000 (19:26 +0000)]
ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x

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

10 years agoar71xx: add rssileds to package set in profile for devices which got them.
juhosg [Wed, 5 Sep 2012 19:22:51 +0000 (19:22 +0000)]
ar71xx: add rssileds to package set in profile for devices which got them.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33317 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: add rssileds to package set in profile for devices which got them.
juhosg [Wed, 5 Sep 2012 19:22:48 +0000 (19:22 +0000)]
ramips: add rssileds to package set in profile for devices which got them.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33316 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE
florian [Mon, 3 Sep 2012 20:25:51 +0000 (20:25 +0000)]
[mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE

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

10 years ago[mcs814x] pad squashfs image
florian [Mon, 3 Sep 2012 20:25:46 +0000 (20:25 +0000)]
[mcs814x] pad squashfs image

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

10 years ago[mcs814x] add Generic and dLAN USB Extender profiles
florian [Mon, 3 Sep 2012 20:25:40 +0000 (20:25 +0000)]
[mcs814x] add Generic and dLAN USB Extender profiles

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

10 years ago[mcs814x] nuport-mac: disable MAC RX and TX during interface close
florian [Mon, 3 Sep 2012 10:26:01 +0000 (10:26 +0000)]
[mcs814x] nuport-mac: disable MAC RX and TX during interface close

Fixes sporadic crashes while reconfiguring the network interface.

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

10 years agohostapd: fix ap+sta issues
nbd [Wed, 29 Aug 2012 16:06:24 +0000 (16:06 +0000)]
hostapd: fix ap+sta issues

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

10 years agoRevert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
juhosg [Wed, 29 Aug 2012 10:37:55 +0000 (10:37 +0000)]
Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"

That was based on assumptions.

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

10 years agoar71xx: all0315n: fix ethernet according to vendor info
juhosg [Wed, 29 Aug 2012 10:37:54 +0000 (10:37 +0000)]
ar71xx: all0315n: fix ethernet according to vendor info

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33309 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
juhosg [Wed, 29 Aug 2012 10:37:53 +0000 (10:37 +0000)]
ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds

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

10 years agoramips: add kmod-usb-ohci to defaults packages in profile of ALL5002
juhosg [Wed, 29 Aug 2012 10:37:51 +0000 (10:37 +0000)]
ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002

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

10 years agoiwinfo: add hwinfo of AR9280 2T2R PCIe
juhosg [Wed, 29 Aug 2012 10:37:49 +0000 (10:37 +0000)]
iwinfo: add hwinfo of AR9280 2T2R PCIe

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

10 years agoramips: make built-in switch transparent for ALL0256N and ALL5002
juhosg [Wed, 29 Aug 2012 10:37:47 +0000 (10:37 +0000)]
ramips: make built-in switch transparent for ALL0256N and ALL5002

This allows them to transparently communicate with an external VLAN switch.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: Power down phy on disabled switch ports
juhosg [Wed, 29 Aug 2012 10:37:45 +0000 (10:37 +0000)]
ramips: Power down phy on disabled switch ports

Power down phy on disabled switch ports.

Haven't measured this myself yet, but according to this
http://www.8devices.com/community/viewtopic.php?f=6&t=156
it can save about 300mW of power.

[juhosg: fix checkpatch warning]

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33304 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: Add support for 8devices Carambola dev board.
juhosg [Wed, 29 Aug 2012 10:37:43 +0000 (10:37 +0000)]
ramips: Add support for 8devices Carambola dev board.

Add support for 8devices Carambola dev board.

The Carambola is a small RT3050-based development board with two
ethernet ports, on-board chip antenna, usb and plenty of accessible
gpio ports, sold by 8devices.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33303 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: Rename POC registers
juhosg [Wed, 29 Aug 2012 10:37:41 +0000 (10:37 +0000)]
ramips: Rename POC registers

Rename POC registers.

The current code uses POC1-POC3.

The datasheet uses:
POC1: Port Control 0
POC1: Port Control 1
POC2: Port Control 2

So the first POC1 is a typo that should have been POC0, rename the
registers to POC0-POC2 accordingly.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33302 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: Minor ramips_esw.c cleanup
juhosg [Wed, 29 Aug 2012 10:37:40 +0000 (10:37 +0000)]
ramips: Minor ramips_esw.c cleanup

Stop handling VLAN setup in the kernel.
Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for
WL-351 and add some extra comments.
Also removes the en_vlan per-port flag that isn't very useful really, it now
is only controlled by the global enable_vlan flag.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33301 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: Add switch setup to uci network defaults
juhosg [Wed, 29 Aug 2012 10:37:38 +0000 (10:37 +0000)]
ramips: Add switch setup to uci network defaults

Add switch setup to uci network defaults.

The 'lan' attribute is used to decide into which vlan to put the
port.
Currently 'disable' is never set, but the intention is to use this
for devices like the 8devices Carambola, which only has two ports
hooked up to the SoC.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33300 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: Add swconfig support to ramips_esw.c
juhosg [Wed, 29 Aug 2012 10:37:36 +0000 (10:37 +0000)]
ramips: Add swconfig support to ramips_esw.c

Add swconfig support to ramips_esw.c

This patch adds swconfig support for ramips_esw:

Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external
rtl8366rb on internal port 5).
I've made sure that in the enable_vlan=0 case it behaves like a dumb
switch, so external switches should work fine with vlans and
verified this on the WL-351.

The current state shown by swconfig is always read directly from HW
registers, new settings only show after 'swconfig dev rt305x set apply'.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33299 3c298f89-4303-0410-b956-a3cf2f4a3e73