Commit Graph

8799 Commits

Author SHA1 Message Date
Steven Barth
570eb45f23 odhcp6c: fix several small issues + decrease size
SVN-Revision: 39310
2014-01-17 14:00:00 +00:00
Steven Barth
684537f3e7 odhcpd: several bugfixes and improved integration
SVN-Revision: 39308
2014-01-17 13:59:51 +00:00
Steven Barth
a5ee266cd9 6in4, 6rd, 6to4: Use source-restricted routes by default
SVN-Revision: 39307
2014-01-17 13:59:47 +00:00
Steven Barth
bc8412b90e netifd: Add IFUPDATE-flags and use main IPv6 routing table again
SVN-Revision: 39306
2014-01-17 13:59:40 +00:00
John Crispin
9e39cd9503 kexec: bump to latest head revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39305
2014-01-17 13:57:25 +00:00
John Crispin
a844275f37 firewall: improve logging in hotplug script
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 39300
2014-01-15 18:29:59 +00:00
Zoltan Herpai
c87513de6b packages: ifenslave: add kernel dependencies as source was removed from 3.12
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39295
2014-01-15 09:28:41 +00:00
Hauke Mehrtens
45e3898a11 gpio-button-hotplug: add wwan button
The wimax key will be used as a generic wwan key starting with Linux
3.13. The brcm47xx target uses this key for the 3g buttons. Also remove
the ifdef around KEY_WPS_BUTTON, this is in the kernel for a long time
now.

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

SVN-Revision: 39290
2014-01-14 23:11:10 +00:00
Hauke Mehrtens
bf662d7cb0 packages: kernel: reverse kernel dependencies logic
This will select the correct dependencies also for more recent kernel versions.

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

SVN-Revision: 39289
2014-01-14 22:51:30 +00:00
John Crispin
4ae2d6f293 hostapd: fix mcast_rate setting
Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")

Reported-by: René van Weert <r.vanweert@sowifi.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>

SVN-Revision: 39288
2014-01-14 19:35:55 +00:00
Zoltan Herpai
795db05efb ipt-tproxy: nf_tproxy_core was moved out of 3.12, adding a check for kernel version
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39287
2014-01-14 14:09:35 +00:00
Florian Fainelli
c104e863d3 busybox: enable the devmem applet
The devmem applet allows poking at HW registers and as such is a
valuable tool to have to avoid recompiling kernels or resorting to
external HW adapters to modify HW behavior.

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

SVN-Revision: 39285
2014-01-14 05:24:09 +00:00
Zoltan Herpai
9a1e392592 fix 3.12 dependencies
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39275
2014-01-13 15:47:15 +00:00
Zoltan Herpai
01a2ff6925 uboot-sunxi: - add support for Cubietruck - cosmetic change: have the options listed alphabetically
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39261
2014-01-12 19:16:35 +00:00
Hauke Mehrtens
7987b3aa4d broadcom-diag: remove devices already supported by the kernel
This driver will soon be removed completely and the scripts are already
using the new API.

This also removes bcm57xx_init() which restarts the switch and is now
done by b53.

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

SVN-Revision: 39257
2014-01-12 18:57:16 +00:00
Hauke Mehrtens
30cf6f5815 brcm47xx: update some patches to versions in linux mainline
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39251
2014-01-12 18:54:38 +00:00
John Crispin
c990d04026 ubox: welcome to 2014
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39246
2014-01-12 14:07:01 +00:00
John Crispin
09a06d937e ubox: update to latest git - fixes error reporting Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39244
2014-01-12 14:03:10 +00:00
John Crispin
2bf5a25f87 mac80211: enable ralink ap+sta support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39239
2014-01-12 12:07:51 +00:00
John Crispin
c1a2a87f3a netifd: fix mac80211.sh to respect setting of mcast_rate
This patch fixes a bug in /lib/netifd/wireless/mac80211.sh, where
the UCI setting of wireless multicast traffic (in uci: mcast_rate)
is not respected within netifd. Especially in Freifunk mesh networks
the olsr routing as effected by this, as only the lowest mcast_rate
was used, even when uci ncast_rate was set to something else.
In function mac80211_setup_adhoc() the value of mcast_rate is missing
in json_get_vars.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>

