oweals/openwrt.git
10 years agokernel: add missing symbols for 3.12
Zoltan Herpai [Sun, 17 Nov 2013 11:55:23 +0000 (11:55 +0000)]
kernel: add missing symbols for 3.12

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38826

10 years agoralink: add mt7620n support
John Crispin [Sat, 16 Nov 2013 20:28:52 +0000 (20:28 +0000)]
ralink: add mt7620n support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38823

10 years agoprocd: ubox: update to latest git head
John Crispin [Sat, 16 Nov 2013 20:20:30 +0000 (20:20 +0000)]
procd: ubox: update to latest git head

move log service from procd to ubox
some debloating on procd
the preinit part of procd is now also a seperate binary

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38822

10 years agokernel: add missing symbols for 3.12
Zoltan Herpai [Sat, 16 Nov 2013 11:52:30 +0000 (11:52 +0000)]
kernel: add missing symbols for 3.12

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38820

10 years agosunxi: remove old kernel config after 3.12 upgrade (r38811)
Luka Perkov [Sat, 16 Nov 2013 10:17:38 +0000 (10:17 +0000)]
sunxi: remove old kernel config after 3.12 upgrade (r38811)

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38819

10 years ago6rd: Clear correct IPv6 address bits in 6rdcalc
Steven Barth [Sat, 16 Nov 2013 09:18:14 +0000 (09:18 +0000)]
6rd: Clear correct IPv6 address bits in 6rdcalc

The correct bits are now cleared in the IPv6 address as the shift
value to the correct byte in the IPv6 address was wrong. Depending
on the stack values this could result in a hanging 6rdcalc program
due to an endless loop.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 38818

10 years agoreplace the TI patch with a smaller patchset
Imre Kaloz [Fri, 15 Nov 2013 12:23:17 +0000 (12:23 +0000)]
replace the TI patch with a smaller patchset

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38816

10 years agoar71xx: add profile for the WR842N/ND v2
Gabor Juhos [Fri, 15 Nov 2013 10:11:25 +0000 (10:11 +0000)]
ar71xx: add profile for the WR842N/ND v2

Patch to add the profile for the TP-LINK WR842N/ND v2
Small update, because of a change in the Makefile.

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4382/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38815

10 years agoar71xx: add user space support for the TL-WR842N/ND v2
Gabor Juhos [Fri, 15 Nov 2013 10:11:24 +0000 (10:11 +0000)]
ar71xx: add user space support for the TL-WR842N/ND v2

Patch to add the user space support for the TL-WR842N/ND v2

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4354/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38814

10 years agoar71xx: Add kernel support for the WR842N/ND v2
Gabor Juhos [Fri, 15 Nov 2013 10:11:20 +0000 (10:11 +0000)]
ar71xx: Add kernel support for the WR842N/ND v2

