Commit Graph

10611 Commits (42da94bdabeaee96a1271387354e67b98892292a)

Author SHA1 Message Date
John Crispin 046d71e316 libubox: update to latest git head
add a renqueue_add_first() api

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 16:31:47 +00:00
Felix Fietkau a91d911f7d procd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 00:03:42 +00:00
Felix Fietkau 37d0d29e51 base-files: add the DEVICENAME variable for hotplug scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 00:03:39 +00:00
Felix Fietkau 0aabd7a6fb ath9k: merge a few reset / calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 19:58:53 +00:00
Felix Fietkau 5e8561171f hostapd: remove random pool support - the entropy it gathers is questionable and we have better entropy sources on common platforms now
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 13:54:26 +00:00
Jo-Philipp Wich 80b1b67538 firewall: optimize DNAT rules and skip invalid rules and redirects (#14485)
- instead of writing one (or more) ACCEPT rules in the filter table
	  for each redirect install a global ctstate DNAT accept rule per zone

	- discard rules and redirects which have invalid options set instead
	  of silently skipping the invalid values

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 11:59:27 +00:00
Hauke Mehrtens 7e70d76869 mac80211: ath10k: add board.bin file again
This file is still needed with the new firmware.

This fixes r38835.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-17 17:57:37 +00:00
Hauke Mehrtens 4b052a3a31 kernel: add vmxnet3 module
support VMware ethernet adapters

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-17 16:41:40 +00:00
Hauke Mehrtens 62686e2dcc xfsprogs: move to submenu Filesystem
move xfsprogs to the right submenu
e2fsprogs, btrfs-progs and other stuff is there already

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-17 16:14:58 +00:00
Hauke Mehrtens 3c54529fe5 mac80211: update ath10k firmware
Current version of ath10k in the recently updated wireless-testing
package requires a new firmware. This patch fixes the issue.

v2:
* fix (hopefully) the mangled whitespaces
* actually install the new firmware instead of the old

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-17 15:52:55 +00:00
Hauke Mehrtens f50a8dafe8 mac80211: add blink api backport
This patch was copied from a more recent backports versions. This fixes 
a build problem with kernel < 3.6.

This closes #14475

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-17 15:50:54 +00:00
John Crispin 5ff54b79ef procd: ubox: update to latest git head
move log service from procd to ubox
some debloating on procd
the preinit part of procd is now also a seperate binary

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-16 20:20:30 +00:00
Steven Barth 1c82c32e7d 6rd: Clear correct IPv6 address bits in 6rdcalc
The correct bits are now cleared in the IPv6 address as the shift
value to the correct byte in the IPv6 address was wrong. Depending
on the stack values this could result in a hanging 6rdcalc program
due to an endless loop.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-16 09:18:14 +00:00
Felix Fietkau 2aa808585a openssl: add support for RIPEMD/160
RIPEMD is needed to update erlang and i'd like to enable RIPEMD160 support in openssh.

Size compared:

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

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

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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-14 20:42:15 +00:00
Felix Fietkau f1283076f5 rt2x00: fix a crash in the recent update (#14467)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-14 20:32:36 +00:00
Felix Fietkau 9383e3c3c4 ar71xx: Unifi AP Pro sysupgrade patch
The current implementation of mtd will not append the backup
file created by sysupgrade to the correct partition, as mtd will append
the data to first jffs2 partition it finds. As the kernel is also
stored on a jffs2 partition (which resides before the overlay
partition), the data will be appended to this partition.

To fix this problem, a new option

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

is added to mtd.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-14 19:38:54 +00:00
Gabor Juhos 3e44099b61 base-files: add macaddr_canonicalize helper function
In commit r38690, the MAC address canonicalization
has been converted to use 'tr' instead of 'printf'.
This only works if with MAC addresses which uses
the 'xx:xx:xx:xx:xx:xx' format.

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

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

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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-14 17:44:42 +00:00
Felix Fietkau 6bb46d75aa ath9k: add a fix to improve reliability of high bitrates on AR93xx/AR95xx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-14 12:21:24 +00:00
Felix Fietkau 6cf6b29d48 mac80211: merge a patch that enables DFS for ad-hoc mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-14 12:21:19 +00:00
Hauke Mehrtens c94aeffb15 mac80211: update regdb.txt
This was copied from wireless-regdb.git commit a14052b85e5d70e37a31962a9c56c0cdbb9acafc

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

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 22:36:12 +00:00
Hauke Mehrtens 0543130adb zram-swap: fix dependencies
swapon/swapoff are no longer provided by swap-utils; they are provided
by block-mount instead.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 18:42:45 +00:00
Imre Kaloz ddc2c451de [mac80211]: upgrade linux-firmware git revision, bump package version
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 14:47:31 +00:00
Imre Kaloz bfc6c44d29 [mac80211]: add another symbol for TI chipsets
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 14:46:21 +00:00
John Crispin b003254478 procd: remove obselete script install reference
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 12:15:06 +00:00
John Crispin fdb2563eb3 procd: fixup 2 wrong option types
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 11:07:24 +00:00
John Crispin e41c835cee procd: options with default values are not parsed properly in the ubus register code
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 10:57:16 +00:00
John Crispin a79f9a758e procd: convert services to the new validation api
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 10:49:41 +00:00
John Crispin 57b91e4f39 procd: update to latest git head
this includes the first wip version of the uci validation backend

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 10:49:25 +00:00
Zoltan HERPAI 411e18ee5c [package]: uboot-sunxi: add U-boot builds for a couple sunxi boards
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-13 10:49:22 +00:00
Felix Fietkau d32df2f65a mac80211: update to wireless-testing 2013-11-05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 22:11:33 +00:00
Felix Fietkau 23e82fd7ba hostapd: remove #ifdef MULTICALL around ap+sta support code (to support separately installed supplicant+hostapd)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 22:11:14 +00:00
Zoltan HERPAI 47c8b34757 mxs: - update uboot-mxs to 3.10
- enable building uboot for imx23 along sbImage by default
 - (doc updated)

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 14:39:32 +00:00
Jo-Philipp Wich 77bc939d2c Add patch to fix ipset timeout setting problem
Fixes #14325

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 11:01:11 +00:00
Jo-Philipp Wich 3a19342a08 Update ipset to version 6.20.1
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 11:00:49 +00:00
Zoltan HERPAI b4e6bd6786 uboot-envtools: add support for mxs target
Signed-off-by: Michael Heimpold <mhei@heimpold.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 10:07:03 +00:00
Zoltan HERPAI 6513d84d1c mxs: rename uboot-imx23 to uboot-mxs
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 01:34:30 +00:00
Zoltan HERPAI b24b40932a kernel: add new core sound module snd-pcm-dmaengine.ko for 3.12 kernels and above
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-12 01:09:15 +00:00
Luka Perkov a2f5118bb7 [package] base-files: don't enter failsafe if triggered by switch
Fixes failsafe issues with switches after r38725.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 23:34:11 +00:00
Hauke Mehrtens 1a205f982c broadcom-diag: add Belkin F7D3302/F7D7302
Signed-off-by: Cody P Schafer <devel@codyps.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 23:04:23 +00:00
Hauke Mehrtens f82ba95657 base-files: don't kill nas for sysupgrade
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:12:58 +00:00
Hauke Mehrtens 661dc32082 broadcom-wl: version roll
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:05:39 +00:00
Hauke Mehrtens 29418a1d69 broadcom-wl: support 'wds' interfaces on 'wl1' device
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:05:20 +00:00
Hauke Mehrtens 1da00ae3cd broadcom-wl: support probe of 'wds' devices
'nas' requires probe of 'wds' devices to be successful;
so don't fail them.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:04:53 +00:00
Hauke Mehrtens cb7afcc906 broadcom-wl: fix crash when starting multiple virtual interfaces
When enabling multiple VIFS, the driver sometimes crashes.  The frequency
of the crash increases as more VIFS are enabled.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:04:26 +00:00
Hauke Mehrtens e3fa6d1b8f broadcom-wl: perform additional cleanup on wl module unload
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:03:58 +00:00
Zoltan HERPAI 0b335e2ac2 kernel: of_i2c is moved into i2c-core in 3.12, add kernel version check into modules/i2c.mk
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:03:35 +00:00
Hauke Mehrtens e46232e69a broadcom-wl: support more virtual interfaces
Read the number of virtual interfaces to support from the device
capabilities; as some newer devices can support up to 16.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:03:25 +00:00
Hauke Mehrtens dc0ff18316 broadcom-wl: improve device cleanup
Move all device cleanup to "disable_broadcom".

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:02:45 +00:00
Hauke Mehrtens be7a5ba554 broadcom-wl: add support for setting H/W address
Some devices initialize with a default address (common to all H/W).
The address needs to be changeable so that a unique address can be
assigned to each AP.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:02:14 +00:00
Hauke Mehrtens 5e70448157 broadcom-wl: eliminate 'invalid command' when setting ssid
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11 22:01:32 +00:00