SVN-Revision: 39232
2014-01-12 12:07:15 +00:00
John Crispin
2f9048d8d3 hostapd: fix frequency setting for IBSS/RSN
Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")

Reported-by: René van Weert <rene@sowifi.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>

SVN-Revision: 39231
2014-01-12 12:07:11 +00:00
John Crispin
4810de8e4b swconfig: improve usability when switch device incorrect
http://patchwork.openwrt.org/patch/4701/

Signed-off-by: Andreas Mohr <andim2@users.sf.net>

SVN-Revision: 39229
2014-01-12 12:07:01 +00:00
John Crispin
ace5076a35 libjson-c: also install .pc file for compatibility libjson
Older packages, which did not follow the renaming yet, do not
find the library otherwise via pkgconfig.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 39228
2014-01-12 12:06:57 +00:00
John Crispin
efad45bb0b samba: add browsable option
https://dev.openwrt.org/ticket/14682

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

SVN-Revision: 39227
2014-01-12 12:06:53 +00:00
John Crispin
bdb1865236 lantiq: fix atm compile
https://dev.openwrt.org/ticket/14633

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

SVN-Revision: 39226
2014-01-12 12:06:47 +00:00
Jo-Philipp Wich
f126298a7c rpcd: build, uci and session api fixes
- fix CMakeFile to support rpcd out of tree builds
	- fix a possible file descriptor leak in the session deserialization code
	- add uci.state call which is equivalent to uci -P /var/state get ...
	- make uci.changes "config" argument optional to allow listing all deltas in one go
	- fix inverted check in uci.commit and uci.revert, resulting in eroorneous permission denied responses
	- only trigger config change events if libuci was able to parse the config
	- rename misleading "commit" argument of uci.apply to the more appropriate name "rollback"

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

SVN-Revision: 39224
2014-01-12 11:52:40 +00:00
Zoltan Herpai
f8911b3197 uboot-sunxi: add support for Olinuxino A10 LIME
Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39221
2014-01-11 17:17:17 +00:00
Gabor Juhos
8384c0dba0 ath9k: add workaround for AR9331 USB host controller hang with USB1.1 devices
When wifi radio is reset, some bits in (undocumented) USB registers may
flip. Patch adds setting them after radio reset (channel change, up/down).
With this patch stability of USB1.1 full-speed devices, connected directly
to AR9331 host port (no USB2.0 hub) is improved.

See "ar9331's usb stability issue" OpenWrt forum thread for details:
  <https://forum.openwrt.org/viewtopic.php?id=39956>

Based on QCA's Open HAL WAR_USB_DISABLE_PLL_LOCK_DETECT() macro:
  <https://github.com/qca/qcamain_open_hal_public/blob/master/hal/ar9300/ar9300_reset.c#L74>

Adapted to Linux mac80211 driver for 8Devices Carambola2 board by Mantas Pucka:
  <b08b59ceb4>

