Commit graph

8061 commits

Author SHA1 Message Date
Jo-Philipp Wich
541fbfbb9e hostapd: correctly handle macfile uci option
Make hostapd.sh correctly handle the macfile uci option.

Such option specifies the macfile name to pass into the
hostapd configuration file. Moreover, if a maclist option
has been specified, copy the macfile before appending new
entries.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>

SVN-Revision: 36944
2013-06-17 11:59:29 +00:00
Jo-Philipp Wich
dfea3bae11 dnsmasq: use host-record instead of address
Using "--address" for individual host A records is broken, use "--host-record" instead.
The following patch changes dnsmasq.init to build individual host records using "--host-record" instead of "--address".

Signed-off-by: Adam Gensler <openwrt at gnslr.us>

[jow: shorter description, simplified shell script code]

SVN-Revision: 36943
2013-06-17 11:55:30 +00:00
Jo-Philipp Wich
265a2deba3 base-files: network.sh: extend network_get_ipaddr6() / network_get_subnet6() to take ipv6-prefix-assignment into account, add further helper functions to fetch all ips of a given interface
SVN-Revision: 36942
2013-06-17 11:33:36 +00:00
Felix Fietkau
749e989215 ath9k: revert parts of the ANI changes in the latest mac80211 update to fix regressions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36941
2013-06-16 12:56:16 +00:00
Felix Fietkau
50f12e1b98 mac80211: fix disabling rfkill support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36940
2013-06-16 09:25:41 +00:00
Felix Fietkau
5ca4d24cd1 mac80211: update to wireless-testing 2013-06-13 + latest backport infrastructure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36939
2013-06-15 20:14:06 +00:00
Jo-Philipp Wich
36d3fafd77 firewall: update to git head
- properly process intermediate "!" options in argument list (fixes negated ipsets)

SVN-Revision: 36935
2013-06-13 18:54:49 +00:00
Jo-Philipp Wich
0db38adf1c firewall: update to git head
- fixes handling of reject target for rule sections with specific destination zone

