openwrt/staging/jow.git
12 years agointroduce a USE_EXTERNAL_LIBC symbol which gets selected by EXTERNAL_TOOLCHAIN |...
Jo-Philipp Wich [Sun, 8 Jan 2012 15:34:23 +0000 (15:34 +0000)]
introduce a USE_EXTERNAL_LIBC symbol which gets selected by EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN Currently we always assume uClibc if an external toolchain is used, this breaks for non-uClibc toolchains or even vanilla uClibc ones since they do not share the external librpc semantics as OpenWrt. Solve the problem by defining an abstract "EXTERNAL_LIBC" which packages might or might not depend on.

SVN-Revision: 29689

12 years agobase-files: implement a --force option for sysupgrade to override image checks, usefu...
Jo-Philipp Wich [Sun, 8 Jan 2012 15:30:37 +0000 (15:30 +0000)]
base-files: implement a --force option for sysupgrade to override image checks, useful to upgrade old ar71xx installations to current trunk ones

SVN-Revision: 29688

12 years agofirewall: add support for "local" port forwards which target an internal address...
Jo-Philipp Wich [Sun, 8 Jan 2012 15:29:24 +0000 (15:29 +0000)]
firewall: add support for "local" port forwards which target an internal address on the router itself

SVN-Revision: 29687

12 years agoinclude: calculate md5sum over sorted kernel config symbol list and incorperate it...
Jo-Philipp Wich [Sun, 8 Jan 2012 15:23:11 +0000 (15:23 +0000)]
include: calculate md5sum over sorted kernel config symbol list and incorperate it into the kernel metapackage version, make kmods depend on this specific version. The aim of this change is to invalidate kmods which are built against a different kernel config on the opkg metadata level. Manual copying and insmod of custom *.ko files, e.g. for development purpose, is still possible.

SVN-Revision: 29686

12 years agoath9k: merge a channel change fix from linux-wireless
Felix Fietkau [Sat, 7 Jan 2012 20:54:33 +0000 (20:54 +0000)]
ath9k: merge a channel change fix from linux-wireless

SVN-Revision: 29684

12 years agoar71xx: refresh patches
Gabor Juhos [Sat, 7 Jan 2012 19:36:43 +0000 (19:36 +0000)]
ar71xx: refresh patches

SVN-Revision: 29683

12 years agoar71xx: add a profile and build images for the TL-WR2543N/ND
Gabor Juhos [Sat, 7 Jan 2012 19:36:42 +0000 (19:36 +0000)]
ar71xx: add a profile and build images for the TL-WR2543N/ND

SVN-Revision: 29682

12 years agofirware-utils/mktplinkfw: add TL-WR2543N/ND support
Gabor Juhos [Sat, 7 Jan 2012 19:36:40 +0000 (19:36 +0000)]
firware-utils/mktplinkfw: add TL-WR2543N/ND support

SVN-Revision: 29681

12 years agoar71xx: add initial support for the TL-WR2543N/ND board
Gabor Juhos [Sat, 7 Jan 2012 19:36:35 +0000 (19:36 +0000)]
ar71xx: add initial support for the TL-WR2543N/ND board

The WLAN LEDs are not working yet.

SVN-Revision: 29680

12 years agoar71xx: allow to specify max read size for m25p80
Gabor Juhos [Sat, 7 Jan 2012 19:36:33 +0000 (19:36 +0000)]
ar71xx: allow to specify max read size for m25p80

Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.

Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.

SVN-Revision: 29679

12 years agogeneric: add driver for the RTL8367R/M switches
Gabor Juhos [Sat, 7 Jan 2012 19:36:31 +0000 (19:36 +0000)]
generic: add driver for the RTL8367R/M switches

SVN-Revision: 29678

12 years agogeneric: rtl8366: preparing for RTL8367 support
Gabor Juhos [Sat, 7 Jan 2012 19:36:30 +0000 (19:36 +0000)]
generic: rtl8366: preparing for RTL8367 support

* make clock delay configurable
* make read,write commands configurable
* use u16 for member and untag fields

SVN-Revision: 29677

12 years agogeneric: rtl8366_smi: add timeout message
Gabor Juhos [Sat, 7 Jan 2012 19:36:25 +0000 (19:36 +0000)]
generic: rtl8366_smi: add timeout message

