Commit graph

8816 commits

Author SHA1 Message Date
Jo-Philipp Wich
b22ad85bc6 firewall: fix validation constraints
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 39649
2014-02-21 00:22:23 +00:00
Jo-Philipp Wich
354efde275 netifd: fix validation constraints
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 39648
2014-02-21 00:17:04 +00:00
Jo-Philipp Wich
21f4cf1a73 firewall: fix several ipset integration issues (#15016)
- Do not consider bitmap storage for IPv6 family sets
	- Move ipset family parameter before any additional option
	- Only emit family parameter for hash sets
	- Do not allow IPv6 iprange for IPv4 sets and vice versa

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

SVN-Revision: 39647
2014-02-20 23:20:10 +00:00
Steven Barth
12fa3eae23 6in4: add support for he.net updatekey
SVN-Revision: 39646
2014-02-20 21:36:15 +00:00
Nicolas Thill
41d3230b0c mac80211: disable libertas-sd on uml target
SVN-Revision: 39630
2014-02-18 22:15:52 +00:00
Nicolas Thill
ece85d2d25 uboot-envtools: pass target cflags
SVN-Revision: 39629
2014-02-18 22:11:24 +00:00
Steven Barth
97faa098a2 odhcp6c: readd userclass and vendorclass
SVN-Revision: 39628
2014-02-18 18:30:47 +00:00
John Crispin
0da7d381f0 odhcp6c: add validation rules to proto handler
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39624
2014-02-18 13:34:16 +00:00
John Crispin
159ee2bbd3 relayd: add uci validation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39623
2014-02-18 13:34:12 +00:00
John Crispin
7d4103ddd4 mac80211: add validation rules
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39622
2014-02-18 13:34:08 +00:00
John Crispin
8fb44e0d1e netifd: add validation support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39621
2014-02-18 13:34:04 +00:00
John Crispin
26e850dafa hostapd: add validation rules to wireless handler
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39620
2014-02-18 13:33:59 +00:00
John Crispin
ee5cb76c66 ppp: add validation rules to proto handler
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39619
2014-02-18 13:33:56 +00:00
John Crispin
ed72f7102c comgt: add validation rules to proto handler
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39618
2014-02-18 13:33:52 +00:00
John Crispin
15ebcfc04e firewall3: update init.d script to make use of procd
add validation data

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

SVN-Revision: 39617
2014-02-18 13:33:47 +00:00
John Crispin
f9f8948c6e ubox: logd did not register its config.reload trigger properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39616
2014-02-18 13:33:43 +00:00
John Crispin
7917a87d12 base-files: split /etc/init.d/boot into 2 files
this allows us to bind a procd trigger to system.@system[-1]

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

SVN-Revision: 39615
2014-02-18 13:33:40 +00:00
John Crispin
204e859542 netifd: update to latest git head
this adds support for proto and wireless handler adding uci validation rules

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

SVN-Revision: 39614
2014-02-18 13:33:36 +00:00
John Crispin
97ee2bc616 procd: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39613
2014-02-18 13:33:32 +00:00
John Crispin
b71eb4b5df procd: the helper script did not export all functions properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39612
2014-02-18 13:33:29 +00:00
John Crispin
9bf6569f68 authsae: update to latest version
Signed-off-by: Stefan May <smay@4finger.net>

SVN-Revision: 39608
2014-02-18 13:33:13 +00:00
John Crispin
408306633a openssl: fix up PKG_DEPENDS. there are 2 missing CONFIG_ prefixe
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39607
2014-02-18 13:33:08 +00:00
Felix Fietkau
27d9aa182c uci: update to latest version, adds preparation for validation support and blobmsg int64 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39606
2014-02-18 12:27:11 +00:00
Steven Barth
f906a7f565 odhcp6c: send reconfigure-accept again to be compliant
SVN-Revision: 39605
2014-02-17 20:31:21 +00:00
Steven Barth
2f2a73f862 odhcpd: Fix RA interval + add support for prefixes > 64 and < 97
SVN-Revision: 39604
2014-02-17 20:30:29 +00:00
Steven Barth
41acaaf893 netifd: work around dangling prefix kernel-routes (fixes #14963)
SVN-Revision: 39597
2014-02-16 11:20:22 +00:00
Luka Perkov
ddcd83e3df uboot-kirkwood: add support for Seagate GoFlexNet
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39594
2014-02-16 00:14:26 +00:00
Luka Perkov
777e7c3ff5 uboot-kirkwood: update to 2013.10
Tested on:

 * Cloud Engines Pogoplug E02
 * RaidSonic ICY BOX IB-NAS62x0
 * Iomega Iconnect

Some users are avoiding to replace their bootloader, because of that add
support for second stage u-boot image. Having ubifs capable bootloader is
required in order to boot current OpenWrt trunk.

Sample ib62x0 commands for running second stage bootloader:

tftpboot 0x800000 uboot-kirkwood-ib62x0_second_stage/openwrt-kirkwood-ib62x0_second_stage-u-boot.img
bootm 0x800000

Sample ib62x0 commands for flashing second stage bootloader:

tftpboot 0x800000 uboot-kirkwood-ib62x0_second_stage/openwrt-kirkwood-ib62x0_second_stage-u-boot.img
nand erase 0x100000 0x100000 ; nand write 0x800000 0x100000 0x${filesize}
nand read 0x800000 0x100000 0x100000 ; bootm 0x800000

While at it include parallel build support, use alphabetic order of the boards
and introduce common OpenWrt configuration.

Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-by (on ib62x0): Luka Perkov <luka@openwrt.org>
Tested-by (on dockstar): Alexander Couzens <lynxis@fe80.eu>
Tested-by (on iconnect): Wojciech Dubowik <wojciech.dubowik@neratec.com>
CC: Felix Kaechele <heffer@fedoraproject.org>
CC: Wojciech Dubowik <wojciech.dubowik@neratec.com>
CC: Alexander Couzens <lynxis@fe80.eu>
CC: Daniel Engberg <daniel.engberg@pyret.net>
CC: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39590
2014-02-15 23:53:07 +00:00
Steven Barth
af8f06beca netifd: fix source-routing breaking 6in4 + others
6in4 historically allowed an ip6addr without a mask however the newly
introduced source-routing segfaulted in this scenario (#14958 + #14858).

Fixes include: "Fix ubus route src mask printing" and
"Disable netlink auto ack" (thanks to Hans Dedecker)

SVN-Revision: 39586
2014-02-14 21:21:44 +00:00
Steven Barth
3194834c55 odhcp6c: remove source-restriction from local routes again (broke relaying)
SVN-Revision: 39575
2014-02-12 08:54:43 +00:00
Felix Fietkau
c0bec2b315 mac80211: send wpa frames through the WMM voice queue - improves connection reliability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39572
2014-02-11 15:00:55 +00:00
Felix Fietkau
cd7fb9a51f ath9k: add p2p client mode support powersave patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39571
2014-02-11 15:00:51 +00:00
Felix Fietkau
8e43f3443e rtl8187: fix crashes on mips caused by misaligned DMA and cache issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39570
2014-02-11 15:00:36 +00:00
Hauke Mehrtens
31fb795fd0 kernel: fix kmod-usb-phy-nop
phy-generic.ko was renamed and moved from kernel version to version.
kernel <= 3.9: nop-usb-xceiv.ko
kernel >= 3.10 && <= 3.11: phy-nop.ko
kernel >= 3.12: phy-generic.ko

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

SVN-Revision: 39563
2014-02-10 20:30:24 +00:00
Hauke Mehrtens
f73d6f102a kernel: fix kmod-usb-net-smsc95xx
smsc95xx.ko depends on crc16.ko on kernel >= 3.8
There was an additional kmod-usb-net-smsc95xx definition in the mxs
target code which conflicted with the one in the common area.

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

SVN-Revision: 39562
2014-02-10 20:12:13 +00:00
Imre Kaloz
3a347e3b2a phy-omap-control.ko is already part of a different package
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39560
2014-02-10 15:29:11 +00:00
Imre Kaloz
7b844260fa additional omap/musb related fixes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39559
2014-02-10 14:40:27 +00:00
Imre Kaloz
0a6385e942 fixup ethernet gadget, disable EEM support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39558
2014-02-10 14:38:22 +00:00
Imre Kaloz
c48e13cc9d package the driver for smsc95xx chips
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39556
2014-02-10 14:34:08 +00:00
Imre Kaloz
18675e9ea6 add additional omap related changes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39555
2014-02-09 17:08:33 +00:00
Imre Kaloz
6daafb74b9 additional musb fixups
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39554
2014-02-09 16:14:30 +00:00
Imre Kaloz
6b62eef492 musb depends on usb-gadget support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39550
2014-02-09 14:24:28 +00:00
Imre Kaloz
31a76badcb use musb in PIO mode, as DMA support is platform dependent
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39549
2014-02-09 14:08:10 +00:00
Imre Kaloz
8be96490d6 add more musb symbols
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39548
2014-02-09 14:02:59 +00:00
Imre Kaloz
f198091074 make musb available for omap as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39546
2014-02-09 13:36:10 +00:00
Imre Kaloz
ba6eb9a22c rename Kconfig symbol to the current one
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39544
2014-02-09 13:02:17 +00:00
Imre Kaloz
98e4ca00ed move some omap24xx modules to the generic Makefile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39543
2014-02-09 13:01:00 +00:00
Hauke Mehrtens
579e7d673b kernel: add kmod-usb-net-kalmia
This patch adds a new kernel module for Samsung USB LTE modems.

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

SVN-Revision: 39535
2014-02-08 16:54:44 +00:00
Hauke Mehrtens
8f0ffe9cc6 kernel: negate kernel version dependencies to fix config for new kernel versions
This fixes some problems on kernel 3.13 and also removes the reference to LINUX_3_7.

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

SVN-Revision: 39532
2014-02-08 15:34:12 +00:00
Hauke Mehrtens
274c16e81e mac80211: add led_trigger_blink{_oneshot}()
When led support is deactivated in the kernel and
CPTCFG_BACKPORT_BUILD_LEDS is set mac80211 references
led_trigger_blink_oneshot() but it is not declared anywhere.

This fixes the following build error:
net/mac80211/led.c: In function 'ieee80211_led_rx':
net/mac80211/led.c:25:2: error: implicit declaration of function 'led_trigger_blink_oneshot' [-Werror=implicit-function-declaration]

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

SVN-Revision: 39530
2014-02-08 12:19:22 +00:00
Hauke Mehrtens
06689aa5ed acx-mac80211: really fix the build
The fix in r39482 was wrong.

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

SVN-Revision: 39528
2014-02-08 11:30:20 +00:00
Felix Fietkau
da3053f25a ath9k: merge tx iq calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39527
2014-02-07 18:08:57 +00:00
Hauke Mehrtens
6d1fdf875a authsae: Update authsae to latest version
Only compile tested but the changes are minimal
f5693a3...1d1a122

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

SVN-Revision: 39518
2014-02-06 22:20:20 +00:00
Imre Kaloz
11155b27ad fix wl12xx compile error introduced in [39428]
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39506
2014-02-06 18:29:44 +00:00
Felix Fietkau
5a57185ea1 libpcap: disable some autodetected features to avoid extra dependencies and bloat
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39504
2014-02-06 12:40:28 +00:00
Steven Barth
c666dcfe08 odhcp6c: Fix timing and some regressions from yesterday
SVN-Revision: 39502
2014-02-06 10:38:02 +00:00
Hauke Mehrtens
3f07af337c iw: update to iw 3.14
- update iw to 3.14
- remove some patches that are obsolete
- 200-reduce_size.patch has new coalesce removed from Makefile matching prev. ver
- refresh patches

This increases the size of the binary by 6.7%:
  87801	   4400	    320	  92521	  16969	iw-3.10/iw
  93995	   4424	    324	  98743	  181b7	iw-3.14/iw

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

SVN-Revision: 39486
2014-02-05 20:52:34 +00:00
Hauke Mehrtens
55f1e68c74 kernel: kmod-fs-jfs
This patch adds journaled file system (JFS) kernel module support.

Signed-off-by: Gerald Matzka<mgerald21@yahoo.de>

SVN-Revision: 39484
2014-02-05 20:11:58 +00:00
Hauke Mehrtens
f0985524d1 acx-mac80211: fix build after recent mac80211 update and refresh patches
This was only build tested.

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

SVN-Revision: 39482
2014-02-05 20:02:48 +00:00
Steven Barth
ef7bc81961 odhcpd: fix homenet dhcpv6 filter
SVN-Revision: 39479
2014-02-05 15:42:02 +00:00
Steven Barth
05c9507cd3 odhcp6c: Add support for userclass and vendorclass
SVN-Revision: 39478
2014-02-05 14:56:37 +00:00
Felix Fietkau
8c737e1864 tcpdump: update to current upstream version 4.5.1
-size_of(old tcpdump-mini 4.2.1) = 145245 Byte
-size_of(new tcpdump-mini 4.5.1) = 149416 Byte
=> ~4.2 KByte increase

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

SVN-Revision: 39474
2014-02-05 09:54:38 +00:00
Felix Fietkau
e600fc0d23 libpcap: update to current upstream version 1.5.3
-size_of(old libpcap-1.3.0) = 85228 Byte
-size_of(new libpcap-1.5.3) = 88587 Byte
=> ~3.3 KByte increase

SVN-Revision: 39473
2014-02-05 09:54:34 +00:00
Zoltan Herpai
66543935db uboot-sunxi: various fixes - update A10-Lime support - fix MMC on sun5i with initializing PLL6 correctly
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39470
2014-02-05 08:39:38 +00:00
Jo-Philipp Wich
84bf8e1f1a linux: don't break kmod-fs-nfs for Kernels < 3.6.x
SVN-Revision: 39462
2014-02-04 15:55:03 +00:00
Jo-Philipp Wich
bc5b6efe23 linux: fix kmod-fs-nfs to include nfsv3.ko, it was split out of nfs.ko in Linux 3.6
SVN-Revision: 39459
2014-02-04 12:50:59 +00:00
Felix Fietkau
38587f87ed wifi: Introduce 802.11ac support
This patch introduces 802.11ac support to mac80211 and hostapd. The split of
VHT160 in two 80 MHz bands is not yet supported, since it requires an
additional user supplied parameter for the channel of the second band.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
[sven@open-mesh.com: Rebased patch, merged htmode and vhtmode,
removed special hwmode, replaced uci vht_capab list with overwritable
autoconfig, fixed hostapd integration, fixed commit description, add HT40+/-
for VHT modes, add VHT40 center_freq autoconfig, refactored major parts]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 39456
2014-02-03 13:31:44 +00:00
Felix Fietkau
169213a1b4 ath9k: merge a tx power handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39455
2014-02-03 10:53:24 +00:00
Steven Barth
02c763c4ab odhcp6c: Revert to slightly modified version of old behaviour
Latest changes broke source-restriction of on-link routes. Restoring
old-behaviour but adding correct source-restrictions which prevents
the offlink handler to remove the on-link route.

SVN-Revision: 39454
2014-02-03 09:06:25 +00:00
Steven Barth
a9a0b62785 odhcp6c: improve handling of RA on-link routes and addresses
SVN-Revision: 39451
2014-02-02 19:40:33 +00:00
Felix Fietkau
6106bdd002 mac80211: fix basic rate list processing in ad-hoc mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39450
2014-02-02 14:25:09 +00:00
Felix Fietkau
1d9a98689d libubox: update to latest version, fixes a jshn warning in json_get_values (#14891)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39449
2014-02-02 14:25:06 +00:00
Felix Fietkau
50417b58ad hostapd: do not get basic_rate as a simple string variable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39448
2014-02-02 14:25:02 +00:00
Felix Fietkau
c95698e596 mac80211: fix processing of the distance option (#14893)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39447
2014-02-02 14:02:56 +00:00
Felix Fietkau
b9a605b8bf mac80211: merge upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39442
2014-02-01 15:33:04 +00:00
Steven Barth
8fa06b7e3c odhcpd: fix internal router DHCPv4 filter
SVN-Revision: 39441
2014-02-01 13:33:05 +00:00
Jo-Philipp Wich
520a42f3c5 busybox: Add help documentation in menuconfig
Explaining why you shouldn't be here, and about version tainting.

Signed-off-by: Karl Palsson <karlp@remake.is>

SVN-Revision: 39440
2014-01-31 19:15:14 +00:00
Zoltan Herpai
16cbe62e9c sunxi: boot changes - Added uEnv.txt to facilitate automatic boot. - Cosmetic fix in u-boot Makefile - Don't force command line arguments
Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39438
2014-01-31 15:53:53 +00:00
Jo-Philipp Wich
6ae1433ab9 base-files: expose taint flags in /etc/openwrt_release
SVN-Revision: 39437
2014-01-31 15:48:47 +00:00
Felix Fietkau
cc7b3e2465 busybox: add a reworked implementation of menuconfig support, this time with a guard option that keeps all symbols at default values until an extra option is activated
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39435
2014-01-31 13:50:16 +00:00
Jo-Philipp Wich
c85705ce8d busybox: fix dependency on librpc (#14636)
SVN-Revision: 39434
2014-01-31 12:28:29 +00:00
Steven Barth
b965dab148 odhcp6c: several bugfixes and improvements
* Fixed broken stateless-mode (fixes #14863)
* Support for multiple IAIDs, improved server compatibility,
  improved NTP/SNTP support and other fixes (thanks to T-Labs)

SVN-Revision: 39433
2014-01-31 11:23:00 +00:00
Felix Fietkau
68cd44f975 ath9k: fix handling of the default chip pci id on ar93xx (#14886)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39432
2014-01-31 11:05:21 +00:00
Felix Fietkau
cfc20090f1 hostapd: fix basic rate list handling with netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39431
2014-01-31 10:43:18 +00:00
Gabor Juhos
bb8c34d98c kernel/modules: add xen-privcmd package
Also select that for kmod-xen-fs. Fixes the following build
error:

  Package kmod-xen-fs is missing dependencies for the following libraries:
  xen-privcmd.ko

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

SVN-Revision: 39430
2014-01-30 17:08:03 +00:00
Felix Fietkau
9abf24166a mac80211: refresh tarball with a newer backports version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39428
2014-01-30 15:55:59 +00:00
Felix Fietkau
eb7a1ba94b mac80211: update to wireless-testing 2014-01-23
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39427
2014-01-30 13:21:36 +00:00
Felix Fietkau
2725913d2a hostapd: fix frequency selection for ap+sta
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39426
2014-01-30 13:21:30 +00:00
John Crispin
5dcb4cc7d1 libubox: ubox: procd: ubus: update to latest git head
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39425
2014-01-30 09:02:58 +00:00
Jo-Philipp Wich
73344b9c56 Add sysfixtime init script, replacement of luci_fixtime
Simply scan for the most recent file in /etc and set
system time to this file modification time if it's in the future
It allow some time dependent program to work immediatly
without waiting for ntpd to sync

v1: v2: bad approach
v3: simply scan /etc, thanks to Bastian Bittorf for the idea
v4: use sort -n, thanks to Catalin Patulea
v5: use [] instead of [[]], thanks to Andreas Mohr
v6: use openwrt style, thanks to Bastian Bittorf

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

SVN-Revision: 39422
2014-01-29 13:17:03 +00:00
Jo-Philipp Wich
76e28f6b6e lldpd: build without libreadline
lldpcli uses libreadline for tab completion. libreadline take around 110kb.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 39421
2014-01-29 13:10:39 +00:00
Jo-Philipp Wich
b2593a3f49 lldpd: add missing lldpcli
lldpd calls on startup lldpcli to configure itself.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 39420
2014-01-29 13:10:35 +00:00
Jo-Philipp Wich
3aefca6b07 lldpd: push to version 0.7.7
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 39419
2014-01-29 13:10:31 +00:00
Jo-Philipp Wich
b5400c775e hostapd: Fix 80211w setup with netifd
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 39412
2014-01-28 21:12:45 +00:00
Jo-Philipp Wich
c1cb867c13 hostapd: Fix basic_rate setup with netifd
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 39411
2014-01-28 21:12:36 +00:00
Luka Perkov
ad48ba11db uboot-envtools: add support for wndr3700
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39380
2014-01-24 00:07:48 +00:00
Luka Perkov
d66d2ad104 base-files: add ucidef_add_switch_port function
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39372
2014-01-23 11:33:41 +00:00
Steven Barth
3787078b26 odhcpd: fix certain config values being overwritten
Thanks to Hans Dedecker for the fix.

SVN-Revision: 39371
2014-01-23 11:02:18 +00:00
Steven Barth
e1c5111997 6rd: Make don't fragment bit (df) a configurable variable
Make the IPv4 "do not fragment" bit a configurable variable for the 6rd
tunnel interface as the bit should not be set in the encapsulating IPv4
header according to RFC3056.
On top the config variable allows to enable/disable path mtu discovery
for tunnel interfaces.
Config variable can be passed to netifd as tunnel config support is
already present for the "do not fragment" bit.

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

SVN-Revision: 39370
2014-01-23 10:59:04 +00:00
John Crispin
eceea6d6e1 ubox: revert log buffer size changes
the fix horribly broke existing setups

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

SVN-Revision: 39366
2014-01-22 15:33:16 +00:00
John Crispin
9dc6030316 ubox: update to latest git head
make sure log buffer size is not bigger than the ubus message size

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

SVN-Revision: 39365
2014-01-21 20:59:04 +00:00
John Crispin
384a662e05 lantiq: fix unaligned access in vdsl firmware extractor
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39356
2014-01-21 09:51:16 +00:00
John Crispin
58dc9f593b procd: update to latest git head
Fixes OpenWrt bug #14832

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

SVN-Revision: 39352
2014-01-20 18:42:58 +00:00
Steven Barth
229d186490 netifd: don't add unnecessary NOP policy rules
SVN-Revision: 39351
2014-01-20 18:23:02 +00:00
Steven Barth
c67ec51c85 6in4: fix typo in config variable (fixes #14830)
SVN-Revision: 39347
2014-01-20 12:53:15 +00:00
John Crispin
1de0eac947 ubox: update to latest git head
adds option to set internal buffer size

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

SVN-Revision: 39333
2014-01-19 19:10:09 +00:00
Steven Barth
fac5e62abd firewall: don't reload if there were no address or data changes
This fixes packet loss due to reloading firewall every minute with IPv6
implementation of certain ISPs.

SVN-Revision: 39332
2014-01-19 17:35:33 +00:00
John Crispin
33dc3f2488 kernel: add usb3 module definitions
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39331
2014-01-19 17:27:40 +00:00
Steven Barth
471095f869 odhcpd: Fix a memory corruption when static leases are used
SVN-Revision: 39319
2014-01-18 10:11:03 +00:00
John Crispin
f18112883f sysupgrade: do not kill any processes in failsafe
sysugrade killed the lock causing failsafe to stop

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 39318
2014-01-17 22:12:05 +00:00
John Crispin
63a4342568 usbmode: update usb-modeswitch-data version to 20131113
https://dev.openwrt.org/ticket/14762

Signed-off-by: Alif M. Ahmad <ama_alif@yahoo.co.id>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39317
2014-01-17 21:45:55 +00:00
John Crispin
cd90b6242c ubox: update to latest git
- fix duplicate device wildcard
- fix elf 64bit elf parsing

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

SVN-Revision: 39316
2014-01-17 21:35:32 +00:00
Steven Barth
24ba434185 odhcpd: be even less verbose and don't start unnecessary relays
SVN-Revision: 39315
2014-01-17 19:05:54 +00:00
Steven Barth
2c9d868900 odhcpd: fix logspam
SVN-Revision: 39314
2014-01-17 15:53:43 +00:00
Steven Barth
17b0d874eb odhcpd: use hybrid management mode by default
SVN-Revision: 39313
2014-01-17 15:48:02 +00:00
Steven Barth
9ec0e5df14 dnsmasq: add dnsmasq.d config folder & improve odhcpd coexistence
SVN-Revision: 39312
2014-01-17 14:00:09 +00:00
Steven Barth
140a5b22d9 odhcp6c: Use sourcerouting by default
SVN-Revision: 39311
2014-01-17 14:00:04 +00:00
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