12.09/openwrt.git
11 years agoAA: bcm63xx: Fix sysupgrade for tag-version 7 and 8
jogo [Mon, 25 Feb 2013 12:55:59 +0000 (12:55 +0000)]
AA: bcm63xx: Fix sysupgrade for tag-version 7 and 8

Backport of r35724.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35779 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA kernel: modules: don't skip built-in modules for i2c
jogo [Mon, 25 Feb 2013 12:51:36 +0000 (12:51 +0000)]
AA kernel: modules: don't skip built-in modules for i2c

Backport of r35755.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35778 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: mac80211: add missing DRIVER_11N_SUPPORT selects
jogo [Mon, 25 Feb 2013 12:51:35 +0000 (12:51 +0000)]
AA: mac80211: add missing DRIVER_11N_SUPPORT selects

Backport of r35711.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35777 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx: register the micro sd card reader on RB493G
jogo [Mon, 25 Feb 2013 12:51:33 +0000 (12:51 +0000)]
AA: ar71xx: register the micro sd card reader on RB493G

Backport of r35535.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35776 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k: fix rssi issues
nbd [Fri, 22 Feb 2013 20:13:26 +0000 (20:13 +0000)]
ath9k: fix rssi issues

Backport of r35750

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35752 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k_htc: fix signal strength reporting issues
nbd [Fri, 22 Feb 2013 20:13:24 +0000 (20:13 +0000)]
ath9k_htc: fix signal strength reporting issues

Backport of r35749

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35751 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx: fix MAC address assignment on the DIR-825-Bx boards
juhosg [Thu, 21 Feb 2013 18:02:50 +0000 (18:02 +0000)]
AA: ar71xx: fix MAC address assignment on the DIR-825-Bx boards

Backport of r35730.

Use the same MAC addresses as the original firmware.

Based on a patch from #10421.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Gabor Varga <vargagab@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35731 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobrcm47xx: fix name of kmod-ocf-ubsec-ssb
hauke [Thu, 21 Feb 2013 15:15:28 +0000 (15:15 +0000)]
brcm47xx: fix name of kmod-ocf-ubsec-ssb

backport of r35509.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35725 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agohostapd: fix the scan wait patch for multiple interfaces
nbd [Sat, 16 Feb 2013 19:01:44 +0000 (19:01 +0000)]
hostapd: fix the scan wait patch for multiple interfaces

Backport of r35630

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35631 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agohostapd: add back the patch that waits for interface bringup in ht40, it got lost...
nbd [Sat, 16 Feb 2013 14:26:36 +0000 (14:26 +0000)]
hostapd: add back the patch that waits for interface bringup in ht40, it got lost with the update

Backport of r35619

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35620 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx: Routerboard 751 Mac Address Offset Fix
juhosg [Sat, 9 Feb 2013 12:53:52 +0000 (12:53 +0000)]
AA: ar71xx: Routerboard 751 Mac Address Offset Fix

Backport of r35519.

We utilize many Routerboard 751's and discovered that our latest batch
of RB751's would not initialize the wireless radio. We have determined
Mikrotik has changed where the mac address was located inside hardconfig.
As such we utilize "routerboot_find_tag" to find the location of the mac
address. We should remove "RB751_MAC_ADDRESS_OFFSET" as it is ambiguous
by machine manufacturing date. The newer batch of RB751's that we received
had a RB751_MAC_ADDRESS_OFFSET 0x10.

Signed-off-by: Davey Hutchison <dhutchison@bluemesh.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35531 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoopenssl: backport r35524
yardley [Fri, 8 Feb 2013 22:35:37 +0000 (22:35 +0000)]
openssl: backport r35524

Signed-off-by: Tim Yardley <yardley@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35530 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolibubox: update to latest version, fixes a string corruption issue on JSON formatting
nbd [Tue, 29 Jan 2013 22:24:07 +0000 (22:24 +0000)]
libubox: update to latest version, fixes a string corruption issue on JSON formatting