Ported to latest OpenWrt BB branch and tested on TP-Link TL-WR703N by
Michel Stempin <michel.stempin@wanadoo.fr>.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
[juhosg: refresh and clean up the ath9k patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39212
2014-01-10 09:05:31 +00:00
Jo-Philipp Wich
6dcf878864 jsonpath: make output in non-export mode more shell friendly
SVN-Revision: 39211
2014-01-08 22:01:55 +00:00
Imre Kaloz
5c3cb628f8 upgrade the Linaro binutils to 2.24-2013.12
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39210
2014-01-07 15:03:55 +00:00
Imre Kaloz
7aaa9bc91c add x86_64 target support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39208
2014-01-07 12:23:35 +00:00
Zoltan Herpai
c2f62ecc25 add support for pcDuino board
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39192
2014-01-04 10:09:52 +00:00
Zoltan Herpai
4800b2c723 update version
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39191
2014-01-04 10:08:31 +00:00
Jo-Philipp Wich
2e02c2da18 Add jsonpath - a command line utility to extract values from JSON data using XPath-like expressions
SVN-Revision: 39185
2014-01-02 11:55:16 +00:00
Steven Barth
bc370646cd 6relayd: try to workaround race condition at startup
SVN-Revision: 39184
2014-01-02 11:38:36 +00:00
Felix Fietkau
20151a3394 netifd: initialize the switch early at start time and on reload (fixes #13015)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39183
2013-12-31 13:09:20 +00:00
Felix Fietkau
6865f1d6b2 netifd: update to the latest version, fixes wireless related segfaults on arm
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39180
2013-12-29 02:26:34 +00:00
Felix Fietkau
5607a13aa1 netifd: update to the latest version, fixes wifi related segfaults
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39176
2013-12-28 14:19:54 +00:00
Felix Fietkau
c7d23cbeb9 hostapd: fix mixed wep/wpa with netifd
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

SVN-Revision: 39174
2013-12-28 11:07:37 +00:00
Felix Fietkau
da886d761a hostapd: fix the uci option name for ap isolate
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39173
2013-12-28 11:07:28 +00:00
John Crispin
d1156bca0a swconfig: remove useless variables, return -1 on errors
spotted with cppcheck

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 39170
2013-12-27 21:15:20 +00:00
John Crispin
834204bda6 base-files: fix mount-utils incompatibility
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>

SVN-Revision: 39169
2013-12-27 21:15:09 +00:00
Imre Kaloz
ac8d562503 handle the Linaro version as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39164
2013-12-26 22:19:29 +00:00
Felix Fietkau
aab522e1e3 hostapd: fix wep with netifd
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>

SVN-Revision: 39156
2013-12-23 12:11:28 +00:00
Felix Fietkau
fd4cd3825b wpa_supplicant: fix interface combination parsing issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39155
2013-12-21 19:42:45 +00:00
Jo-Philipp Wich
df57b8dcb6 opkg: switch to git repository (#14655)
Upstream development now takes place in a git repository which was clone
from the old svn repository. Switch the source location to the git tree
using the commit that corresponds to the old svn r618 revision.

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

SVN-Revision: 39153
2013-12-21 13:47:46 +00:00
Jo-Philipp Wich
efce764f0e dnsmasq: rework init procedure
- cache udhcp check results to speed up subsequent reloads
	- enable procd file tracking for /var/etc/dnsmasq.conf to only reload service if needed
	- implement reload action to only restart dnsmasq if /var/etc/dnsmasq.conf actually changed
	- launch dnsmasq from interface hotplug to avoid race conditions with network bringup

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

SVN-Revision: 39152
2013-12-21 13:31:28 +00:00
Imre Kaloz
72f00c8de4 change fixup method and fix CFLAGS handling
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39151
2013-12-20 20:25:44 +00:00
Felix Fietkau
41cbd0a389 ath9k: merge a timer handling fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39150
2013-12-20 16:02:32 +00:00
Imre Kaloz
2b22d909fd handle new libs required for new kernels
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39142
2013-12-20 06:09:41 +00:00
Felix Fietkau
bac83378e7 ath9k: merge another round of upstream (or -pending) fixes and cleanups
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39138
2013-12-19 17:18:07 +00:00
Jo-Philipp Wich
de5d9827ef procd: fix service file tracking
The instance_config_move() function in the procd instance managing code is
missing a blobmsg_list_move() call to update the tracked file items with the
newly calculated checksums in case of a file change.

Without that change, services are always reloaded after the first change to
a tracked file regardless of whether there are any subsequent changes or not.

Add a missing instance of blobmsg_list_free() as well.

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

SVN-Revision: 39132
2013-12-18 15:38:28 +00:00
Jo-Philipp Wich
1789744958 netifd: add reload trigger for /etc/config/wireless as well
SVN-Revision: 39131
2013-12-18 12:38:29 +00:00
Felix Fietkau
d2329f88f3 busybox: add back support for top-level menuconfig based config overrides (can be used by custom packages to alter the config)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39125
2013-12-17 20:37:27 +00:00
Jonas Gorski
5c2aee90ac gpio-button-hotplug: fix crash on remove
Don't call gpio_keys_remove recursively. Setting the platform
data to NULL triggered an oops on the second iteration, so there was
no infinate loop.

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

SVN-Revision: 39124
2013-12-17 19:05:03 +00:00
Jo-Philipp Wich
7a24db90aa busybox: restore init scripts
Since the removal of the busybox menuconfig entries, the init scripts
for cron, telnet and ntp are not packaged anymore. Unconditionally
ship them from now on.

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

SVN-Revision: 39123
2013-12-17 17:17:00 +00:00
Jo-Philipp Wich
de5ebc19c0 firewall: fix handling of tcp_ecn parameter
The firewall3 implementation as well as the shell implementation predating it
used to process the tcp_ecnoption as boolean while it actually is an integer.

Change the code to parse tcp_ecn as integer.

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

SVN-Revision: 39122
2013-12-17 16:59:47 +00:00
Felix Fietkau
088eea282d iproute2: reduce .ipk package size from ~100k down to ~60k
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39119
2013-12-17 15:59:29 +00:00
Felix Fietkau
80b2fbc687 busybox: disable module utils, kmodloader provides them
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39118
2013-12-17 15:59:25 +00:00
Felix Fietkau
34839b95cf busybox: fix typo in Config.in (#14628)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39114
2013-12-17 07:17:00 +00:00
Luka Perkov
a9376b6fdb kernel: add rtc-ds1672 module support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39110
2013-12-17 02:47:16 +00:00
Felix Fietkau
7340bc73f2 busybox: add support for config overrides via env/busybox-config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39107
2013-12-16 19:27:35 +00:00
Felix Fietkau
405b5c2b92 busybox: remove busybox menuconfig from top level menuconfig
This will help with avoiding bogus bug reports caused by stale configs
and bad cases of user tinkering :)

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

SVN-Revision: 39106
2013-12-16 19:09:57 +00:00
Felix Fietkau
b6bcb7ff2d hostapd: move old wifi setup scripts to hostapd-common-old
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39103
2013-12-16 18:42:43 +00:00
Jo-Philipp Wich
eda27e8382 dnsmasq: switch to /lib/functions/network.sh
This commit changes the dnsmasq init script to use the interface
status exposed by netifd. The old references to scan_interfaces()
and (indirect) accesses to uci state variables are removed and
replaced with corresponding network_*() calls.

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

SVN-Revision: 39101
2013-12-16 16:47:41 +00:00
Jo-Philipp Wich
ef0ce72b39 base-files: ipcalc.sh: support bit length as netmask parameter
SVN-Revision: 39100
2013-12-16 16:29:23 +00:00
Jo-Philipp Wich
fe230cac18 base-files: add network_get_protocol() to /lib/functions/network.sh
SVN-Revision: 39099
2013-12-16 16:28:45 +00:00
Felix Fietkau
5d79ad06c1 mac80211: fix AP mode scanning issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39098
2013-12-16 15:45:57 +00:00
Felix Fietkau
12c05542e8 netifd: update to latest version, fixes a null pointer crash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39088
2013-12-16 10:08:13 +00:00
Felix Fietkau
4b03d33e31 ath9k: fix interrupt storms on AR913x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39062
2013-12-15 20:23:00 +00:00
Steven Barth
e49d67f192 Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interface
SVN-Revision: 39061
2013-12-15 19:38:53 +00:00
Steven Barth
fd50416248 odhcp6c: add source routing support
SVN-Revision: 39058
2013-12-15 19:10:20 +00:00
Jo-Philipp Wich
e444eb0bbd uhttpd: don't process ubus_* and lua_* options if corresponding plugin is not installed (#14618)
SVN-Revision: 39057
2013-12-15 15:32:37 +00:00
Felix Fietkau
a55649082a ath9k: merge another round of cleanups and fixes submitted to linux-wireless
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39054
2013-12-14 17:07:08 +00:00
Felix Fietkau
9084b75506 ath9k: merge an interrupt processing fix for AR5008-AR9002
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39053
2013-12-14 16:40:27 +00:00
Felix Fietkau
5991eb39b9 kernel: move BLKCIPHER into crypto-core to avoid pulling in crypto-manager for arc4 (used by mac80211)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39052
2013-12-14 16:40:24 +00:00
Felix Fietkau
ce062a7b5c netifd: update to the latest version, adds a revert of the link state handling patches which caused regressions in combination with wifi devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39050
2013-12-14 14:59:05 +00:00
Felix Fietkau
6cb542d6a4 openssl: Support multi-threaded applications
Allow multi-threaded applications to work properly by
removing the "no-threads" flag that is enabled by default.

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

SVN-Revision: 39048
2013-12-14 10:19:48 +00:00
Felix Fietkau
000a20ee96 usbmode: add an init script to switch devices that show up too early for the hotplug script
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39047
2013-12-13 16:43:15 +00:00
Felix Fietkau
47730fe355 netifd: prevent an unnecessary restart of netifd-managed wifi interfaces at boot time
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39046
2013-12-13 16:43:11 +00:00
Imre Kaloz
1eff212ce8 fix jffs2 with internal libgcc and switch omap4 to ext4
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39044
2013-12-13 16:38:43 +00:00
Felix Fietkau
9c3adcb2e6 iw: reduce size and make the phy dump output more readable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39041
2013-12-13 11:02:05 +00:00
Felix Fietkau
594442a37e opkg: do not add blank "Provides:" fields to package metadata
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39039
2013-12-13 10:40:26 +00:00
Felix Fietkau
b656a56225 /sbin/wifi: reload network/wireless on wifi restart
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39036
2013-12-11 19:48:19 +00:00
Felix Fietkau
3f744a4ad3 netifd: fix crashes triggered by adding/removing wireless devices on reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39035
2013-12-11 18:23:52 +00:00
Luka Perkov
bda5d40721 kernel: add CAN modules
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39032
2013-12-11 10:56:08 +00:00
Jo-Philipp Wich
10972d9f02 mac80211: add missing set_default to fix stray "radio0: sh: bad number" messages
SVN-Revision: 39028
2013-12-10 16:24:52 +00:00
Jo-Philipp Wich
32223b3c4d hostapd: fix short_preamble option
SVN-Revision: 39027
2013-12-10 16:24:48 +00:00
John Crispin
d24434db0a libevent2: Configure with --disable-debug-mode
Saves around 10K.

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

SVN-Revision: 39025
2013-12-09 18:26:58 +00:00
John Crispin
67e71176cb ubox: fix logging support. the initial connect failed
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39024
2013-12-09 18:24:30 +00:00
John Crispin
dda5dfb765 procd: update procd, add ulimit support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39023
2013-12-09 17:38:19 +00:00
John Crispin
e231f82cc0 ubox: fix up pidcount handling inside log.init
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39022
2013-12-09 17:29:44 +00:00
John Crispin
bc76dec31f gpio-button-hotplug: add irq mode to driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39021
2013-12-09 17:29:39 +00:00
John Crispin
31a2912cd9 netifd: enable coredumps again
got broken due procd startup. Requires procd resource limit patch.

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

SVN-Revision: 39020
2013-12-09 17:29:34 +00:00
Luka Perkov
98009790c6 kernel: module updates for 3.12
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39008
2013-12-09 11:30:18 +00:00
Luka Perkov
3ceb6b3274 base-files: fix whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39006
2013-12-09 11:30:14 +00:00
Jo-Philipp Wich
18dd101903 hostapd: properly parse wmm and hidden uci options (#14589)
SVN-Revision: 39005
2013-12-08 20:51:21 +00:00
Felix Fietkau
6242255df2 netifd: update to the latest version, adds tunnel fixes by Hans Dedecker and adds back support for multiple networks per wifi-iface
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39004
2013-12-08 18:00:05 +00:00
Felix Fietkau
be0395261b mac80211: fix using custom wifi-iface ifname option with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39003
2013-12-08 18:00:01 +00:00
Felix Fietkau
f56030265d mac80211: merge an ibss dfs locking fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39002
2013-12-08 14:48:34 +00:00
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