openwrt/staging/ldir.git
10 years agokernel/3.3: remove yaffs support
Gabor Juhos [Mon, 16 Dec 2013 07:42:41 +0000 (07:42 +0000)]
kernel/3.3: remove yaffs support

It is not used by any platform.

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

10 years agoar71xx/mikrotik: disable unused MTD options
Gabor Juhos [Mon, 16 Dec 2013 07:39:22 +0000 (07:39 +0000)]
ar71xx/mikrotik: disable unused MTD options

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

10 years agoar71xx: add dummy rle_decode function if CONFIG_RLE_DECOMPRESS is not set
Gabor Juhos [Mon, 16 Dec 2013 07:37:31 +0000 (07:37 +0000)]
ar71xx: add dummy rle_decode function if CONFIG_RLE_DECOMPRESS is not set

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

10 years agoar71xx: add userspace support for WD My Net N750
Gabor Juhos [Mon, 16 Dec 2013 07:16:43 +0000 (07:16 +0000)]
ar71xx: add userspace support for WD My Net N750

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: remove the image generation part until the ethernet
         switch issue is resolved]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39078

10 years agoar71xx: add kernel support for WD My Net N750
Gabor Juhos [Mon, 16 Dec 2013 07:16:42 +0000 (07:16 +0000)]
ar71xx: add kernel support for WD My Net N750

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: use a separate patch for kernel changes]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39077

10 years agogeneric: ar8216: Enable jumbo frames on AR8327 by default
Gabor Juhos [Sun, 15 Dec 2013 22:18:04 +0000 (22:18 +0000)]
generic: ar8216: Enable jumbo frames on AR8327 by default

This patch enables jumbo frames on AR8327 switch by default.
I have tested it on TP-Link TL-WDR3600.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39076

10 years agoar71xx: build image for the TP-Link TL-WA901ND v3 board
Gabor Juhos [Sun, 15 Dec 2013 21:34:20 +0000 (21:34 +0000)]
ar71xx: build image for the TP-Link TL-WA901ND v3 board

Based-on: http://patchwork.openwrt.org/patch/4507/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39075

10 years agoar71xx: add user-space support for the TP-Link TL-WA901ND v3 board
Gabor Juhos [Sun, 15 Dec 2013 21:34:19 +0000 (21:34 +0000)]
ar71xx: add user-space support for the TP-Link TL-WA901ND v3 board

Based-on: http://patchwork.openwrt.org/patch/4508/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39074

10 years agoar71xx: add kernel support for the TL-WA901ND v3 board
Gabor Juhos [Sun, 15 Dec 2013 21:34:18 +0000 (21:34 +0000)]
ar71xx: add kernel support for the TL-WA901ND v3 board

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39073

10 years agoar71xx: move TL-WA801ND v2 setup code
Gabor Juhos [Sun, 15 Dec 2013 21:34:17 +0000 (21:34 +0000)]
ar71xx: move TL-WA801ND v2 setup code

The TL-WA801ND v2 board has only one LAN port which makes
it more similar to the TL-WR[78]50RE devices. Move the
board setup code into the mach-tl-wax50re.c file.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39072

10 years agoar71xx: refactor TL-WAx50RE setup code
Gabor Juhos [Sun, 15 Dec 2013 21:34:15 +0000 (21:34 +0000)]
ar71xx: refactor TL-WAx50RE setup code

This way it is a bit easier to add other TP-LINK devices based on the
Atheros AP123 reference board with one LAN port.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39071

10 years agoppl: update to 1.1
Luka Perkov [Sun, 15 Dec 2013 21:07:34 +0000 (21:07 +0000)]
ppl: update to 1.1

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

10 years agocloog: update to 0.18.1
Luka Perkov [Sun, 15 Dec 2013 21:07:32 +0000 (21:07 +0000)]
cloog: update to 0.18.1

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

10 years agofirmware-utils/mkplinkfw: add TL-WA801ND v2 support
Gabor Juhos [Sun, 15 Dec 2013 20:39:13 +0000 (20:39 +0000)]
firmware-utils/mkplinkfw: add TL-WA801ND v2 support

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4503/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39066