SVN-Revision: 36933
2013-06-13 12:49:00 +00:00
Jo-Philipp Wich
1150e299bb uhttpd: expose missing options to uci
SVN-Revision: 36932
2013-06-13 11:55:12 +00:00
Steven Barth
302cf427cb odhcp6c: add sanity checks for NDP and MTU parameters from RAs
SVN-Revision: 36930
2013-06-13 06:38:48 +00:00
Hauke Mehrtens
4e0c649783 kernel: add dependencies for kernel 3.10
SVN-Revision: 36925
2013-06-12 13:59:34 +00:00
Steven Barth
4f0a0defa6 6relayd: make route preference and prefix on-link flag configurable
SVN-Revision: 36922
2013-06-11 20:52:27 +00:00
Steven Barth
33c620773d base-files: remove unnecessary early sysctl-hack
SVN-Revision: 36920
2013-06-11 14:10:45 +00:00
Steven Barth
e2f33bedfa base-files: set default IPv6 forwarding value to 1
SVN-Revision: 36918
2013-06-11 13:30:18 +00:00
Felix Fietkau
361670c9d0 uci: update to fix excessive reorder delta entry duplication (#13678)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36915
2013-06-11 12:51:08 +00:00
Felix Fietkau
cf3643f586 libubox: update to latest version, fixes an uloop use-after-free bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36914
2013-06-11 11:46:54 +00:00
Steven Barth
f6dd266c97 iproute2: add drop-failed rule action (patch by Jonas Gorski)
SVN-Revision: 36910
2013-06-11 09:27:46 +00:00
Felix Fietkau
9fb5bf176e netifd: update to latest version, uses the new uci/blob code from libuci
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36909
2013-06-10 12:42:30 +00:00
Felix Fietkau
69636a944a uci: update to latest version, adds uci<->blobmsg conversion code from netifd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36908
2013-06-10 12:42:25 +00:00
Felix Fietkau
15f17901f9 libubox: update to latest version, adds some helper function
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36907
2013-06-10 12:42:20 +00:00
Steven Barth
5caa45d0b3 ppp: correctly handle address when reloading
SVN-Revision: 36904
2013-06-10 10:42:34 +00:00
Steven Barth
491deaed2c netifd: improve reloading behaviour
SVN-Revision: 36903
2013-06-10 10:42:15 +00:00
John Crispin
e40f830383 lantiq: atm: Use a tasklet to handle incoming packets. Fix #12917.
Incoming packets are now processes in a tasklet instead of in the
irq handler; this should improve latency.

This patch is based on a previous version of ltq-atm driver, which
did implement a tasklet.

It has been tested on a arv4518pw with a
Lantiq Danube for about a month and it seems to work well.

Signed-off-by: Luca Dariz <luca.dariz@gmail.com>
Tested-by: Luca Dariz <luca.dariz@gmail.com>

SVN-Revision: 36902
2013-06-10 08:25:17 +00:00
John Crispin
e078f649b5 procd: make the preinit rules wildcard all buttons for failsafe
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36896
2013-06-10 08:24:44 +00:00
John Crispin
9c01967ab7 procd: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36895
2013-06-10 08:24:39 +00:00
John Crispin
1c109c2653 ubox: update to latest git revision
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36894
2013-06-10 08:24:35 +00:00
John Crispin
1f52c5a72c sysupgrade: create state file so procd knows when a sysupgrade is in progress
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36893
2013-06-10 08:24:31 +00:00
John Crispin
dff1529d2a modules: make all led and button modules used during boot priority 1
This makes sure the modules are symlinked in /etc/modules-boot.d/

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

SVN-Revision: 36892
2013-06-10 08:24:25 +00:00
John Crispin
5e45a68a4a base-files: fix failsafe via button press
entering failsafe by pressing a button during boot was broken for procd as init

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

SVN-Revision: 36891
2013-06-10 08:24:13 +00:00
John Crispin
9353e01af4 base-files: change PATH order
This allows packages to override busybox applets by placing the new
binaries in /usr/{sbin,bin}

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

SVN-Revision: 36890
2013-06-10 08:24:02 +00:00
Jo-Philipp Wich
bc73ca5619 iwinfo: add phyname attribute, this is useful to group networks by radio phy
SVN-Revision: 36889
2013-06-09 14:39:14 +00:00
Jo-Philipp Wich
cb24c37858 libiwinfo: ignore log messages from wpa_supplicant while scanning
wpa_supplicant may send log and event messages intermixed with the
expected scan results.  This makes "iwinfo wlan0 scan" and LuCI
"site survey" display nothing when many AP's are around.

Eliminate the CTRL-EVENT-BSS-ADDED events, interspersed log messages,
lines with unexpected format.  Increase timeout to handle the max
number of channels (2.4, 3.6, 4.9, 5 GHz).  Insure receive buffer is
null-terminated.

Signed-off-by: Jean-Pierre Tosoni <jp.tosoni@acksys.fr>

SVN-Revision: 36888
2013-06-09 14:39:09 +00:00
Steven Barth
f995c90329 netifd: Improve IPv6 source-routing policies
SVN-Revision: 36884
2013-06-08 13:26:33 +00:00
Jonas Gorski
b9de8ca7f5 netifd: bring wifi down before shutting down
works around wifiX references not being freed on network restart.

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

SVN-Revision: 36883
2013-06-08 11:44:12 +00:00
Felix Fietkau
23aa9546ce ath9k: fix paprd descriptor setup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36881
2013-06-07 16:11:56 +00:00
Felix Fietkau
0924782279 ath9k: improve multicast buffering handling, take care of the MORE_DATA flag properly
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36880
2013-06-07 16:04:06 +00:00
Jo-Philipp Wich
e7b15446a8 firewall: udpate to git head (#13652, #13654, #13658)
- optimizes chain usage for ingress rules
  - adds limit match support for redirect rules
  - fixes automatic redirect dest detection on little endian systems
  - leaves base chains in place on reload to allow user rules to target e.g. "reject"

SVN-Revision: 36871
2013-06-06 14:12:02 +00:00
Jo-Philipp Wich
5cf06bd17b firewall: copy libext*.a from staging dir and drop kernel.mk includes, solves problem with colliding CONFIG_IPV6 symbols
SVN-Revision: 36868
2013-06-06 14:02:29 +00:00
Jo-Philipp Wich
e94cf1c72b iptables: install libext*.a into staging dir
SVN-Revision: 36867
2013-06-06 14:02:24 +00:00
Steven Barth
3f67360012 base-files: use less entropy when generating ULAs
SVN-Revision: 36865
2013-06-06 09:52:00 +00:00
Felix Fietkau
29464f1367 ath9k: fix a regression in the powersave handling related changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36859
2013-06-05 19:16:20 +00:00
Felix Fietkau
1d301e00af ath9k: merge a fix for ar9550 eeprom access
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36858
2013-06-05 19:16:16 +00:00
Nicolas Thill
eed8141976 kmod-usb-net-cdc-mbim: fix module loading
cdc_mbim should be loaded after cdc_ncm (closes: #13562)

SVN-Revision: 36856
2013-06-05 14:34:50 +00:00
Jo-Philipp Wich
ecc95dcba8 firewall: update to git head (#13652)
- simplifies using ipsets for rules and redirects, match direction can be specified in-place like option ipset 'setname src dst dst'
  - uses zone_name_src_ACTION chains for input rules, this fixes logging with log enabled src zones

SVN-Revision: 36854
2013-06-05 11:40:40 +00:00
Jo-Philipp Wich
0a74d9d5c3 firewall3: fix accidentally changed install directive
SVN-Revision: 36840
2013-06-04 12:30:50 +00:00
Jo-Philipp Wich
07a3110e88 firewall: fix git source url
SVN-Revision: 36839
2013-06-04 12:23:47 +00:00
Jo-Philipp Wich
b721c92221 firewall3: rename to firewall, move into base system menu, update to git head with compatibility fixes for AA
SVN-Revision: 36838
2013-06-04 12:21:52 +00:00
Jo-Philipp Wich
0dd6753c09 Drop legacy firewall package
SVN-Revision: 36837
2013-06-04 12:21:44 +00:00
Imre Kaloz
8170c9cfb0 add some more symbols
SVN-Revision: 36834
2013-06-04 11:23:27 +00:00
Jo-Philipp Wich
6f60308257 firewall3: update to git head (#13641)
* Fixes wrong chain used for zone forward policy

SVN-Revision: 36830
2013-06-04 10:26:49 +00:00
Felix Fietkau
d401a206d9 ath9k: fix some issues in the ap powersave fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36829
2013-06-04 10:21:44 +00:00
Felix Fietkau
2d4b5405f7 ath9k: fix a null pointer deref issue in the powersave fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36828
2013-06-03 20:58:28 +00:00
Jo-Philipp Wich
6eeca5176e firewall3: update to git head
- Fixes problems with reusing matches or targets from loadable extensions

SVN-Revision: 36826
2013-06-03 16:38:29 +00:00
Felix Fietkau
791c103df7 ath9k: prevent excessive buffered multicast traffic from drowning out regular traffic
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36825
2013-06-03 14:15:57 +00:00
Felix Fietkau
532aee10fd ath9k: improve AP mode powersave buffering handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36824
2013-06-03 14:15:52 +00:00
Felix Fietkau
b35dfca744 ath9k: increase ANI poll interval to 300 ms to get it close to the listen period
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36823
2013-06-03 14:15:43 +00:00
Felix Fietkau
8c69057980 uhttpd: update to latest version, fixes CGI related crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36817
2013-06-01 21:43:06 +00:00
Steven Barth
089d6612ce 6relayd: Work around Windows DHCPv6 quirks Announcing deprecated addresses breaks Windows clients
SVN-Revision: 36815
2013-06-01 17:51:02 +00:00
Felix Fietkau
452c80f8ec usbmode: fix hotplug script name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36813
2013-05-31 15:42:23 +00:00
Felix Fietkau
b1df77669d replace usb-modeswitch with a rewrite that should be more reliable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36812
2013-05-31 15:41:17 +00:00
Felix Fietkau
041ac5dbff procd: update to the latest version, fixes restarting stopped instances based on init script restart
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36811
2013-05-31 15:41:12 +00:00
Steven Barth
7ae506c7d4 odhcp6c: work around spurious false-positive address DECLINEs
SVN-Revision: 36809
2013-05-31 13:49:17 +00:00
Jo-Philipp Wich
3bb397c997 firewall3: use list notation for default zone network config to avoid "uci add_list" coercing the value wrongly
SVN-Revision: 36806
2013-05-31 13:23:23 +00:00
Steven Barth
bf582fbb7b odhcp6c: fix handling of multiple RAs in a row
SVN-Revision: 36804
2013-05-31 10:02:39 +00:00
Felix Fietkau
e8db72083a libubox: update to latest version, fixes some ustream issues that might be affecting uhttpd
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36803
2013-05-31 09:19:38 +00:00
John Crispin
ee65d346d9 procd: update to latest git revision
* add support for rcS
* logread can relay log via tcp
* make sure directories are created before mknod is called

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

SVN-Revision: 36776
2013-05-30 16:00:06 +00:00
Steven Barth
cdc3caf533 6relayd: Better compatibility with misbheaving DHCPv6 clients * Make the "best" address / prefix the first one being announced * Only add the "best" address to the hosts-file
SVN-Revision: 36772
2013-05-30 15:42:30 +00:00
Steven Barth
519f27cd33 netifd: updated IPv6 prefix delegation * Added support for prefix classes * Various bugfixes
SVN-Revision: 36771
2013-05-30 15:42:25 +00:00
Felix Fietkau
02fe12c00d uhttpd: update again to fix a ubus plugin crash bug
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36770
2013-05-30 13:16:38 +00:00
Felix Fietkau
eeb7fdc13e uhttpd: update to latest version, fixes script timeout for ubus requests
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36767
2013-05-30 10:44:20 +00:00
Felix Fietkau
5b19028c5c ubus: update to latest version, fixes a crash on request cancelling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36766
2013-05-30 10:44:16 +00:00
Steven Barth
dc6625f977 6relayd: more verbosity in leases and logging
SVN-Revision: 36764
2013-05-30 07:56:55 +00:00
Steven Barth
56a3396bf2 iptables: bump to 1.4.19.1
SVN-Revision: 36760
2013-05-29 14:58:04 +00:00
Felix Fietkau
0edabea0b1 ubus: update to latest version, fixes json-c library name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36759
2013-05-29 10:54:09 +00:00
Felix Fietkau
1afe1f0a7e json-c: drop compatibility libraries
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36758
2013-05-29 10:49:22 +00:00
Felix Fietkau
f61933b3e8 libjson-c: Update to 0.11
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 36757
2013-05-29 10:31:53 +00:00
Felix Fietkau
1c2b8fdc08 libubox: update to latest version, adds support for the new json-c and adds a new blobmsg_json helper
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36756
2013-05-29 10:31:49 +00:00
Luka Perkov
5fbc56cfdc uboot-imx6: add new package
SVN-Revision: 36754
2013-05-29 01:27:30 +00:00
Felix Fietkau
6e5dd8c0b9 mac80211: fix a crash issue introduced in the active monitor code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36751
2013-05-28 21:20:22 +00:00
Steven Barth
439fdd4d65 netifd: fix IPv6-addresses disappearing due to lifetime-overflows
SVN-Revision: 36748
2013-05-28 18:32:01 +00:00
Steven Barth
23b3cebd56 odhcp6c: fix or debug disappearing IPv6 addresses
SVN-Revision: 36745
2013-05-28 16:28:14 +00:00
Felix Fietkau
e875338294 ath9k: fix some issues in PA predistortion (still disabled by default)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36744
2013-05-28 16:07:29 +00:00
Felix Fietkau
e6250644be mac80211: add support for "active" monitor interfaces which allow userspace tools to connect to APs via injection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36743
2013-05-28 11:10:41 +00:00
Steven Barth
61c0c6ab68 6relayd: RFC 6204 and naming improvements * Announce delegated prefixes using route info according to RFC 6204 L-3 * Enable hybrid stateless + stateful DHCPv6-mode as default
SVN-Revision: 36738
2013-05-27 20:38:13 +00:00
Jo-Philipp Wich
63603ee478 firewall3: update to git head
- allows building without IPv6 support
	- uses more robust rules to cope with missing libext.a
	- uses better linking strategy to avoid symbol clashes with older iptables
	- introduces source compatiblity layer for different libxtables versions

SVN-Revision: 36736
2013-05-27 15:13:19 +00:00
Jo-Philipp Wich
fe42794fe6 uci: update to git head (#13348, http://luci.subsignal.org/trac/ticket/572)
- fixes overwriting list options with single-item lists in lua binding

SVN-Revision: 36730
2013-05-26 17:28:18 +00:00
Jo-Philipp Wich
e4f8c38ed1 firewall3: update to git head
- allows symbolic notation for src_ip, src_dip and dest_ip options, e.g. option src_ip 'lan' to automatically resolve to "192.168.1.0/24"
  - automatically infer destination zone for redirects from target ip, this makes 'dest' optional and nat reflection setup more robust
  - properly support output rules with dest '*' to hook directly into delegate_output
  - fixes crash when processing rules with unresolved targets

SVN-Revision: 36721
2013-05-26 15:48:04 +00:00
Steven Barth
f63064a257 6relayd: Fix DHCPv6-server picking up addresses from master interface
SVN-Revision: 36718
2013-05-26 10:06:02 +00:00
Jo-Philipp Wich
90887b5fb3 firewall3: update to git head
- fixes linking issues with some toolchains

SVN-Revision: 36703
2013-05-24 12:49:06 +00:00
Steven Barth
d8d7d7f4aa 6relayd: fix a lease-timing issue with stateful DHCPv6
SVN-Revision: 36702
2013-05-24 12:31:30 +00:00
Felix Fietkau
4ed6aabbfb mac80211: merge AP VLAN / WDS related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36699
2013-05-24 11:54:47 +00:00
Jo-Philipp Wich
c1ff8cd9bb firewall3: update to git head
- Use weak references for instantiating libext*.a matches, makes fw3 independant from the compile time features of iptables
  - Do not leak memory when processing rules with unknown targets or matches

SVN-Revision: 36698
2013-05-23 13:07:44 +00:00
Felix Fietkau
10a697faaf mac80211: fix station info tx bytes (#13567)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36697
2013-05-23 13:06:17 +00:00
Felix Fietkau
75bb3138aa uhttpd: update to latest version, fixes #13564, #13560, improves error handling as pointed out in #13537
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36696
2013-05-23 10:50:42 +00:00
Felix Fietkau
4402cdc066 ath9k: merge some ar934x stability fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36695
2013-05-23 10:22:13 +00:00
Steven Barth
32c6ffb5a1 firewall3: Remove abandonend include
SVN-Revision: 36692
2013-05-23 06:38:25 +00:00
Jo-Philipp Wich
b757ca2259 firewall3: update to git head
- fix build on Linux < 3.7
  - limit zone names to 14 bytes

SVN-Revision: 36691
2013-05-22 14:15:53 +00:00
Steven Barth
9c3ac668e0 6relayd: Let OpenWrt override default CFLAGS
SVN-Revision: 36690
2013-05-22 11:58:54 +00:00
Jo-Philipp Wich
c12189b379 firewall3: update to git head
- fixes reload when firewall is not running already
  - fixes crash when ipsets are supported but undeclared
  - fixes handling of per zone user chains on reload

SVN-Revision: 36689
2013-05-22 11:37:41 +00:00
Steven Barth
9d115df749 6relayd: Fix a segfault when multiple downstream interfaces are present
SVN-Revision: 36687
2013-05-21 18:05:37 +00:00
Jo-Philipp Wich
dd83e87ab0 firewall3: update to git head
- fixes segfault in flush command if ipset support is not available
  - fixes internal rule generation if custom chains are enabled

SVN-Revision: 36686
2013-05-21 14:49:37 +00:00
Jo-Philipp Wich
6eec8009ba ipset: remove dependency on iptables-mod-ipset - technically it does not depend on it and the iptables matches are now part of the base
SVN-Revision: 36685
2013-05-21 13:00:28 +00:00
Jo-Philipp Wich
9b6c31d4cc firewall3: move libext*.a copying to compile phase
SVN-Revision: 36684
2013-05-21 12:58:36 +00:00
Jo-Philipp Wich
8df6cd005c netfilter: move time, mark, set matches and MARK, REDIRECT, SET targets into base iptables package - drop iptables-mod-ipset
SVN-Revision: 36683
2013-05-21 12:58:15 +00:00
Jo-Philipp Wich
e8050c6c35 firewall3: update to git head
* use libiptc and libxtables directly to manage ruleset, iptables-restore is unreliable and prone to race conditions
 * make ipset integration more reliable

SVN-Revision: 36681
2013-05-21 10:15:14 +00:00
Jo-Philipp Wich
a9a9644efd iptables: use -ffunction-sections, -fdata-sections and --gc-sections
SVN-Revision: 36680
2013-05-21 10:15:10 +00:00
Steven Barth
24c39ddcf7 odhcp6c: Various fixes * Honour T1 and T2 values from servers better * Correctly send Reconfigure-Accept option in requests
SVN-Revision: 36678
2013-05-21 09:13:48 +00:00
Steven Barth
37baf2d6b2 6relayd: Various DHCPv6-fixes * Be more standards-compliant in stateful mode * Handle hostnames from Windows-clients correctly * Handle messages from DHCPv6-relays better
SVN-Revision: 36677
2013-05-21 09:13:40 +00:00
Steven Barth
c6f70381c9 odhcp6c: Fix address / prefix expiry logic
SVN-Revision: 36675
2013-05-20 14:54:20 +00:00
Jonas Gorski
b751b5893c brcm2708: make it boot on revision 2 raspberry pis
* update the bootcode.bin to the newest version
    - gpu/cpu mem split is now configured through config.txt, so no need
      to create more than one sd card image (just edit the config.txt)
    - bootcode.bin now supports the never revision 2 raspberry pis

  * add a commented prepopulated config.txt for easier config changes
    Taken from <https://github.com/Evilpaul/RPi-config>

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

SVN-Revision: 36668
2013-05-20 12:07:03 +00:00
Jonas Gorski
44696a01c7 brcm2708-gpu-fw: download zipped sources and switch to Hexxeh's git
* Use the gzipped download feature from github to get a tarball with a
  stable hash.
* Use Liam McLoughlin's git which has a subset of the original git's
  contents, dropping all the precompiled modules and kernels.

Reduces the download size from ~1.27 GiB to ~25 MiB.

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

SVN-Revision: 36667
2013-05-20 12:07:00 +00:00
Jonas Gorski
c901854ce4 mac80211: remove superfluous patch
This is already handles in compat-3.8.h as prandom* was introduced
in 3.8; only the aliases were removed in 3.10.

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

SVN-Revision: 36666
2013-05-20 12:06:57 +00:00
Luka Perkov
3b1c133d1d uboot-envtools: upgrade to 2013.04
SVN-Revision: 36665
2013-05-20 08:52:44 +00:00
Jonas Gorski
87203c4049 kernel: adapt module paths for 3.10-rc1
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36662
2013-05-19 18:36:09 +00:00
Jonas Gorski
89e299259c mac80211: make it build with 3.10-rc1
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36661
2013-05-19 18:36:06 +00:00
Felix Fietkau
2ff74a75b6 ath9k: fix some more aggregation related issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36656
2013-05-18 19:36:22 +00:00
Steven Barth
dd161ae62b dnsmasq: add directory for external hosts-files
SVN-Revision: 36655
2013-05-17 14:44:12 +00:00
Steven Barth
334c40da14 6relayd: Add stateful DHCPv6-support (IA_NA) * Add management_level option (0: set O-flag, >=1: set M-flag) * Add support for static DHCPv6-leases * Various fixes for DHCPv6-PD
SVN-Revision: 36654
2013-05-17 14:44:07 +00:00
Steven Barth
0f1be4425f netifd: Unify interface-based routing for IPv4 and IPv6 * Add interface option to set routing table for protocol routes * Enabled for IPv6 for source-based filtering, disabled for IPv4
Based on a patch by Kristian Evensen. Thank You.

SVN-Revision: 36653
2013-05-17 14:44:02 +00:00
Felix Fietkau
7f847fe47c ath9k: merge some aggregation / rate handling related fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36648
2013-05-17 09:37:19 +00:00
Felix Fietkau
9b1181ed66 valgrind: enable parallel builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36647
2013-05-17 09:37:15 +00:00
Felix Fietkau
ab3982a841 mac80211: add a rate control rate selection fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36645
2013-05-16 11:41:54 +00:00
Felix Fietkau
7365e647f6 uhttpd: update to latest version, fixes index page processing order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36644
2013-05-16 11:38:19 +00:00
Felix Fietkau
151a792e75 trace-cmd: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36643
2013-05-16 11:38:12 +00:00
Luka Perkov
4fc8e64a40 iproute2: workaround compile issues with gcc 4.8.x
SVN-Revision: 36642
2013-05-16 00:04:48 +00:00
Steven Barth
a62ca72309 odhcp6c: Fix handling of RAs when no DHCPv6-server is present
SVN-Revision: 36641
2013-05-15 11:07:01 +00:00
Felix Fietkau
059a636ab5 mac80211: add mesh_param support
This patch add mesh_param support in mac80211.sh
It suppose that this patch http://patchwork.openwrt.org/patch/3540/ is applied (add HT support for mesh)

Tested with rspro(ar9280)/wr1043nd, BB r36211
see also this http://lists.open80211s.org/pipermail/devel/2012-June/003352.html
(mesh_hwmp_rootmode 1 & mesh_gate_announcements 1
=> mesh_hwmp_rootmode 4 & mesh_gate_announcements 1)

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

SVN-Revision: 36640
2013-05-15 09:36:10 +00:00
Felix Fietkau
325629b4fc mac80211: add HT support for mesh
This is a quick patch to enable HT for mesh mode
https://github.com/cozybit/open80211s/wiki/HOWTO#high-throughput
http://lists.open80211s.org/pipermail/devel/2012-March/002990.html

For my test setup the speed increased from 1-2 Mbytes/sec to 8-10 Mbytes/sec (iperf)

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

SVN-Revision: 36639
2013-05-15 09:36:02 +00:00
Luka Perkov
580481cd6d iproute2: upgrade to 3.9.0
SVN-Revision: 36638
2013-05-14 23:49:34 +00:00
Luka Perkov
5be36cbe83 iproute2: print help in connmark
SVN-Revision: 36637
2013-05-14 23:49:31 +00:00
Felix Fietkau
d090eea125 uhttpd: update to latest version, fixes a SSL connection memory leak
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36636
2013-05-14 17:43:00 +00:00
Felix Fietkau
d481486aad package: fold the IPv6 menu into Network
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36634
2013-05-14 15:02:31 +00:00
Felix Fietkau
29cd45f752 mac80211: fix AP mode action frame handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36633
2013-05-14 11:02:01 +00:00
Felix Fietkau
c27351f2fa mac80211: fix client mode state handling issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36632
2013-05-14 11:01:54 +00:00
Steven Barth
e8f3897389 6relayd: Always announce the current MAC-address
* Fixes #13516 thanks to berni for the detailed bugreport.

SVN-Revision: 36629
2013-05-13 17:54:36 +00:00
Steven Barth
a1af842016 ds-lite: add ds-lite network protocol handler
SVN-Revision: 36628
2013-05-13 17:12:39 +00:00
Steven Barth
5ce135ed87 netifd: Various IPv6 improvements * Add support for IP-in-IPv6 tunnels (DS-Lite) * Use source-based routing for IPv6 to allow multi-wan * Various smaller tunnel setup improvements
SVN-Revision: 36627
2013-05-13 17:12:34 +00:00
Steven Barth
ea71678b09 netifd: added support for setting up 6rd from DHCP
SVN-Revision: 36626
2013-05-13 17:12:30 +00:00
Steven Barth
ad93a571c6 odhcp6c: added support for DS-Lite + various fixes
SVN-Revision: 36625
2013-05-13 17:12:25 +00:00
Steven Barth
973dad61b0 firewall3: Remove obsoleted ULA-border
SVN-Revision: 36624
2013-05-13 17:12:20 +00:00
Steven Barth
07d99b62b7 firewall3: add wan6 interface to wan-zone by default
SVN-Revision: 36623
2013-05-13 17:12:15 +00:00
Steven Barth
4cb9d9715c firewall: Remove obsoleted ULA-border rule
SVN-Revision: 36622
2013-05-13 17:12:10 +00:00
Felix Fietkau
6a57ff8548 valgrind: do not depend on a particular ARM target, depend on the arch level
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36621
2013-05-13 15:05:03 +00:00
Steven Barth
8560648082 6rd: increase metric of default route
This will prefer native IPv6 over 6rd if both are present.

SVN-Revision: 36605
2013-05-12 08:07:15 +00:00
Jo-Philipp Wich
d59f8cfa8e iwinfo: only consider joined bss when finding current operating frequency, fixes spurious misreporting of frequencies in ad-hoc mode
SVN-Revision: 36604
2013-05-12 01:12:56 +00:00
Felix Fietkau
f09d89a7b1 ubus: update to the latest version, fixes a rare deadlock with multiple synchronous invoke/notify calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36603
2013-05-11 20:42:41 +00:00
Felix Fietkau
aacbb9ba77 openssl: disable mips16, it makes the code slower
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36602
2013-05-10 00:18:27 +00:00
Felix Fietkau
03531f565a px5g: disable assembler functions, fixes compile errors with mips16
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36601
2013-05-09 23:49:03 +00:00
Felix Fietkau
2430e9a4f5 toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36594
2013-05-09 20:50:49 +00:00
Jonas Gorski
dc00dbd085 kernel: modules: kmod-fs-isofs depends on kmod-lib-zlib
Add missing dependency. Fixes #11624.

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

SVN-Revision: 36593
2013-05-09 20:50:10 +00:00
John Crispin
d48ad63b9d grub2: Add sub package grub-editenv for target installation
grub-editenv allows to modify grub2 environment files. Add a new package
that build grub2 for the target and packs up grub-editenv.

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

SVN-Revision: 36574
2013-05-07 12:35:07 +00:00
Steven Barth
29d4c36622 add uci support for "proxy-dnssec" in dnsmasq
This patch simply adds support for the "--proxy-dnssec" command in dnsmasq into the init file so it can be used with /etc/config/dhcp.

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>

SVN-Revision: 36570
2013-05-07 07:19:51 +00:00
Felix Fietkau
9d8e3e03df iw: update to 3.10, sync with nl80211.h changes in compat-wireless
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36569
2013-05-06 22:35:50 +00:00
Steven Barth
9c1ed6447b odhcp6c: Make SLAAC-only work without reqprefix=no
Previously if the upstream router did not provide any DHCPv6-service
the wan6 interface would not come up even if RAs were received. The new
behavior allows the wan6 interface to comeup with RA-only configuration
after a timeout of 10s.

SVN-Revision: 36555
2013-05-06 10:20:43 +00:00
Jo-Philipp Wich
95e139d0b2 ipset-dns: support simultaneously populating IPv4 and IPv6 sets
SVN-Revision: 36554
2013-05-06 10:01:45 +00:00
Jo-Philipp Wich
026271d03c base-files: change network_find_wan() procedure to ignore default gateways in different routing tables
SVN-Revision: 36553
2013-05-06 09:33:56 +00:00
Jo-Philipp Wich
3c17fd41a4 Add ipset-dns - a tiny DNS proxy service which puts resolved ip addresses into a specified ipset
SVN-Revision: 36552
2013-05-06 08:44:54 +00:00
John Crispin
c7c243669c sysupgrade: fixes broken pipe error during sysupgade
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36548
2013-05-05 12:41:42 +00:00
Luka Perkov
826b4e36c4 kernel: add veth module
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36540
2013-05-03 15:16:50 +00:00
Felix Fietkau
b85c442e81 hostapd: enable 802.11r for the -full variant (#13250)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36533
2013-05-03 10:39:57 +00:00
Felix Fietkau
1b52dacef0 mac80211: merge a client mode channel switch handling fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36531
2013-05-03 09:14:03 +00:00
Felix Fietkau
18c588a570 ar71xx: add an external reset callback for ar913x and use it in ath9k - should reduce the frequency of DMA stop failures
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36530
2013-05-03 09:12:19 +00:00
Jo-Philipp Wich
4bba31b64c firewall3: update to git head
- assume "tcp+udp" if no protcol is specified in rules or redirects (#13422, #13386)
	- add support for fwmark matches and mark setting targets

SVN-Revision: 36521
2013-05-02 13:42:20 +00:00
Jo-Philipp Wich
89f9ce944f uci: update to git head
- copy permission of config files to state files to allow access to state info by non root users
	- properly handle empty string case when unsetting lists

SVN-Revision: 36518
2013-05-02 12:40:13 +00:00
Jo-Philipp Wich
7f2743d458 kernel: netfilter.mk: Explicitly set the order of autoloaded modules
In my machine, the file is created with arptable_filter before
arp_tables. This can't happen because the former depends on the
latter.

So, instead of rely on wildcards (*.ko), set by hand the files to
be loaded in the correct order.

Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br>

SVN-Revision: 36512
2013-05-02 11:25:18 +00:00
Jo-Philipp Wich
a0b655b8f2 Fix install of iptables pkg-config files.
libiptc.pc depends on libip[4|6]tc.pc, thus all of those need to be
installed.
Should fix collectd build and thus #13146; which should make collectd
appear in snapshots again.

Signed-off-by: Danny Baumann <dannybaumann@web.de>

SVN-Revision: 36509
2013-05-02 08:10:55 +00:00
Hauke Mehrtens
ca7f9638d5 broadcom-diag: support for the WNDR3700v3
I recently picked up a WNDR3700 to put OpenWRT on, and only after tearing into the box did I find it
was one of the v3 boards, with poor OpenWRT support. This patch should add the board detection and
LED/button control to the broadcom-diag module, and should generate a netgear .chk image that the
bootloader and stock firmware will accept.

The changes to the broadcom-diag module are more than a few lines because the WNDR3700v3 is driving
its LEDs through an HC164 8-bit shift register.

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 36482
2013-04-28 21:11:17 +00:00
Hauke Mehrtens
8a3a7fdf07 acx-mac80211: make it compile with recent mac80211 again
SVN-Revision: 36481
2013-04-28 18:53:20 +00:00
Hauke Mehrtens
3be90613fd broadcom-wl: read channel using wlc on detect
Hardcoding channel number to 11 is a bad idea, it may be even not
available on some devices. If there are two single-band radios, the
one for 5GHz doesn't have 11 channel.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 36479
2013-04-28 18:21:34 +00:00
Hauke Mehrtens
3cbc3b73aa mac80211: brcmsmac: remove initial support for core rev 28
To add support for core rev 28 there are a lot more changes needed.

SVN-Revision: 36477
2013-04-28 17:59:24 +00:00
Hauke Mehrtens
b014140c2e mac80211: b43: only use gpio 0 and 1 for the wifi led
sometimes b43 truned the gpio for the switch reset on.

SVN-Revision: 36476
2013-04-28 17:57:30 +00:00
Hauke Mehrtens
c807a7737f mac80211: b43: Handle DMA RX descriptor underrun
SVN-Revision: 36474
2013-04-28 16:55:53 +00:00
Jo-Philipp Wich
f1e214411d iwinfo: fix iwinfo_hardware() return value if chip id is not found
SVN-Revision: 36471
2013-04-28 14:04:39 +00:00
Felix Fietkau
6a2dd833cf ath9k: fix keycache handling with many connected clients
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36467
2013-04-27 09:56:18 +00:00
Felix Fietkau
fab1ddff73 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36466
2013-04-27 09:56:14 +00:00
Jo-Philipp Wich
f1497ccf4f netifd: update to git head - disables multicast snooping by default on bridges
SVN-Revision: 36463
2013-04-27 09:28:40 +00:00
Jo-Philipp Wich
05c1424e87 iwinfo: add hw database file
SVN-Revision: 36450
2013-04-26 13:21:01 +00:00
Jo-Philipp Wich
e02d373f90 iwinfo: move builtin hardware database to /usr/share/libiwinfo/hardware.txt
SVN-Revision: 36449
2013-04-26 13:20:15 +00:00
Felix Fietkau
accc6e309e mac80211: update to wireless-testing 2013-04-16 + backports
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36448
2013-04-26 10:52:03 +00:00
John Crispin
bc453a52b2 procd: fix wrap around bug in logread time handling code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36447
2013-04-25 19:51:08 +00:00
John Crispin
35b092272a hotplug2: make it depend on !PROCD_INIT
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36446
2013-04-25 19:16:54 +00:00
John Crispin
831c7ea04f preinit: move cmdline failsafe= handling ot the generic code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36430
2013-04-25 19:02:37 +00:00
John Crispin
811d90ff40 mount_root: prepare base-files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36429
2013-04-25 19:02:32 +00:00
John Crispin
39469dea7f boot: make use of kmodloader if it is available
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36428
2013-04-25 19:02:28 +00:00
John Crispin
a7ffc0b443 ubox: add ubox package
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36427
2013-04-25 19:02:24 +00:00
John Crispin
38ac6421bc procd: update to latest git version
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36426
2013-04-25 19:02:20 +00:00
Felix Fietkau
5062838fa5 netifd: update to the latest version, fixes interface reload issues when removing the ifname option
SVN-Revision: 36424
2013-04-25 16:28:19 +00:00
Steven Barth
49f97af481 6relayd: Fix generation of RA-messages
SVN-Revision: 36419
2013-04-24 18:22:08 +00:00
Jo-Philipp Wich
a040ead1c5 iwinfo: add SR71-15 radio info, fix nl80211 channel/frequency reporting on some architectures
SVN-Revision: 36417
2013-04-24 14:44:20 +00:00
Steven Barth
2c78c1457b firewall3: Make IPv6 ULA-Border generation dynamic
This fixes working behind another router which gives out ULAs.

SVN-Revision: 36416
2013-04-24 14:17:24 +00:00
Jo-Philipp Wich
af30e5e6bb Enable hidraw support.
It's needed for dealing with certain UART-to-USB adapters built into
e.g. weather stations, and increases the hid module package only
slightly (e.g. on ar71xx: 35k -> 37k).

Signed-off-by: Danny Baumann <dannybaumann@web.de>

SVN-Revision: 36415
2013-04-24 09:49:09 +00:00
Jo-Philipp Wich
2cea3d3949 Add kernel module package for hid-generic driver.
Needed to support e.g. keyboards and mice.

Signed-off-by: Danny Baumann <dannybaumann@web.de>

SVN-Revision: 36414
2013-04-24 09:49:03 +00:00
Steven Barth
2dbcd2ba7b 6relayd: update package description
SVN-Revision: 36413
2013-04-24 07:21:42 +00:00
Steven Barth
e17ac4c257 dnsmasq: update to 2.66 Thanks to Christoph König for patches.
SVN-Revision: 36412
2013-04-24 05:55:39 +00:00
Steven Barth
21e4e2a766 odhcp6c: Set default SOL_MAX_RT to 1h
SVN-Revision: 36411
2013-04-24 05:02:45 +00:00
Felix Fietkau
d7908e02b5 hostapd: return the frequency to some ubus calls to make integration easier
SVN-Revision: 36410
2013-04-23 18:35:50 +00:00
Felix Fietkau
e119a8a107 mac80211: use the original mac address for the first virtual interface
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36408
2013-04-23 16:32:24 +00:00
Jo-Philipp Wich
61a6f45cdc lldpd: upgrade to 0.7.1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 36401
2013-04-23 10:37:23 +00:00
Jo-Philipp Wich
f2f1233149 gettext-full: updated to 0.18.2.1
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36400
2013-04-23 10:29:49 +00:00
Jo-Philipp Wich
2da62933d7 libevent2: update to 2.0.21
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36399
2013-04-23 10:29:45 +00:00
Jo-Philipp Wich
d4d55b5ec7 libmnl: update to 1.0.3
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36398
2013-04-23 10:29:42 +00:00
Jo-Philipp Wich
1170442691 libnetfilter-conntrack: update to 1.0.3
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36397
2013-04-23 10:29:38 +00:00
Jonas Gorski
4f7ad789e4 polarssl: update to 1.2.6
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36396
2013-04-23 09:22:02 +00:00
Jonas Gorski
6ddfe0590c ncurses: update to 5.9
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36395
2013-04-23 09:21:59 +00:00
Jonas Gorski
d1d01636b3 libnl: update to 3.2.21
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36394
2013-04-23 09:21:57 +00:00
Jonas Gorski
49799d344d kernel: add kmod-mcp23s08 package
Package up the Microchip MCP23S08 I/O expander driver. Needed on the
CalAmp LMU5000 board.

Signed-off-by: Adam Porter <porter.adam@gmail.com>
[jogo@openwrt.org: fix subject]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36393
2013-04-23 09:21:55 +00:00
Steven Barth
4e8f7f37ed Change default IPv6 config to enable DHCPv6-PD
SVN-Revision: 36384
2013-04-22 19:40:16 +00:00
Steven Barth
17b8c0c7b8 netifd: Improve IPv6-ULA assignment handling
SVN-Revision: 36383
2013-04-22 19:40:06 +00:00
Steven Barth
c96c05d549 odhcp6c: Several fixes and improvements * Add preliminary support for RFC 6603 prefix exclusion * Fix reconfigure-support and reconfigure authentication * Set maximum retransmission timeout for solicitations to 2h * Fix a segfault when parsing IA_PD in advertise messages
SVN-Revision: 36382
2013-04-22 19:40:01 +00:00
Steven Barth
1e78c3e297 6relayd: Add DHCPv6-PD server support, fix relaying in stateful mode
SVN-Revision: 36381
2013-04-22 19:39:55 +00:00
Jo-Philipp Wich
f99a208b4f uci: update to git head
- fixes memory leak in libuci when trying to open not existing configurations
  - fixes memory leak in libuci-lua when querying not existing sections or options
  - fixes handling of filenames with leading underscore

SVN-Revision: 36377
2013-04-22 14:52:28 +00:00
Felix Fietkau
62244d73ae hostapd: update to 2013-04-05
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36376
2013-04-22 13:24:48 +00:00
Felix Fietkau
df10e201eb mac80211: rework mac address allocation
If the first byte is available in the address mask, use only that one -
set the local bit and xor it with the id << 2. This ensures that there
are no hardware BSSID & BSSID-mask conflicts with devices that have
almost the same MAC address with just a small offset. The MAC address
conflict has been observed in a deployment with some devices from the
same batch when running with multiple interfaces.

If only some bits of the last byte are available, xor the id onto the
last MAC address byte (relevant mostly for Ralink devices).

In other cases (should not happen at this point), use the previous MAC
address offset calculation but without the local bit.

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

SVN-Revision: 36353
2013-04-17 15:36:57 +00:00
Felix Fietkau
96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

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

SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Felix Fietkau
6d3c6e3053 busybox: remove old no-MMU hackery
SVN-Revision: 36350
2013-04-17 15:36:26 +00:00
Jo-Philipp Wich
e66a4af8c3 uhttpd: update to git head, fixes regression when parsing IPv6 listen arguments
SVN-Revision: 36348
2013-04-17 11:34:39 +00:00
Felix Fietkau
023105284f ath9k: change the BSSID mask calculation to fix setting arbitrary MAC address on interfaces
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36344
2013-04-16 10:53:02 +00:00
Jo-Philipp Wich
25ffe0446c iwinfo: print info of all existing wireless ifaces when cli is called without arguments
SVN-Revision: 36339
2013-04-15 15:00:16 +00:00
Felix Fietkau
eb10581ce3 uhttpd: update to latest version, fixes compile error with latest libubox
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36338
2013-04-15 14:49:52 +00:00
Felix Fietkau
099e3d8183 netifd: update to latest version, fixes some device handling crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36336
2013-04-15 14:21:45 +00:00
Felix Fietkau
ff57fd06eb libubox: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36335
2013-04-15 13:55:05 +00:00
Felix Fietkau
fb79dbfb7b mac80211: merge upstream legacy minstrel improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36334
2013-04-15 13:54:42 +00:00
Luka Perkov
b591e15f36 This adds Gateworks Laguna family board support. Note that some Laguna boards have SPI flash and others have NOR flash, thus the size/erasesize are detected dynamically.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 36313
2013-04-11 16:04:31 +00:00
Felix Fietkau
87395ec919 mac80211: fix a client mode reconnect issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36311
2013-04-10 21:17:33 +00:00
Felix Fietkau
a41fb84d2f ath9k: fix an AR9580 specific crypto related stability issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36306
2013-04-10 13:26:08 +00:00
Felix Fietkau
e01a24f4f8 mac80211: revert the queue length to the default (reduction obsoleted by the use of fq_codel)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36305
2013-04-10 13:11:33 +00:00
Felix Fietkau
88c418bc75 qos-scripts: add queue length and quantum limit, suggested by dtaht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36294
2013-04-09 14:59:10 +00:00
Jo-Philipp Wich
7ca7bc501e iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j
SVN-Revision: 36292
2013-04-09 14:37:55 +00:00
John Crispin
04dcd12c91 add portmap support to userland
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36284
2013-04-09 14:19:13 +00:00
John Crispin
f13ae9965c add "swconfig list" support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36282
2013-04-09 14:19:05 +00:00
Jo-Philipp Wich
f90f025f20 netifd: fix route / route6 regression (#13303)
SVN-Revision: 36281
2013-04-09 12:21:12 +00:00
Steven Barth
3abc915522 Remove deprecated ip6slaac option * use proto=dhcpv6 with reqprefix=no instead
SVN-Revision: 36280
2013-04-09 12:12:30 +00:00
Steven Barth
2c087dc785 Remove obsoleted ipv6-support meta-package
SVN-Revision: 36279
2013-04-09 09:45:51 +00:00
Steven Barth
ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Felix Fietkau
c42c4837b9 ath9k: fix a tx processing race condition on AR9300+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36267
2013-04-07 22:05:45 +00:00
Felix Fietkau
3a0e6c06e9 ath9k_htc: accept firmware versions newer than 1.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36266
2013-04-07 22:05:41 +00:00
Felix Fietkau
b5a27f260b mac80211: merge an idle handling fix (fixes ath9k_htc client mode), refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36265
2013-04-07 22:05:36 +00:00
Gabor Juhos
38b4865a68 package/kernel: only include i2c-of if CONFIG_OF enabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36227
2013-04-06 16:55:25 +00:00
Gabor Juhos
bf57f33f02 kernel: Allow talitos crypto hw module selection
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36224
2013-04-06 12:41:06 +00:00
Florian Fainelli
f223d0927e openssl: Pass in any TARGET_ASFLAGS
Packages not picking up the regular TARGET_AS need their openwrt
Makefiles tweaked. For a basic build, that's just openssl.

This depends on patch 1/5.

Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36201
2013-04-05 12:36:09 +00:00
Steven Barth
35d716fbbb netifd: Bump to latest version * Fix a memory corruption when updating IPv6 prefixes * Fix route sorting order (nbd) * Add support for ip rules (jow) * Implement support for route / route6 table attribute (jow)
SVN-Revision: 36196
2013-04-05 12:28:06 +00:00
Felix Fietkau
dda4da0104 ubus: update to latest version, fixes a crash on reconnect
SVN-Revision: 36195
2013-04-04 20:04:52 +00:00
John Crispin
04d80710a9 add a helper that allows loading the eeprom from a MTD partition pointed to by a phandle
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36194
2013-04-04 14:57:43 +00:00
Steven Barth
0393e52623 netifd: Rewrite IPv6 prefix assignment * Add ip6hint option to specify assigned subprefixes * Add preliminary support for RFC 6603 prefix exclusion
SVN-Revision: 36193
2013-04-03 17:08:21 +00:00
John Crispin
1c8d2aec18 unbreak i2c-mv64xxx dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36192
2013-04-03 12:58:06 +00:00
John Crispin
8baf097b84 fix borken of-i2c dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36191
2013-04-03 12:51:12 +00:00
John Crispin
9b3b0473ae fix eglibc compile
add librt dependency/link flag to procd when using eglibc thanks to jow for the help

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

SVN-Revision: 36188
2013-04-03 10:01:10 +00:00
John Crispin
ab31b36b6e revert patch that renames the worker thread as it seems to cause an oops
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36185
2013-04-03 10:00:59 +00:00
John Crispin
30ee3ef24e add cdc-mbim module
http://patchwork.openwrt.org/patch/3370/

Signed-off-by: Rusink Rusinkoff <rzrusink@gmail.com>

SVN-Revision: 36184
2013-04-03 10:00:55 +00:00
John Crispin
219313833a Add INA2XX current sensor module.
This is a I2C current/voltage/power sensor.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36182
2013-04-03 10:00:44 +00:00
John Crispin
7852c48ffd add lm92 kernel module
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36181
2013-04-03 10:00:40 +00:00
John Crispin
62b5098b35 add pcf857x kernel module
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36180
2013-04-03 10:00:36 +00:00
John Crispin
c9254f5b5d make OF_I2C build as part of i2c-core
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36179
2013-04-03 10:00:32 +00:00
John Crispin
97adfa35c0 several patches to make OF work on rt2x00
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36178
2013-04-03 10:00:29 +00:00
John Crispin
b4487f1e35 add RT5350 wifi support
MTK/Ralink Acked replied and says we can merge this patch under the GPL.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Tested-by: Michel Stempin <michel.stempin@wanadoo.fr>
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36177
2013-04-03 10:00:25 +00:00
Felix Fietkau
8ca79490a5 libpcap: get rid of some bloat introduced by the update
SVN-Revision: 36151
2013-04-01 21:07:39 +00:00
Felix Fietkau
5a13c60771 libpcap: update to 1.3.0
Disabled canusb by setting ac_cv_header_libusb_1_0_libusb_h to no in
Makefile.  Upstream configure script ignores --disable-canusb.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36150
2013-04-01 21:07:34 +00:00
Felix Fietkau
71e9171717 openvpn: enable password save support (#13245)
SVN-Revision: 36144
2013-04-01 10:02:43 +00:00
Felix Fietkau
c3db030502 valgrind: update to v3.8.1
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36143
2013-04-01 09:53:34 +00:00
Jonas Gorski
7e0b5d15c6 mac80211: backport some upstream mwl8k fixes
SVN-Revision: 36134
2013-03-27 12:39:52 +00:00
Jonas Gorski
574bab45ac base-files: firstboot: only ask for confirmation on TTY
Also allow '-y' to force the reset.

SVN-Revision: 36133
2013-03-27 12:39:42 +00:00
Steven Barth
eedf9e72f9 odhcp6c: Fix a race-condition in RA-handling
Thanks to Markus Stenberg for investigating and providing a fix

SVN-Revision: 36132
2013-03-26 13:39:17 +00:00
Jo-Philipp Wich
6bddf226d3 base-files: move sysctl init after boot
SVN-Revision: 36131
2013-03-26 10:02:58 +00:00
Jo-Philipp Wich
7aace3ee3e base-files: fix bad start index in previous commit
SVN-Revision: 36130
2013-03-25 18:45:23 +00:00
Jo-Philipp Wich
acca7eadc4 package/base-files: change sysctl handling Move /etc/init.d/sysctl to index 00 and add hotplug script that applies interface specific sysctls for interfaces that only appear later - this allows to reliably configure per-interface parameters in sysctl.conf, e.g. to disable ipv6 autoconfig on a specific iface.
SVN-Revision: 36129
2013-03-25 18:43:30 +00:00
Steven Barth
5a9c2c77b4 iptables: don't use --enable-ipv6 if IPv6 is disabled
SVN-Revision: 36125
2013-03-25 11:22:12 +00:00
Steven Barth
6529cf6cea odhcp6c: minor bug fixes
SVN-Revision: 36123
2013-03-25 10:58:48 +00:00
Hauke Mehrtens
5ee44cbcaf mac80211: download file with firmware for brcmsmac
This fixes #13144.

SVN-Revision: 36114
2013-03-24 00:54:30 +00:00
Hauke Mehrtens
72b5d58a2a mac80211: update brcmsmac ap patches
SVN-Revision: 36113
2013-03-24 00:53:15 +00:00
Florian Fainelli
513de712f9 base-files: also apply r36107 to files.old
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36112
2013-03-23 12:44:10 +00:00
Jo-Philipp Wich
6fa1b5346e firewall3: update to git head
* fixes parsing of src/dest '*'
	* fixes parsing of proto 'all'

SVN-Revision: 36111
2013-03-22 14:10:29 +00:00
Florian Fainelli
3810cc0f46 base-files: sysupgrade fail with eglibc
With eglibc, "ldd busybox" give us
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x774be000)
    libm.so.6 => /lib/libm.so.6 (0x773e4000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x773c0000)
    libc.so.6 => /lib/libc.so.6 (0x77276000)
    /lib/ld.so.1 (0x774fe000)

Thus /lib/ld.so.1 is not printed by the libs fonction and isn't copied to the 'new' root before pivot root
libs() { ldd $* | awk '{print $3}'; }
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/common.sh

With uclibc the last line of "ldd busybox" is
    ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x77ada000)

Don't know for musl!

This patch replace https://dev.openwrt.org/changeset/19167, as glibc is gone
The other way around is to rework libs()

Please apply the fix (mine or another) on trunk and AA
Might fix https://dev.openwrt.org/ticket/12273

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36107
2013-03-22 10:06:06 +00:00
Jo-Philipp Wich
76d1c0a067 firewall3: update to git head
* fixes port remapping rules (#13217)

SVN-Revision: 36100
2013-03-21 14:25:17 +00:00
Hauke Mehrtens
c9544f4af0 kernel: add some fixes for kernel 3.9
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.

SVN-Revision: 36098
2013-03-20 21:59:24 +00:00
Steven Barth
261be7b8f3 netifd: Fix adding IPv6 DNS-servers to resolv.conf
In some cases IPv6 DNS-servers were not added correctly.

SVN-Revision: 36095
2013-03-20 13:49:39 +00:00
Steven Barth
eeb88a1df3 odhcp6c: Fix metric for on-link prefix routes
SVN-Revision: 36094
2013-03-20 09:26:52 +00:00
Jo-Philipp Wich
6fbd824e9b firewall3: update to git head
* fixes reload handling of zones and ipsets that are still running but already deleted from the config

SVN-Revision: 36092
2013-03-19 16:18:05 +00:00
Jo-Philipp Wich
03cb7986fc firewall3: update to git head
- support network names in per-zone 'masq_src', 'masq_dest' and 'subnet' options (#13197)
	- do not allow src_mac option for SNAT rules

SVN-Revision: 36090
2013-03-19 13:54:34 +00:00
Felix Fietkau
31876c193a hostapd: fix build errors on supplicant-only builds
SVN-Revision: 36085
2013-03-18 16:11:32 +00:00
Steven Barth
3ebdd3b330 odhcp6c: fix preference handling, custom client-ID * thanks to mbidewell for investigating
SVN-Revision: 36083
2013-03-18 07:24:49 +00:00
Felix Fietkau
2167101c90 hostapd: initial prototype of an ubus binding
Supports listing, removing and banning clients, and hooking into
probe/assoc/auth requests via object subscribe.

SVN-Revision: 36081
2013-03-17 20:47:18 +00:00
Florian Fainelli
b48e5f2111 kernel: enable SND_COMPRESS_OFFLOAD for kernels >= 3.3
Most sound SoC driver enable it and rely it on to properly work.

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

SVN-Revision: 36072
2013-03-17 19:46:00 +00:00
Florian Fainelli
a5e7687e12 kernel: load regmap modules after kmod-lib-lzo
Otherwise regmap-core will not be able to lookup the lzo exported
symbols.

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

SVN-Revision: 36069
2013-03-17 19:45:42 +00:00
Felix Fietkau
7e83385028 ubus: update to latest version, fixes a bug in notify return code handling
SVN-Revision: 36068
2013-03-17 17:43:47 +00:00
Felix Fietkau
541344b93e mac80211: merge a few minstrel_ht performance improvements
SVN-Revision: 36056
2013-03-16 16:11:43 +00:00
Felix Fietkau
e3bdc13980 busybox: fix disabling /sbin/init and logread if procd is used as init
SVN-Revision: 36054
2013-03-16 01:25:42 +00:00
Felix Fietkau
132a54f646 mac80211: merge a fix for a race condition on station removal
SVN-Revision: 36053
2013-03-15 22:29:27 +00:00
Felix Fietkau
3fa31714b9 ath9k: add a fix to reduce the number of spurious tx hang detections
SVN-Revision: 36040
2013-03-15 15:22:06 +00:00
Felix Fietkau
cf7abda745 ath9k: fix issues with disabling rx/tx antennas
SVN-Revision: 36035
2013-03-15 13:58:47 +00:00
Felix Fietkau
84069f8534 uhttpd: update to latest version, fixes an occasional crash on CGI scripts
SVN-Revision: 36034
2013-03-15 13:43:55 +00:00
Luka Perkov
fe24afe37f uboot-envtools: upgrade to version 2013.01.01
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36033
2013-03-15 01:36:53 +00:00
John Crispin
4bcc3cd7b2 fix up the mount options to match what openwrt had before using procd as pid 1
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36032
2013-03-14 18:44:03 +00:00
John Crispin
ada74b8732 sysupgrade was broken as procd was getting killed
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36031
2013-03-14 18:43:58 +00:00
John Crispin
c876ae5e0f add vdsl firmware loader/cutter
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36025
2013-03-14 18:43:29 +00:00
John Crispin
ef93053696 add vdsl mei driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36024
2013-03-14 18:43:23 +00:00
John Crispin
ae30b0c511 add vdsl driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36023
2013-03-14 18:43:18 +00:00
John Crispin
23c3aa997b add vdsl userland app
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36022
2013-03-14 18:43:13 +00:00
John Crispin
977bb0c843 make DEU work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36021
2013-03-14 18:43:07 +00:00
John Crispin
ab33bbaf4c make lib-ifxos work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36020
2013-03-14 18:43:02 +00:00
John Crispin
cd40e47a48 make hcd driver work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36019
2013-03-14 18:42:57 +00:00