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

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

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

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

12 years ago[package] iwinfo: factor txpower offset into info display output, recompile if driver...
jow [Sun, 1 Jan 2012 16:17:10 +0000 (16:17 +0000)]
[package] iwinfo: factor txpower offset into info display output, recompile if driver selection changes

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

12 years ago[toolchain] if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
jow [Sun, 1 Jan 2012 15:11:11 +0000 (15:11 +0000)]
[toolchain] if CONFIG_BUILD_NLS is selected, compile uClibc with locale support

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 years agoramips: rt288x: add support for the Belkin F5D8235-4 v1 board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29617 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

12 years agoar71xx: enable sysupgrade support for airrouter
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29614 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

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

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

12 years ago[generic] add missing config symbol
jow [Sun, 25 Dec 2011 13:33:18 +0000 (13:33 +0000)]
[generic] add missing config symbol

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

12 years ago[netfilter] package CT target
jow [Sun, 25 Dec 2011 13:32:53 +0000 (13:32 +0000)]
[netfilter] package CT target

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

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

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

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

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

12 years agoramips: initial support for Sitecom WL-351 v1 002
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29604 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: add support for the Senao/EnGenius ESR-9753 board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29603 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: define firmware partition for Omnima MiniEMBWiFi
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29602 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agokernel: enable magic sysrq by default, it does not add much to the kernel image size...
nbd [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

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

12 years agoar71xx: set a reserved bit that resets to 1 when writing the address table control...
nbd [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)

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

12 years agoar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
jogo [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.

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

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

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

12 years ago[package] base-files: add -b (--create-backup) option to sysupgrade, which generates...
jow [Tue, 20 Dec 2011 17:25:15 +0000 (17:25 +0000)]
[package] 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.

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

12 years ago[package] firewall:
jow [Tue, 20 Dec 2011 01:10:15 +0000 (01:10 +0000)]
[package] 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

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

12 years agobrcm47xx: remove patch starting adding brcm4716 to ssb
hauke [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

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

12 years agobrcm47xx: add new usb driver for bcma bus and replace ssb usb driver.
hauke [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.

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

12 years agokernel: update bcma and ssb to version master-2011-12-16 from wireless-testing
hauke [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

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

12 years agobrcm47xx: remove support for kernel 2.6.39
hauke [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.

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

12 years agomac80211: deactivate mac80211 tracing
hauke [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.

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

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

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

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

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

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

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

12 years agoar71xx: add support for the wzr-hp-g300nh2
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29567 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 years agoar71xx: connect GMAC0 to the internal switch on DB120
juhosg [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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 years agoar71xx: build images for TL-WR741N/ND v2
juhosg [Thu, 15 Dec 2011 22:03:48 +0000 (22:03 +0000)]
ar71xx: build images for TL-WR741N/ND v2

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

12 years agoar71x: use raw squashfs images for TP-Link boards
juhosg [Thu, 15 Dec 2011 22:03:46 +0000 (22:03 +0000)]
ar71x: use raw squashfs images for TP-Link boards

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

12 years agoar71xx: create a template for using unpadded squashfs images
juhosg [Thu, 15 Dec 2011 22:03:45 +0000 (22:03 +0000)]
ar71xx: create a template for using unpadded squashfs images

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

12 years agoar71xx: put squash image right after the kernel on TP-Link boards
juhosg [Thu, 15 Dec 2011 22:03:44 +0000 (22:03 +0000)]
ar71xx: put squash image right after the kernel on TP-Link boards

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

12 years agofirmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image
juhosg [Thu, 15 Dec 2011 22:03:42 +0000 (22:03 +0000)]
firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image

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

12 years agoar71xx: tplinkpart: allow to detect JFFS2 as well
juhosg [Thu, 15 Dec 2011 22:03:40 +0000 (22:03 +0000)]
ar71xx: tplinkpart: allow to detect JFFS2 as well

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

12 years agoar71xx: ag71xx: check PHY IDs before accessing the switch registers
juhosg [Thu, 15 Dec 2011 13:25:23 +0000 (13:25 +0000)]
ar71xx: ag71xx: check PHY IDs before accessing the switch registers

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

12 years agoar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
juhosg [Thu, 15 Dec 2011 13:25:21 +0000 (13:25 +0000)]
ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x

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

12 years agoar71xx: ag71xx: nuke ar7240sw_init
juhosg [Thu, 15 Dec 2011 13:25:20 +0000 (13:25 +0000)]
ar71xx: ag71xx: nuke ar7240sw_init

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

12 years agoar71xx: fix mac addresses on jjPlus devices
juhosg [Thu, 15 Dec 2011 13:25:18 +0000 (13:25 +0000)]
ar71xx: fix mac addresses on jjPlus devices

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

12 years agoath9k: fix a locking issue
nbd [Wed, 14 Dec 2011 21:03:52 +0000 (21:03 +0000)]
ath9k: fix a locking issue

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

12 years agoar71xx: build image for the Hornet-UB board
juhosg [Wed, 14 Dec 2011 20:54:11 +0000 (20:54 +0000)]
ar71xx: build image for the Hornet-UB board

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

12 years agoar71xx: add support for ALFA Network's Hornet-UB board
juhosg [Wed, 14 Dec 2011 20:54:10 +0000 (20:54 +0000)]
ar71xx: add support for ALFA Network's Hornet-UB board

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

12 years agoar71xx: add GPIO function bit defines for AR933X
juhosg [Wed, 14 Dec 2011 20:54:07 +0000 (20:54 +0000)]
ar71xx: add GPIO function bit defines for AR933X

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

12 years agoramips: add support for Omnima MiniEMBWiFi board
juhosg [Wed, 14 Dec 2011 20:51:26 +0000 (20:51 +0000)]
ramips: add support for Omnima MiniEMBWiFi board

This patch adds support for the Omnima MiniEMBWiFi
Ralink RT3050F based board.

Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk>

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

12 years agoar71xx: fix gpio count for ar7241/ar7242
nbd [Wed, 14 Dec 2011 20:47:24 +0000 (20:47 +0000)]
ar71xx: fix gpio count for ar7241/ar7242

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

12 years agoar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
nbd [Wed, 14 Dec 2011 20:21:42 +0000 (20:21 +0000)]
ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h

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

12 years agoath9k: add support for registering extra leds connected to the wmac gpio lines
nbd [Wed, 14 Dec 2011 20:21:36 +0000 (20:21 +0000)]
ath9k: add support for registering extra leds connected to the wmac gpio lines

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

12 years agoar71xx: get rid of squashfs-4k images
juhosg [Tue, 13 Dec 2011 20:41:24 +0000 (20:41 +0000)]
ar71xx: get rid of squashfs-4k images

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

12 years agogeneric: disable 'small sector' erase in m25p80 driver
juhosg [Tue, 13 Dec 2011 20:41:22 +0000 (20:41 +0000)]
generic: disable 'small sector' erase in m25p80 driver

This fixes the issues with the jffs2 images on various boards. Using
JFFS2 on devices with 4KiB erase sectors is not safe:
http://lists.infradead.org/pipermail/linux-mtd/2011-June/036591.html

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

12 years agoimage: increase squashfs block size - visibly reduces image size in many cases
nbd [Tue, 13 Dec 2011 15:34:08 +0000 (15:34 +0000)]
image: increase squashfs block size - visibly reduces image size in many cases

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

12 years ago[package] kernel: rename kmod-switch-rtl8366_smi to kmod-switch-rtl8366-smi to avoid...
jow [Tue, 13 Dec 2011 15:29:45 +0000 (15:29 +0000)]
[package] kernel: rename kmod-switch-rtl8366_smi to kmod-switch-rtl8366-smi to avoid underscores in package names

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

12 years agokernel: move linux/ath9k_platform.h to generic files so that it can be reused from...
nbd [Tue, 13 Dec 2011 15:14:59 +0000 (15:14 +0000)]
kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets

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

12 years agoar71xx: fix wireless led on wzr-hp-g450h
nbd [Tue, 13 Dec 2011 15:00:43 +0000 (15:00 +0000)]
ar71xx: fix wireless led on wzr-hp-g450h

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

12 years agoar71xx: enable AR9341 support at setup.c
juhosg [Tue, 13 Dec 2011 14:59:43 +0000 (14:59 +0000)]
ar71xx: enable AR9341 support at setup.c

Patch-by: dyq <729650915@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29514 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
juhosg [Tue, 13 Dec 2011 14:59:40 +0000 (14:59 +0000)]
ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2

The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29513 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agobusybox: disable "mesg" by default
nbd [Tue, 13 Dec 2011 13:51:05 +0000 (13:51 +0000)]
busybox: disable "mesg" by default

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

12 years agoar71xx: add gpios and usb for wzr-hp-g450h
nbd [Tue, 13 Dec 2011 13:33:44 +0000 (13:33 +0000)]
ar71xx: add gpios and usb for wzr-hp-g450h

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

12 years ago[package] hostapd: support optional argument for the -v switch of hostapd and wpa_sup...
jow [Mon, 12 Dec 2011 17:26:13 +0000 (17:26 +0000)]
[package] hostapd: support optional argument for the -v switch of hostapd and wpa_supplicant to query build features, e.g. hostapd -veap to test whether 802.11i support is compiled in

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

12 years agomac80211: make mesh support optional
nbd [Mon, 12 Dec 2011 14:42:35 +0000 (14:42 +0000)]
mac80211: make mesh support optional

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

12 years agoar71xx: use RedBoot parser on PB44
juhosg [Sun, 11 Dec 2011 15:52:47 +0000 (15:52 +0000)]
ar71xx: use RedBoot parser on PB44

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

12 years agoinclude/package-ipkg.mk: fix typo in r29449
nico [Sat, 10 Dec 2011 22:02:50 +0000 (22:02 +0000)]
include/package-ipkg.mk: fix typo in r29449

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

12 years agomac80211: merge another upstream aggregation fix
nbd [Sat, 10 Dec 2011 21:17:19 +0000 (21:17 +0000)]
mac80211: merge another upstream aggregation fix

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

12 years agoath9k: disable bluetooth coexistence support to reduce module size
nbd [Sat, 10 Dec 2011 21:17:12 +0000 (21:17 +0000)]
ath9k: disable bluetooth coexistence support to reduce module size

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

12 years agoath9k: improve handling of blockackreq (should improve aggregation behavior under...
nbd [Sat, 10 Dec 2011 21:17:07 +0000 (21:17 +0000)]
ath9k: improve handling of blockackreq (should improve aggregation behavior under tough wifi conditions with lots of retransmission)

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

12 years agomac80211: merge an upstream fix for an aggregation related race condition
nbd [Sat, 10 Dec 2011 21:16:58 +0000 (21:16 +0000)]
mac80211: merge an upstream fix for an aggregation related race condition

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

12 years ago[atheros] convert to gpiolib
blogic [Fri, 9 Dec 2011 07:52:10 +0000 (07:52 +0000)]
[atheros] convert to gpiolib

Signed-off-by: karlp@tweak.net.au

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

12 years agomac80211: add support for firmware 666.2 for b43 devices
hauke [Thu, 8 Dec 2011 22:53:13 +0000 (22:53 +0000)]
mac80211: add support for firmware 666.2 for b43 devices

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

12 years ago[package] librpc: do not build if external or native toolchains are used
jow [Thu, 8 Dec 2011 16:49:45 +0000 (16:49 +0000)]
[package] librpc: do not build if external or native toolchains are used

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

12 years agoar71xx: fix WNDR3x00 factory image generation
juhosg [Wed, 7 Dec 2011 06:55:50 +0000 (06:55 +0000)]
ar71xx: fix WNDR3x00 factory image generation

Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.

This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29473 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoar71xx: fix WNDR3x00 model detection
juhosg [Wed, 7 Dec 2011 06:55:39 +0000 (06:55 +0000)]
ar71xx: fix WNDR3x00 model detection

Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset
56 in the art (caldata) mtd partition.

r29434 redid WNDR3x00 model detection, attempting to distinguish between
WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it
contained a bug: it put the awk inside a $(...), with the result that all
WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch
checks the model name stored in the art partition, as is done by U-Boot
shipping on the WNDR3800. It has the likely advantage of working with
future models based on the WNDR3700 board. It also will not mis-detect
units on which people install more memory.

I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800.

Signed-off-by: Mark Mentovai <mark@moxienet.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29472 3c298f89-4303-0410-b956-a3cf2f4a3e73

12 years agoramips: fix mac addresses on the DIR-300/600 boards
juhosg [Tue, 6 Dec 2011 20:06:08 +0000 (20:06 +0000)]
ramips: fix mac addresses on the DIR-300/600 boards

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

12 years agolinux: update 3.1 to 3.1.4
jogo [Tue, 6 Dec 2011 19:50:30 +0000 (19:50 +0000)]
linux: update 3.1 to 3.1.4

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