10 years agoar71xx: build firmware image for the TL-WA801ND v2
Gabor Juhos [Sun, 15 Dec 2013 20:39:12 +0000 (20:39 +0000)]
ar71xx: build firmware image for the TL-WA801ND v2

Patch to add the profile for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4502/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39065

10 years agoar71xx: add user space support for the TL-WA801ND v2
Gabor Juhos [Sun, 15 Dec 2013 20:39:11 +0000 (20:39 +0000)]
ar71xx: add user space support for the TL-WA801ND v2

Patch to add the user space support for the TL-WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4501/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39064

10 years agoar71xx: add kernel support for the TL-WA801ND v2 board
Gabor Juhos [Sun, 15 Dec 2013 20:39:10 +0000 (20:39 +0000)]
ar71xx: add kernel support for the TL-WA801ND v2 board

Patch to add kernel support for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4500/
[juhosg:
  - the TL-WA801ND v2 does not have a sliding switch, it uses a push button
    for WPS instead. Use the tl_mr3420v2_gpio_keys array to reflect that,
  - rename kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39063

10 years agoath9k: fix interrupt storms on AR913x
Felix Fietkau [Sun, 15 Dec 2013 20:23:00 +0000 (20:23 +0000)]
ath9k: fix interrupt storms on AR913x

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

10 years agoConvert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface
Steven Barth [Sun, 15 Dec 2013 19:38:53 +0000 (19:38 +0000)]
Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface

SVN-Revision: 39061

10 years agobrcm47xx: deactivate early printk support
Hauke Mehrtens [Sun, 15 Dec 2013 19:19:16 +0000 (19:19 +0000)]
brcm47xx: deactivate early printk support

This breaks some devices where the serial console is not at port 0 but
somewhere else.

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

10 years agokernel: update kernel 3.10 to 3.10.24
Hauke Mehrtens [Sun, 15 Dec 2013 19:16:30 +0000 (19:16 +0000)]
kernel: update kernel 3.10 to 3.10.24

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

10 years agoodhcp6c: add source routing support
Steven Barth [Sun, 15 Dec 2013 19:10:20 +0000 (19:10 +0000)]
odhcp6c: add source routing support

SVN-Revision: 39058

10 years agouhttpd: don't process ubus_* and lua_* options if corresponding plugin is not install...
Jo-Philipp Wich [Sun, 15 Dec 2013 15:32:37 +0000 (15:32 +0000)]
uhttpd: don't process ubus_* and lua_* options if corresponding plugin is not installed (#14618)

SVN-Revision: 39057

10 years agobison: update to 3.0.2
Luka Perkov [Sun, 15 Dec 2013 03:59:49 +0000 (03:59 +0000)]
bison: update to 3.0.2

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

10 years agoupgrade 3.12 targets to 3.12.5
Imre Kaloz [Sat, 14 Dec 2013 17:37:14 +0000 (17:37 +0000)]
upgrade 3.12 targets to 3.12.5

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

10 years agoath9k: merge another round of cleanups and fixes submitted to linux-wireless
Felix Fietkau [Sat, 14 Dec 2013 17:07:08 +0000 (17:07 +0000)]
ath9k: merge another round of cleanups and fixes submitted to linux-wireless

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

10 years agoath9k: merge an interrupt processing fix for AR5008-AR9002
Felix Fietkau [Sat, 14 Dec 2013 16:40:27 +0000 (16:40 +0000)]
ath9k: merge an interrupt processing fix for AR5008-AR9002

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

10 years agokernel: move BLKCIPHER into crypto-core to avoid pulling in crypto-manager for arc4...
Felix Fietkau [Sat, 14 Dec 2013 16:40:24 +0000 (16:40 +0000)]
kernel: move BLKCIPHER into crypto-core to avoid pulling in crypto-manager for arc4 (used by mac80211)

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

10 years agodrop the bootscript, new u-boots won't need it
Imre Kaloz [Sat, 14 Dec 2013 16:29:35 +0000 (16:29 +0000)]
drop the bootscript, new u-boots won't need it

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

10 years agonetifd: update to the latest version, adds a revert of the link state handling patche...
Felix Fietkau [Sat, 14 Dec 2013 14:59:05 +0000 (14:59 +0000)]
netifd: update to the latest version, adds a revert of the link state handling patches which caused regressions in combination with wifi devices

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

10 years agobuild: speed up kernel symbol export stripping
Felix Fietkau [Sat, 14 Dec 2013 13:14:44 +0000 (13:14 +0000)]
build: speed up kernel symbol export stripping

GNU grep has a high per-expression setup overhead when compiling regular
expressions. Use -F to force it to interpret the input as fixed strings,
which is much faster (fraction of a second instead of multiple minutes).

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

10 years agoopenssl: Support multi-threaded applications
Felix Fietkau [Sat, 14 Dec 2013 10:19:48 +0000 (10:19 +0000)]
openssl: Support multi-threaded applications

Allow multi-threaded applications to work properly by
removing the "no-threads" flag that is enabled by default.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
SVN-Revision: 39048

10 years agousbmode: add an init script to switch devices that show up too early for the hotplug...
Felix Fietkau [Fri, 13 Dec 2013 16:43:15 +0000 (16:43 +0000)]
usbmode: add an init script to switch devices that show up too early for the hotplug script

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

10 years agonetifd: prevent an unnecessary restart of netifd-managed wifi interfaces at boot...
Felix Fietkau [Fri, 13 Dec 2013 16:43:11 +0000 (16:43 +0000)]
netifd: prevent an unnecessary restart of netifd-managed wifi interfaces at boot time

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

10 years agoscripts/download.pl: prefer the GNU mirror redirect over the primary site (#14603)
Felix Fietkau [Fri, 13 Dec 2013 16:43:07 +0000 (16:43 +0000)]
scripts/download.pl: prefer the GNU mirror redirect over the primary site (#14603)

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

10 years agofix jffs2 with internal libgcc and switch omap4 to ext4
Imre Kaloz [Fri, 13 Dec 2013 16:38:43 +0000 (16:38 +0000)]
fix jffs2 with internal libgcc and switch omap4 to ext4

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

10 years agoiw: reduce size and make the phy dump output more readable
Felix Fietkau [Fri, 13 Dec 2013 11:02:05 +0000 (11:02 +0000)]
iw: reduce size and make the phy dump output more readable

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

10 years agoralink: add mt7621 support
John Crispin [Fri, 13 Dec 2013 10:53:34 +0000 (10:53 +0000)]
ralink: add mt7621 support

there are still various missing pieces for full support.

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

10 years agoopkg: do not add blank "Provides:" fields to package metadata
Felix Fietkau [Fri, 13 Dec 2013 10:40:26 +0000 (10:40 +0000)]
opkg: do not add blank "Provides:" fields to package metadata

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

10 years agobuild: remove SourceFile and SourceURL from opkg metadata - they are useless without...
Felix Fietkau [Fri, 13 Dec 2013 10:40:19 +0000 (10:40 +0000)]
build: remove SourceFile and SourceURL from opkg metadata - they are useless without the corresponding openwrt package directory

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

10 years agoadd a default profile file
Imre Kaloz [Thu, 12 Dec 2013 10:08:15 +0000 (10:08 +0000)]
add a default profile file

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

10 years ago/sbin/wifi: reload network/wireless on wifi restart
Felix Fietkau [Wed, 11 Dec 2013 19:48:19 +0000 (19:48 +0000)]
/sbin/wifi: reload network/wireless on wifi restart

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

10 years agonetifd: fix crashes triggered by adding/removing wireless devices on reload
Felix Fietkau [Wed, 11 Dec 2013 18:23:52 +0000 (18:23 +0000)]
netifd: fix crashes triggered by adding/removing wireless devices on reload

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

10 years agoimx6: add canbus support for Ventana boards
Luka Perkov [Wed, 11 Dec 2013 10:56:11 +0000 (10:56 +0000)]
imx6: add canbus support for Ventana boards

GW5400, GW5300, and GW5200 have CAN bus option.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39034

10 years agoimx6: add flexcan support
Luka Perkov [Wed, 11 Dec 2013 10:56:09 +0000 (10:56 +0000)]
imx6: add flexcan support

backport upstream changes to 3.10:
 - 0060-flexcan.patch:
   - add flexcan pinctrl and devicetree config
 - 0061-can-flexcan-use-correct-clock-as-base-for-bit-rate-c.patch
   - fix a clock issue
 - 0062-ARM-i.MX6q-fix-the-wrong-parent-of-can_root-clock.patch
   - fix a clock issue

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39033

10 years agokernel: add CAN modules
Luka Perkov [Wed, 11 Dec 2013 10:56:08 +0000 (10:56 +0000)]
kernel: add CAN modules

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39032

10 years agomac80211: add missing set_default to fix stray "radio0: sh: bad number" messages
Jo-Philipp Wich [Tue, 10 Dec 2013 16:24:52 +0000 (16:24 +0000)]
mac80211: add missing set_default to fix stray "radio0: sh: bad number" messages

SVN-Revision: 39028

10 years agohostapd: fix short_preamble option
Jo-Philipp Wich [Tue, 10 Dec 2013 16:24:48 +0000 (16:24 +0000)]
hostapd: fix short_preamble option

SVN-Revision: 39027

10 years agolibevent2: Configure with --disable-debug-mode
John Crispin [Mon, 9 Dec 2013 18:26:58 +0000 (18:26 +0000)]
libevent2: Configure with --disable-debug-mode

Saves around 10K.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 39025

10 years agoubox: fix logging support. the initial connect failed
John Crispin [Mon, 9 Dec 2013 18:24:30 +0000 (18:24 +0000)]
ubox: fix logging support. the initial connect failed

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

10 years agoprocd: update procd, add ulimit support
John Crispin [Mon, 9 Dec 2013 17:38:19 +0000 (17:38 +0000)]
procd: update procd, add ulimit support

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

10 years agoubox: fix up pidcount handling inside log.init
John Crispin [Mon, 9 Dec 2013 17:29:44 +0000 (17:29 +0000)]
ubox: fix up pidcount handling inside log.init

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

10 years agogpio-button-hotplug: add irq mode to driver
John Crispin [Mon, 9 Dec 2013 17:29:39 +0000 (17:29 +0000)]
gpio-button-hotplug: add irq mode to driver

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

10 years agonetifd: enable coredumps again
John Crispin [Mon, 9 Dec 2013 17:29:34 +0000 (17:29 +0000)]
netifd: enable coredumps again

got broken due procd startup. Requires procd resource limit patch.

Signed-off-by: Ulrich Weber <uw@xyne.com>
SVN-Revision: 39020

10 years agoralink: add TSO
John Crispin [Mon, 9 Dec 2013 17:29:29 +0000 (17:29 +0000)]
ralink: add TSO

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

10 years agoralink: fix typo in gpio irq handling
John Crispin [Mon, 9 Dec 2013 17:29:24 +0000 (17:29 +0000)]
ralink: fix typo in gpio irq handling

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

10 years agoralink: add mt7620a gdma info to dtsi
John Crispin [Mon, 9 Dec 2013 17:29:19 +0000 (17:29 +0000)]
ralink: add mt7620a gdma info to dtsi

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

10 years agoralink: add asoc modules
John Crispin [Mon, 9 Dec 2013 17:29:14 +0000 (17:29 +0000)]
ralink: add asoc modules

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

10 years agoralink: add partially working asoc driver. codec is not fully functional yet
John Crispin [Mon, 9 Dec 2013 17:29:08 +0000 (17:29 +0000)]
ralink: add partially working asoc driver. codec is not fully functional yet

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

10 years agoralink: add helper that identifies the mt7620 ECO
John Crispin [Mon, 9 Dec 2013 17:29:03 +0000 (17:29 +0000)]
ralink: add helper that identifies the mt7620 ECO

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

10 years agoralink: add dma engine support
John Crispin [Mon, 9 Dec 2013 17:28:43 +0000 (17:28 +0000)]
ralink: add dma engine support

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

10 years agoimx6: add support for GW53xx
Luka Perkov [Mon, 9 Dec 2013 11:30:23 +0000 (11:30 +0000)]
imx6: add support for GW53xx

The Gateworks GW53xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 * i.MX6DL
 * NAND FLASH
 * 4x PCIe
 * 4x USB EHCI (1x front-panel; 3x PCIe sockets)
 * 1x USB OTG
 * 1x uSD
 * LVDS connector (VLDS for display, PWM/GPIO for backlight, i2c for touch)
 * HDMI Audio/Video out
 * Analog Video in
 * Digital IO
 * Gateworks System Controller
 * Accelerometer
 * Canbus
 * Optional GPS
 * Industrial temp (-40C to +85C)
 * DC input voltage 8 to 42V (Passive PoE and 802.3af)

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39012

10 years agoimx6: add DMA/SDMA support for 3.12
Luka Perkov [Mon, 9 Dec 2013 11:30:22 +0000 (11:30 +0000)]
imx6: add DMA/SDMA support for 3.12

DMA and SDMA support are needed for ssi based audio.  Note that the sdma
firmware is no longer required for ssi audio.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39011

10 years agoimx6: drop upstreamed patch
Luka Perkov [Mon, 9 Dec 2013 11:30:20 +0000 (11:30 +0000)]
imx6: drop upstreamed patch

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

10 years agokernel: added defines for 3.12
Luka Perkov [Mon, 9 Dec 2013 11:30:19 +0000 (11:30 +0000)]
kernel: added defines for 3.12

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39009

10 years agokernel: module updates for 3.12
Luka Perkov [Mon, 9 Dec 2013 11:30:18 +0000 (11:30 +0000)]
kernel: module updates for 3.12

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 39008

10 years agoconfig: add KERNEL_DYNAMIC_DEBUG option
Luka Perkov [Mon, 9 Dec 2013 11:30:16 +0000 (11:30 +0000)]
config: add KERNEL_DYNAMIC_DEBUG option

Useful when debugging kernel which uses this infrastructure, for
example ubi/ubifs.

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

10 years agobase-files: fix whitespaces
Luka Perkov [Mon, 9 Dec 2013 11:30:14 +0000 (11:30 +0000)]
base-files: fix whitespaces

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

10 years agohostapd: properly parse wmm and hidden uci options (#14589)
Jo-Philipp Wich [Sun, 8 Dec 2013 20:51:21 +0000 (20:51 +0000)]
hostapd: properly parse wmm and hidden uci options (#14589)

SVN-Revision: 39005

10 years agonetifd: update to the latest version, adds tunnel fixes by Hans Dedecker and adds...
Felix Fietkau [Sun, 8 Dec 2013 18:00:05 +0000 (18:00 +0000)]
netifd: update to the latest version, adds tunnel fixes by Hans Dedecker and adds back support for multiple networks per wifi-iface

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

10 years agomac80211: fix using custom wifi-iface ifname option with netifd
Felix Fietkau [Sun, 8 Dec 2013 18:00:01 +0000 (18:00 +0000)]
mac80211: fix using custom wifi-iface ifname option with netifd

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

10 years agomac80211: merge an ibss dfs locking fix
Felix Fietkau [Sun, 8 Dec 2013 14:48:34 +0000 (14:48 +0000)]
mac80211: merge an ibss dfs locking fix

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

10 years agoath9k: merge initval and tx gain table updates, calibration fixes
Felix Fietkau [Sun, 8 Dec 2013 14:48:30 +0000 (14:48 +0000)]
ath9k: merge initval and tx gain table updates, calibration fixes

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

10 years agomac80211: refresh patch
Felix Fietkau [Sun, 8 Dec 2013 14:48:25 +0000 (14:48 +0000)]
mac80211: refresh patch

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

10 years agogeneric: workaround arptables arpt_arp structure padding issue (#14577)
Jo-Philipp Wich [Fri, 6 Dec 2013 15:42:35 +0000 (15:42 +0000)]
generic: workaround arptables arpt_arp structure padding issue (#14577)

Linaro GCC 4.6-2013.05 incorrectly pads the arpt_arp structure on
at least the ar71xx target, resulting in a two bytes shorter struct
in the kernel compared to what arptables userspace expects.

When comparing sizeof(struct arpt_arp) in kernel and userspace, the
former yields 162 byte, while the latter is 164 byte.

As a consequence, the subsequent target_offset and next_offset
members of the parent arpt_entry structure contain invalid values
when processed by the arptables binary, leading to bad memory
accesses in the populate_cache() procedure, subsequently causing a
segfault.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 38999

10 years agogeneric: fix occasional "execvp: /bin/sh: Argument list too long" is kernel header...
Jo-Philipp Wich [Fri, 6 Dec 2013 15:37:55 +0000 (15:37 +0000)]
generic: fix occasional "execvp: /bin/sh: Argument list too long" is kernel header install phase (#12907)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 38998

10 years agoadd support for the wl18xx, split wlcore from wl12xx
Imre Kaloz [Fri, 6 Dec 2013 14:07:13 +0000 (14:07 +0000)]
add support for the wl18xx, split wlcore from wl12xx

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

10 years agoodhcpd/6c: Add config menu for prefix class ext.
Steven Barth [Thu, 5 Dec 2013 12:17:09 +0000 (12:17 +0000)]
odhcpd/6c: Add config menu for prefix class ext.

SVN-Revision: 38996

10 years agoath9k: fix length handling of unaggregated frames (might resolve some rts/cts issues)
Felix Fietkau [Wed, 4 Dec 2013 22:59:36 +0000 (22:59 +0000)]
ath9k: fix length handling of unaggregated frames (might resolve some rts/cts issues)

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

10 years agoodhcpd: Fix ubus integration
Steven Barth [Wed, 4 Dec 2013 13:14:27 +0000 (13:14 +0000)]
odhcpd: Fix ubus integration

SVN-Revision: 38994

10 years agomac80211: fix ad-hoc network setup with netifd (#14564)
Felix Fietkau [Tue, 3 Dec 2013 16:22:56 +0000 (16:22 +0000)]
mac80211: fix ad-hoc network setup with netifd (#14564)

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

10 years agonetifd: update to the latest version, improves wireless status output and fixes some...
Felix Fietkau [Tue, 3 Dec 2013 14:17:44 +0000 (14:17 +0000)]
netifd: update to the latest version, improves wireless status output and fixes some bridge handling issues

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

10 years agohostapd: fix maclist processing with netifd
Felix Fietkau [Tue, 3 Dec 2013 09:02:58 +0000 (09:02 +0000)]
hostapd: fix maclist processing with netifd

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

10 years agowifi: restart netifd wifi interfaces on the "up" command like the old variant
Felix Fietkau [Mon, 2 Dec 2013 16:53:27 +0000 (16:53 +0000)]
wifi: restart netifd wifi interfaces on the "up" command like the old variant

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

10 years agowifi: rename the "reload" (restarting non-netifd wifi) command to "reload_legacy"
Felix Fietkau [Mon, 2 Dec 2013 16:53:24 +0000 (16:53 +0000)]
wifi: rename the "reload" (restarting non-netifd wifi) command to "reload_legacy"

Add a new "reload" command that reloads the netifd config as well

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

10 years agonetifd: add wireless configuration support and port mac80211 to the new framework
Felix Fietkau [Mon, 2 Dec 2013 16:41:03 +0000 (16:41 +0000)]
netifd: add wireless configuration support and port mac80211 to the new framework

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

10 years agouci: update to the latest version, adds a small uci_to_blob fix
Felix Fietkau [Mon, 2 Dec 2013 13:08:17 +0000 (13:08 +0000)]
uci: update to the latest version, adds a small uci_to_blob fix

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

10 years agohostapd: change the wildcard for the hostapd control socket directory
Felix Fietkau [Mon, 2 Dec 2013 13:08:14 +0000 (13:08 +0000)]
hostapd: change the wildcard for the hostapd control socket directory

prepare for using /var/run/hostapd instead of /var/run/hostapd-phy*

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

10 years agowpa_supplicant: clean up hostapd control socket on exit to fix socket leak in ap...
Felix Fietkau [Mon, 2 Dec 2013 13:08:11 +0000 (13:08 +0000)]
wpa_supplicant: clean up hostapd control socket on exit to fix socket leak in ap+sta mode on wifi restarts

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

10 years agohostapd: fix os_daemonize vs starting process race by creating the pid file in the...
Felix Fietkau [Mon, 2 Dec 2013 13:08:08 +0000 (13:08 +0000)]
hostapd: fix os_daemonize vs starting process race by creating the pid file in the parent

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

10 years agolibubox: update to latest version, adds some more jshn performance improvements and...
Felix Fietkau [Mon, 2 Dec 2013 13:08:03 +0000 (13:08 +0000)]
libubox: update to latest version, adds some more jshn performance improvements and fixes

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

10 years agonetifd: remove redundant calls to /sbin/wifi down
Felix Fietkau [Mon, 2 Dec 2013 13:08:00 +0000 (13:08 +0000)]
netifd: remove redundant calls to /sbin/wifi down

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

10 years agohostapd: always include p2p options in wpa_cli
Felix Fietkau [Mon, 2 Dec 2013 13:07:46 +0000 (13:07 +0000)]
hostapd: always include p2p options in wpa_cli

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

10 years agobrcm47xx: misc cleanups
Hauke Mehrtens [Sun, 1 Dec 2013 18:12:57 +0000 (18:12 +0000)]
brcm47xx: misc cleanups

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

10 years agobrcm47xx: deactivate mips wait instruction only for BCM4706
Hauke Mehrtens [Sun, 1 Dec 2013 18:05:08 +0000 (18:05 +0000)]
brcm47xx: deactivate mips wait instruction only for BCM4706

The wait instruction is only broken on the BCM4706 and not on the other
similar SoCs.

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

10 years agobrcm47xx: config: set CONFIG_HZ=100 and CONFIG_IP_ROUTE_VERBOSE
Hauke Mehrtens [Sun, 1 Dec 2013 17:34:27 +0000 (17:34 +0000)]
brcm47xx: config: set CONFIG_HZ=100 and CONFIG_IP_ROUTE_VERBOSE

This sets both values to the OpenWrt default values. There is no reason
to use some brcm47xx specific values here.

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

10 years agomac80211: b43: improve PCIe host controller workaround
Hauke Mehrtens [Sun, 1 Dec 2013 17:23:19 +0000 (17:23 +0000)]
mac80211: b43: improve PCIe host controller workaround

This is only needed by BCM4716 and not by BCM4706, I haven't seen any
problems there. Adds the write flush for some more parts where the phy
control regs are written.

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

10 years agomac80211: remove DMI_EXACT_MATCH
Hauke Mehrtens [Sun, 1 Dec 2013 17:20:32 +0000 (17:20 +0000)]
mac80211: remove DMI_EXACT_MATCH

DMI_EXACT_MATCH was added to the kernel in version 3.10.21 and collides
with backports version. DMI_EXACT_MATCH is only used by the intel GPU
driver which is not build by OpenWrt, so remove it.

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

10 years agobrcm47xx: add vectored interrupts
Hauke Mehrtens [Sun, 1 Dec 2013 16:37:58 +0000 (16:37 +0000)]
brcm47xx: add vectored interrupts

This adds support for vectored interrupts in this SoC.
This is supported by the 74K cpus.

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

10 years agobrcm47xx: add cpu overwrites
Hauke Mehrtens [Sun, 1 Dec 2013 16:36:38 +0000 (16:36 +0000)]
brcm47xx: add cpu overwrites

bcm47xx misses cpu overwrites for the features of the CPUs used in
these SoCs.
Instead of manually checking, it is now known at compile time for some
options and the compiler is able to remove the checks and optimize the
code.

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