Commit Graph

10671 Commits (c1cf0505c4a634e044919e71b1c7a028385d0a25)

Author SHA1 Message Date
Jo-Philipp Wich a193e1c1eb dnsmasq: fix backward compatibility with existing configs
Changeset r36943 ("dnsmasq: use host-record instead of address") removed
the automatic domain expansion for config domain sections, this breaks
existing setups and alters the old behaviour in unexpected ways, therfore
restore behaviour of the current stable release.

Additionally handle fully qualified hostnames properly when setting up the
own hostrecord by stripping the local domain part form the given name
instead of unconditionally appending it, so that "example.lan" results
in "example example.lan" and not "example.lan example.lan.lan".

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-04 22:40:56 +00:00
Hauke Mehrtens 632a94b5f4 kernel: fix dependencies of kmod-thermal
This depends on kmod-hwmon-core

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-03 20:18:45 +00:00
Hauke Mehrtens 1cd5c51159 kernel: fix dependencies of usb-eth-gadget
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-03 20:17:52 +00:00
Felix Fietkau acf5ed0269 openvpn: clean up and fix the init script
- clean up duplication of procd instance handling code
- using --cd *after* --config is rather pointless
- to be able to log errors properly, --syslog needs to be passed before --config
- tell procd about the generated or referenced config file instead of
  the uci file. this avoids having to restart all instances if only one
  of them changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-31 17:36:24 +00:00