Patch to add kernel support for the TP-LINK WR842N/ND v2

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4352/
[juhosg: refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38813

10 years agoar71xx: wndr4300: set official mac addresses
Gabor Juhos [Fri, 15 Nov 2013 08:21:59 +0000 (08:21 +0000)]
ar71xx: wndr4300: set official mac addresses

Get the factory assigned mac addresses stored in the caldata
partition and asign them to lan and wan interfaces. Also put
the correct mac addresses into the WiFi eeprom files to ensure
that the ath9k driver will use the correct ones.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Patchwork: http://patchwork.openwrt.org/patch/4350/
[juhosg:
  - move WiFi MAC address setup to the firmware hotplug file,
  - use the official MAC address for the 2.4GHz as well,
  - remove uci-defaults.sh modifications,
  - update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38812

10 years agosunxi: rework target - update kernel to 3.12 - add patches for clocks, i2c, usb,...
Zoltan Herpai [Thu, 14 Nov 2013 23:12:52 +0000 (23:12 +0000)]
sunxi: rework target - update kernel to 3.12 - add patches for clocks, i2c, usb, sid, rtc - support common image for A10/A13/A20 - add support for a couple boards - most drivers are configured into the kernel as of now

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38811

10 years agokernel: backport an upstream fix to improve TCP performance for wifi drivers
Felix Fietkau [Thu, 14 Nov 2013 22:01:24 +0000 (22:01 +0000)]
kernel: backport an upstream fix to improve TCP performance for wifi drivers

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38810

10 years agoopenssl: add support for RIPEMD/160
Felix Fietkau [Thu, 14 Nov 2013 20:42:15 +0000 (20:42 +0000)]
openssl: add support for RIPEMD/160

RIPEMD is needed to update erlang and i'd like to enable RIPEMD160 support in openssh.

Size compared:

openssl without RIPEMD/160 support:
647K 29. Okt 20:00 bin/ar71xx/packages/libopenssl_1.0.1e-2_ar71xx.ipk

openssl with RIPEMD/160 support:
652K  8. Nov 15:11 bin/ar71xx/packages/libopenssl_1.0.1e-2_ar71xx.ipk

So the file size just grows ~5kb, which shouldn't be a problem.

Signed-off-by: Peter Wagner <tripolar@gmx.at>
SVN-Revision: 38809

10 years agort2x00: fix a crash in the recent update (#14467)
Felix Fietkau [Thu, 14 Nov 2013 20:32:36 +0000 (20:32 +0000)]
rt2x00: fix a crash in the recent update (#14467)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38808

10 years agoar71xx: Unifi AP Pro sysupgrade patch
Felix Fietkau [Thu, 14 Nov 2013 19:38:54 +0000 (19:38 +0000)]
ar71xx: Unifi AP Pro sysupgrade patch

The current implementation of mtd will not append the backup
file created by sysupgrade to the correct partition, as mtd will append
the data to first jffs2 partition it finds. As the kernel is also
stored on a jffs2 partition (which resides before the overlay
partition), the data will be appended to this partition.

To fix this problem, a new option

-s <number>             skip the first n bytes when appending data to the jffs2 partiton, defaults to "0"

is added to mtd.

Signed-off-by: Peter Wagner <tripolar@gmx.at>
SVN-Revision: 38807

10 years agoramips: use dd bs=4096k instead of bs=4M to make it more portable
Felix Fietkau [Thu, 14 Nov 2013 19:16:04 +0000 (19:16 +0000)]
ramips: use dd bs=4096k instead of bs=4M to make it more portable

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38806

10 years agoar71xx: use the new padjffs2 padding on Ubiquiti UAP-PRO to make the boot loader...
Felix Fietkau [Thu, 14 Nov 2013 19:04:48 +0000 (19:04 +0000)]
ar71xx: use the new padjffs2 padding on Ubiquiti UAP-PRO to make the boot loader stop searching after the kernel partition

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38805

10 years agopadjffs2: add a different kind of padding (using standard jffs2 elements) to work...
Felix Fietkau [Thu, 14 Nov 2013 19:04:44 +0000 (19:04 +0000)]
padjffs2: add a different kind of padding (using standard jffs2 elements) to work around broken boot loaders for kernel partitions

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38804

10 years agobase-files: add macaddr_canonicalize helper function
Gabor Juhos [Thu, 14 Nov 2013 17:44:42 +0000 (17:44 +0000)]
base-files: add macaddr_canonicalize helper function

In commit r38690, the MAC address canonicalization
has been converted to use 'tr' instead of 'printf'.
This only works if with MAC addresses which uses
the 'xx:xx:xx:xx:xx:xx' format.

However on some boards, the MAC addresses are stored
in different format in the mtd partition. Some vendors
are using hyphens or dots as separators instead of
colons. Also the leading zeroes may be missing from the
individual octets or those are replaced with spaces.

Add a new function which can be used to convert these
into the 'xx:xx:xx:xx:xx:xx' format. Also update the
'mtd_get_mac_ascii' function to use the new helper.

The helper function is based on this code:
  http://isquared.nl/blog/2010/08/11/Bash-function-to-canonicalize-MAC-addresses/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38803

11 years agoath9k: add a fix to improve reliability of high bitrates on AR93xx/AR95xx
Felix Fietkau [Thu, 14 Nov 2013 12:21:24 +0000 (12:21 +0000)]
ath9k: add a fix to improve reliability of high bitrates on AR93xx/AR95xx

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38802

11 years agomac80211: merge a patch that enables DFS for ad-hoc mode
Felix Fietkau [Thu, 14 Nov 2013 12:21:19 +0000 (12:21 +0000)]
mac80211: merge a patch that enables DFS for ad-hoc mode

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38801

11 years agoConfig.in: drop TARGET_UBIFS_SQUASH_UIDS, it's used by default now
Luka Perkov [Thu, 14 Nov 2013 01:35:22 +0000 (01:35 +0000)]
Config.in: drop TARGET_UBIFS_SQUASH_UIDS, it's used by default now

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38800

11 years agoimage: don't force ubifs journal size
Luka Perkov [Thu, 14 Nov 2013 01:35:21 +0000 (01:35 +0000)]
image: don't force ubifs journal size

Small journal size can lead to problems if nand flash is too big. By default
ubifs will use ~12% of volume size or a maximum of 8MiB.

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38799

11 years agomac80211: update regdb.txt
Hauke Mehrtens [Wed, 13 Nov 2013 22:36:12 +0000 (22:36 +0000)]
mac80211: update regdb.txt

This was copied from wireless-regdb.git commit a14052b85e5d70e37a31962a9c56c0cdbb9acafc

The passive-scan/no-ibss flag of channels 36-48 in the world regd were
removed like it was done in r32126.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38797

11 years agobcm53xx: this ARM SoC does not have a FPU, use soft float.
Hauke Mehrtens [Wed, 13 Nov 2013 22:26:08 +0000 (22:26 +0000)]
bcm53xx: this ARM SoC does not have a FPU, use soft float.

model name      : ARMv7 Processor rev 0 (v7l)
Features        : swp half thumb fastmult edsp tls

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38796

11 years agozram-swap: fix dependencies
Hauke Mehrtens [Wed, 13 Nov 2013 18:42:45 +0000 (18:42 +0000)]
zram-swap: fix dependencies

swapon/swapoff are no longer provided by swap-utils; they are provided
by block-mount instead.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38795

11 years agobrcm47xx: swap also early boot console if necessary.
Hauke Mehrtens [Wed, 13 Nov 2013 18:38:18 +0000 (18:38 +0000)]
brcm47xx: swap also early boot console if necessary.

Some devices are using tty1 as the default console, also swap the early
boot console in such case. This is needed for the WGT634U.

Thank you Russell for reporting this.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38794

11 years agokernel: b53: fix untagged shift for BCM5365
Hauke Mehrtens [Wed, 13 Nov 2013 18:04:39 +0000 (18:04 +0000)]
kernel: b53: fix untagged shift for BCM5365

The BCM5365 needs a shift of 7 bits and not 6 bits like the BCM5325 for
the untagged ports.

Thank you Russell for reporting this and testing the patch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38793

11 years agoupgrade linux-firmware git revision, bump package version
Imre Kaloz [Wed, 13 Nov 2013 14:47:31 +0000 (14:47 +0000)]
upgrade linux-firmware git revision, bump package version

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38792

11 years agoadd another symbol for TI chipsets
Imre Kaloz [Wed, 13 Nov 2013 14:46:21 +0000 (14:46 +0000)]
add another symbol for TI chipsets

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38791

11 years agoprocd: remove obselete script install reference Signed-off-by: John Crispin <blogic...
John Crispin [Wed, 13 Nov 2013 12:15:06 +0000 (12:15 +0000)]
procd: remove obselete script install reference Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38790

11 years agoprocd: fixup 2 wrong option types
John Crispin [Wed, 13 Nov 2013 11:07:24 +0000 (11:07 +0000)]
procd: fixup 2 wrong option types

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38789

11 years agoprocd: options with default values are not parsed properly in the ubus register code
John Crispin [Wed, 13 Nov 2013 10:57:16 +0000 (10:57 +0000)]
procd: options with default values are not parsed properly in the ubus register code

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38788

11 years agoprocd: convert services to the new validation api
John Crispin [Wed, 13 Nov 2013 10:49:41 +0000 (10:49 +0000)]
procd: convert services to the new validation api

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38787

11 years agoprocd: update to latest git head
John Crispin [Wed, 13 Nov 2013 10:49:25 +0000 (10:49 +0000)]
procd: update to latest git head

this includes the first wip version of the uci validation backend

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38786

11 years agouboot-sunxi: add U-boot builds for a couple sunxi boards
Zoltan Herpai [Wed, 13 Nov 2013 10:49:22 +0000 (10:49 +0000)]
uboot-sunxi: add U-boot builds for a couple sunxi boards

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38785

11 years agoramips: select kmod-rt2800-soc by default (if available)
Felix Fietkau [Wed, 13 Nov 2013 10:29:10 +0000 (10:29 +0000)]
ramips: select kmod-rt2800-soc by default (if available)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38784

11 years agomac80211: update to wireless-testing 2013-11-05
Felix Fietkau [Tue, 12 Nov 2013 22:11:33 +0000 (22:11 +0000)]
mac80211: update to wireless-testing 2013-11-05

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38783

11 years agohostapd: remove #ifdef MULTICALL around ap+sta support code (to support separately...
Felix Fietkau [Tue, 12 Nov 2013 22:11:14 +0000 (22:11 +0000)]
hostapd: remove #ifdef MULTICALL around ap+sta support code (to support separately installed supplicant+hostapd)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38782

11 years agomxs: - update uboot-mxs to 3.10 - enable building uboot for imx23 along sbImage by...
Zoltan Herpai [Tue, 12 Nov 2013 14:39:32 +0000 (14:39 +0000)]
mxs: - update uboot-mxs to 3.10 - enable building uboot for imx23 along sbImage by default - (doc updated)

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38781

11 years agomxs: bump kernel to 3.12 - remove DCP patch as it's in mainline now (dts patch will...
Zoltan Herpai [Tue, 12 Nov 2013 12:48:10 +0000 (12:48 +0000)]
mxs: bump kernel to 3.12 - remove DCP patch as it's in mainline now (dts patch will stay) - refresh Duckbill patch - update kmod-usb-chipidea

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38780

11 years agoAdd patch to fix ipset timeout setting problem
Jo-Philipp Wich [Tue, 12 Nov 2013 11:01:11 +0000 (11:01 +0000)]
Add patch to fix ipset timeout setting problem

Fixes #14325

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 38779

11 years agoUpdate ipset to version 6.20.1
Jo-Philipp Wich [Tue, 12 Nov 2013 11:00:49 +0000 (11:00 +0000)]
Update ipset to version 6.20.1

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 38778

11 years agomxs: add basic board runtime detection support
Zoltan Herpai [Tue, 12 Nov 2013 10:19:26 +0000 (10:19 +0000)]
mxs: add basic board runtime detection support

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38777

11 years agouboot-envtools: add support for mxs target
Zoltan Herpai [Tue, 12 Nov 2013 10:07:03 +0000 (10:07 +0000)]
uboot-envtools: add support for mxs target

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 38776

11 years agomxs: duckbill: adjust leds to final hardware
Zoltan Herpai [Tue, 12 Nov 2013 09:38:14 +0000 (09:38 +0000)]
mxs: duckbill: adjust leds to final hardware

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 38775

11 years agomxs: rename uboot-imx23 to uboot-mxs
Zoltan Herpai [Tue, 12 Nov 2013 01:34:30 +0000 (01:34 +0000)]
mxs: rename uboot-imx23 to uboot-mxs

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38774

11 years agomxs: fix loadaddr for uImages
Zoltan Herpai [Tue, 12 Nov 2013 01:25:53 +0000 (01:25 +0000)]
mxs: fix loadaddr for uImages

Signed-off-by: Harald Geyer <harald@ccbib.org>
SVN-Revision: 38773

11 years agokernel: add new core sound module snd-pcm-dmaengine.ko for 3.12 kernels and above
Zoltan Herpai [Tue, 12 Nov 2013 01:09:15 +0000 (01:09 +0000)]
kernel: add new core sound module snd-pcm-dmaengine.ko for 3.12 kernels and above

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38772

11 years agobase-files: don't enter failsafe if triggered by switch
Luka Perkov [Mon, 11 Nov 2013 23:34:11 +0000 (23:34 +0000)]
base-files: don't enter failsafe if triggered by switch

Fixes failsafe issues with switches after r38725.

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38770

11 years agobrcm47xx: fix netconfig for inverted vlan?ports in nvram
Hauke Mehrtens [Mon, 11 Nov 2013 23:04:47 +0000 (23:04 +0000)]
brcm47xx: fix netconfig for inverted vlan?ports in nvram

This was observed on the Belkin Share F7D7302.

SVN-Revision: 38769

11 years agobroadcom-diag: add Belkin F7D3302/F7D7302
Hauke Mehrtens [Mon, 11 Nov 2013 23:04:23 +0000 (23:04 +0000)]
broadcom-diag: add Belkin F7D3302/F7D7302

Signed-off-by: Cody P Schafer <devel@codyps.com>
SVN-Revision: 38768

11 years agolinux/brcm47xx : Belkin F7Dx30x board detection
Hauke Mehrtens [Mon, 11 Nov 2013 23:04:00 +0000 (23:04 +0000)]
linux/brcm47xx : Belkin F7Dx30x board detection

boardnum is unstable, so allow using NULL to make it unchecked.

A method for differentiating F7D3301 from F7D3302 using nvram is
unknown at this point. Reading the first 32bits of magic from the
"linux" mtd partition would do the trick, but these 2 are similar
enough that we don't need separate led/button definitions. Not knowing
which one you have is only a usability issue for upgrading the device:
they expect different magic numbers for their trx images.

Signed-off-by: Cody P Schafer <devel@codyps.com>
SVN-Revision: 38767

11 years agobase-files: don't kill nas for sysupgrade
Hauke Mehrtens [Mon, 11 Nov 2013 22:12:58 +0000 (22:12 +0000)]
base-files: don't kill nas for sysupgrade

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38766

11 years agobroadcom-wl: version roll
Hauke Mehrtens [Mon, 11 Nov 2013 22:05:39 +0000 (22:05 +0000)]
broadcom-wl: version roll

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38765

11 years agobroadcom-wl: support 'wds' interfaces on 'wl1' device
Hauke Mehrtens [Mon, 11 Nov 2013 22:05:20 +0000 (22:05 +0000)]
broadcom-wl: support 'wds' interfaces on 'wl1' device

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38764

11 years agobroadcom-wl: support probe of 'wds' devices
Hauke Mehrtens [Mon, 11 Nov 2013 22:04:53 +0000 (22:04 +0000)]
broadcom-wl: support probe of 'wds' devices

'nas' requires probe of 'wds' devices to be successful;
so don't fail them.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38763

11 years agobroadcom-wl: fix crash when starting multiple virtual interfaces
Hauke Mehrtens [Mon, 11 Nov 2013 22:04:26 +0000 (22:04 +0000)]
broadcom-wl: fix crash when starting multiple virtual interfaces

When enabling multiple VIFS, the driver sometimes crashes.  The frequency
of the crash increases as more VIFS are enabled.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38762

11 years agobroadcom-wl: perform additional cleanup on wl module unload
Hauke Mehrtens [Mon, 11 Nov 2013 22:03:58 +0000 (22:03 +0000)]
broadcom-wl: perform additional cleanup on wl module unload

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38761

11 years agokernel: of_i2c is moved into i2c-core in 3.12, add kernel version check into modules...
Zoltan Herpai [Mon, 11 Nov 2013 22:03:35 +0000 (22:03 +0000)]
kernel: of_i2c is moved into i2c-core in 3.12, add kernel version check into modules/i2c.mk

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 38760

11 years agobroadcom-wl: support more virtual interfaces
Hauke Mehrtens [Mon, 11 Nov 2013 22:03:25 +0000 (22:03 +0000)]
broadcom-wl: support more virtual interfaces

Read the number of virtual interfaces to support from the device
capabilities; as some newer devices can support up to 16.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38759

11 years agobroadcom-wl: improve device cleanup
Hauke Mehrtens [Mon, 11 Nov 2013 22:02:45 +0000 (22:02 +0000)]
broadcom-wl: improve device cleanup

Move all device cleanup to "disable_broadcom".

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38758

11 years agobroadcom-wl: add support for setting H/W address
Hauke Mehrtens [Mon, 11 Nov 2013 22:02:14 +0000 (22:02 +0000)]
broadcom-wl: add support for setting H/W address

Some devices initialize with a default address (common to all H/W).
The address needs to be changeable so that a unique address can be
assigned to each AP.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38757

11 years agobroadcom-wl: eliminate 'invalid command' when setting ssid
Hauke Mehrtens [Mon, 11 Nov 2013 22:01:32 +0000 (22:01 +0000)]
broadcom-wl: eliminate 'invalid command' when setting ssid

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38756

11 years agobroadcom-wl: clean up variable definitions (broadcom.sh)
Hauke Mehrtens [Mon, 11 Nov 2013 22:01:12 +0000 (22:01 +0000)]
broadcom-wl: clean up variable definitions (broadcom.sh)

Specify variables as 'local' where appropriate

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38755

11 years agobroadcom-wl: simplify processing of 'hwmode'
Hauke Mehrtens [Mon, 11 Nov 2013 22:00:39 +0000 (22:00 +0000)]
broadcom-wl: simplify processing of 'hwmode'

Default gmode to "GOnly" unless explicitly overwridden.  This corrects
processing for 11ng to specify "GOnly" for gmode instead of "Auto"
(which translated to "bg").

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38754

11 years agobroadcom-wl: shutdown 'nas' when 'wl' device is disabled
Hauke Mehrtens [Mon, 11 Nov 2013 21:59:58 +0000 (21:59 +0000)]
broadcom-wl: shutdown 'nas' when 'wl' device is disabled

'nas' must be shutdown independently for each 'wl' device to properly
support devices with multiple radios.  Do the shutdown when the device
is disabled instead of when it is brought up.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38753

11 years agobroadcom-wl: use a single instance of 'nas' per 'wl' device
Hauke Mehrtens [Mon, 11 Nov 2013 21:59:34 +0000 (21:59 +0000)]
broadcom-wl: use a single instance of 'nas' per 'wl' device

A single instance of 'nas' can support multiple interfaces; there's
no need to run multiple instances.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38752

11 years agobroadcom-wl: fix whitespace handling
Hauke Mehrtens [Mon, 11 Nov 2013 21:59:07 +0000 (21:59 +0000)]
broadcom-wl: fix whitespace handling

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38751

11 years agobroadcom-wl: update description for recently added
Hauke Mehrtens [Mon, 11 Nov 2013 21:58:42 +0000 (21:58 +0000)]
broadcom-wl: update description for recently added

Update descriptions for 'phytype' and 'band'.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38750

11 years agobroadcom-wl: fix band reporting
Hauke Mehrtens [Mon, 11 Nov 2013 21:58:19 +0000 (21:58 +0000)]
broadcom-wl: fix band reporting

Modify the band reporting for broadcom devices to correctly report
HW capability.  Currently, 802.11na devices report "bgn"; but should be
reporting "an".

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38749

11 years agobroadcom-wl: change interface names
Hauke Mehrtens [Mon, 11 Nov 2013 21:57:26 +0000 (21:57 +0000)]
broadcom-wl: change interface names

'netifd' treats all devices with a "." in their name as vlan devices.
Modify the name of virtual/WDS interfaces created by broadcom-wl to use
a "-" instead of a ".", so they will be treated as simple devices
by 'netifd'.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38748

11 years agobroadcom-wl: fix compiler warning
Hauke Mehrtens [Mon, 11 Nov 2013 21:56:45 +0000 (21:56 +0000)]
broadcom-wl: fix compiler warning

Delete the return value (nvram_exit is declared with a 'void' return).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38747

11 years agoiwinfo: don't report associations for broadcom wds interfaces
Hauke Mehrtens [Mon, 11 Nov 2013 21:54:55 +0000 (21:54 +0000)]
iwinfo: don't report associations for broadcom wds interfaces

The associations list for Broadcom WDS interfaces are duplicate to those
reported by the corresponding AP interface; so there is no need to report
them again.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38746

11 years agoiwinfo: fix hwmodelist reporting for broadcom wl
Hauke Mehrtens [Mon, 11 Nov 2013 21:54:25 +0000 (21:54 +0000)]
iwinfo: fix hwmodelist reporting for broadcom wl

Modify the hwmodelist reporting for broadcom devices to include
proper reporting of 802.11n support.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38745

11 years agobrcm47xx: b44: fix logic in BUG_ON()
Hauke Mehrtens [Mon, 11 Nov 2013 21:23:29 +0000 (21:23 +0000)]
brcm47xx: b44: fix logic in BUG_ON()

It is a problem when phydev is not set at this position and not the other way around.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38744

11 years agouhttpd: return after processing -d switch, only set ubus prefix if not already defined
Jo-Philipp Wich [Mon, 11 Nov 2013 19:14:01 +0000 (19:14 +0000)]
uhttpd: return after processing -d switch, only set ubus prefix if not already defined

SVN-Revision: 38743

11 years agobase-files: fix typo in rfkill script
John Crispin [Mon, 11 Nov 2013 18:12:30 +0000 (18:12 +0000)]
base-files: fix typo in rfkill script

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38742

11 years agouhttp: add ubus.default
John Crispin [Mon, 11 Nov 2013 18:12:26 +0000 (18:12 +0000)]
uhttp: add ubus.default

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38741

11 years agoixp4xx: fix usb on cambria boards by using the ehci-platform driver
Felix Fietkau [Mon, 11 Nov 2013 16:51:01 +0000 (16:51 +0000)]
ixp4xx: fix usb on cambria boards by using the ehci-platform driver

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38740

11 years agopppd: don't call modprobe at all from pppoatm
John Crispin [Mon, 11 Nov 2013 13:40:28 +0000 (13:40 +0000)]
pppd: don't call modprobe at all from pppoatm

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38737

11 years agorevert 94e44643a8ce1d7991376b6ced586784b3f92500
John Crispin [Mon, 11 Nov 2013 13:40:24 +0000 (13:40 +0000)]
revert 94e44643a8ce1d7991376b6ced586784b3f92500

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38736

11 years agoramips: use gpio-button-hotplug in favour of the input variant
John Crispin [Mon, 11 Nov 2013 13:40:20 +0000 (13:40 +0000)]
ramips: use gpio-button-hotplug in favour of the input variant

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38735

11 years agoramips: make the rfkill switch work on fonera20n
John Crispin [Mon, 11 Nov 2013 13:40:17 +0000 (13:40 +0000)]
ramips: make the rfkill switch work on fonera20n

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38734

11 years agolantiq: DGN3500 fixups
John Crispin [Mon, 11 Nov 2013 13:15:08 +0000 (13:15 +0000)]
lantiq: DGN3500 fixups

Just fixing up a few things for the Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 38733

11 years agoFix modprobe path for pppoatm
John Crispin [Mon, 11 Nov 2013 13:15:04 +0000 (13:15 +0000)]
Fix modprobe path for pppoatm

Without netifd generates an error:

daemon.notice netifd: wan (1249): /bin/sh: /sbin/modprobe: not found

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

11 years agolantiq: dont install deu test manager
John Crispin [Mon, 11 Nov 2013 12:22:12 +0000 (12:22 +0000)]
lantiq: dont install deu test manager

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38731

11 years agolantiq: rename TDW8970 led adsl->dsl
John Crispin [Mon, 11 Nov 2013 12:19:26 +0000 (12:19 +0000)]
lantiq: rename TDW8970 led adsl->dsl

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38730

11 years agobase-files: update rfkill script to work with slider buttons
John Crispin [Mon, 11 Nov 2013 12:19:22 +0000 (12:19 +0000)]
base-files: update rfkill script to work with slider buttons

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38729

11 years agolantiq: update TDW8970.dts to support buttons properly
John Crispin [Mon, 11 Nov 2013 12:19:18 +0000 (12:19 +0000)]
lantiq: update TDW8970.dts to support buttons properly

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38728

11 years agolantiq: remove old hotplug handler
John Crispin [Mon, 11 Nov 2013 12:19:15 +0000 (12:19 +0000)]
lantiq: remove old hotplug handler

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38727

11 years agobase-files: add a generic wps button handler
John Crispin [Mon, 11 Nov 2013 12:19:10 +0000 (12:19 +0000)]
base-files: add a generic wps button handler

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38726

11 years agogpio-button-hotplug: add support for sliding switches
John Crispin [Mon, 11 Nov 2013 12:19:06 +0000 (12:19 +0000)]
gpio-button-hotplug: add support for sliding switches

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38725

11 years agouhttp: make the service auto respawn if it crashes
John Crispin [Mon, 11 Nov 2013 12:19:02 +0000 (12:19 +0000)]
uhttp: make the service auto respawn if it crashes

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38724

11 years agouhttp: make sure that the ubus module is loaded when when installed
John Crispin [Mon, 11 Nov 2013 12:18:58 +0000 (12:18 +0000)]
uhttp: make sure that the ubus module is loaded when when installed

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38723

11 years agoadd missing option, enable hw rng
Imre Kaloz [Mon, 11 Nov 2013 11:55:44 +0000 (11:55 +0000)]
add missing option, enable hw rng

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38722

11 years agodepend on the correct target
Imre Kaloz [Mon, 11 Nov 2013 11:51:54 +0000 (11:51 +0000)]
depend on the correct target

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38721

11 years agoar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boards
Gabor Juhos [Mon, 11 Nov 2013 08:10:02 +0000 (08:10 +0000)]
ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boards

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38720

11 years agoar71xx: add profile and build image for the TL-WA750RE TL-WA850RE range extender
Gabor Juhos [Mon, 11 Nov 2013 08:04:48 +0000 (08:04 +0000)]
ar71xx: add profile and build image for the TL-WA750RE TL-WA850RE range extender

Patch to add profile and build image for the tplink TL-WA750RE/WA850RE board

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38719