Commit Graph

8799 Commits

Author SHA1 Message Date
Felix Fietkau
7a260c3620 ath9k: merge initval and tx gain table updates, calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39001
2013-12-08 14:48:30 +00:00
Felix Fietkau
1c1d5fac2e mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39000
2013-12-08 14:48:25 +00:00
Imre Kaloz
48b4988e55 add support for the wl18xx, split wlcore from wl12xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38997
2013-12-06 14:07:13 +00:00
Steven Barth
4bdd40c08b odhcpd/6c: Add config menu for prefix class ext.
SVN-Revision: 38996
2013-12-05 12:17:09 +00:00
Felix Fietkau
95065c08b0 ath9k: fix length handling of unaggregated frames (might resolve some rts/cts issues)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38995
2013-12-04 22:59:36 +00:00
Steven Barth
fb6ebac74a odhcpd: Fix ubus integration
SVN-Revision: 38994
2013-12-04 13:14:27 +00:00
Felix Fietkau
ee2cd0354c mac80211: fix ad-hoc network setup with netifd (#14564)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38993
2013-12-03 16:22:56 +00:00
Felix Fietkau
4155016637 netifd: update to the latest version, improves wireless status output and fixes some bridge handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38992
2013-12-03 14:17:44 +00:00
Felix Fietkau
603c532eed hostapd: fix maclist processing with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38991
2013-12-03 09:02:58 +00:00
Felix Fietkau
6e0fafd816 wifi: restart netifd wifi interfaces on the "up" command like the old variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38990
2013-12-02 16:53:27 +00:00
Felix Fietkau
3c50feca19 wifi: rename the "reload" (restarting non-netifd wifi) command to "reload_legacy"
Add a new "reload" command that reloads the netifd config as well

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

SVN-Revision: 38989
2013-12-02 16:53:24 +00:00
Felix Fietkau
498d84fc4e netifd: add wireless configuration support and port mac80211 to the new framework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38988
2013-12-02 16:41:03 +00:00
Felix Fietkau
c9902e141e uci: update to the latest version, adds a small uci_to_blob fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38987
2013-12-02 13:08:17 +00:00
Felix Fietkau
a26242cb63 hostapd: change the wildcard for the hostapd control socket directory
prepare for using /var/run/hostapd instead of /var/run/hostapd-phy*

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

SVN-Revision: 38986
2013-12-02 13:08:14 +00:00
Felix Fietkau
9381eaccb3 wpa_supplicant: clean up hostapd control socket on exit to fix socket leak in ap+sta mode on wifi restarts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38985
2013-12-02 13:08:11 +00:00
Felix Fietkau
6960ae4e65 hostapd: fix os_daemonize vs starting process race by creating the pid file in the parent
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38984
2013-12-02 13:08:08 +00:00
Felix Fietkau
0d557b5fc4 libubox: update to latest version, adds some more jshn performance improvements and fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38983
2013-12-02 13:08:03 +00:00
Felix Fietkau
107bcb5de3 netifd: remove redundant calls to /sbin/wifi down
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38982
2013-12-02 13:08:00 +00:00
Felix Fietkau
5022b3949a hostapd: always include p2p options in wpa_cli
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38981
2013-12-02 13:07:46 +00:00
Hauke Mehrtens
23cd074371 mac80211: b43: improve PCIe host controller workaround
This is only needed by BCM4716 and not by BCM4706, I haven't seen any
problems there. Adds the write flush for some more parts where the phy
control regs are written.

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

SVN-Revision: 38977
2013-12-01 17:23:19 +00:00
Hauke Mehrtens
c61b38dacb mac80211: remove DMI_EXACT_MATCH
DMI_EXACT_MATCH was added to the kernel in version 3.10.21 and collides
with backports version. DMI_EXACT_MATCH is only used by the intel GPU
driver which is not build by OpenWrt, so remove it.

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

SVN-Revision: 38976
2013-12-01 17:20:32 +00:00
Imre Kaloz
f6b57149af FPU type should not interfere with the ABI selection. Also make sure we either do real soft-float or hard-float on ARM, with the right options.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38943
2013-11-29 10:59:51 +00:00
Jo-Philipp Wich
1029d341c5 ubox: fix handling of uci lists, prevent shell code injection from uci values (#14548)
SVN-Revision: 38938
2013-11-28 20:47:26 +00:00
Jo-Philipp Wich
cdbff3641b Revert "ubox: the validation code has problems with the "(" char. use string for now"
This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b.

SVN-Revision: 38937
2013-11-28 11:33:49 +00:00
Jo-Philipp Wich
1527f96ca6 busybox: do not abort sysntpd init if enable_server is unset, that variable just controls the server part for relaying NTP
SVN-Revision: 38936
2013-11-28 11:28:40 +00:00
Jo-Philipp Wich
387761e2fc procd: fix processing of datatype specification with spaces
SVN-Revision: 38935
2013-11-28 11:26:34 +00:00
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
Imre Kaloz
f5d8735c55 add another symbol for TI chipsets
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38791
2013-11-13 14:46:21 +00:00
John Crispin
a8163bfd16 procd: remove obselete script install reference Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38790
2013-11-13 12:15:06 +00:00
John Crispin
a9cfb4b827 procd: fixup 2 wrong option types
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38789
2013-11-13 11:07:24 +00:00
John Crispin
50db95e2f0 procd: options with default values are not parsed properly in the ubus register code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38788
2013-11-13 10:57:16 +00:00
John Crispin
1f93857092 procd: convert services to the new validation api
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38787
2013-11-13 10:49:41 +00:00
John Crispin
130d7de07f procd: update to latest git head
this includes the first wip version of the uci validation backend

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

SVN-Revision: 38786
2013-11-13 10:49:25 +00:00
Zoltan Herpai
5fa0e4fac0 uboot-sunxi: add U-boot builds for a couple sunxi boards
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38785
2013-11-13 10:49:22 +00:00
Felix Fietkau
5f1c42d8b6 mac80211: update to wireless-testing 2013-11-05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38783
2013-11-12 22:11:33 +00:00
Felix Fietkau
37756a97a0 hostapd: remove #ifdef MULTICALL around ap+sta support code (to support separately installed supplicant+hostapd)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38782
2013-11-12 22:11:14 +00:00
Zoltan Herpai
65f747a42d mxs: - update uboot-mxs to 3.10 - enable building uboot for imx23 along sbImage by default - (doc updated)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38781
2013-11-12 14:39:32 +00:00
Jo-Philipp Wich
7ad5350dfb Add patch to fix ipset timeout setting problem
Fixes #14325

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

SVN-Revision: 38779
2013-11-12 11:01:11 +00:00
Jo-Philipp Wich
c9bc0e12a9 Update ipset to version 6.20.1
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

SVN-Revision: 38778
2013-11-12 11:00:49 +00:00
Zoltan Herpai
dcd8a08be1 uboot-envtools: add support for mxs target
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 38776
2013-11-12 10:07:03 +00:00
Zoltan Herpai
b0b78d541d mxs: rename uboot-imx23 to uboot-mxs
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38774
2013-11-12 01:34:30 +00:00
Zoltan Herpai
ff41e07aa2 kernel: add new core sound module snd-pcm-dmaengine.ko for 3.12 kernels and above
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38772
2013-11-12 01:09:15 +00:00
Luka Perkov
1df0179b28 base-files: don't enter failsafe if triggered by switch
Fixes failsafe issues with switches after r38725.

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

SVN-Revision: 38770
2013-11-11 23:34:11 +00:00
Hauke Mehrtens
09fd5cbd4c broadcom-diag: add Belkin F7D3302/F7D7302
Signed-off-by: Cody P Schafer <devel@codyps.com>

SVN-Revision: 38768
2013-11-11 23:04:23 +00:00
Hauke Mehrtens
0d82bbb1fb base-files: don't kill nas for sysupgrade
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38766
2013-11-11 22:12:58 +00:00
Hauke Mehrtens
5c2f443075 broadcom-wl: version roll
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38765
2013-11-11 22:05:39 +00:00
Hauke Mehrtens
1f9a4fee5a broadcom-wl: support 'wds' interfaces on 'wl1' device
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38764
2013-11-11 22:05:20 +00:00
Hauke Mehrtens
753d52c2a4 broadcom-wl: support probe of 'wds' devices
'nas' requires probe of 'wds' devices to be successful;
so don't fail them.

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

SVN-Revision: 38763
2013-11-11 22:04:53 +00:00
Hauke Mehrtens
697f4a19e5 broadcom-wl: fix crash when starting multiple virtual interfaces
When enabling multiple VIFS, the driver sometimes crashes.  The frequency
of the crash increases as more VIFS are enabled.

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

SVN-Revision: 38762
2013-11-11 22:04:26 +00:00
Hauke Mehrtens
b98f77f3d9 broadcom-wl: perform additional cleanup on wl module unload
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38761
2013-11-11 22:03:58 +00:00
Zoltan Herpai
1789fda3fb kernel: of_i2c is moved into i2c-core in 3.12, add kernel version check into modules/i2c.mk
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38760
2013-11-11 22:03:35 +00:00
Hauke Mehrtens
df493faf12 broadcom-wl: support more virtual interfaces
Read the number of virtual interfaces to support from the device
capabilities; as some newer devices can support up to 16.

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

SVN-Revision: 38759
2013-11-11 22:03:25 +00:00
Hauke Mehrtens
c926edd72d broadcom-wl: improve device cleanup
Move all device cleanup to "disable_broadcom".

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

SVN-Revision: 38758
2013-11-11 22:02:45 +00:00
Hauke Mehrtens
3c2904bfb8 broadcom-wl: add support for setting H/W address
Some devices initialize with a default address (common to all H/W).
The address needs to be changeable so that a unique address can be
assigned to each AP.

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

SVN-Revision: 38757
2013-11-11 22:02:14 +00:00
Hauke Mehrtens
4ba2f2f731 broadcom-wl: eliminate 'invalid command' when setting ssid
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38756
2013-11-11 22:01:32 +00:00
Hauke Mehrtens
5b4c8c4cc8 broadcom-wl: clean up variable definitions (broadcom.sh)
Specify variables as 'local' where appropriate

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

SVN-Revision: 38755
2013-11-11 22:01:12 +00:00
Hauke Mehrtens
aa6a5baf88 broadcom-wl: simplify processing of 'hwmode'
Default gmode to "GOnly" unless explicitly overwridden.  This corrects
processing for 11ng to specify "GOnly" for gmode instead of "Auto"
(which translated to "bg").

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

SVN-Revision: 38754
2013-11-11 22:00:39 +00:00
Hauke Mehrtens
d1c55bb33e broadcom-wl: shutdown 'nas' when 'wl' device is disabled
'nas' must be shutdown independently for each 'wl' device to properly
support devices with multiple radios.  Do the shutdown when the device
is disabled instead of when it is brought up.

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

SVN-Revision: 38753
2013-11-11 21:59:58 +00:00
Hauke Mehrtens
091d80bea7 broadcom-wl: use a single instance of 'nas' per 'wl' device
A single instance of 'nas' can support multiple interfaces; there's
no need to run multiple instances.

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

SVN-Revision: 38752
2013-11-11 21:59:34 +00:00
Hauke Mehrtens
493f82e8ee broadcom-wl: fix whitespace handling
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38751
2013-11-11 21:59:07 +00:00
Hauke Mehrtens
1439dc3b9b broadcom-wl: update description for recently added
Update descriptions for 'phytype' and 'band'.

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

SVN-Revision: 38750
2013-11-11 21:58:42 +00:00
Hauke Mehrtens
40e8eb2dda broadcom-wl: fix band reporting
Modify the band reporting for broadcom devices to correctly report
HW capability.  Currently, 802.11na devices report "bgn"; but should be
reporting "an".

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

SVN-Revision: 38749
2013-11-11 21:58:19 +00:00
Hauke Mehrtens
cac4ccca2f broadcom-wl: change interface names
'netifd' treats all devices with a "." in their name as vlan devices.
Modify the name of virtual/WDS interfaces created by broadcom-wl to use
a "-" instead of a ".", so they will be treated as simple devices
by 'netifd'.

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

SVN-Revision: 38748
2013-11-11 21:57:26 +00:00
Hauke Mehrtens
c36d24ec82 broadcom-wl: fix compiler warning
Delete the return value (nvram_exit is declared with a 'void' return).

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

SVN-Revision: 38747
2013-11-11 21:56:45 +00:00
Hauke Mehrtens
20d64e929f iwinfo: don't report associations for broadcom wds interfaces
The associations list for Broadcom WDS interfaces are duplicate to those
reported by the corresponding AP interface; so there is no need to report
them again.

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

SVN-Revision: 38746
2013-11-11 21:54:55 +00:00
Hauke Mehrtens
e3a5401fb2 iwinfo: fix hwmodelist reporting for broadcom wl
Modify the hwmodelist reporting for broadcom devices to include
proper reporting of 802.11n support.

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

SVN-Revision: 38745
2013-11-11 21:54:25 +00:00
Jo-Philipp Wich
8a1d77efed uhttpd: return after processing -d switch, only set ubus prefix if not already defined
SVN-Revision: 38743
2013-11-11 19:14:01 +00:00
John Crispin
c902a76f4d base-files: fix typo in rfkill script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38742
2013-11-11 18:12:30 +00:00
John Crispin
989783255e uhttp: add ubus.default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38741
2013-11-11 18:12:26 +00:00
John Crispin
f48568af8e pppd: don't call modprobe at all from pppoatm
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38737
2013-11-11 13:40:28 +00:00
John Crispin
becac1abaf lantiq: dont install deu test manager
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38731
2013-11-11 12:22:12 +00:00
John Crispin
871744f5de base-files: update rfkill script to work with slider buttons
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38729
2013-11-11 12:19:22 +00:00
John Crispin
243179f9f6 base-files: add a generic wps button handler
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38726
2013-11-11 12:19:10 +00:00
John Crispin
40031fdf9b gpio-button-hotplug: add support for sliding switches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38725
2013-11-11 12:19:06 +00:00
John Crispin
3cc0f479dc uhttp: make the service auto respawn if it crashes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38724
2013-11-11 12:19:02 +00:00
John Crispin
9f3b161a57 uhttp: make sure that the ubus module is loaded when when installed
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38723
2013-11-11 12:18:58 +00:00
Imre Kaloz
7f4bdaa244 depend on the correct target
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38721
2013-11-11 11:51:54 +00:00
Felix Fietkau
f099defc00 procd: reduce the number of unnecessary calls to /sbin/hotplug-call for tty devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38705
2013-11-10 15:06:28 +00:00
Felix Fietkau
e78e720a6f netifd: remove connect_time from /var/state, it is unused
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38704
2013-11-10 10:01:33 +00:00
Hauke Mehrtens
80eb837491 broadcom-diag: fix sys button on Asus rt-n16
This closes: #14427.

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

SVN-Revision: 38701
2013-11-09 20:09:21 +00:00
Hauke Mehrtens
874650d235 brcm47xx: add detection for Linksys WRT54GS V1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38700
2013-11-09 20:08:09 +00:00
John Crispin
e75584e289 procd: update to latest git head
make sure that automatic respawning is turned off during upgrade

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

SVN-Revision: 38695
2013-11-08 21:53:37 +00:00
Imre Kaloz
06d0fda4d1 switch to 3.12, enable support for AM33xx/OMAP3
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38692
2013-11-08 12:44:38 +00:00
Imre Kaloz
1381fa6c5c rename the omap4 target to omap
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38691
2013-11-08 12:37:39 +00:00
Gabor Juhos
23cf426324 base-files: mtd_get_mac_ascii bugfix
The mtd_get_mac_ascii utility function was broken. This fixes it.

  - Remove the superfluous include of /lib/functions.sh. The
    function is already in that file so it is pointless,
  - only use a variable if the whole key word matches,
  - don't try to process the MAC address if it is empty,
  - use 'tr' to canonicalize the MAC address,

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
[juhosg: add more fixes, update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38690
2013-11-08 12:16:21 +00:00
Felix Fietkau
0615b9d83a mac80211: mark rt2x00 library packages as hidden, there's no point in allowing users to enable them without the packages that depend on them
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38684
2013-11-07 20:59:22 +00:00
Jo-Philipp Wich
5975c119e3 ubox: fix extroot/extoverlay mounting by label and support mounting by device name
SVN-Revision: 38680
2013-11-07 18:06:29 +00:00
John Crispin
9a000667e6 ubox: update to latest git head
support for specifying swap priority from the command line

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

SVN-Revision: 38679
2013-11-07 15:31:44 +00:00
John Crispin
f69788445c ubus: update to latest git head
adds support for events in the lua binding

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

SVN-Revision: 38678
2013-11-07 15:31:40 +00:00
John Crispin
8965a29bb0 button-hotplug: sync list of supported keys with gpio-button-hotplug
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38676
2013-11-07 12:46:20 +00:00
John Crispin
b5a90c8488 util-linux: cleanup description for swap-utils
swapon/swapoff are no longer provided by swap-utils, so remove them from
the description as well.

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

SVN-Revision: 38672
2013-11-07 12:46:04 +00:00
John Crispin
0d994f8135 busybox: don't enable swapon/swapoff by default
'swapon/swapoff' are now provided by 'block-mount'; enabling them by default in busybox is no longer required and adds unnecessary bloat.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38671
2013-11-07 12:46:00 +00:00
John Crispin
76506e7fa4 base-files: Make /etc/init.d/boot restartable
Only reload hostname and timezone config on /etc/init.d/boot restart.
Module loading and basic boot setup is only done during boot.

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

SVN-Revision: 38670
2013-11-07 12:45:57 +00:00
John Crispin
edf6236838 lantiq: fix vdsl-app dependency
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38666
2013-11-07 12:45:39 +00:00
Gabor Juhos
2d31dc039a package/ubox: fix jffs2 handling on MTD devices emulated by gluebi
The jffs2_ready() function in mount_root.c checks
the presence of various JFFS2 markers at the start
of a given MTD device. The function works on NOR
flashes because JFFS2 puts 'cleanmarker' nodes at
the start of freshly erased blocks.

However if jffs2 is used on a MTD device emulated
by the gluebi layer, the 'cleanmarker' nodes are
not present and the jffs2_ready() function fails.

Update the code to handle jffs2 correctly even on
MTD devices emulated by the gluebi layer.

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

SVN-Revision: 38654
2013-11-05 16:31:12 +00:00
Jo-Philipp Wich
5db9587b5f 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".

SVN-Revision: 38648
2013-11-04 22:40:56 +00:00
Hauke Mehrtens
a02ef5d05e kernel: fix dependencies of kmod-thermal
This depends on kmod-hwmon-core

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

SVN-Revision: 38639
2013-11-03 20:18:45 +00:00
Hauke Mehrtens
1f3c0f9c54 kernel: fix dependencies of usb-eth-gadget
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38638
2013-11-03 20:17:52 +00:00
Felix Fietkau
2c84ff42f7 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>

SVN-Revision: 38632
2013-10-31 17:36:24 +00:00
Felix Fietkau
e16f104a6f netifd: update to the latest version, fixes regression in proto-shell scripts (#14400, #14402)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38627
2013-10-31 11:22:01 +00:00
Imre Kaloz
b27b8b5bdd use a single package to build MLO/u-boot for all omap boards
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38626
2013-10-31 10:57:46 +00:00
Luka Perkov
ed676cf0ff uboot-imx6: update to 2013.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38625
2013-10-31 00:00:51 +00:00
Jo-Philipp Wich
8effe85ada cyassl: drop obsolete patches
SVN-Revision: 38610
2013-10-30 15:16:59 +00:00
Jo-Philipp Wich
5e8abac86f 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>

SVN-Revision: 38609
2013-10-30 13:19:48 +00:00
Felix Fietkau
fdfc296aaf ustream-ssl: update to the latest version, adds support for the current cyassl version (#14386)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38608
2013-10-30 12:56:47 +00:00
Felix Fietkau
ab9619b4c8 libubox: update to latest version, makes jshn roughly twice as fast
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38607
2013-10-30 11:25:05 +00:00
Felix Fietkau
22890e6382 netifd: update to latest version, adds fixes and some preparation for supporting wifi devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38606
2013-10-30 11:25:01 +00:00
Hauke Mehrtens
b81685f0a4 kernel: add missing dependency for kernel 3.12 in tg3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38605
2013-10-30 09:50:13 +00:00
Gabor Juhos
6b604495a4 uboot-ar71xx: make it depend on the generic ar71xx subtarget
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38599
2013-10-30 06:54:56 +00:00
Felix Fietkau
e93b585ff4 libubox: update to latest version, adds minor improvements to jshn, blobmsg and uloop
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38578
2013-10-29 14:12:06 +00:00
Steven Barth
dfa9ca772b 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

SVN-Revision: 38577
2013-10-29 13:23:28 +00:00
Jo-Philipp Wich
8e2106488a 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>

SVN-Revision: 38576
2013-10-29 09:53:48 +00:00
Luka Perkov
f7ccdbec75 kernel: add w1-master-mxc module
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38575
2013-10-29 02:52:17 +00:00
Felix Fietkau
e31ccd95c7 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>

SVN-Revision: 38559
2013-10-28 15:15:05 +00:00
Imre Kaloz
688ac024ac upgrade to 2.8.0
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38558
2013-10-28 14:34:59 +00:00
John Crispin
14457da13f gpio-button-hotplug: add support for power buttons
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38557
2013-10-28 13:45:57 +00:00
John Crispin
7f1463623f ubox: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38554
2013-10-28 06:48:04 +00:00
John Crispin
c81c814d6a kernel: add packages for sdhci support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38549
2013-10-28 06:47:20 +00:00
John Crispin
964c7e696b ubox: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38541
2013-10-26 12:25:11 +00:00
Luka Perkov
3d77352390 kernel: add keyboard-imx module
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38537
2013-10-25 10:29:49 +00:00
Florian Fainelli
ec41ca3a47 kernel: make kmod-pcnet32 depend on kmod-mii
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 38531
2013-10-25 01:47:45 +00:00
Florian Fainelli
294a57822e 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>

SVN-Revision: 38530
2013-10-25 01:47:32 +00:00
John Crispin
e37b364ea3 procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38529
2013-10-24 14:27:03 +00:00
Steven Barth
d8d0e2c536 odhcp6c: filter similar RAs spammed by some ISPs
SVN-Revision: 38505
2013-10-23 10:31:06 +00:00
Steven Barth
bb699867e0 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.

SVN-Revision: 38504
2013-10-23 10:25:26 +00:00
Steven Barth
a54f104701 odhcpd: fix cleaning of configuration on reload
SVN-Revision: 38503
2013-10-23 09:30:28 +00:00
Steven Barth
1ff15bfe83 6relayd: reduce fallout of RA spamming a bit
SVN-Revision: 38488
2013-10-21 10:26:57 +00:00
Felix Fietkau
537e301fab ath9k: gather entropy from raw ADC I/Q samples (use the least significant bit only)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38486
2013-10-20 17:51:17 +00:00
Felix Fietkau
39543ea6fc libubox: update to latest version, fixes ustream reuse and a few other minor issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38461
2013-10-19 16:24:38 +00:00
Steven Barth
91b173d231 netifd: Fix ifupdate events
SVN-Revision: 38458
2013-10-19 11:01:25 +00:00
Steven Barth
579e2df8c5 odhcpd: various bugfixes
SVN-Revision: 38454
2013-10-18 13:39:48 +00:00
Steven Barth
c3bcdd59de 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

SVN-Revision: 38453
2013-10-18 13:39:43 +00:00
Felix Fietkau
bc3d7c2f1b rt2800usb: merge a fix to slow down tx status polling (#13523)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38452
2013-10-18 13:39:10 +00:00
Jo-Philipp Wich
4f1e282238 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>

SVN-Revision: 38451
2013-10-18 11:47:47 +00:00
Jo-Philipp Wich
6da1c9d3ea 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>

SVN-Revision: 38449
2013-10-18 11:43:02 +00:00
Jo-Philipp Wich
c8e0c28c15 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>

SVN-Revision: 38448
2013-10-18 11:42:43 +00:00
Luka Perkov
494bc1d026 uboot-envtools: update to 2013.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38444
2013-10-18 00:39:28 +00:00
Steven Barth
56bc536713 netifd: rename customopts to sendopts for consistency
SVN-Revision: 38437
2013-10-17 13:12:06 +00:00
Steven Barth
c759b49a4f 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>

SVN-Revision: 38436
2013-10-17 12:55:40 +00:00
Steven Barth
7e13c80b3d odhcp6c: fix parsing of IA_PD adverts
SVN-Revision: 38433
2013-10-17 07:19:32 +00:00
Steven Barth
76dfe21a27 odhcpd: add new experimental dhcp-server
SVN-Revision: 38428
2013-10-16 09:03:55 +00:00
Luka Perkov
d8311375eb kernel: imx6: add modules needed for sgtl5000 audio codec
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 38427
2013-10-16 03:25:59 +00:00
Jo-Philipp Wich
fce216ac7e dropbear: add dropbear.nl mirror, provided by dropbear maintainer
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

SVN-Revision: 38413
2013-10-15 13:10:32 +00:00
Luka Perkov
5dc102ce04 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>

SVN-Revision: 38412
2013-10-15 12:42:58 +00:00
Jo-Philipp Wich
eda0fc3c6c openvpn-easy-rsa: restore essential patch to make it actually work on the target (#14324)
SVN-Revision: 38411
2013-10-15 12:23:21 +00:00
Luka Perkov
9eecccf652 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>

SVN-Revision: 38410
2013-10-15 11:32:28 +00:00
Luka Perkov
c15bec4a1b 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>

SVN-Revision: 38403
2013-10-14 19:46:43 +00:00
Felix Fietkau
e90e74000a rt2x00: fix rf id for rt3352 (#14322)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38399
2013-10-14 19:40:30 +00:00
Felix Fietkau
f1ea6d3c2d ath9k: add some more pending fixes / optimizations
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38398
2013-10-14 19:38:42 +00:00
Felix Fietkau
d21810a298 ath5k: fix tx status processing errors (causing packet loss and throughput issues)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38396
2013-10-14 19:20:05 +00:00
Felix Fietkau
b907e95125 ath9k: reduce rx buffer allocation size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38395
2013-10-14 19:20:02 +00:00
Zoltan Herpai
07043a853a 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>

SVN-Revision: 38394
2013-10-14 19:01:23 +00:00
Steven Barth
156ea733d4 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>

SVN-Revision: 38393
2013-10-14 18:53:02 +00:00
Jo-Philipp Wich
8833e789cc 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.

SVN-Revision: 38392
2013-10-14 13:01:06 +00:00
Steven Barth
cde419ebfc 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>

SVN-Revision: 38390
2013-10-14 08:09:58 +00:00
Hauke Mehrtens
232a654833 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>

SVN-Revision: 38389
2013-10-13 22:51:33 +00:00
Hauke Mehrtens
e1523b5504 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>

SVN-Revision: 38387
2013-10-13 22:15:31 +00:00
Hauke Mehrtens
59b362a204 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>

SVN-Revision: 38385
2013-10-13 20:25:12 +00:00
Hauke Mehrtens
c240ee84e9 zd1201: fix url to zd1201 firmware
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38378
2013-10-12 22:36:08 +00:00
Hauke Mehrtens
af32e63bae lantiq: add some missing PKG_SOURCE_URLs
These URLs where missing and causes build failures.

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

SVN-Revision: 38376
2013-10-12 22:33:55 +00:00
Luka Perkov
408af1f6c7 kernel: add kirkwood thermal module
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38371
2013-10-12 16:26:55 +00:00
Jonas Gorski
06f3f01b06 acx-mac80211: update to latest version
Fixes compilation for linux 3.10.

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

SVN-Revision: 38367
2013-10-12 10:50:35 +00:00
Jonas Gorski
8a240be62b 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>

SVN-Revision: 38366
2013-10-12 10:50:19 +00:00
Jo-Philipp Wich
78f69b66d4 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>

SVN-Revision: 38365
2013-10-11 18:33:15 +00:00
Felix Fietkau
a3cc10cba7 ath9k: fix rx issues introduced in my last commit (fixes #14307)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38362
2013-10-10 21:10:45 +00:00
Jo-Philipp Wich
db3013852a 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

SVN-Revision: 38361
2013-10-10 18:15:10 +00:00
Jo-Philipp Wich
5380fa27e9 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>

SVN-Revision: 38358
2013-10-10 14:58:12 +00:00
Jo-Philipp Wich
61e83f9c29 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>

SVN-Revision: 38356
2013-10-10 14:42:05 +00:00
Felix Fietkau
d45a1618eb ath9k: add some cleanups and minor fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38354
2013-10-10 14:31:22 +00:00
Luka Perkov
cdb871ac48 openvpn: rework initscript (fixes #14299)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38351
2013-10-09 11:25:09 +00:00
Felix Fietkau
d1794a7536 procd: fix command handling in procd_add_instance()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38350
2013-10-09 11:07:23 +00:00
Imre Kaloz
430e641a08 IPv6 support should depend on if we've enabled it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38349
2013-10-09 11:03:00 +00:00
Hauke Mehrtens
b814661167 mac80211: rtlwifi: Align private space in rtl_priv struct
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38346
2013-10-09 09:13:41 +00:00
John Crispin
925f37a5a6 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>

SVN-Revision: 38341
2013-10-08 15:08:33 +00:00
Felix Fietkau
ff40bc2db9 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>

SVN-Revision: 38339
2013-10-08 11:09:52 +00:00
Felix Fietkau
9beaea6fc2 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>

SVN-Revision: 38338
2013-10-08 11:09:48 +00:00
Felix Fietkau
246e9b449b 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>

SVN-Revision: 38337
2013-10-08 11:09:44 +00:00
Felix Fietkau
bcbc9b1e89 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>

SVN-Revision: 38336
2013-10-08 11:09:40 +00:00
Felix Fietkau
40aec9ed46 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>

SVN-Revision: 38335
2013-10-08 11:09:36 +00:00
Felix Fietkau
4689bc8517 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>

SVN-Revision: 38334
2013-10-08 11:09:27 +00:00
Hauke Mehrtens
c8e742a080 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>

SVN-Revision: 38333
2013-10-07 22:16:17 +00:00
Hauke Mehrtens
16675de754 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>

SVN-Revision: 38332
2013-10-07 21:49:28 +00:00
Luka Perkov
c5bd00d82a openvpn: switch to new procd init script style
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38331
2013-10-07 21:28:14 +00:00
Luka Perkov
d6415bf1bd polarssl: update to 1.2.9
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38330
2013-10-07 21:28:12 +00:00
John Crispin
c1316c09a1 lantiq: fix ltq_ptm compile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38329
2013-10-07 20:13:32 +00:00
Steven Barth
6dbfe22601 odhcp6c: improve server selection, introduce "forceprefix" option
SVN-Revision: 38314
2013-10-07 08:43:33 +00:00
Luka Perkov
702936f4c9 iproute2: update to 3.11
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38313
2013-10-07 08:26:41 +00:00
Felix Fietkau
048fc8f0c1 ath9k: fix tx queueing issues after background scans
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38304
2013-10-05 12:12:21 +00:00
Steven Barth
8b7b7cabf2 opkg: add support for SHA256 verification
based on a patch by Evan Hunt <each@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 38302
2013-10-04 05:56:20 +00:00
Felix Fietkau
e96695df10 netifd: update to latest version, adds macvlan support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38299
2013-10-03 14:51:34 +00:00
Hauke Mehrtens
caff3b5aee 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>

SVN-Revision: 38293
2013-10-02 23:14:08 +00:00
Steven Barth
03b0c3b5a6 package/index: fix index creating when building without signing
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 38287
2013-10-02 16:38:28 +00:00
Steven Barth
95e9c260bc odhcp6c: validate hop-limit on RAs
SVN-Revision: 38285
2013-10-02 14:16:05 +00:00
Steven Barth
cbdd346b11 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>

SVN-Revision: 38284
2013-10-02 12:12:10 +00:00
Steven Barth
0ad1d06c13 6relayd: remove compat ULA setting by default (too many bad sideeffects)
SVN-Revision: 38283
2013-10-02 06:14:39 +00:00
Hauke Mehrtens
302d27f268 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>

SVN-Revision: 38277
2013-10-01 22:41:46 +00:00
Hauke Mehrtens
c57ac5fcb7 kernel: add industrialio-triggered-buffer.ko only when the config option is selected.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38276
2013-10-01 22:40:32 +00:00
Hauke Mehrtens
1158f22b02 ep93xx: fix sound dependencies for ep93xx
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38274
2013-10-01 22:38:40 +00:00
Steven Barth
1d485c737e netifd: don't remove & readd addresses that only have a changed lifetime
SVN-Revision: 38269
2013-10-01 17:30:05 +00:00
Jo-Philipp Wich
2a2d408024 procd: fix incorrect use of sizeof() in vsnprintf()
SVN-Revision: 38268
2013-10-01 14:41:07 +00:00
John Crispin
52b61d6325 procd: update to latest git head
this fixes the syslog problem when using eglibc on x86.

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

SVN-Revision: 38267
2013-09-30 20:48:51 +00:00
John Crispin
391ec155a0 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>

SVN-Revision: 38262
2013-09-30 20:48:12 +00:00
Felix Fietkau
17be4e9d14 mac80211: add AP inactivity handling / probing fixes to improve stability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38257
2013-09-29 19:42:00 +00:00
Felix Fietkau
f07713f7cf mac80211: really fix the long standing wds ap tx power regression (#14153)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38255
2013-09-29 12:53:21 +00:00
Jo-Philipp Wich
a94b5fbd5c rpcd: fix missing option removal when merging subsequent uci set calls
SVN-Revision: 38254
2013-09-29 11:53:25 +00:00
Jo-Philipp Wich
d11315e7c6 ubus: restrict unix domain socket permission to 0600 to disallow non-root connections
SVN-Revision: 38253
2013-09-29 11:53:20 +00:00
Jo-Philipp Wich
feab77f58e 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.

SVN-Revision: 38252
2013-09-29 11:53:17 +00:00
Jo-Philipp Wich
2ff6d48319 uci: change uci_ptr checking order in uci_delete()
SVN-Revision: 38251
2013-09-29 11:53:10 +00:00
Felix Fietkau
f8ee248701 uhttpd: add a config option for using ustream-polarssl, and use it by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38250
2013-09-29 11:26:09 +00:00
Felix Fietkau
2beabf6c11 ath9k: fix an AP mode powersave issue with aggregation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38249
2013-09-29 11:07:58 +00:00
Jo-Philipp Wich
d8c154a29d 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.

SVN-Revision: 38248
2013-09-28 13:12:42 +00:00
Felix Fietkau
32d54de3b9 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>

SVN-Revision: 38247
2013-09-28 05:22:05 +00:00
Felix Fietkau
e2420239ae kernel: exclude regmap-spi.ko if SPI support cannot be selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38245
2013-09-27 21:12:15 +00:00
Felix Fietkau
1f037b5248 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>

SVN-Revision: 38242
2013-09-27 21:12:04 +00:00
Felix Fietkau
3c045e9933 kernel: remove old kernel compat code for pcmcia
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38239
2013-09-27 20:47:09 +00:00
Felix Fietkau
e232a92c08 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>

SVN-Revision: 38238
2013-09-27 20:44:11 +00:00
Luka Perkov
eb486aadb8 kernel: add thermal modules
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38230
2013-09-27 10:49:33 +00:00
Steven Barth
2d5448afb5 opkg: add build variant with signature support
SVN-Revision: 38220
2013-09-26 19:51:03 +00:00
Luka Perkov
3e5da21b15 uboot-imx6: fix typo in nitrogen6dlXg
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38205
2013-09-26 09:03:47 +00:00
Luka Perkov
64e10a637d uboot-imx6: add support for Nitrogen6x boards
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>

SVN-Revision: 38204
2013-09-26 08:36:12 +00:00
Luka Perkov
4409e1c1ae uboot-imx6: alphabetize wandboard variants
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>

SVN-Revision: 38203
2013-09-26 08:36:09 +00:00
Gabor Juhos
7530971113 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>

SVN-Revision: 38187
2013-09-25 18:00:35 +00:00
Gabor Juhos
4fcc9ce9ff 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>

SVN-Revision: 38186
2013-09-25 18:00:34 +00:00
Gabor Juhos
6ac0dfb280 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>

SVN-Revision: 38185
2013-09-25 18:00:33 +00:00
Felix Fietkau
59c05778f0 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>

SVN-Revision: 38171
2013-09-25 07:44:48 +00:00
Gabor Juhos
99d13b09b9 iwinfo: add Ubiquiti WispStation M5 to hardware.txt
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38145
2013-09-24 05:58:29 +00:00
Luka Perkov
ef5f836207 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>

SVN-Revision: 38142
2013-09-23 21:58:36 +00:00
Felix Fietkau
5137cdb1e1 xtables-addons: fix missing conversion from r38021 (resolves a broken dependency)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38124
2013-09-22 19:49:23 +00:00
Steven Barth
4894800bdd odhcp6c: handle NoAddrsAvail IA-status
SVN-Revision: 38092
2013-09-21 10:54:13 +00:00
Gabor Juhos
8b50ecc6ff 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>

SVN-Revision: 38073
2013-09-19 22:36:40 +00:00
Felix Fietkau
9d24525b1d kernel: add AutoProbe for ppp_async and ppp_synctty (should fix #14185)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38055
2013-09-19 06:33:53 +00:00
John Crispin
5799adc238 lantiq: fix bug in hcd gpio detetcion code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38043
2013-09-18 16:31:49 +00:00
Hauke Mehrtens
4c52ed50d7 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>

SVN-Revision: 38036
2013-09-18 14:33:54 +00:00
Felix Fietkau
50bc1a7593 ath9k: add missing tx locking
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38034
2013-09-18 13:24:55 +00:00
Steven Barth
808a1c7808 odhcp6c: Restart when server returns IAID error
SVN-Revision: 38032
2013-09-18 10:27:15 +00:00
John Crispin
1878a3d6ab lantiq: add v3.10 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38031
2013-09-17 21:46:10 +00:00
John Crispin
2b0cb17d42 lantiq: update packages for v3.10
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38028
2013-09-17 21:45:56 +00:00
John Crispin
950428fb1b base-files: add a post start hook for procd managed services
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38024
2013-09-17 21:45:34 +00:00
John Crispin
f874094402 procd: convert various packages to procd style init.d scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38023
2013-09-17 21:45:30 +00:00
John Crispin
4f62127dea procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38022
2013-09-17 21:45:24 +00:00
John Crispin
f12f4074af 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>

SVN-Revision: 38021
2013-09-17 21:45:17 +00:00
John Crispin
aa2109fb1f ubox: make use of modprobe
ubox now has modprobe support
build and install the tool

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

SVN-Revision: 38019
2013-09-17 21:45:01 +00:00
John Crispin
513d282d34 libubox: add packaging info for uloop lua binding
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38018
2013-09-17 21:44:52 +00:00
Felix Fietkau
b3ceaf834d ath9k: merge a fix for PS-Poll responses + aggregation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38017
2013-09-17 10:07:56 +00:00
Felix Fietkau
5d8cdd84e8 kernel: fix config symbol for kmod-crypto-hash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38015
2013-09-17 09:54:05 +00:00
Felix Fietkau
fd44388bbf mac80211: drop spoofed packets in ad-hoc mode (fixes #12427)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38013
2013-09-17 09:17:40 +00:00
Hauke Mehrtens
bf8cf89fc9 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>

SVN-Revision: 38008
2013-09-16 19:52:23 +00:00
Hauke Mehrtens
2b4e96fe09 broadcom-diag: Add WRT310N v1 gpio leds and buttons
Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 38007
2013-09-16 19:50:14 +00:00
Hauke Mehrtens
86405f2c4c 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>

SVN-Revision: 38001
2013-09-15 17:00:45 +00:00
Felix Fietkau
b2447d1fca hostapd: adjust the md5sum for the uploaded source tarball (fixes #14155)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37990
2013-09-14 20:07:35 +00:00
Felix Fietkau
7a704be4bb ath9k: add another minor tx path fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37985
2013-09-14 15:30:13 +00:00
Felix Fietkau
28eceb0343 iwinfo: when using nl80211, parse interface combinations instead of creating/deleting interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37983
2013-09-14 14:46:51 +00:00
Felix Fietkau
6eeb0261e6 ath9k: merge a fix for tx processing issues with aggregation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37982
2013-09-14 14:46:39 +00:00
Hauke Mehrtens
0c597a8f53 kernel: add missing config option
SVN-Revision: 37978
2013-09-13 20:39:23 +00:00
Hauke Mehrtens
b73b915c54 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>

SVN-Revision: 37977
2013-09-13 19:24:08 +00:00
Hauke Mehrtens
6c14f5f3a6 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>

SVN-Revision: 37970
2013-09-13 16:00:52 +00:00
Jo-Philipp Wich
c3cc912ed9 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

SVN-Revision: 37962
2013-09-13 13:24:45 +00:00
Jo-Philipp Wich
c6c1c381d6 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

SVN-Revision: 37961
2013-09-13 13:24:32 +00:00
Luka Perkov
15ea1a6d66 kernel: gsc depends on kmod-i2c-core
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37960
2013-09-12 23:38:54 +00:00
Steven Barth
eba3ab9ade odhcp6c: Timing workaround for buggy servers
SVN-Revision: 37951
2013-09-12 12:57:42 +00:00
Luka Perkov
e4c837f6d6 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>

SVN-Revision: 37950
2013-09-11 22:08:46 +00:00
Jo-Philipp Wich
106f3eab79 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

SVN-Revision: 37941
2013-09-11 12:13:33 +00:00
Luka Perkov
a43c2d4e6f kernel: add imx sata module
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37937
2013-09-10 22:26:37 +00:00
Luka Perkov
7d73153e86 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>

SVN-Revision: 37933
2013-09-10 22:26:30 +00:00
Felix Fietkau
7e6b26a1f3 openssl: add parallel build support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37927
2013-09-10 12:09:13 +00:00
Felix Fietkau
392ad68960 procd: update to latest version, adds udevtrigger improvements by juhosg
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37925
2013-09-10 11:32:07 +00:00
Felix Fietkau
247299bfa0 rt2x00: merge an rt2800 initialization order fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37922
2013-09-09 17:31:53 +00:00
Jo-Philipp Wich
e6d015489b 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

SVN-Revision: 37921
2013-09-09 14:35:15 +00:00
Felix Fietkau
768e6750d7 ath9k: clean up some patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37919
2013-09-08 09:38:38 +00:00
Felix Fietkau
249c396583 mac80211: merge a big batch of upstream changes/improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37918
2013-09-08 09:38:32 +00:00
Steven Barth
b2a71fedd9 odhcp6c: more compatibility fixes
SVN-Revision: 37907
2013-09-05 21:13:51 +00:00
Hauke Mehrtens
bdc04e379f 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>

SVN-Revision: 37905
2013-09-05 20:17:28 +00:00
Hauke Mehrtens
f9b790bd55 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>

SVN-Revision: 37904
2013-09-05 19:57:44 +00:00
Hauke Mehrtens
9af52f3a2c 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>

SVN-Revision: 37903
2013-09-05 19:56:04 +00:00
Hauke Mehrtens
fd561a47c5 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>

SVN-Revision: 37902
2013-09-05 19:53:21 +00:00
Hauke Mehrtens
11ae55cc95 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>

SVN-Revision: 37901
2013-09-05 19:43:38 +00:00
Hauke Mehrtens
14a65f1cfb 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>

SVN-Revision: 37900
2013-09-05 19:41:00 +00:00
Hauke Mehrtens
09a55136d7 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>

SVN-Revision: 37899
2013-09-05 19:39:55 +00:00
Hauke Mehrtens
82a2969100 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>

SVN-Revision: 37898
2013-09-05 19:35:14 +00:00
Luka Perkov
1eb21b87bd kobs-ng: add new package
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37894
2013-09-03 23:22:16 +00:00
Jo-Philipp Wich
e01fb70f1b usbreset: rewrite to not rely on /proc/bus/usb anymore
SVN-Revision: 37893
2013-09-03 15:46:39 +00:00
Jo-Philipp Wich
a6b26d9aea Add rpcd - an extensible backend server for ubus-over-json-rpc operations, session and acl management.
SVN-Revision: 37877
2013-09-02 15:36:51 +00:00
Gabor Juhos
b85c090177 package/rotary-gpio-custom: fix checkpatch errors module source
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37875
2013-09-02 08:45:32 +00:00
Gabor Juhos
1928106d0d package/w1-gpio-custom: fix checkpatch errors in module source
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37874
2013-09-02 08:45:31 +00:00
Gabor Juhos
f18a0d9547 package/i2c-gpio-custom: fix checkpatch errors in module source
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37873
2013-09-02 08:45:30 +00:00
Gabor Juhos
6bb50e4df1 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>

SVN-Revision: 37872
2013-09-02 08:45:29 +00:00
Steven Barth
0a85c59040 netfilter: Add IPv6-NAT support for kernel and ipt Thanks to Berni, Adam Novak and Sedat Dilek for patches and inspiration
SVN-Revision: 37866
2013-09-01 17:59:48 +00:00
Steven Barth
3e647ac9b6 iptables: Update to 1.4.20
SVN-Revision: 37865
2013-09-01 13:46:10 +00:00
Luka Perkov
e29acfd8e9 uboot-imx6: update to v2013.07
Update includes upstream support for Wandboard Quad too.

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

SVN-Revision: 37858
2013-08-29 23:06:31 +00:00
Luka Perkov
cdd6361649 uboot-envtools: update to v2013.07
SVN-Revision: 37857
2013-08-29 23:06:29 +00:00
Felix Fietkau
7fc90889d5 netifd: update to the latest version, fixes a bridge handling corner case on config reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37856
2013-08-29 22:20:36 +00:00
Gabor Juhos
6c29525f42 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>

SVN-Revision: 37843
2013-08-27 10:44:06 +00:00
Felix Fietkau
f91d09cabb 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>

SVN-Revision: 37841
2013-08-26 17:31:27 +00:00
Felix Fietkau
eaa8cb7834 mac80211: merge a few ad-hoc mode fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37840
2013-08-26 17:31:23 +00:00
Felix Fietkau
9cf157ac75 mac80211: disable CCK rates for 802.11n clients on brcmsmac to fix crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37839
2013-08-26 17:31:15 +00:00
Vasilis Tsiligiannis
03b1d4289b lldpd: Add libbsd dependency when using eglibc
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>

SVN-Revision: 37837
2013-08-25 18:47:08 +00:00
Zoltan Herpai
928d676274 uboot-imx23: add new package for i.MX233 boards
SVN-Revision: 37822
2013-08-22 19:28:06 +00:00
Luka Perkov
b04baf0d0c crypto: add missing depends for crypto-manager
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37817
2013-08-21 00:36:19 +00:00
Felix Fietkau
418e979e29 usbmode: update to latest version, includes fix from #14062
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37816
2013-08-20 18:25:20 +00:00
Luka Perkov
32b80b8653 uboot-env: fix spurious esac within ramips uci-defaults
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 37814
2013-08-19 13:01:17 +00:00
Hauke Mehrtens
2fc0c28345 broadcom-diag: remove BUFFALO_UNKNOWN
This was itriggered by to many non buffalo devices

This closes #14043.

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

SVN-Revision: 37804
2013-08-17 13:43:07 +00:00