Felix Fietkau a435721cf3 netifd: update to the latest version, fixes regression in proto-shell scripts (#14400, #14402)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-31 11:22:01 +00:00
Imre Kaloz ab94851e1a [u-boot/omap]: use a single package to build MLO/u-boot for all omap boards
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-31 10:57:46 +00:00
Luka Perkov 6fd043244b [package] uboot-imx6: update to 2013.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-31 00:00:51 +00:00
Jo-Philipp Wich 4f7c503fd0 cyassl: drop obsolete patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30 15:16:59 +00:00
Jo-Philipp Wich 26f93b4bb0 cyassl: upgrade to v2.8.0
Un-reverts the previous update commit and forward-ports the patch
to improve legacy SSLv2 handshake handling.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30 13:19:48 +00:00
Felix Fietkau d6eec622cf ustream-ssl: update to the latest version, adds support for the current cyassl version (#14386)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30 12:56:47 +00:00
Felix Fietkau 0a1d16338a libubox: update to latest version, makes jshn roughly twice as fast
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30 11:25:05 +00:00
Felix Fietkau f63789f2cb netifd: update to latest version, adds fixes and some preparation for supporting wifi devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30 11:25:01 +00:00
Hauke Mehrtens 7dc8792663 kernel: add missing dependency for kernel 3.12 in tg3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30 09:50:13 +00:00
Gabor Juhos 745d8fa30c uboot-ar71xx: make it depend on the generic ar71xx subtarget
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30 06:54:56 +00:00
Felix Fietkau 1d556c3e9a libubox: update to latest version, adds minor improvements to jshn, blobmsg and uloop
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-29 14:12:06 +00:00
Steven Barth c789acfbbb odhcp6c: Multiple improvements and fixes
* Various RFC compliance fixes (thanks to Hans Dedecker)
* Fix RA spam filter logic causing ipv6 connection issues
* Fix parameters -F and -P being order dependent

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-29 13:23:28 +00:00
Jo-Philipp Wich 407cc7b928 Revert "[cyassl]: upgrade to 2.8.0"
Reverts the CyaSSL version bump for now since the update completely broke
trunk building due to incompatible changes in the IO callback API which in
turn breaks the core ustream-ssl package.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-29 09:53:48 +00:00
Luka Perkov 080506d570 kernel: add w1-master-mxc module
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-29 02:52:17 +00:00
Felix Fietkau 7d9a6a4129 u-boot: prefer mirror2.openwrt.org over ftp.denx.de - the denx ftp is slow and unreliable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-28 15:15:05 +00:00
Imre Kaloz ff27022040 [cyassl]: upgrade to 2.8.0
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-28 14:34:59 +00:00
John Crispin d5aa1055f5 gpio-button-hotplug: add support for power buttons
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-28 13:45:57 +00:00
John Crispin 7d236f8e5d ubox: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-28 06:48:04 +00:00
John Crispin 7eccc12250 kernel: add packages for sdhci support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-28 06:47:20 +00:00
John Crispin 64ffd5decf ubox: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-26 12:25:11 +00:00
Luka Perkov d4b1362062 kernel: add keyboard-imx module
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 10:29:49 +00:00
Florian Fainelli f8616ce0ca kernel: make kmod-pcnet32 depend on kmod-mii
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 01:47:45 +00:00
Florian Fainelli 19121c76f9 kernel: add mii library kernel module package
This package is required for network drivers such as pcnet32

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 01:47:32 +00:00
John Crispin 18c8dafa90 procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-24 14:27:03 +00:00
Steven Barth 4805656f76 odhcp6c: filter similar RAs spammed by some ISPs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 10:31:06 +00:00
Steven Barth a413fcd1bf firewall: Improve ubus support
* Use network.interface dump call instead of individual status calls
  to reduce overall netifd lookups and invokes to 1 per fw3 process.

* Allow protocol handlers to assign a firewall zone for an interface
  in the data section to allow for dynamic firewall zone assignment.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 10:25:26 +00:00
Steven Barth 7002de6567 odhcpd: fix cleaning of configuration on reload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 09:30:28 +00:00
Steven Barth ddd9ba8547 6relayd: reduce fallout of RA spamming a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-21 10:26:57 +00:00
Felix Fietkau 91582107c7 ath9k: gather entropy from raw ADC I/Q samples (use the least significant bit only)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20 17:51:17 +00:00
Felix Fietkau 12e67a1bef libubox: update to latest version, fixes ustream reuse and a few other minor issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-19 16:24:38 +00:00
Steven Barth 2406418273 netifd: Fix ifupdate events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-19 11:01:25 +00:00
Steven Barth 0cbcc1e6b2 odhcpd: various bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-18 13:39:48 +00:00
Steven Barth e9965e62b7 netifd: various improvements
* Add ubus methods for global interface status
* Add ubus function to create nested interfaces
* Add protocol update notifications and hotplug legacy calls
* Fix: key to data elements point at wrong memory area
* Add support for source-restricted routes
* Add option "delegate" to toggle prefix delegation
* Reevaluate target routes also on interface update

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-18 13:39:43 +00:00
Felix Fietkau d5dd33ff7a rt2800usb: merge a fix to slow down tx status polling (#13523)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-18 13:39:10 +00:00
Jo-Philipp Wich 9620e5bae9 wpa_supplicant: fix beacon_int configuration option
wpa_supplicant expects beacon_int instead of beacon_interval in its config
file.

Signed-off-by: Bruno Randolf <br1@einfach.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-18 11:47:47 +00:00
Jo-Philipp Wich 04f2b28bd6 iw: add patch to support 802.11j frequencies
A similar change was recently merged in iw commit
58b46da26ab9b5ff31c7033e175351eb1301d9af

Signed-off-by: Bruno Randolf <br1@einfach.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-18 11:43:02 +00:00
Jo-Philipp Wich 533eac9728 iwinfo: make 'type' visible in wrapped iwinfo
There are several cases within 'luci' that attempt to access the interface
'type' from within the 'type' specific meta tables; however, 'type' is not
currently available there.  Replicate the common metadata in the 'type'
specific meta tables.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-18 11:42:43 +00:00
Luka Perkov de3ed2d3d6 [package] uboot-envtools: update to 2013.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-18 00:39:28 +00:00
Steven Barth 56e7732aa0 netifd: rename customopts to sendopts for consistency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-17 13:12:06 +00:00
Steven Barth b8574ae0b5 Added 'customopts' dhcp protocol option, which is an array passed along to udhcpc as series of -x options.
Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-17 12:55:40 +00:00
Steven Barth 092ba3c09a odhcp6c: fix parsing of IA_PD adverts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-17 07:19:32 +00:00
Steven Barth 7ba0aa8dcf odhcpd: add new experimental dhcp-server
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-16 09:03:55 +00:00
Luka Perkov 0bd702e1cb kernel: imx6: add modules needed for sgtl5000 audio codec
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-16 03:25:59 +00:00
Jo-Philipp Wich 9ba3fcdf85 dropbear: add dropbear.nl mirror, provided by dropbear maintainer
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-15 13:10:32 +00:00
Luka Perkov 731d18c6ed [package] openvpn: make comp_lzo a parameter
Possible parameters are yes, no and adaptive. See manpage for more information.

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-15 12:42:58 +00:00
Jo-Philipp Wich 8a41acee91 openvpn-easy-rsa: restore essential patch to make it actually work on the target (#14324)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-15 12:23:21 +00:00
Luka Perkov ae75e48dcf [package] uci: upgrade to latest git version
Fixes issues with UBIFS file system when due to unclean shutdown files would
end up with size 0. Furthermore, few style fixes are included too.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-15 11:32:28 +00:00
Luka Perkov d99e8c2a5b [package] uboot-envtools: update kirkwood scripts
Also, scripts can be installed as data so let's change that here too.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-14 19:46:43 +00:00
Felix Fietkau 4ab6fcc3f8 rt2x00: fix rf id for rt3352 (#14322)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-14 19:40:30 +00:00
Felix Fietkau 8184099eab ath9k: add some more pending fixes / optimizations
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-14 19:38:42 +00:00
Felix Fietkau 01e1878a8a ath5k: fix tx status processing errors (causing packet loss and throughput issues)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-14 19:20:05 +00:00
Felix Fietkau 6a30d14811 ath9k: reduce rx buffer allocation size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-14 19:20:02 +00:00
Zoltan HERPAI caf5fff541 imx23: rename imx23 to mxs for upcoming imx23/28 support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-14 19:01:23 +00:00
Steven Barth da88af3641 odhcp6c: various fixes
* Make SOL_MAX_RT configurable and default back to 120s
* Prefer servers with bigger prefixes (allows to use Comcast /60)
* Don't hang indefinitely if DHCPv6 REQUEST is not answered

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-14 18:53:02 +00:00
Jo-Philipp Wich b639034a1b ubox: fix extroot after kmodloader changes
The kmodloader executable disregarded the global directory prefix in
scan_module_folder() leading to a broken extroot for non-builtin modules.

Update to current git head to fix the prefix handling again.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-14 13:01:06 +00:00
Steven Barth e9ae348a48 opkg: ignore empty fields in package lists
This is to work around issues with package list generators creating
empty fields in some environments.

Based on a patch by Paul Selkrik <pselkrik@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-14 08:09:58 +00:00
Hauke Mehrtens 77517a6a27 iputils: do not compile this for brcm47xx with -O2
ping is now working for me with -Os on brcm47xx.
This revert r26278.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13 22:51:33 +00:00
Hauke Mehrtens 0a0af9433f switch: remove old switch driver
The switch driver is not used by brcm47xx any more and can be removed, 
instead of this switch driver b53 is used now.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13 22:15:31 +00:00
Hauke Mehrtens f731f1b1a9 mac80211: b43: fix prefix for config options
Config options in backports are starting with CPTCFG and not with CONFIG_.
CONFIG_B43_BCMA was never true.

This closes #13883.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13 20:25:12 +00:00
Hauke Mehrtens 0e08963e72 zd1201: fix url to zd1201 firmware
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-12 22:36:08 +00:00
Hauke Mehrtens fad1f4d6ec lantiq: add some missing PKG_SOURCE_URLs
These URLs where missing and causes build failures.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-12 22:33:55 +00:00
Luka Perkov 749ec9639b kernel: add kirkwood thermal module
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-12 16:26:55 +00:00
Jonas Gorski 27c5bbf993 acx-mac80211: update to latest version
Fixes compilation for linux 3.10.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-12 10:50:35 +00:00
Jonas Gorski 99a0dac7f3 ar7-atm: fix compilation for linux 3.10
Update proc code to new proc_create to allow compilation with
linux 3.10+.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-12 10:50:19 +00:00
Jo-Philipp Wich c081113e44 dnsmasq: add option broadcast to host sections
There are certain consumer devices which are outliers in protocol conformance.
An example is Samsung bluray players, which require broadcast DHCP responses
(on Ethernet only, strangely not on Wifi).

By specifying:

config host
	...
	option broadcast 1

this will enable the response to be sent as an Ethernet broadcast and not as
a unicast.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-11 18:33:15 +00:00
Felix Fietkau 9fda86eac8 ath9k: fix rx issues introduced in my last commit (fixes #14307)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-10 21:10:45 +00:00
Jo-Philipp Wich fb47dac0bd firewall: small improvements in nat reflection
- do not insert duplicate rules when setting up reflection to a zone containing multiple interfaces
	- set up reflection for any protocol, not just TCP and UDP

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-10 18:15:10 +00:00
Jo-Philipp Wich 5a8864448a ppp: correct module loaded check in proto_pptp_setup
proto_pptp_setup is responsible for loading the required modules to establish
a pptp connection to a foreign peer. The function checks whether all required
modules are already loaded, before actually loading them.

It seems that the filter being used to accomplish this, is not restrictive
enough in some cases. For instance when pptp nat helper modules are present on
a system, and already loaded before a pptp connection is enabled. Then the
search filter (possibly) returns the following for module=pptp, where actually
no matches are expected, resulting in the pptp.ko module not being loaded,
thereby failing to establish the pptp connection.

# module="pptp" ; grep "$module" /proc/modules
nf_nat_pptp 1312 0 - Live 0x86ce7000
nf_conntrack_pptp 3072 1 nf_nat_pptp, Live 0x86cb9000
nf_nat_proto_gre 784 1 nf_nat_pptp, Live 0x86cba000
nf_conntrack_proto_gre 2368 1 nf_conntrack_pptp, Live 0x86cbf000
nf_nat 9792 13 nf_nat_rtsp,nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_h323,nf_nat_proto_gre,nf_nat_amanda,nf_nat_irc,nf_nat_ftp,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,iptable_nat, Live 0x86ca8000
nf_conntrack 37264 31 nf_nat_rtsp,nf_conntrack_rtsp,nf_nat_tftp,nf_conntrack_tftp,nf_nat_snmp_basic,nf_conntrack_snmp,nf_nat_sip,nf_conntrack_sip,nf_nat_pptp,nf_conntrack_pptp,nf_nat_h323,nf_conntrack_h323,nf_conntrack_proto_gre,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_broadcast,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_helper,xt_connmark,xt_connbytes,xt_conntrack,xt_CT,xt_NOTRACK,xt_state,nf_conntrack_ipv4, Live 0x86c90000

The search filter can be made more accurate/restrictive, by requiring the
occurance of the exact name of the module at the beginning of a line in
/proc/modules.

# module="pptp" ; grep "^$module " /proc/modules
pptp 13296 2 - Live 0x86e80000

Signed-off-by: Tijs Van Buggenhout <tvb@able.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-10 14:58:12 +00:00
Jo-Philipp Wich 08715f05ef dropbear: update to 2013.59 (released 4 october 2013)
- drop mirror www.mirrors.wiretapped.net (not working anymore)
- drop patch 300-ipv6_addr_port_split.patch, included upstream
- refresh patches
- various upstream changes: http://matt.ucc.asn.au/dropbear/CHANGES

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-10 14:42:05 +00:00
Felix Fietkau dd604086e3 ath9k: add some cleanups and minor fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-10 14:31:22 +00:00
Luka Perkov b883412931 [package] openvpn: rework initscript (fixes #14299)
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-09 11:25:09 +00:00
Felix Fietkau 1b44d4878e procd: fix command handling in procd_add_instance()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-09 11:07:23 +00:00
Imre Kaloz 4452ec99e8 [package/libs/libpcap]: IPv6 support should depend on if we've enabled it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-09 11:03:00 +00:00
Hauke Mehrtens 3619a71f57 mac80211: rtlwifi: Align private space in rtl_priv struct
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-09 09:13:41 +00:00
John Crispin 423e759b07 kernel: dont rely on library modules to be depended on
fixes https://dev.openwrt.org/ticket/14257

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 15:08:33 +00:00
Felix Fietkau 03dbfd74ae hostapd: recognize 8021x as an authentication mode
Currently, in order to configure the authentication daemon in
8021x mode, we need to set wireless.@wifi-iface[0].encryption="wpa"
Though it works it confuses folks as 8021x is using WEP
encryption and not WPA. Therefore the terminology itself is
confusing. This change adds 8021x as a recognized string for 8021x
authentication.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 11:09:52 +00:00
Felix Fietkau 7dbd213406 hostapd: add external registrar support
Setting wireless.@wifi-iface[N].ext_registrar=1 will enable UPNP
advertising and add an external registrar to the interface this vif
belongs to (br-lan if the vif is included in the LAN bridge). By
enabling this we append upnp_iface=xxx to the hostapd config file.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 11:09:48 +00:00
Felix Fietkau a8cf4fe00a hostapd: enable WPS2 support on hostapd-full.config
Enable CONFIG_WPS2 for hostapd. This is required to support
options like Virtual Push Button in WPS.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 11:09:44 +00:00
Felix Fietkau 66614d7572 hostapd: fix hostapd RSN preauthentication PMKSA caching
In 2009 OpenWrt's hostapd config added an "auth_cache" boolean
to be used to address a reported issue #12129 [0] on a forum [1].
The reported issue on the ticket is different that the one
described on the forum. The commit was r33359. This change broke
proper RSN preauthentication [2] [3] [4] expectations on hostapd's
configuration for WPA2 and this in turn disabled PMKSA caching and
Opportunistic Key Caching. This change:

  * Leaves the "auth_cache" to be used only for WPA networks for those
    looking to use this as a workaround to a reported issue but annotates
    a warning over its usage.

  * Separate "auth_cache" from WPA2 RSN preauthentication, leaving
    WPA2 RSN preauthentication to enabled only with "rsn_preauth" with
    the expected and recommended settings.

  * Adds a new WPA2 RSN preauthentication "rsn_preauth_testing" to
    be used when evaluating funcionality for WPA2 RSN preauthentication
    with the expected and recommended settings with the only difference
    so far with what should be enabled by default to disable Opportunistic
    Key Caching.

Disabling the PMKSA cache should mean the STA could not roam off and back
onto the AP that had PMKSA caching disabled and would require a full
authentication cycle. This fixes this for WPA2 networks with
RSN preauthentication enabled.

This change should be applied to AA as well as trunk.

  TL DR;

The issue described on the forum has to do with failure of a STA
being able to try to authenticate again with the AP if it failed
its first try. This may have been an issue with hostapd in 2009
but as per some tests I cannot reproduce this today on a WPA2
network.

The issue described on the ticket alludes to a security issue with the
design of using a Radius server to authenticate to an AP. The issue
vaguely alludes to the circumstances of zapping a user, deleting their
authentication credentials to log in to the network, and that if
RSN preauthentication is enabled with PMKSA caching that the user
that was zapped would still be able to authenticate.

Lets treat these as separate issues.

I cannot reproduce the first issue reported on the forums of not
being able to authenticate anymore on a WPA2 network.

The issue reported on the ticket modified WPA2 RSN preauthentication
by adding two fields to the hostapd configuration if auth_cache
was enabled:

  * disable_pmksa_caching=1
  * okc=0

The first one disables PMKSA authentication cache.
The second one disables Opportunistic Key Caching.

The issue reported on the ticket was fixed by implementing a workaround
in hostapd's configuration. Disabling PMKSA caching breaks proper use
of WPA2 RSN pre authentication. The usage of disable_pmksa_caching=1
prevents hostapd from adding PMKSA entries into its cache when a successful
802.1x authentication occurs. In practice RSN preauthentication would
trigger a STA to perform authentication with other APs on the same SSID,
it would then have its own supplicant PMKSA cache held. If a STA roams
between one AP to another no new authenitcation would need to be performed
as the new AP would already have authenticated the STA. The purpose of the
PMKSA cache on the AP side would be for the AP to use the same PMKID for
a STA when the STA roams off onto another BSSID and later comes back to it.

Disabling Opportunistic Key Caching could help the reported issue
as well but its not the correct place to address this. Opportunistic
Key Caching enables an AP with different interfaces to share the
PMKSA cache. Its a technical enhancement and disabling it would
be useful to let a testing suite properly test for RSN preauthentication
given that otherwise Opportunistic Key Caching would enable an
interface being tested to derive its own derive the PMKSA entry.
In production though okc=1 should be enabled to help with RSN
preauthentication.

The real fix for this particular issue outside of the scope of hostapd's
configuration and it should not be dealt with as a workaround to
its configuration and breaking expected RSN preauthentication and
technical optimizations. Revert this change and enable users to pick
and choose to enable or disable disable_pmksa_caching and okc expecting them
to instead have read clearly more what these do.

As for the core issure ported, the correct place to fix this is to
enable a sort of messaging between the RADIUS server and its peers
so that if caching for authentication is enabled that cache can be
cleared upon user credential updates. Updating a user password
(not just zapping a user) is another possible issue that would need
to be resolved here. Another part of the solution might be to reduce
the cache timing to account for any systematic limitations (RADIUS
server not able to ask peers to clear cache might be
one).

[0] https://dev.openwrt.org/changeset/33359
[1] https://forum.openwrt.org/viewtopic.php?id=19596
[2] http://wireless.kernel.org/en/users/Documentation/hostapd#IEEE_802.11i.2FRSN.2FWPA2_pre-authentication
[3] http://wireless.kernel.org/en/users/Documentation/wpa_supplicant#RSN_preauthentication
[4] http://wiki.openwrt.org/doc/recipes/rsn_preauthentication

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 11:09:40 +00:00
Felix Fietkau 6ff7614c07 hostapd: Add WPS unconfigured & WPS pin method support
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 11:09:36 +00:00
Felix Fietkau 21108bc210 hostapd: Add eap_reauth_period config option
This adds the eap_reauth_period to be used for modifying
the RADIUS server reauthentication authentication period,
a parameter that gets passed directly to the hostapd
configuration file.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-08 11:09:27 +00:00
Hauke Mehrtens e72b11797c mac80211: wl12xx: build them again
WL_TI is bool but was set to =m, which deactivated it. Now it is set to 
=y and should be activated in the config so the wl12xx driver gets 
build.

This closes #14212.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 22:16:17 +00:00
Hauke Mehrtens 9bb681be77 mac80211: brcmfmac: BRCMFMAC_USB was not set in config
Somehow BRCMFMAC_USB was not set in the build and brcmfmac.ko did not had usb support.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 21:49:28 +00:00
Luka Perkov 337f454532 [package] openvpn: switch to new procd init script style
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 21:28:14 +00:00
Luka Perkov 435c44e7ea [package] polarssl: update to 1.2.9
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 21:28:12 +00:00
John Crispin 0c5dcfc06f lantiq: fix ltq_ptm compile
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 20:13:32 +00:00
Steven Barth 9f6f08e80d odhcp6c: improve server selection, introduce "forceprefix" option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 08:43:33 +00:00
Luka Perkov 7dbe386104 [package] iproute2: update to 3.11
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-07 08:26:41 +00:00
Felix Fietkau 06712cae90 ath9k: fix tx queueing issues after background scans
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-05 12:12:21 +00:00
Steven Barth f578cfad56 opkg: add support for SHA256 verification
based on a patch by Evan Hunt <each@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-04 05:56:20 +00:00
Felix Fietkau c8eba693d0 netifd: update to latest version, adds macvlan support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-03 14:51:34 +00:00
Hauke Mehrtens a66951ab99 broadcom-diag: fix 'autoload' number of diag.ko
Change the autoload number from '5' to '05' so the module loads earlier (as intended).

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 23:14:08 +00:00
Steven Barth 0415b1d80f package/index: fix index creating when building without signing
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 16:38:28 +00:00
Steven Barth 09838598c1 odhcp6c: validate hop-limit on RAs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 14:16:05 +00:00
Steven Barth 414c5be62b Add package signing infrastructure
Add package signing key and certificate configuration options to the
"Image configuration" submenu. If enabled, the Packages.gz list will
be signed as file Packages.sig. The passphrase for the signing key can
be sourced from a file or entered by the user. The signing certificate
is automatically added to the firmware image if opkg-smime is selected.

Signed-off-by: Evan Hunt <each@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 12:12:10 +00:00
Steven Barth a21d544dc5 6relayd: remove compat ULA setting by default (too many bad sideeffects)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-02 06:14:39 +00:00
Hauke Mehrtens 348c39d736 c80211: add iwldvm to iwlwifi, this is needed to support the old wifi card.
This closes #14258

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-01 22:41:46 +00:00
Hauke Mehrtens 50e46e058a kernel: add industrialio-triggered-buffer.ko only when the config option is selected.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-01 22:40:32 +00:00
Hauke Mehrtens 0bfe8efff5 ep93xx: fix sound dependencies for ep93xx
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-01 22:38:40 +00:00
Steven Barth 077620aa6b netifd: don't remove & readd addresses that only have a changed lifetime
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-01 17:30:05 +00:00
Jo-Philipp Wich c3fb309e1b procd: fix incorrect use of sizeof() in vsnprintf()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-01 14:41:07 +00:00
John Crispin 9ab1111f6b procd: update to latest git head
this fixes the syslog problem when using eglibc on x86.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-30 20:48:51 +00:00
John Crispin f1d1d72c1b kernel: lib-textsearch needs to be auto probed for amanda nat to work
https://dev.openwrt.org/ticket/14232

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-30 20:48:12 +00:00
Felix Fietkau 9d4b0c6593 mac80211: add AP inactivity handling / probing fixes to improve stability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-29 19:42:00 +00:00
Felix Fietkau c3de6bd67e mac80211: really fix the long standing wds ap tx power regression (#14153)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-29 12:53:21 +00:00
Jo-Philipp Wich 47c2eb403d rpcd: fix missing option removal when merging subsequent uci set calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-29 11:53:25 +00:00
Jo-Philipp Wich 1a8c47b1f3 ubus: restrict unix domain socket permission to 0600 to disallow non-root connections
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-29 11:53:20 +00:00
Jo-Philipp Wich bb95a938ab ubox: support alternative spellings for modinfo and rmmod
After this change, "rmmod" and "modinfo" works even if the user gives
the file name spelling instead of the kernel internal one, so that e.g.
"rmmod nls_iso8859-1.ko" and "rmmod nls_iso8859_1" will both succeed.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-29 11:53:17 +00:00
Jo-Philipp Wich a91ab4470f uci: change uci_ptr checking order in uci_delete()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-29 11:53:10 +00:00
Felix Fietkau b8672f84cb uhttpd: add a config option for using ustream-polarssl, and use it by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-29 11:26:09 +00:00
Felix Fietkau cb55eeaf97 ath9k: fix an AP mode powersave issue with aggregation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-29 11:07:58 +00:00
Jo-Philipp Wich 96216936f6 ubox: fix kmod loading for modules with varying dashes & underscores in names (#14182, #14189)
Instead of canonicalizing module names in the internal avl tree simpyl use a
custom strcmp() variant for the avl tree key comparisation. The custom comperator
simply treats dashes and underscores the same, so "nls_iso8859-15" is equal to
"nls-iso8859-15".

This allows us to simplify the code considerably and makes manual "modprobe"
invocations more forgiving when looking up the given module name.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-28 13:12:42 +00:00
Felix Fietkau 4dd787c062 kernel: disable kmod-iio for linux 3.6 as well (to avoid build issues due to missing config symbol changes)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-28 05:22:05 +00:00
Felix Fietkau 5cceea6f34 kernel: exclude regmap-spi.ko if SPI support cannot be selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 21:12:15 +00:00
Felix Fietkau e756ff90ca kernel: make sound-soc-core depend on kmod-ac97
it has a conditional #ifdef based dependency on it, which trips up on
some targets

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 21:12:04 +00:00
Felix Fietkau c7ae115a3d kernel: remove old kernel compat code for pcmcia
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 20:47:09 +00:00
Felix Fietkau 3c37470f31 kernel: mark kmod-thermal menuconfig symbol as hidden to avoid building it on targets with no thermal drivers
Should fix build errors with Linux 3.3/3.6 targets, which use different
kconfig symbols

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 20:44:11 +00:00
Luka Perkov 0cd0b53a95 kernel: add thermal modules
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27 10:49:33 +00:00
Steven Barth bbb9ced381 opkg: add build variant with signature support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 19:51:03 +00:00
Luka Perkov 4be4c746f2 [package] uboot-imx6: fix typo in nitrogen6dlXg
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 09:03:47 +00:00
Luka Perkov a9524f64a0 [package] uboot-imx6: add support for Nitrogen6x boards
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 08:36:12 +00:00
Luka Perkov e3cb2c9f49 [package] uboot-imx6: alphabetize wandboard variants
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26 08:36:09 +00:00
Gabor Juhos 66d3fcf859 package/kernel: add support for industrial-io and AD799x
Add support for industrial IO core and (still staging)
driver for AD799x, a high precision I2C ADC family.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 18:00:35 +00:00
Gabor Juhos 7e57d6c694 package/kernel: add hwmon driver for ADT7410
Add support for the ADT7410 hwmon driver, a high precision
I2C temperature sensor.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 18:00:34 +00:00
Gabor Juhos dc45d360da package/kernel: move I2C-GPIO drivers from i2c.mk to other.mk
Move pca953x support from i2c.mk to other.mk, where other
GPIO drivers are located. Remove duplicate pcf857x support
from i2c.mk.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[juhosg: update subject, and reformat commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 18:00:33 +00:00
Felix Fietkau 3a931a5b0c uhttpd: fix appending https ports to cmdline
Otherwise it is started only on non-secure ports.

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25 07:44:48 +00:00
Gabor Juhos c0739badb2 iwinfo: add Ubiquiti WispStation M5 to hardware.txt
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24 05:58:29 +00:00
Luka Perkov cebf051302 [package] fix various init scripts
Changes include:

* removing unused variables
* replacing spaces with tabs where appropriate
* more consistency with variable declarations

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23 21:58:36 +00:00
Felix Fietkau 8d82afd3a4 xtables-addons: fix missing conversion from r38021 (resolves a broken dependency)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22 19:49:23 +00:00
Steven Barth 880d5d81a2 odhcp6c: handle NoAddrsAvail IA-status
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21 10:54:13 +00:00
Gabor Juhos 9e8e17ba21 package/mtd: enable seama fixup code for ar71xx
It will be used for the WD My Net N600.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 22:36:40 +00:00
Felix Fietkau bd35aa05e8 kernel: add AutoProbe for ppp_async and ppp_synctty (should fix #14185)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19 06:33:53 +00:00
John Crispin 55556c8ae8 lantiq: fix bug in hcd gpio detetcion code
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 16:31:49 +00:00
Hauke Mehrtens 3d8f232fda brcm47xx: update board detection patches
This is now the version which was send for mainline Linux kernel 
inclusion. The data needed to detection a board is now stored in init 
data.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 14:33:54 +00:00
Felix Fietkau 04220d93a6 ath9k: add missing tx locking
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 13:24:55 +00:00
Steven Barth c89032631c odhcp6c: Restart when server returns IAID error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-18 10:27:15 +00:00
John Crispin 718e5fe27e lantiq: add v3.10 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:46:10 +00:00
John Crispin 1b9761927e lantiq: update packages for v3.10
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:45:56 +00:00
John Crispin db85247aba base-files: add a post start hook for procd managed services
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:45:34 +00:00
John Crispin d330d9fac4 procd: convert various packages to procd style init.d scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:45:30 +00:00
John Crispin 021ff1b2d2 procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:45:24 +00:00
John Crispin 751f928815 kernel: make most modules use AutoProbe
now that we have modprobe we can set more than half of the modules to AutoProbe

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:45:17 +00:00
John Crispin 179d71542d ubox: make use of modprobe
ubox now has modprobe support
build and install the tool

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:45:01 +00:00
John Crispin a99f549078 libubox: add packaging info for uloop lua binding
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 21:44:52 +00:00
Felix Fietkau 79415ad310 ath9k: merge a fix for PS-Poll responses + aggregation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 10:07:56 +00:00
Felix Fietkau a37971c70e kernel: fix config symbol for kmod-crypto-hash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 09:54:05 +00:00
Felix Fietkau 06c07d0cf5 mac80211: drop spoofed packets in ad-hoc mode (fixes #12427)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-17 09:17:40 +00:00
Hauke Mehrtens ff60f97820 broadcom-diag: add GPIO configuration for Linksys E2000 V1
Thank you Javier Achirica for the patch.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16 19:52:23 +00:00
Hauke Mehrtens c042929971 broadcom-diag: Add WRT310N v1 gpio leds and buttons
Signed-off-by: Flavio Silveira <fggs@terra.com.br>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-16 19:50:14 +00:00
Hauke Mehrtens 9aa1ed8c46 brcm47xx: add detection code for Huawei E970
This is based on a patch by Mathias Adam.

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15 17:00:45 +00:00
Felix Fietkau e2a5d64c3e hostapd: adjust the md5sum for the uploaded source tarball (fixes #14155)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14 20:07:35 +00:00
Felix Fietkau 41aa1c649b ath9k: add another minor tx path fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14 15:30:13 +00:00
Felix Fietkau 32bcbe7b96 iwinfo: when using nl80211, parse interface combinations instead of creating/deleting interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14 14:46:51 +00:00
Felix Fietkau 830ec728db ath9k: merge a fix for tx processing issues with aggregation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-14 14:46:39 +00:00
Hauke Mehrtens 6e37af50a5 kernel: add missing config option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13 20:39:23 +00:00
Hauke Mehrtens 9d20ead66b brcm47xx: board detection, GPIO for Linksys E1000 V2.1
This patch adds board detection for the Linksys E1000 V2.1 router, as well
as GPIO support for same.

This fixes bug #14135. Currently, wired networking isn't working on the
router, and I haven't tried the wireless, but with this patch, OpenWRT
successfully boots, and all the LEDs and buttons work properly.

Signed-off-by: Zachary Catlin <zcatlin@indiana.edu>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13 19:24:08 +00:00
Hauke Mehrtens 4bb1ea5172 brcm47xx: do not use GPIO configuration of WRT54G for every unknown Linksys device
Most of the Linksys devices without an own GPIO configuration where 
detected as WRT54G. On one board this made OpenWrt to boot into 
failsafe every time, because one GPIO configurated as button was not a 
button.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13 16:00:52 +00:00
Jo-Philipp Wich 546a43923a uhttpd: udpat to git head
- fixes buffer corruption with JSON-RPC list calls
	- change JSON-RPC protocol to include the session ID into the call
	  attributes instead of passing it via the URL
	- forcibly pass effective session ID as "ubus_rpc_session" attribute
	  to called procedures
	- change ubus acl checking to conform with new ubus session namespace

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13 13:24:45 +00:00
Jo-Philipp Wich a669fe7552 rpcd: update to git head
- recalculate session ACLs on reload
	- support negative access group expressions in /etc/config/rpcd
	- prevent destryoing the default session
	- use "ubus_rpc_session" attribute as session identifier to enforce JSON-RPC proxy security

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13 13:24:32 +00:00
Luka Perkov ab11eb84ba kernel: gsc depends on kmod-i2c-core
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-12 23:38:54 +00:00
Steven Barth e7aed7d6a9 odhcp6c: Timing workaround for buggy servers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-12 12:57:42 +00:00
Luka Perkov 5a2880c52b kernel: fix imx sata module
The imx sata module has only been backported to imx6 target. This change will
fix buildbot errors due to missing patches in other targets. Keep this until
all targets use kernel version with imx sata support in them.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 22:08:46 +00:00
Jo-Philipp Wich e586a11e8f rpcd: update to git head
- introduces persistent null session to allow access to procedures without login
	- implements session.login procedure to support user logins via json-rpc

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-11 12:13:33 +00:00
Luka Perkov 944a116aaf kernel: add imx sata module
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10 22:26:37 +00:00
Luka Perkov ecd7cc93fa kernel: allow hwmon GSC driver for all targets
- enable using hwmon GSC driver on all targets
- add a kmod package for it

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10 22:26:30 +00:00
Felix Fietkau d4a372f076 openssl: add parallel build support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10 12:09:13 +00:00
Felix Fietkau 875cc83b47 procd: update to latest version, adds udevtrigger improvements by juhosg
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10 11:32:07 +00:00
Felix Fietkau 844c80f3bb rt2x00: merge an rt2800 initialization order fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-09 17:31:53 +00:00
Jo-Philipp Wich 6ad5bd6778 rpcd: update to git head
- adds support for service triggering on config commit
	- adds uci transaction support
	- adds daemon reload support without loosing session data
	- exports headers for use by external plugins
	- drops LuCI2 in favor to an out of tree plugin

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-09 14:35:15 +00:00
Felix Fietkau ba6d9d5cac ath9k: clean up some patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-08 09:38:38 +00:00
Felix Fietkau da032a4fe0 mac80211: merge a big batch of upstream changes/improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-08 09:38:32 +00:00
Steven Barth f919a7b85b odhcp6c: more compatibility fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 21:13:51 +00:00
Hauke Mehrtens e1cb25c509 mac80211: kmod-rtl_pci: fix dependencies
This fixes the following error:
rtl_pci: Unknown symbol rtl_lps_leave (err 0)
rtl_pci: Unknown symbol rtl_lps_enter (err 0)
rtl8192ce: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192ce: Unknown symbol rtl_pci_probe (err 0)
rtl8192de: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192de: Unknown symbol rtl_pci_probe (err 0)
rtl8192se: Unknown symbol rtl_pci_disconnect (err 0)
rtl8192se: Unknown symbol rtl_pci_probe (err 0)

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 20:17:28 +00:00
Hauke Mehrtens 2bdd1ae234 kernel: kmod-libphy, kmod-tg3: fix load order
This fixes the following error:
tg3: Unknown symbol mdiobus_alloc_size (err 0)
tg3: Unknown symbol phy_ethtool_sset (err 0)
tg3: Unknown symbol phy_mii_ioctl (err 0)
tg3: Unknown symbol phy_connect (err 0)
tg3: Unknown symbol mdiobus_register (err 0)
tg3: Unknown symbol mdiobus_free (err 0)
tg3: Unknown symbol phy_start (err 0)
tg3: Unknown symbol phy_start_aneg (err 0)
tg3: Unknown symbol mdiobus_unregister (err 0)
tg3: Unknown symbol phy_ethtool_gset (err 0)
tg3: Unknown symbol phy_stop (err 0)
tg3: Unknown symbol phy_disconnect (err 0)

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 19:57:44 +00:00
Hauke Mehrtens ab3ec94b7a kernel: kmod-ssb, kmod-b44: fix load order
This fixes the following error:
b44: Unknown symbol ssb_device_is_enabled (err 0)
b44: Unknown symbol ssb_pcicore_dev_irqvecs_enable (err 0)
b44: Unknown symbol ssb_bus_may_powerdown (err 0)
b44: Unknown symbol ssb_pcihost_register (err 0)
b44: Unknown symbol ssb_device_disable (err 0)
b44: Unknown symbol ssb_device_enable (err 0)
b44: Unknown symbol ssb_driver_unregister (err 0)
b44: Unknown symbol __ssb_driver_register (err 0)
b44: Unknown symbol ssb_bus_powerup (err 0)
b44: Unknown symbol ssb_clockspeed (err 0)
b44: Unknown symbol ssb_dma_translation (err 0)

Reported-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 19:56:04 +00:00
Hauke Mehrtens d5e0ff32f5 kernel: kmod-firewire: fix dependencies
This fixes the following error:
firewire_core: Unknown symbol crc_itu_t (err 0)

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 19:53:21 +00:00
Hauke Mehrtens db84347fba mac80211: do not download carl9170 firmware separately, but use the one from linux-firemware
linux-firemware contains the same version we loaded without this patch.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 19:43:38 +00:00
Hauke Mehrtens f3ad923690 kernel: kmod-fs-xfs: fix dependencies
This fixes the following error:
xfs: Unknown symbol exportfs_decode_fh (err 0)

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 19:41:00 +00:00
Hauke Mehrtens f9577f5342 kernel: kmod-usb-serial-keyspan: fix dependencies
This fixes the following error:
keyspan: Unknown symbol ezusb_fx1_ihex_firmware_download (err 0)

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 19:39:55 +00:00
Hauke Mehrtens 4d4d295222 ath10k: enable Atheros 802.11ac driver
This enables usage of the ath10k driver on OpenWrt. Only 2.0 PCI hardware
is supported. The ath10k firmware is currently only available
through github so use that as its source for now.

This goes build tested, not run time tested.

[Hauke: I did some minor changes]

Cc: ath10k@lists.infradead.org
Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Cc: Kathy Giori <kgiori@qca.qualcomm.com>
Cc: Mathieu Olivari <mathieu@qca.qualcomm.com>
Cc: Jerome Proffit <jproffit@qca.qualcomm.com>
Cc: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Cc: Matthew McClintock <mmcclint@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 19:35:14 +00:00
Luka Perkov 4b85b2d0bc [package] kobs-ng: add new package
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-03 23:22:16 +00:00
Jo-Philipp Wich 2099ed326c usbreset: rewrite to not rely on /proc/bus/usb anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-03 15:46:39 +00:00
Jo-Philipp Wich 92f58fd13c Add rpcd - an extensible backend server for ubus-over-json-rpc operations, session and acl management.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 15:36:51 +00:00
Gabor Juhos f8ecca468d package/rotary-gpio-custom: fix checkpatch errors module source
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 08:45:32 +00:00
Gabor Juhos 73ff40f78f package/w1-gpio-custom: fix checkpatch errors in module source
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 08:45:31 +00:00
Gabor Juhos fa446c4260 package/i2c-gpio-custom: fix checkpatch errors in module source
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 08:45:30 +00:00
Gabor Juhos 94082a9129 package/kernel: add spi-gpio-custom module
The package makes it possible to create custom SPI
buses via GPIO lines.

This module is based on i2c-gpio-custom and allows to
configure an SPI bus via GPIO lines and expose it to
userspace without rebuilding the kernel. This is maily
intended to connect microcontrollers and other simple
SPI devices without making an ad-hoc kernel driver.

Signed-off-by: Marco Burato <zmaster.adsl@gmail.com>
[juhosg:
  - change subject,
  - extend and reformat commit message,
  - cleanup checkpatch errors/warnings in module source]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 08:45:29 +00:00
Steven Barth 47c281f29c netfilter: Add IPv6-NAT support for kernel and ipt
Thanks to Berni, Adam Novak and Sedat Dilek for patches and inspiration

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-01 17:59:48 +00:00
Steven Barth 794da7c235 iptables: Update to 1.4.20
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-01 13:46:10 +00:00
Luka Perkov 766d4089cd [package] uboot-imx6: update to v2013.07
Update includes upstream support for Wandboard Quad too.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-29 23:06:31 +00:00
Luka Perkov 8901997bbc [package] uboot-envtools: update to v2013.07
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-29 23:06:29 +00:00
Felix Fietkau 91ad2566f0 netifd: update to the latest version, fixes a bridge handling corner case on config reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-29 22:20:36 +00:00
Gabor Juhos 8f394d587a mac80211: add a bunch of rt2x00 specific changes
Backport some rt2x00 specific changes from
wireless-testing/master-2013-08-26 to add
support for RT3573 based devices.

Also refresh the rt2x00 specific patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27 10:44:06 +00:00
Felix Fietkau 5a6f443323 mklibs: Fix mklibs usage when *.so files reside in subdirs
Currently package/Makefile only passes /lib /usr/lib and /usr/lib/ebtables
to mklibs. However, other libs can also reside in different subdirectories
(in my case /usr/lib/ipsec). Hence, create the list of library directories
dynamically.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-26 17:31:27 +00:00
Felix Fietkau 936bb7554e mac80211: merge a few ad-hoc mode fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-26 17:31:23 +00:00
Felix Fietkau 099f2e1bd5 mac80211: disable CCK rates for 802.11n clients on brcmsmac to fix crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-26 17:31:15 +00:00