Commit graph

8473 commits

Author SHA1 Message Date
Imre Kaloz
9a0d644f9e add device tree based initialization to wl12xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38933
2013-11-27 12:40:07 +00:00
Felix Fietkau
4e6043e691 mac80211: include 802.11n support when wl12xx is selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38927
2013-11-27 12:08:38 +00:00
Felix Fietkau
e1ce4331d3 ath9k: merge initval updates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38926
2013-11-27 10:56:05 +00:00
Imre Kaloz
c1aeede408 fix typo in wl128x firmware names
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38925
2013-11-27 09:02:17 +00:00
Imre Kaloz
4c3f2ed4ca hide package, it's needed all the time
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38924
2013-11-26 18:46:47 +00:00
Imre Kaloz
3b2c74e5db use plain image names inside the target directories
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38923
2013-11-26 18:45:51 +00:00
Imre Kaloz
eb811eadba wl12xx could need the wl128x firmware files, too
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38921
2013-11-26 17:46:45 +00:00
Felix Fietkau
78f4ab6fc0 mac80211: merge another round of upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38918
2013-11-26 11:25:31 +00:00
John Crispin
fc3c72aba6 ubox: the validation code has problems with the "(" char. use string for now
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38916
2013-11-26 07:50:05 +00:00
Felix Fietkau
15b4975925 hostapd: add support for auto-channel selection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38915
2013-11-25 15:43:30 +00:00
Felix Fietkau
1d75f7506d hostapd: update to version 2013-11-20
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38914
2013-11-25 15:43:15 +00:00
John Crispin
48de8ed52a kernel/modules: snd-pcm-dmaengine only if CONFIG_SND_DMAENGINE_PCM is set
Platforms without in-soc audio don't provide CONFIG_SND_DMAENGINE_PCM, thus
the module is not generated.

SVN-Revision: 38913
2013-11-25 14:09:48 +00:00
John Crispin
cba772f5bc pppd: Place plugin-specific options after plugin name.
Before this patch, if we specify a plugin specific option through
`pppd_options` in /etc/config/network, e.g. `rp_pppoe_verbose 1`, pppd
would quit with the following error in log.

    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): /usr/sbin/pppd: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.err pppd[1689]: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): pppd version 2.4.5
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): Usage: /usr/sbin/pppd [ options ], where options are:

This is due to the requirement that function add_option() should be
called by the plugin_init() function first before pppd can parse those
options.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 38911
2013-11-25 14:09:16 +00:00
John Crispin
93e9a71538 base-files: allow users to delect debug level during boot
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38909
2013-11-25 08:34:55 +00:00
John Crispin
91de2648e9 procd: update procd.sh to make use of the new validate_data tool
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38908
2013-11-25 08:34:47 +00:00
John Crispin
acec292e32 ubox: update the validate_data tool
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38907
2013-11-25 08:34:39 +00:00
John Crispin
637440c415 ubox: fix typo that caused log_file to not be validated properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38906
2013-11-25 08:34:31 +00:00
Felix Fietkau
5143157af8 uhttpd: update to the latest version, fixes crashes in the ubus plugin
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38888
2013-11-21 21:52:24 +00:00
John Crispin
3044b185d1 procd: fix the running hook #38868
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38885
2013-11-20 19:28:51 +00:00
Felix Fietkau
0707c6810a mac80211: fix reorder issues with multicast packets (client mode)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38883
2013-11-20 17:33:50 +00:00
Felix Fietkau
1a0ae39a7e mac80211: fix an overflow issue in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38882
2013-11-20 17:33:46 +00:00
John Crispin
1b3a423ad5 procd: add validation to the log init script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38879
2013-11-20 16:56:41 +00:00
Zoltan Herpai
17089f3f37 package: uboot-mxs: cosmetic fix
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38875
2013-11-20 10:15:02 +00:00
Felix Fietkau
7e77389bc5 mac80211: small rate control fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38874
2013-11-20 07:33:27 +00:00
John Crispin
a95eb4d672 libubox: fix compile error (#14497)
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38873
2013-11-19 21:54:51 +00:00
John Crispin
ee41b41a30 mtd: add a "mtd verify" call
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38871
2013-11-19 20:56:23 +00:00
John Crispin
fcea2ab05a libubox: ubox: procd: move md5.{c,h} to libubox
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38870
2013-11-19 20:56:11 +00:00
John Crispin
460bf6b0d7 procd: update to latest git head
* fix up the order of respawn parameters for ubus
* add a event broadcast function
* add debug level handover between preinit and main process
* make the service running trigger be queued directly after the service was startetd
* Allow process respawning forever

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

SVN-Revision: 38868
2013-11-19 16:33:50 +00:00
John Crispin
211ad78989 libubox: update to latest git head
add a renqueue_add_first() api

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

SVN-Revision: 38866
2013-11-19 16:31:47 +00:00
Felix Fietkau
c84a43cf40 procd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38862
2013-11-19 00:03:42 +00:00
Felix Fietkau
69598dd020 base-files: add the DEVICENAME variable for hotplug scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38861
2013-11-19 00:03:39 +00:00
Felix Fietkau
03fcc9bf43 ath9k: merge a few reset / calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38854
2013-11-18 19:58:53 +00:00
Felix Fietkau
cd1c8d463f 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>

SVN-Revision: 38852
2013-11-18 13:54:26 +00:00
Jo-Philipp Wich
bc9043cc53 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

SVN-Revision: 38849
2013-11-18 11:59:27 +00:00
Hauke Mehrtens
c9be7cfef9 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>

SVN-Revision: 38843
2013-11-17 17:57:37 +00:00
Hauke Mehrtens
df7e855df0 kernel: add vmxnet3 module
support VMware ethernet adapters

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

SVN-Revision: 38840
2013-11-17 16:41:40 +00:00
Hauke Mehrtens
1859b36bf7 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>

SVN-Revision: 38838
2013-11-17 16:14:58 +00:00
Hauke Mehrtens
2c26cd9bbd 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>

SVN-Revision: 38835
2013-11-17 15:52:55 +00:00
Hauke Mehrtens
51502a5e29 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>

SVN-Revision: 38833
2013-11-17 15:50:54 +00:00
John Crispin
5fbfffe7f4 procd: ubox: update to latest git head
move log service from procd to ubox
some debloating on procd
the preinit part of procd is now also a seperate binary

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

SVN-Revision: 38822
2013-11-16 20:20:30 +00:00
Steven Barth
b5a4fb1c95 6rd: Clear correct IPv6 address bits in 6rdcalc
The correct bits are now cleared in the IPv6 address as the shift
value to the correct byte in the IPv6 address was wrong. Depending
on the stack values this could result in a hanging 6rdcalc program
due to an endless loop.

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

SVN-Revision: 38818
2013-11-16 09:18:14 +00:00
Felix Fietkau
1f819564d1 openssl: add support for RIPEMD/160
RIPEMD is needed to update erlang and i'd like to enable RIPEMD160 support in openssh.

Size compared:

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

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

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

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

SVN-Revision: 38809
2013-11-14 20:42:15 +00:00
Felix Fietkau
d923eab86e rt2x00: fix a crash in the recent update (#14467)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38808
2013-11-14 20:32:36 +00:00
Felix Fietkau
ff17114ba1 ar71xx: Unifi AP Pro sysupgrade patch
The current implementation of mtd will not append the backup
file created by sysupgrade to the correct partition, as mtd will append
the data to first jffs2 partition it finds. As the kernel is also
stored on a jffs2 partition (which resides before the overlay
partition), the data will be appended to this partition.

To fix this problem, a new option

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

is added to mtd.

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

SVN-Revision: 38807
2013-11-14 19:38:54 +00:00
Gabor Juhos
b7914344ad base-files: add macaddr_canonicalize helper function
In commit r38690, the MAC address canonicalization
has been converted to use 'tr' instead of 'printf'.
This only works if with MAC addresses which uses
the 'xx:xx:xx:xx:xx:xx' format.

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

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

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

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

SVN-Revision: 38803
2013-11-14 17:44:42 +00:00
Felix Fietkau
4a977252f5 ath9k: add a fix to improve reliability of high bitrates on AR93xx/AR95xx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38802
2013-11-14 12:21:24 +00:00
Felix Fietkau
5113f2d6c2 mac80211: merge a patch that enables DFS for ad-hoc mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38801
2013-11-14 12:21:19 +00:00
Hauke Mehrtens
c43d2285e0 mac80211: update regdb.txt
This was copied from wireless-regdb.git commit a14052b85e5d70e37a31962a9c56c0cdbb9acafc

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

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

SVN-Revision: 38797
2013-11-13 22:36:12 +00:00
Hauke Mehrtens
0ade818cb7 zram-swap: fix dependencies
swapon/swapoff are no longer provided by swap-utils; they are provided
by block-mount instead.

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

SVN-Revision: 38795
2013-11-13 18:42:45 +00:00
Imre Kaloz
736db5f17c upgrade linux-firmware git revision, bump package version
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38792
2013-11-13 14:47:31 +00:00