Backport of r35399

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35400 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: update to latest version
nbd [Tue, 29 Jan 2013 14:41:40 +0000 (14:41 +0000)]
netifd: update to latest version

fixes DNS servers on reload (#12910)
fixes ubus object race on reload or down/up (#12612)

Backport of r35383

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35384 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: update to latest version, fixes setting addresses/routes on alias interfaces
nbd [Mon, 28 Jan 2013 20:37:19 +0000 (20:37 +0000)]
netifd: update to latest version, fixes setting addresses/routes on alias interfaces

Backport of r35362

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35363 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: feeds: switch to LuCI v0.11.1 tag
jow [Mon, 28 Jan 2013 16:02:24 +0000 (16:02 +0000)]
AA: feeds: switch to LuCI v0.11.1 tag

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35351 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: firewall: backport r35348
jow [Mon, 28 Jan 2013 15:59:01 +0000 (15:59 +0000)]
AA: firewall: backport r35348

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35350 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetfilter: add support for flushing conntrack via /proc
nbd [Sun, 27 Jan 2013 19:03:44 +0000 (19:03 +0000)]
netfilter: add support for flushing conntrack via /proc

Backport of r35330

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35331 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: sync with trunk r35297, adds another alias support fix
nbd [Tue, 22 Jan 2013 16:06:39 +0000 (16:06 +0000)]
netifd: sync with trunk r35297, adds another alias support fix

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35298 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoubus: revert the package install section from the trunk sync commit
nbd [Mon, 21 Jan 2013 13:25:38 +0000 (13:25 +0000)]
ubus: revert the package install section from the trunk sync commit

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35267 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: feeds: switch to LuCI v0.11.0 tag
jow [Mon, 21 Jan 2013 12:25:42 +0000 (12:25 +0000)]
AA: feeds: switch to LuCI v0.11.0 tag

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35263 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: sync with trunk r35251
nbd [Sun, 20 Jan 2013 15:52:19 +0000 (15:52 +0000)]
netifd: sync with trunk r35251

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35254 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoubus: sync with trunk r35141
nbd [Sun, 20 Jan 2013 15:52:17 +0000 (15:52 +0000)]
ubus: sync with trunk r35141

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35253 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolibubox: sync with trunk r35128
nbd [Sun, 20 Jan 2013 15:52:16 +0000 (15:52 +0000)]
libubox: sync with trunk r35128

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35252 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: busybox: merge r35239
jow [Sat, 19 Jan 2013 10:19:40 +0000 (10:19 +0000)]
AA: busybox: merge r35239

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35241 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: generic: rtl8366_smi: only assign pvid if no pvid was set yet
jogo [Fri, 18 Jan 2013 15:21:59 +0000 (15:21 +0000)]
AA: generic: rtl8366_smi: only assign pvid if no pvid was set yet

Backport or r35227.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35228 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agouci: sync with trunk
luka [Thu, 17 Jan 2013 14:14:55 +0000 (14:14 +0000)]
uci: sync with trunk

backport of r35013, r33861, r33660

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35195 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k: fix a soft lockup on smp systems
nbd [Mon, 14 Jan 2013 15:59:28 +0000 (15:59 +0000)]
ath9k: fix a soft lockup on smp systems

Backport of r35152

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35153 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k: remove a lock to fix a deadlock on hw reset
nbd [Mon, 14 Jan 2013 09:52:14 +0000 (09:52 +0000)]
ath9k: remove a lock to fix a deadlock on hw reset

Backport of r35147

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35148 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agopackage: kernel: make crypto kmods always visible
luka [Fri, 11 Jan 2013 09:46:48 +0000 (09:46 +0000)]
package: kernel: make crypto kmods always visible

backport r34298

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35093 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and other...
nbd [Thu, 10 Jan 2013 18:47:04 +0000 (18:47 +0000)]
ath9k: add updated tx gain tables, fixes stability issues on TL-WDR4300 and other devices

Backport of r35089

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35090 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agouClibc: backport useful fixes from trunk (#12777)
nbd [Thu, 10 Jan 2013 18:02:47 +0000 (18:02 +0000)]
uClibc: backport useful fixes from trunk (#12777)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35088 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k: add some calibration fixes from wireless-testing
nbd [Thu, 10 Jan 2013 14:10:41 +0000 (14:10 +0000)]
ath9k: add some calibration fixes from wireless-testing

Backport r35081

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35082 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k: correct a logic error in the rx path fix
nbd [Wed, 9 Jan 2013 15:19:10 +0000 (15:19 +0000)]
ath9k: correct a logic error in the rx path fix

Backport of r35067

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35068 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: refresh patches
nbd [Wed, 9 Jan 2013 12:49:22 +0000 (12:49 +0000)]
mac80211: refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35065 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k: backport stability fixes from r35063
nbd [Wed, 9 Jan 2013 12:49:21 +0000 (12:49 +0000)]
ath9k: backport stability fixes from r35063

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35064 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: apply network interface configuration for adhoc + wpa2
nbd [Mon, 7 Jan 2013 21:12:46 +0000 (21:12 +0000)]
mac80211: apply network interface configuration for adhoc + wpa2

Backport of r35049

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35050 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolibubox: update to latest version, contains several uloop/ustream fixes
nbd [Mon, 7 Jan 2013 15:25:33 +0000 (15:25 +0000)]
libubox: update to latest version, contains several uloop/ustream fixes

Backport of r35039

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35040 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U...
juhosg [Mon, 7 Jan 2013 14:43:21 +0000 (14:43 +0000)]
AA: ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U boards

Backport of r35037.

The PHY_SWAP and PHY_ADDR_SWAP bits are initialized
differently by different versions of the bootloader.
This leads to broken ethernet connection with OpenWrt
on some boards.

Turn both SWAP bits OFF on these boards to make it
consistent regardless of the bootloader used.

Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35038 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoopkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
nbd [Thu, 3 Jan 2013 20:03:14 +0000 (20:03 +0000)]
opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage

Backport of r34869

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35003 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability
nbd [Wed, 2 Jan 2013 17:40:31 +0000 (17:40 +0000)]
ath9k: disable TX_IQ_ON_AGC_CAL on AR934x, should improve stability

Backport of r34979

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34980 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: generic: fix UBIFS build error if XZ compression is disabled
juhosg [Wed, 2 Jan 2013 16:30:28 +0000 (16:30 +0000)]
AA: generic: fix UBIFS build error if XZ compression is disabled

Backport of r34959.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34978 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: base-files: merge r34974 and r34975
jow [Wed, 2 Jan 2013 16:28:40 +0000 (16:28 +0000)]
AA: base-files: merge r34974 and r34975

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34977 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: firewall: merge r34472 and r34569
jow [Wed, 2 Jan 2013 16:24:37 +0000 (16:24 +0000)]
AA: firewall: merge r34472 and r34569

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34976 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86: fix typo in alix2/net5501 default packages
nbd [Wed, 2 Jan 2013 16:09:50 +0000 (16:09 +0000)]
x86: fix typo in alix2/net5501 default packages

Backport of r34972

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34973 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ramips: fix ASUS WL-330N3G MAC address
juhosg [Mon, 24 Dec 2012 09:13:58 +0000 (09:13 +0000)]
AA: ramips: fix ASUS WL-330N3G MAC address

Backport of r34877.

The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34879 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ramips: fix wifi EEPROM extraction on DIR-615-Dx models
juhosg [Mon, 24 Dec 2012 09:13:56 +0000 (09:13 +0000)]
AA: ramips: fix wifi EEPROM extraction on DIR-615-Dx models

Backport of r34876.

Patch from #12636.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34878 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: backport: "[tools] ipkg-utils: Force gnu format for tar (#12496)"
acinonyx [Fri, 21 Dec 2012 15:04:24 +0000 (15:04 +0000)]
AA: backport: "[tools] ipkg-utils: Force gnu format for tar (#12496)"

[backport r34261]

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34827 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: kernel: add solos-pci update for 3.3
juhosg [Fri, 21 Dec 2012 10:41:22 +0000 (10:41 +0000)]
AA: kernel: add solos-pci update for 3.3

Backport of r34813.

Same patches that I just merged for 3.6 and 3.7, except with one
additional fix that went into v3.4 that needed to be included.

Submitted more for the benefit of the AA branch than for trunk.

[juhosg: refresh the patch with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34814 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: opkg: backport r34202 and r34203
jow [Tue, 18 Dec 2012 20:53:47 +0000 (20:53 +0000)]
AA: opkg: backport r34202 and r34203

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34778 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolibubox: update to latest version, as of trunk r34746
nbd [Tue, 18 Dec 2012 13:09:58 +0000 (13:09 +0000)]
libubox: update to latest version, as of trunk r34746

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34747 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: update to latest version, fixes interface error reporting for shell proto...
nbd [Mon, 17 Dec 2012 22:26:13 +0000 (22:26 +0000)]
netifd: update to latest version, fixes interface error reporting for shell proto handlers

Backport of r34741

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34742 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: update to latest version, no longer needs the removed jshn_append() shell...
nbd [Mon, 17 Dec 2012 14:58:46 +0000 (14:58 +0000)]
netifd: update to latest version, no longer needs the removed jshn_append() shell function

Backport of r34734

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34735 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolibubox: another jshn update, fixes array handling issues
nbd [Sun, 16 Dec 2012 18:59:27 +0000 (18:59 +0000)]
libubox: another jshn update, fixes array handling issues

Backport of r34723

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34724 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolibubox: fix some jshn variable handling regressions
nbd [Sun, 16 Dec 2012 17:06:08 +0000 (17:06 +0000)]
libubox: fix some jshn variable handling regressions

Backport of r34720

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34721 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolibubox: sync with trunk (as of r34718)
nbd [Sun, 16 Dec 2012 16:51:05 +0000 (16:51 +0000)]
libubox: sync with trunk (as of r34718)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34719 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agowpa_supplicant.sh: always use parameters from the current section
nbd [Sun, 16 Dec 2012 13:33:58 +0000 (13:33 +0000)]
wpa_supplicant.sh: always use parameters from the current section

Using variables from the outer scope unnecessarily complicates the code and
leads to issues.

This patch fixes the bug when having an "adhoc" wifi-iface section before a
"sta" section prevents wpa_supplicant from using the key specified in the
corresponding section as it tries to use the "adhoc" key instead (1 by
default).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Backport of r34716

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34717 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoubus: update to latest version, fixes request timeout handling issues, hangs on lots...
nbd [Sat, 15 Dec 2012 17:22:42 +0000 (17:22 +0000)]
ubus: update to latest version, fixes request timeout handling issues, hangs on lots of requests, adds object notification support

Backport of r34705

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34707 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: call /etc/udhcp.user from the netifd dhcp.script
nbd [Sat, 15 Dec 2012 17:22:40 +0000 (17:22 +0000)]
netifd: call /etc/udhcp.user from the netifd dhcp.script

This was done previously when dhcp was handled by the network scripts.
So netifd should behave the same.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Backport of r34704

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34706 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: kernel: fix solos-pci skb double-free in DMA mode
juhosg [Thu, 13 Dec 2012 18:46:25 +0000 (18:46 +0000)]
AA: kernel: fix solos-pci skb double-free in DMA mode

Backport of r34667.

[juhosg: refresh the patches with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34668 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: update to latest version, fixes purging old resolv.conf entries after ifdown
nbd [Thu, 13 Dec 2012 16:16:32 +0000 (16:16 +0000)]
netifd: update to latest version, fixes purging old resolv.conf entries after ifdown

Backport of r34664

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

11 years agoath5k: fix skb leaks (should fix #12199)
nbd [Mon, 10 Dec 2012 15:44:34 +0000 (15:44 +0000)]
ath5k: fix skb leaks (should fix #12199)

Backport of r34603

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34604 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ppp: backport r34536
jow [Thu, 6 Dec 2012 18:22:07 +0000 (18:22 +0000)]
AA: ppp: backport r34536

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34538 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: update to latest version from trunk, as of r34500
nbd [Wed, 5 Dec 2012 15:35:14 +0000 (15:35 +0000)]
netifd: update to latest version from trunk, as of r34500

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

11 years agolibubox: update to latest version, fixes blob/blobmsg endian issues
nbd [Sun, 2 Dec 2012 16:54:45 +0000 (16:54 +0000)]
libubox: update to latest version, fixes blob/blobmsg endian issues

Backport of r34456

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

11 years agoAA: ramips: fix serial console for Belkin F5D8235 v1/v2
juhosg [Sun, 2 Dec 2012 14:18:26 +0000 (14:18 +0000)]
AA: ramips: fix serial console for Belkin F5D8235 v1/v2

Backport of r34445.

Based on a patch from #12533.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34446 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: Update linux-atm fixes to reflect the final upstream pull request
juhosg [Sun, 2 Dec 2012 13:14:27 +0000 (13:14 +0000)]
AA: Update linux-atm fixes to reflect the final upstream pull request

Backport of r34443.

[juhosg: refresh the patches with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34444 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: [ar7] add back symbols accidentally removed in r34428
florian [Fri, 30 Nov 2012 09:10:12 +0000 (09:10 +0000)]
AA: [ar7] add back symbols accidentally removed in r34428

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

11 years agoAA: [ar7] use a default kernel command-line to mount squashfs and jffs2
florian [Fri, 30 Nov 2012 09:08:21 +0000 (09:08 +0000)]
AA: [ar7] use a default kernel command-line to mount squashfs and jffs2

This fixes bug #9055. Backport of r34424.

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

11 years agoAA: kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL
juhosg [Thu, 29 Nov 2012 18:02:30 +0000 (18:02 +0000)]
AA: kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL

Backport of r34415.

Patches queued upstream in net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34416 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)
juhosg [Thu, 29 Nov 2012 17:50:03 +0000 (17:50 +0000)]
AA: kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)

Backport of r34410.

Patches about to go into net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34413 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
juhosg [Thu, 29 Nov 2012 17:49:50 +0000 (17:49 +0000)]
AA: build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space

Backport of r34408.

The genext2fs tool will 'reserve' 5% of the image size by default,
apparently by creating a huge lost+found directory. In fact it seemed to
be much more than 5% in practice — I saw an image with 8MiB used, and
recovered about 2MiB of it by deleting the 'empty' lost+found directory:

/dev/loop0         48377  8482     37438  19% /mnt/spare
 # rmdir lost+found/
/dev/loop0         48377  6014     39906  14% /mnt/spare

This makes it configurable, but leaves it at the genext2fs default
of 5% for now. It should probably be changed to default to zero, but
that can be a separate patch.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34412 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: bcm63xx: fix spi transfer handling
florian [Mon, 26 Nov 2012 13:35:30 +0000 (13:35 +0000)]
AA: bcm63xx: fix spi transfer handling

* Accept transfers without bits_per_word set.

* Work around the inability of the hardware of keeping CS asserted.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34386 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: [ar7]: push atm, br2684ctl and kmod-pppoa down the DSL Profile
florian [Sun, 25 Nov 2012 21:06:51 +0000 (21:06 +0000)]
AA: [ar7]: push atm, br2684ctl and kmod-pppoa down the DSL Profile

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

11 years agoAA: [ar7] free memory below kernel offset
florian [Sun, 25 Nov 2012 20:53:00 +0000 (20:53 +0000)]
AA: [ar7] free memory below kernel offset

Some bootloaders (e.g. PSPBoot on AC49x) have a load-offset, this frees that
memory region so it is usable for Linux.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34383 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobroadcom-wl: fix two problems when more then one wifi card is available.
hauke [Sun, 25 Nov 2012 20:14:34 +0000 (20:14 +0000)]
broadcom-wl: fix two problems when more then one wifi card is available.

* The device should get a unique name at the beginning and not wl%d
* load the nvram just one time into the own buffer also when there is
  more than one device.

Backport of r34381.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34382 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobrcm47xx: fix title of Bcm4705-wl profile
hauke [Sun, 25 Nov 2012 16:41:10 +0000 (16:41 +0000)]
brcm47xx: fix title of Bcm4705-wl profile

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34379 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobrcm47xx: fix cpu clock detection on ASUS WL-520gU
hauke [Sun, 25 Nov 2012 16:38:16 +0000 (16:38 +0000)]
brcm47xx: fix cpu clock detection on ASUS WL-520gU

The ASUS WL-520gU and some other similar Asus devices have a BCM5354
running at 200MHZ and not at 240 which is the default for this SoC.

This fixes #4083.

Backport of r34325.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34377 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ramips: ramips_eth: use Kconfig definition to enable debug
juhosg [Sun, 25 Nov 2012 16:23:08 +0000 (16:23 +0000)]
AA: ramips: ramips_eth: use Kconfig definition to enable debug

Backport of r34332.

The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34376 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ramips: add DIR-615 D userspace support
juhosg [Sun, 25 Nov 2012 16:23:07 +0000 (16:23 +0000)]
AA: ramips: add DIR-615 D userspace support

Backport of r34331.

Commit 7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and
Makefile changes to build images for this target. However, without the userspace
bits a ramips machine can't use wifi as the necessary "eeprom" data is to be
extracted by a hotplug script; also, sysupgrade support and default led
configuration are missing.

An IRC user reported these changes allowed him to use wifi on his hardware.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34375 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx: set pad6 cfg for AR8327 on the AP136 board
juhosg [Sun, 25 Nov 2012 16:23:05 +0000 (16:23 +0000)]
AA: ar71xx: set pad6 cfg for AR8327 on the AP136 board

Backport of r34316.

Also override the pll_1000 value. Without these settings
ethernet suffers from packet loss.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34374 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: generic: ar8216: set delay values for SGMII mode on AR8327
juhosg [Sun, 25 Nov 2012 16:23:04 +0000 (16:23 +0000)]
AA: generic: ar8216: set delay values for SGMII mode on AR8327

Backport of r34315.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34373 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: generic: ar8216: introduce ar8216_mib_op helper
juhosg [Sun, 25 Nov 2012 16:23:03 +0000 (16:23 +0000)]
AA: generic: ar8216: introduce ar8216_mib_op helper

Backport of r34297.

The ar8216_mib_{capture,flush} functions are similar.
Move the common code into a helper and use that from
the original functions.

This change also fixes a lockdep warning in
ar8216_mib_flush.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34372 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'
juhosg [Sun, 25 Nov 2012 16:23:02 +0000 (16:23 +0000)]
AA: generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'

Backport of r34283.

Also add a WARN_ON to 'ar8216_mib_fetch_port_stat'

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34371 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: generic: ar8216: remove an unblanced mutex_unlock call
juhosg [Sun, 25 Nov 2012 16:23:00 +0000 (16:23 +0000)]
AA: generic: ar8216: remove an unblanced mutex_unlock call

Backport of r34282.

Fixes the following warning:

[   94.080000]
[   94.080000] =====================================
[   94.080000] [ BUG: bad unlock balance detected! ]
[   94.080000] 3.3.8 #2 Tainted: G           O
[   94.080000] -------------------------------------
[   94.080000] swconfig/1220 is trying to release lock (&priv->mib_lock) at:
[   94.080000] [<801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[   94.080000] but there are no more locks to release!
[   94.080000]
[   94.080000] other info that might help us debug this:
[   94.080000] 2 locks held by swconfig/1220:
[   94.080000]  #0:  (genl_mutex){+.+...}, at: [<80222430>] genl_rcv+0x14/0x34
[   94.080000]  #1:  (&dev->sw_mutex){+.+...}, at: [<801da018>] swconfig_get_dev+0x88/0xb4
[   94.080000]
[   94.080000] stack backtrace:
[   94.080000] Call Trace:
[   94.080000] [<8028dc58>] dump_stack+0x8/0x34
[   94.080000] [<800a5128>] print_unlock_inbalance_bug+0xe0/0xfc
[   94.080000] [<800a82c0>] lock_release+0x18c/0x1c8
[   94.080000] [<80292074>] __mutex_unlock_slowpath+0xd8/0x17c
[   94.080000] [<801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[   94.080000] [<801db688>] swconfig_get_attr+0xbc/0x394
[   94.080000] [<8022261c>] genl_rcv_msg+0x1cc/0x214
[   94.080000] [<80221a18>] netlink_rcv_skb+0x6c/0xe8
[   94.080000] [<80222440>] genl_rcv+0x24/0x34
[   94.080000] [<80221370>] netlink_unicast+0x15c/0x22c
[   94.080000] [<8022175c>] netlink_sendmsg+0x240/0x2d0
[   94.080000] [<801ef544>] sock_sendmsg+0x84/0x9c
[   94.080000] [<801f0648>] __sys_sendmsg+0x1cc/0x270
[   94.080000] [<801f207c>] sys_sendmsg+0x48/0x7c
[   94.080000] [<8006ad78>] stack_done+0x20/0x40
[   94.080000]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34370 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: generic: ar8216: add missing locking calls
juhosg [Sun, 25 Nov 2012 16:22:58 +0000 (16:22 +0000)]
AA: generic: ar8216: add missing locking calls

Backport of r34281.

Fixes the following lockdep warning:

[   19.160000] ------------[ cut here ]------------
[   19.160000] WARNING: at drivers/net/phy/ar8216.c:322 ar8216_rmw+0x54/0xa4()
[   19.170000] Modules linked in: nf_defrag_ipv4 nf_conntrack ehci_hcd
sd_mod pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multip
ort xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp
x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) at
h9k_hw(O) ath(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc7
crc_itu_t crc_ccitt cfg80211(O) compat(O) arc4 aes_generic cry
pto_blkcipher cryptomgr aead crypto_hash crypto_algapi ledtrig_timer
ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[   19.210000] Call Trace:
[   19.220000] [<8028dc38>] dump_stack+0x8/0x34
[   19.220000] [<80072da0>] warn_slowpath_common+0x78/0xa4
[   19.230000] [<80072de4>] warn_slowpath_null+0x18/0x24
[   19.230000] [<801de820>] ar8216_rmw+0x54/0xa4
[   19.240000] [<801df460>] ar8216_mib_capture+0x70/0xd0
[   19.240000] [<801df944>] ar8xxx_mib_work_func+0x34/0x98
[   19.250000] [<80089a7c>] process_one_work+0x28c/0x460
[   19.250000] [<8008a630>] worker_thread+0x22c/0x334
[   19.260000] [<8008e544>] kthread+0x88/0x90
[   19.260000] [<80065020>] kernel_thread_helper+0x10/0x18
[   19.270000]
[   19.270000] ---[ end trace 22e9d696adfa6a08 ]---

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34369 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx: fix GPIO function selection for AR934x
juhosg [Sun, 25 Nov 2012 16:22:56 +0000 (16:22 +0000)]
AA: ar71xx: fix GPIO function selection for AR934x

Backport of r34275.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34368 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx: restore rb4xx kernel partition size to the original value
juhosg [Sun, 25 Nov 2012 16:22:55 +0000 (16:22 +0000)]
AA: ar71xx: restore rb4xx kernel partition size to the original value

Backport of r34274.

The new lzma compressed elf kernel image fits into
that, even on devices with large page NAND chips.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34367 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx: install lzma compressed elf kernel image from wget2nand
juhosg [Sun, 25 Nov 2012 16:22:54 +0000 (16:22 +0000)]
AA: ar71xx: install lzma compressed elf kernel image from wget2nand

Backport of r34273.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34366 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx/image: provide lzma compressed elf kernel image
juhosg [Sun, 25 Nov 2012 16:22:53 +0000 (16:22 +0000)]
AA: ar71xx/image: provide lzma compressed elf kernel image

Backport of r34272.

This will be used on the RB4xx/RB7xx/RB2011 boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34365 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx/image: relink loader.elf image to LOADADDR
juhosg [Sun, 25 Nov 2012 16:22:52 +0000 (16:22 +0000)]
AA: ar71xx/image: relink loader.elf image to LOADADDR

Backport of r34271.

This allows to load the resulting image directly
from RouterBOOT.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34364 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350
juhosg [Sun, 25 Nov 2012 16:22:50 +0000 (16:22 +0000)]
AA: ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350

Backport of r34270.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34363 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz
juhosg [Sun, 25 Nov 2012 16:22:49 +0000 (16:22 +0000)]
AA: mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz

Backport of r34269.

[juhosg: move ramips specific stuff into a followup patch]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34362 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: mac80211/rt2x00: support Rt3352 with external PA
juhosg [Sun, 25 Nov 2012 16:22:48 +0000 (16:22 +0000)]
AA: mac80211/rt2x00: support Rt3352 with external PA

Backport of r34268.

This is needed for WiFi to work e.g. on DIR-615 rev.H1.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34361 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx: use custom LZMA dictionary size for WNDR3700 images
juhosg [Sun, 25 Nov 2012 16:22:47 +0000 (16:22 +0000)]
AA: ar71xx: use custom LZMA dictionary size for WNDR3700 images

Backport of r34248.

Based on a patch by Hannu Nyman.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34360 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: generic: ar8216: add MIB counter support for the AR8216 switch as well
juhosg [Sun, 25 Nov 2012 16:22:46 +0000 (16:22 +0000)]
AA: generic: ar8216: add MIB counter support for the AR8216 switch as well

Backport of r34245.

Thanks to Jonas Gorski for the reference URL.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34359 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: generic: ar8216: rename AR8216_*_STATS_* defines
juhosg [Sun, 25 Nov 2012 16:22:45 +0000 (16:22 +0000)]
AA: generic: ar8216: rename AR8216_*_STATS_* defines

Backport of r34244.

The names are misleading, those are only valid from
AR8236. The AR8216 chip uses different offsets.

Thanks to Jonas Gorski for the report.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34358 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: generic ar8216: allow to read/reset MIB counters via swconfig
juhosg [Sun, 25 Nov 2012 16:22:42 +0000 (16:22 +0000)]
AA: generic ar8216: allow to read/reset MIB counters via swconfig

Backport of r34243.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34357 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: generic: ar8216: use dynamically allocated private data in ar8216_probe
juhosg [Sun, 25 Nov 2012 16:22:41 +0000 (16:22 +0000)]
AA: generic: ar8216: use dynamically allocated private data in ar8216_probe

Backport of r34242.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34356 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoAA: ar71xx: add user-space support for the RB435G board
juhosg [Sun, 25 Nov 2012 16:22:39 +0000 (16:22 +0000)]
AA: ar71xx: add user-space support for the RB435G board

Backport of r34240.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34355 3c298f89-4303-0410-b956-a3cf2f4a3e73