Commit Graph

6667 Commits (a1f0b3a771361ec9203c51c9d26a89eed6ac4da0)

Author SHA1 Message Date
Felix Fietkau a1f0b3a771 ath9k: fix selecting the second antenna on a single-stream device with diversity
SVN-Revision: 32685
2012-07-12 14:45:59 +00:00
Felix Fietkau c78c2f80a1 mac80211: fix an ap + sta mode regression that prevented the sta from connecting (#11847)
SVN-Revision: 32684
2012-07-12 14:14:57 +00:00
Luka Perkov f3112b06d2 openssl: enable the use of cryptodev digests
SVN-Revision: 32673
2012-07-11 23:38:16 +00:00
Hauke Mehrtens 5e4100bcf9 mac80211: update brcmsmac patches
SVN-Revision: 32671
2012-07-11 22:18:09 +00:00
Felix Fietkau d23e0491f0 ath9k: add a number of ar93xx eeprom related fixes / enhancements
SVN-Revision: 32669
2012-07-11 16:45:58 +00:00
Felix Fietkau 883e308016 ath9k: add missing part of the aggregation duration fix
SVN-Revision: 32668
2012-07-11 16:44:13 +00:00
Jo-Philipp Wich f9eede184e mac80211: fix patch order (#11839, #11842)
SVN-Revision: 32664
2012-07-11 09:59:08 +00:00
Jo-Philipp Wich 0000ce2271 uhttpd: retry parsing the CGI header until the buffer space is exhausted
SVN-Revision: 32662
2012-07-11 09:59:05 +00:00
Felix Fietkau 32eef456df ath9k: fix some bugs related to txop limit handling and aggregation
SVN-Revision: 32658
2012-07-11 02:11:33 +00:00
Felix Fietkau ed06d0bb26 ath9k: disable hardware full sleep with active client mode interface until mac80211 IEEE80211_CONF_IDLE support has been fixed
SVN-Revision: 32657
2012-07-10 23:42:30 +00:00
Felix Fietkau 7f153913f8 ath9k: clean up / fix some initval related code
SVN-Revision: 32656
2012-07-10 01:13:15 +00:00
Felix Fietkau b718813b57 mac80211: update to latest version, fix tx gain patch
SVN-Revision: 32655
2012-07-10 00:21:25 +00:00
Felix Fietkau 178df184a1 libubox: update to latest version, fixes timer/process deletion on uloop_done()
SVN-Revision: 32654
2012-07-09 15:13:26 +00:00
Jo-Philipp Wich 4127e73b84 firewall: also set up nat reflection rules for redirects with proto all and/or no src_dport set
SVN-Revision: 32652
2012-07-09 12:23:36 +00:00
Jo-Philipp Wich 86de034767 uhttpd: various fixes
- avoid closing descriptors before removing them from uloop (#11755, #11830)
    - do not auto-initialize ubus if no prefix is set (#11832)
    - remove extraneous client context pointer from cgi and lua states
    - code cleanups and debug message changes

SVN-Revision: 32651
2012-07-09 00:08:20 +00:00
Felix Fietkau be8a73be3d ath9k: fix the ar9340 tx gain patch
SVN-Revision: 32647
2012-07-07 20:03:35 +00:00
Felix Fietkau e764dd1132 ath9k: fix tx gain tables for ar934x
SVN-Revision: 32646
2012-07-07 17:34:33 +00:00
Jo-Philipp Wich bd1cfd2cca libubox: bump to latest git head - uloop: prevent callback invocation for already removed descriptors - uloop: handle EPOLLHUP - blob, blobmsg: various changes
SVN-Revision: 32645
2012-07-07 16:49:17 +00:00
Jo-Philipp Wich 92e2e3f567 uhttpd: do not dispatch pipe error events, fixes use after free for cgi and lua scripts
SVN-Revision: 32644
2012-07-07 16:43:27 +00:00
Jo-Philipp Wich 1f2d5da887 uhttpd: do not subscribe to epoll write events Watch child read pipe end for data instead of relying on socket write notification to process cgi data, should lower cpu consumption during requests on weaker devices.
SVN-Revision: 32640
2012-07-06 17:29:25 +00:00
Gabor Juhos 6fbb548eb9 uboot-envtools: OM2P LC support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32636
2012-07-06 11:11:59 +00:00
Jo-Philipp Wich a650d33490 iwinfo: properly deal with channels 7..12 on 5GHz
SVN-Revision: 32634
2012-07-06 09:30:50 +00:00
Jo-Philipp Wich 4347abcaf6 iwinfo: find channel & frequency via nl80211 or hostapd instead of wext
SVN-Revision: 32630
2012-07-06 01:00:14 +00:00
Felix Fietkau d8bf3d82e5 netifd: update to latest version, fixes various issues related to interface alias handling, improves handling of wifi interfaces in /etc/config/network
SVN-Revision: 32625
2012-07-05 18:42:29 +00:00
Jo-Philipp Wich ed98b1f41c package/dnsmasq: allow /etc/config/dhcp to specify --address arguments
Add a config list to the 'config dnsmasq' section to specify fixed DNS
addresses.

For example:

  config dnsmasq:
	[snip]
	list address '/example.com/192.168.0.1'

will result in the argument '-A /example.com/192.168.0.1' to the dnsmasq
options. This configures dnsmasq to return the specified IP for any
queries to '*.example.com' names.

Useful for overriding lookups to a range of DNS names.

[jow: "append args" -> "xappend", "-A" -> "--address"]

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 32624
2012-07-05 17:54:14 +00:00
Jo-Philipp Wich 8de3880c02 Add local TTL option to dnsmasq
-T, --local-ttl=<time>
    When replying with information from /etc/hosts or the DHCP leases
file dnsmasq by default sets the time-to-live field to zero, meaning
that the requestor should not itself cache the information. This is
the correct thing to do in almost all situations. This option allows a
time-to-live (in seconds) to be given for these replies. This will
reduce the load on the server at the expense of clients using stale
data under some circumstances.

[jow: change -T to --local--ttl to conform with the other options]

Signed-off-by: Andrew Byrne <openwrt@andy.id.au>

openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

SVN-Revision: 32623
2012-07-05 17:46:32 +00:00
Jo-Philipp Wich cc5187c024 dropbear: set DEFAULT_PATH for non-interactive logins
Set PATH in non-interactive logins to include /sbin paths,
so to be consistent with what is currently set in /etc/profile
for interactive shells.

[jow: reapply with current patch level, fix inner patch, refresh]

Signed-off-by: Gui Iribarren <gui@altermundi.net>

SVN-Revision: 32620
2012-07-05 16:44:05 +00:00
Jo-Philipp Wich 17f5287b0e hostapd: change wpa_supplicant.sh to pass 64 byte hex psk unquoted and remove the undocumented usepasspharse option, this makes it match the logic of the hostapd setup
SVN-Revision: 32614
2012-07-05 12:25:29 +00:00
Gabor Juhos 79910a3e71 uboot-envtools: OM2P partition information
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32612
2012-07-05 08:26:55 +00:00
Gabor Juhos 518a70f06c package/om-watchdog: add om2p-lc support
Patch-by: Marek Linder <marek@open-mesh.com>

SVN-Revision: 32610
2012-07-05 08:26:52 +00:00
Jo-Philipp Wich 38cb1da868 mtd - remove partition table assumption when writing fis table
When mtd alters the fis partition table it assumes that the first partition
table entry also is the first logical parition table entry. For instance our
table could look like this (irrelevant partitions put aside):
 * vmlinux.bin.l7 0xA8710000
 * rootfs         0xA8030000
Here mtd would assume vmlinux.bin.l7 being the first partition and use its
address to calculate the size and offset which ultimately leads to a broken
partition table.
This patch alters the behavior by checking what partition has the smaller
address to do the calculations based on that address.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32601
2012-07-04 11:56:25 +00:00
Jo-Philipp Wich 0b83775202 mtd - add partition offset parameter
The offset parameter can be used to write the data at the offset
instead of writing it to the beginning of the partition.

Signed-off-by: Marek Linder <lindner_marek@yahoo.de>

SVN-Revision: 32600
2012-07-04 11:37:53 +00:00
Travis Kemen 62d9f257a1 mac80211: make channel bandwidth setting generic
SVN-Revision: 32596
2012-07-04 00:25:46 +00:00
Travis Kemen 9452ad74bb commit patch from https://lists.ath5k.org/pipermail/ath5k-devel/2011-November/005043.html, fixed up for newer ath5k and added in more radios.
SVN-Revision: 32595
2012-07-04 00:09:18 +00:00
Felix Fietkau 5cd249655d ath9k: add a patch to make the hw queue length configurable via debugfs
SVN-Revision: 32589
2012-07-03 21:00:47 +00:00
Gabor Juhos 5ad36ca723 mac80211: add support for AR9550
SVN-Revision: 32588
2012-07-03 18:05:04 +00:00
Jo-Philipp Wich ff3161a6c4 base-files: ensure that /sys is available during sysupgrade, some essential services like om-watchdog need it
SVN-Revision: 32587
2012-07-03 15:43:43 +00:00
Jo-Philipp Wich b2e2de794e 6to4: fix ifname resolving for adv_interface option (#11796)
SVN-Revision: 32576
2012-07-02 12:14:50 +00:00
Jo-Philipp Wich bcacf552fd netifd: repair dhcp client id option Busybox udhcpc dropped support for the -c option, instead it can be emulated by using -x 0x3d:id, change the dhcp protocol script accordingly and filter all colons from the id while we're at it. This change supersedes http://patchwork.openwrt.org/patch/1810/
SVN-Revision: 32573
2012-07-01 12:43:14 +00:00
Jo-Philipp Wich faab751760 dnsmasq: introduce "add_local_hostname" and "add_local_domain" options - add_local_domain defaults to 1 and controls whether the local domain is written as search directive to the local resolv.conf - add_local_hostname defaults to 1 and controls whether A and PTR records are created automatically for the local hostname These change supersedes http://patchwork.openwrt.org/patch/2207/ and http://patchwork.openwrt.org/patch/2208/
SVN-Revision: 32570
2012-07-01 11:32:46 +00:00
Jo-Philipp Wich c49f8068cd package/dnsmasq: permit UCI configuration of --dhcp-fqdn option
This adds a new boolean option, fqdn, to the "config dnsmasq" section of
/etc/config/dhcp. The default is off. When set on, it enables the dhcp-fqdn
option to dnsmasq. dhcp-fqdn causes dnsmasq's DNS server to not resolve
unqualifed local hostnames. The "domain" option is required when using "fqdn".
Local hostnames will remain available for lookup using fully-qualified names.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 32569
2012-07-01 11:32:45 +00:00
Jo-Philipp Wich 7f573ef7e3 package/dnsmasq: permit dhcp_option in global dnsmasq config section
dnsmasq currently permits dhcp_options to be specified only in "config dhcp"
sections of /etc/config/dhcp. When dnsmasq is providing DHCP service for
multiple subnets and there are multiple "config dhcp" sections without "option
ignore", it makes sense to allow dhcp_options that should apply globally in
the "config dnsmasq" section of /etc/config/dhcp. dhcp_option is a list option.

[jow: rework patch to apply after dhcp-option-force handling got introduced]

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 32568
2012-07-01 11:32:29 +00:00
Jo-Philipp Wich 6e419fbdeb Fix extroot by UUID
Extroot works fine when the target device is specified by a path. It fails
however if the device is specified by UUID (the target partition gets mounted
much later by hotplug hooks). This is because the blkid command is no longer
compiled into BusyBox (since changeset [1]) so it's unavailable for the
preinit phase.

The closest bug report I was able to find is [2], although the reporting person
mentions that /tmp/overlay-disabled showed up which wasn't there in my case.

This patch sets PATH and LD_LIBRARY_PATH environment variables so that the
blkid command installed on the target device can be used by that particular
preinit script.

[1] https://dev.openwrt.org/changeset/26245
[2] https://dev.openwrt.org/ticket/10653

Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com>

SVN-Revision: 32567
2012-07-01 11:06:32 +00:00
Jo-Philipp Wich 5d3f21904f kernel/modules: load pppol2tp after pppox
l2tp_ppp needs to be loaded after pppox, otherwise it ends up like this:
l2tp_ppp: Unknown symbol pppox_ioctl (err 0)
...
during boot.
I also fixed the dependency, it should be pppox rather than pppoe.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32562
2012-07-01 10:34:45 +00:00
Jo-Philipp Wich b2e5c5f82e base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh
SVN-Revision: 32531
2012-06-29 19:04:11 +00:00
Felix Fietkau 5c49ad2096 ath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380 (fixes #11756)
SVN-Revision: 32528
2012-06-29 17:59:39 +00:00
Jo-Philipp Wich e654014352 base-files: only consider enabled default routes when finding the wan iface (#11774)
SVN-Revision: 32525
2012-06-29 11:58:35 +00:00
Jo-Philipp Wich 1f8d8dca76 netifd: update to current git head, exposes enabled state, mtu and metric overrides for routes
SVN-Revision: 32524
2012-06-29 11:42:15 +00:00
Felix Fietkau dd80e8de1f ath9k: de-duplicate initvals, reduces uncompressed binary size by 24 KB
SVN-Revision: 32517
2012-06-28 00:34:19 +00:00
Felix Fietkau 669e79a45b ath9k: update the ar934x initvals
SVN-Revision: 32516
2012-06-27 22:32:56 +00:00