SVN-Revision: 29676

12 years agoar71xx: local mac support on the wndr3700
Gabor Juhos [Sat, 7 Jan 2012 17:24:44 +0000 (17:24 +0000)]
ar71xx: local mac support on the wndr3700

The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.

This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.

Patch-by: Dave Taht <dave.taht@gmail.com>
SVN-Revision: 29675

12 years agogeneric: improve MIPS kexec support
Gabor Juhos [Sat, 7 Jan 2012 16:29:16 +0000 (16:29 +0000)]
generic: improve MIPS kexec support

It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/

Now the kernel can use the command line parameter from kexec-tools.

Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).

SVN-Revision: 29674

12 years agoar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
Gabor Juhos [Fri, 6 Jan 2012 15:54:59 +0000 (15:54 +0000)]
ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards

SVN-Revision: 29672

12 years agoopenssl: bump to v1.0.0f (CVE-2011-4108, CVE-2011-4576, CVE-2011-4577, CVE-2011-4619...
Jo-Philipp Wich [Fri, 6 Jan 2012 15:18:30 +0000 (15:18 +0000)]
openssl: bump to v1.0.0f (CVE-2011-4108, CVE-2011-4576, CVE-2011-4577, CVE-2011-4619, CVE-2012-0027)

SVN-Revision: 29670

12 years agoar71xx: add support for Redwave RW2458N
Gabor Juhos [Fri, 6 Jan 2012 07:20:59 +0000 (07:20 +0000)]
ar71xx: add support for Redwave RW2458N

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 29669

12 years agoar71xx: fix RB-750 network configuration
Gabor Juhos [Fri, 6 Jan 2012 07:20:54 +0000 (07:20 +0000)]
ar71xx: fix RB-750 network configuration

SVN-Revision: 29668

12 years agoar71xx: fix sections mismatch warnings in the nand drivers
Gabor Juhos [Thu, 5 Jan 2012 18:08:33 +0000 (18:08 +0000)]
ar71xx: fix sections mismatch warnings in the nand drivers

SVN-Revision: 29667

12 years agoar71xx: fix LED configuration on the RB-750
Gabor Juhos [Thu, 5 Jan 2012 18:08:28 +0000 (18:08 +0000)]
ar71xx: fix LED configuration on the RB-750

SVN-Revision: 29666

12 years agopackage/kernel: add package for the PCF2123 RTC driver
Gabor Juhos [Wed, 4 Jan 2012 21:16:21 +0000 (21:16 +0000)]
package/kernel: add package for the PCF2123 RTC driver

SVN-Revision: 29664

12 years agoar71xx: create profile and build image for the ALFA AP96 board
Gabor Juhos [Wed, 4 Jan 2012 21:13:57 +0000 (21:13 +0000)]
ar71xx: create profile and build image for the ALFA AP96 board

SVN-Revision: 29663

12 years agoar71xx: add inital support for the ALFA Network AP96 board
Gabor Juhos [Wed, 4 Jan 2012 21:13:54 +0000 (21:13 +0000)]
ar71xx: add inital support for the ALFA Network AP96 board

The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.

SVN-Revision: 29662

12 years agoar71xx: specify console kernel parameter for the Compex boards
Gabor Juhos [Wed, 4 Jan 2012 17:30:59 +0000 (17:30 +0000)]
ar71xx: specify console kernel parameter for the Compex boards

SVN-Revision: 29660

12 years agoar71xx: allow to use the command line hack on compex devices
Gabor Juhos [Wed, 4 Jan 2012 17:30:58 +0000 (17:30 +0000)]
ar71xx: allow to use the command line hack on compex devices

SVN-Revision: 29659

12 years agoar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
Gabor Juhos [Wed, 4 Jan 2012 17:30:57 +0000 (17:30 +0000)]
ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7

These models are based on the AP99 reference board,
and uses the AR7241 SoC.

SVN-Revision: 29658

12 years agoar71xx: show correct model name on TL-WA701N/ND boards
Gabor Juhos [Wed, 4 Jan 2012 17:30:55 +0000 (17:30 +0000)]
ar71xx: show correct model name on TL-WA701N/ND boards

SVN-Revision: 29657

12 years agoar71xx: add profile and build image for the TL-WA701N/ND boards
Gabor Juhos [Wed, 4 Jan 2012 17:30:54 +0000 (17:30 +0000)]
ar71xx: add profile and build image for the TL-WA701N/ND boards

SVN-Revision: 29656

12 years agofirmware-utils/mktplinkfw: add support for TL-WA701N/ND
Gabor Juhos [Wed, 4 Jan 2012 17:30:53 +0000 (17:30 +0000)]
firmware-utils/mktplinkfw: add support for TL-WA701N/ND

SVN-Revision: 29655

12 years agoar71xx: fix network configuration for the TL-WA901N/ND boards
Gabor Juhos [Wed, 4 Jan 2012 17:30:52 +0000 (17:30 +0000)]
ar71xx: fix network configuration for the TL-WA901N/ND boards

SVN-Revision: 29654

12 years agoar71xx: allow to use LAN LED on the TL-WA901N/ND boards
Gabor Juhos [Wed, 4 Jan 2012 17:30:50 +0000 (17:30 +0000)]
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards

SVN-Revision: 29653

12 years agoar71xx: add default LED configuration for the TL-MR3020
Gabor Juhos [Wed, 4 Jan 2012 17:30:49 +0000 (17:30 +0000)]
ar71xx: add default LED configuration for the TL-MR3020

Also use the system LED for diagnostic.

SVN-Revision: 29652

12 years agoar71xx: add support for TP-Link TL-MR3020
Gabor Juhos [Wed, 4 Jan 2012 17:30:47 +0000 (17:30 +0000)]
ar71xx: add support for TP-Link TL-MR3020

This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.

I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020

USB is working and has been tested with USB mass storage and USB UMTS
stick.

Wifi also seems to work.

Ethernet is working too.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29651

12 years agofirmware-utils/mktplinkfw: add support for TL-MR3020
Gabor Juhos [Wed, 4 Jan 2012 17:30:44 +0000 (17:30 +0000)]
firmware-utils/mktplinkfw: add support for TL-MR3020

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29650

12 years agopackage: remove the om2p-watchdog package
Gabor Juhos [Wed, 4 Jan 2012 17:30:42 +0000 (17:30 +0000)]
package: remove the om2p-watchdog package

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
SVN-Revision: 29649

12 years agoar71xx: use the new om-watchdog package for OM2P
Gabor Juhos [Wed, 4 Jan 2012 17:30:41 +0000 (17:30 +0000)]
ar71xx: use the new om-watchdog package for OM2P

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
SVN-Revision: 29648

12 years agopackage: add om-watchdog package
Gabor Juhos [Wed, 4 Jan 2012 17:30:39 +0000 (17:30 +0000)]
package: add om-watchdog package

om2p-watchdog package is OM2P specific. However a similar watchdog
mechanism exists on OM1P as well. This new package wants to substitute
om2p-watchdog with a new one which is suitable either for OM1P and OM2P.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
SVN-Revision: 29647

12 years agodisable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on...
Jo-Philipp Wich [Wed, 4 Jan 2012 12:32:47 +0000 (12:32 +0000)]
disable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on (#10735)

SVN-Revision: 29646

12 years agoadd CT target and TTL/HL match+target
Jo-Philipp Wich [Wed, 4 Jan 2012 02:52:54 +0000 (02:52 +0000)]
add CT target and TTL/HL match+target

This patch adds the CT target for conntrack (enables manipulation of
conntrack events and supercedes NOTRACK) as well as the TTL/HL target and
match.

SVN-Revision: 29645

12 years agoremove current RTSP support
Jo-Philipp Wich [Wed, 4 Jan 2012 00:29:29 +0000 (00:29 +0000)]
remove current RTSP support

SVN-Revision: 29643

12 years agobackport upstream commit e1738bd9cecc5c867b0e2996470c1ff20f66ba79 to affected kernels...
Jo-Philipp Wich [Tue, 3 Jan 2012 23:08:15 +0000 (23:08 +0000)]
backport upstream commit e1738bd9cecc5c867b0e2996470c1ff20f66ba79 to affected kernels (#9802) commit 8efa88540635 (sch_sfq: avoid giving spurious NET_XMIT_CN signals) forgot to call qdisc_tree_decrease_qlen() to signal upper levels that a packet (from another flow) was dropped, leading to various problems.

SVN-Revision: 29642

12 years agoar71xx: add profile and build factory image for the Hornet-UB board
Gabor Juhos [Sun, 1 Jan 2012 19:30:29 +0000 (19:30 +0000)]
ar71xx: add profile and build factory image for the Hornet-UB board

SVN-Revision: 29637

12 years agoar71xx: build images for the ALFA Network N2/N5 boards
Gabor Juhos [Sun, 1 Jan 2012 19:30:28 +0000 (19:30 +0000)]
ar71xx: build images for the ALFA Network N2/N5 boards

SVN-Revision: 29636

12 years agoar71xx: add support for the ALFA Network N2/N5 boards
Gabor Juhos [Sun, 1 Jan 2012 19:30:25 +0000 (19:30 +0000)]
ar71xx: add support for the ALFA Network N2/N5 boards

SVN-Revision: 29635

12 years agoiwinfo: factor txpower offset into info display output, recompile if driver selection...
Jo-Philipp Wich [Sun, 1 Jan 2012 16:17:10 +0000 (16:17 +0000)]
iwinfo: factor txpower offset into info display output, recompile if driver selection changes

SVN-Revision: 29634

12 years agoif CONFIG_BUILD_NLS is selected, compile uClibc with locale support
Jo-Philipp Wich [Sun, 1 Jan 2012 15:11:11 +0000 (15:11 +0000)]
if CONFIG_BUILD_NLS is selected, compile uClibc with locale support

SVN-Revision: 29633

12 years agoar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
Gabor Juhos [Sat, 31 Dec 2011 15:02:46 +0000 (15:02 +0000)]
ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards

SVN-Revision: 29631

12 years agoar71xx: enable SWCONFIG_LEDS
Gabor Juhos [Sat, 31 Dec 2011 15:02:40 +0000 (15:02 +0000)]
ar71xx: enable SWCONFIG_LEDS

SVN-Revision: 29630

12 years agopackage/base-files: add support for the switch LED trigger
Gabor Juhos [Sat, 31 Dec 2011 15:02:35 +0000 (15:02 +0000)]
package/base-files: add support for the switch LED trigger

SVN-Revision: 29629

12 years agopackage/base-files: use case statement in led init script
Gabor Juhos [Sat, 31 Dec 2011 15:02:32 +0000 (15:02 +0000)]
package/base-files: use case statement in led init script

SVN-Revision: 29628

12 years agokernel: swconfig: introduce a generic switch LED trigger
Gabor Juhos [Sat, 31 Dec 2011 15:02:30 +0000 (15:02 +0000)]
kernel: swconfig: introduce a generic switch LED trigger

SVN-Revision: 29627

12 years agoar71xx: ag71xx: implement get_port_{link,stats} callbacks
Gabor Juhos [Sat, 31 Dec 2011 15:02:26 +0000 (15:02 +0000)]
ar71xx: ag71xx: implement get_port_{link,stats} callbacks

SVN-Revision: 29626

12 years agokernel: swconfig: add get_port_{link,stats} callbacks
Gabor Juhos [Sat, 31 Dec 2011 15:02:24 +0000 (15:02 +0000)]
kernel: swconfig: add get_port_{link,stats} callbacks

SVN-Revision: 29625

12 years agoar71xx: fix LEDs on the WRT400N
Gabor Juhos [Sat, 31 Dec 2011 13:54:11 +0000 (13:54 +0000)]
ar71xx: fix LEDs on the WRT400N

SVN-Revision: 29624

12 years agoramips: rt288x: add support for the Belkin F5D8235-4 v1 board
Gabor Juhos [Wed, 28 Dec 2011 08:43:43 +0000 (08:43 +0000)]
ramips: rt288x: add support for the Belkin F5D8235-4 v1 board

Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 29617

12 years agoramips: rt288x: change base address and window size of flash bank 0
Gabor Juhos [Wed, 28 Dec 2011 08:43:36 +0000 (08:43 +0000)]
ramips: rt288x: change base address and window size of flash bank 0

SVN-Revision: 29616

12 years agoramips: rt305x: add support for the ALFA Networks W502U (R36) board
Gabor Juhos [Wed, 28 Dec 2011 08:43:32 +0000 (08:43 +0000)]
ramips: rt305x: add support for the ALFA Networks W502U (R36) board

SVN-Revision: 29615

12 years agoar71xx: enable sysupgrade support for airrouter
Gabor Juhos [Tue, 27 Dec 2011 16:59:43 +0000 (16:59 +0000)]
ar71xx: enable sysupgrade support for airrouter

Works for me! ;-)

Patch-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 29614

12 years agoar71xx: fix sysupgrade on PB42/PB44 boards
Gabor Juhos [Tue, 27 Dec 2011 16:57:01 +0000 (16:57 +0000)]
ar71xx: fix sysupgrade on PB42/PB44 boards

SVN-Revision: 29613

12 years agoramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
Gabor Juhos [Tue, 27 Dec 2011 16:56:30 +0000 (16:56 +0000)]
ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board

SVN-Revision: 29612

12 years agoadd usbreset - a small simple utility to send port rests to selected usb devices...
Jo-Philipp Wich [Sun, 25 Dec 2011 13:59:17 +0000 (13:59 +0000)]
add usbreset - a small simple utility to send port rests to selected usb devices (#10394)

SVN-Revision: 29611

12 years agoadd missing config symbol
Jo-Philipp Wich [Sun, 25 Dec 2011 13:33:18 +0000 (13:33 +0000)]
add missing config symbol

SVN-Revision: 29610

12 years agopackage CT target
Jo-Philipp Wich [Sun, 25 Dec 2011 13:32:53 +0000 (13:32 +0000)]
package CT target

SVN-Revision: 29609

12 years agomac80211: clean up init, remove some redundant checks, fix tx power init (#10113)
Felix Fietkau [Fri, 23 Dec 2011 19:24:38 +0000 (19:24 +0000)]
mac80211: clean up init, remove some redundant checks, fix tx power init (#10113)

SVN-Revision: 29606

12 years agobrcm47xx: fix usb on more recent bcma based devices.
Hauke Mehrtens [Fri, 23 Dec 2011 17:21:52 +0000 (17:21 +0000)]
brcm47xx: fix usb on more recent bcma based devices.

SVN-Revision: 29605

12 years agoramips: initial support for Sitecom WL-351 v1 002
Gabor Juhos [Fri, 23 Dec 2011 14:27:16 +0000 (14:27 +0000)]
ramips: initial support for Sitecom WL-351 v1 002

This add support for the Sitecom WL-351 v1 002.
In principle the Engenius ESR9850 should also work with this, but I
don't have the hardware to test it.

Since an external gigabit switch (RTL8366RB) is used,
I had to modify the ramips_esw driver to add a 'bypass' mode, which
just configures it to not filter the vlan tags.
Also two initialization words (FCT2 and FPA2) are set to different
values by u-boot than what the driver is using and it only seems to
work correctly when they not overridden by the driver, so I
added them to the platform specific data as reg_initval_fct2 and
reg_initval_fpa2.

With this wired lan works as expected, however I'm still having some
trouble with the wireless lan:
It only works after I rmmod & re-insmod rt2800pci and then
reconfigure it in the webinterface, but not directly after
rebooting.

The symptom of this is wpad saying:
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1)
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN)
Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated

But wpa_supplicant on the client saying:
Authentication with <wl351mac> timed out.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 29604

12 years agoramips: add support for the Senao/EnGenius ESR-9753 board
Gabor Juhos [Fri, 23 Dec 2011 14:27:10 +0000 (14:27 +0000)]
ramips: add support for the Senao/EnGenius ESR-9753 board

Signed-off-by: Artur Wronowski <arteqw@gmail.com>
SVN-Revision: 29603

12 years agoramips: define firmware partition for Omnima MiniEMBWiFi
Gabor Juhos [Fri, 23 Dec 2011 14:27:05 +0000 (14:27 +0000)]
ramips: define firmware partition for Omnima MiniEMBWiFi

Patch-by: Ivan Ignjatic <ivan@omnima.co.uk>
SVN-Revision: 29602

12 years agokernel: enable magic sysrq by default, it does not add much to the kernel image size...
Felix Fietkau [Thu, 22 Dec 2011 08:45:13 +0000 (08:45 +0000)]
kernel: enable magic sysrq by default, it does not add much to the kernel image size, but is useful for debugging many kinds of hangs/crashes

SVN-Revision: 29600

12 years agoar71xx: set a reserved bit that resets to 1 when writing the address table control...
Felix Fietkau [Thu, 22 Dec 2011 05:43:53 +0000 (05:43 +0000)]
ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547)

SVN-Revision: 29598

12 years agoar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
Jonas Gorski [Wed, 21 Dec 2011 19:32:40 +0000 (19:32 +0000)]
ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H

Thanks netprince for reporting and testing.

SVN-Revision: 29595

12 years agothe mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP...
Jo-Philipp Wich [Wed, 21 Dec 2011 01:27:48 +0000 (01:27 +0000)]
the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id (#10649)

SVN-Revision: 29593

12 years agobase-files: add -b (--create-backup) option to sysupgrade, which generates a backup...
Jo-Philipp Wich [Tue, 20 Dec 2011 17:25:15 +0000 (17:25 +0000)]
base-files: add -b (--create-backup) option to sysupgrade, which generates a backup .tar.gz according to the user settings. This will also be reused by LuCI.

SVN-Revision: 29587

12 years agofirewall: - introduce per-section "option enabled" which defaults to "1" - useful...
Jo-Philipp Wich [Tue, 20 Dec 2011 01:10:15 +0000 (01:10 +0000)]
firewall: - introduce per-section "option enabled" which defaults to "1" - useful to disable rules or zones without having to delete them - annotate default traffic rules with names - bump version

SVN-Revision: 29577

12 years agobrcm47xx: remove patch starting adding brcm4716 to ssb
Hauke Mehrtens [Mon, 19 Dec 2011 23:55:20 +0000 (23:55 +0000)]
brcm47xx: remove patch starting adding brcm4716 to ssb

brcm4716 is supported by bcma now we do not need this patch

SVN-Revision: 29576

12 years agobrcm47xx: add new usb driver for bcma bus and replace ssb usb driver.
Hauke Mehrtens [Mon, 19 Dec 2011 23:39:13 +0000 (23:39 +0000)]
brcm47xx: add new usb driver for bcma bus and replace ssb usb driver.

This new usb driver uses an extra device so the ehci and the ohci driver are not depending on ech other any more.

SVN-Revision: 29575

12 years agokernel: update bcma and ssb to version master-2011-12-16 from wireless-testing
Hauke Mehrtens [Mon, 19 Dec 2011 23:33:03 +0000 (23:33 +0000)]
kernel: update bcma and ssb to version master-2011-12-16 from wireless-testing

SVN-Revision: 29574

12 years agobrcm47xx: remove support for kernel 2.6.39
Hauke Mehrtens [Mon, 19 Dec 2011 23:26:15 +0000 (23:26 +0000)]
brcm47xx: remove support for kernel 2.6.39

There are problems with the patches for kernel 2.6.39 and I do not want to support two different sets of patches.

SVN-Revision: 29573

12 years agomac80211: deactivate mac80211 tracing
Hauke Mehrtens [Mon, 19 Dec 2011 23:23:34 +0000 (23:23 +0000)]
mac80211: deactivate mac80211 tracing

Activating tracing on kernel <= 2.6.32 causes build errors.

SVN-Revision: 29572

12 years agoath9k: fix another tx locking issue
Felix Fietkau [Mon, 19 Dec 2011 15:51:20 +0000 (15:51 +0000)]
ath9k: fix another tx locking issue

SVN-Revision: 29570

12 years agomac80211: fix powersave setting
Felix Fietkau [Mon, 19 Dec 2011 10:27:28 +0000 (10:27 +0000)]
mac80211: fix powersave setting

SVN-Revision: 29569

12 years agoar71xx: add missing wireless led changes for wzr-hp-g300nh2
Felix Fietkau [Mon, 19 Dec 2011 09:04:15 +0000 (09:04 +0000)]
ar71xx: add missing wireless led changes for wzr-hp-g300nh2

SVN-Revision: 29568

12 years agoar71xx: add support for the wzr-hp-g300nh2
Felix Fietkau [Sun, 18 Dec 2011 22:20:17 +0000 (22:20 +0000)]
ar71xx: add support for the wzr-hp-g300nh2

Signed-off-by: Mark Deneen <mdeneen@gmail.com>
SVN-Revision: 29567

12 years agomac80211: apply txpower after bringing up the interface, should fix #10113
Felix Fietkau [Sun, 18 Dec 2011 22:19:21 +0000 (22:19 +0000)]
mac80211: apply txpower after bringing up the interface, should fix #10113

SVN-Revision: 29566

12 years agomac80211: use iw instead of iwconfig to disable powersave
Felix Fietkau [Sun, 18 Dec 2011 22:18:46 +0000 (22:18 +0000)]
mac80211: use iw instead of iwconfig to disable powersave

SVN-Revision: 29565

12 years agoath9k: fix some issues in the btcoex disable patch
Felix Fietkau [Sun, 18 Dec 2011 22:17:34 +0000 (22:17 +0000)]
ath9k: fix some issues in the btcoex disable patch

SVN-Revision: 29564

12 years agoar71xx: use 64kraw template on more TP-Link boards
Gabor Juhos [Sat, 17 Dec 2011 18:49:55 +0000 (18:49 +0000)]
ar71xx: use 64kraw template on more TP-Link boards

SVN-Revision: 29561

12 years agoath9k: fix a locking issue in the tx path
Felix Fietkau [Sat, 17 Dec 2011 14:28:25 +0000 (14:28 +0000)]
ath9k: fix a locking issue in the tx path

SVN-Revision: 29560

12 years agohostapd: add missing check for wds stations
Felix Fietkau [Sat, 17 Dec 2011 14:28:20 +0000 (14:28 +0000)]
hostapd: add missing check for wds stations

SVN-Revision: 29559

12 years agoath9k: fix a crash in led init
Felix Fietkau [Fri, 16 Dec 2011 23:41:44 +0000 (23:41 +0000)]
ath9k: fix a crash in led init

SVN-Revision: 29558

12 years agoar71xx: connect GMAC0 to the internal switch on DB120
Gabor Juhos [Thu, 15 Dec 2011 22:25:38 +0000 (22:25 +0000)]
ar71xx: connect GMAC0 to the internal switch on DB120

Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.

SVN-Revision: 29557

12 years agoar71xx: add defines for the AR934X GMAC interface
Gabor Juhos [Thu, 15 Dec 2011 22:25:36 +0000 (22:25 +0000)]
ar71xx: add defines for the AR934X GMAC interface

SVN-Revision: 29556

12 years agoar71xx: fix GMAC1 interface speed on the DB120 board
Gabor Juhos [Thu, 15 Dec 2011 22:25:35 +0000 (22:25 +0000)]
ar71xx: fix GMAC1 interface speed on the DB120 board

SVN-Revision: 29555

12 years agoar71xx: ag71xx: fix switch port setup for AR934X
Gabor Juhos [Thu, 15 Dec 2011 22:25:32 +0000 (22:25 +0000)]
ar71xx: ag71xx: fix switch port setup for AR934X

SVN-Revision: 29554

12 years agoar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
Gabor Juhos [Thu, 15 Dec 2011 22:25:30 +0000 (22:25 +0000)]
ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X

SVN-Revision: 29553

12 years agoar71xx: ag71xx: setup switch interface mode on AR934X
Gabor Juhos [Thu, 15 Dec 2011 22:25:29 +0000 (22:25 +0000)]
ar71xx: ag71xx: setup switch interface mode on AR934X

SVN-Revision: 29552

12 years agoar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
Gabor Juhos [Thu, 15 Dec 2011 22:25:28 +0000 (22:25 +0000)]
ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs

SVN-Revision: 29551

12 years agoar71xx: allow to attach the internal switch for AR934x
Gabor Juhos [Thu, 15 Dec 2011 22:25:22 +0000 (22:25 +0000)]
ar71xx: allow to attach the internal switch for AR934x

SVN-Revision: 29550

12 years agoar71xx: introduce ar71xx_switch_data
Gabor Juhos [Thu, 15 Dec 2011 22:25:11 +0000 (22:25 +0000)]
ar71xx: introduce ar71xx_switch_data

SVN-Revision: 29549