Commit graph

21049 commits

Author SHA1 Message Date
Florian Fainelli
f8446c3d4c use physmap-flash on livebox (#8677)
SVN-Revision: 32660
2012-07-11 09:15:22 +00:00
Florian Fainelli
8765e49fbe nuport-mac: check netif_receive_skb() return value
We did not reassign status to netif_receive_skb() return value, we thus
almost always incremented the dropped counter because the descriptor status
value never matches the NET_RX_DROP.

SVN-Revision: 32659
2012-07-11 08:29:01 +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
Florian Fainelli
93bf00ff36 fix typo on of_node_put()
SVN-Revision: 32653
2012-07-09 14:44:15 +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
Jo-Philipp Wich
1f1cf1990b bison: fix errors in shipped stdio.in.h
Bison fails to build against glibc 2.16.x, the shipped stdio.in.h attempts to
wrap gets() with a warning which fails since gets() got removed from the
default _GNU_SOURCE featureset.

SVN-Revision: 32649
2012-07-08 15:50:36 +00:00
Jo-Philipp Wich
e63a58ebfb m4: fix errors in shipped stdio.in.h
M4 fails to build against glibc 2.16.x, the shipped stdio.in.h attempts to
wrap gets() with a warning which fails since gets() got removed from the
default _GNU_SOURCE featureset.

SVN-Revision: 32648
2012-07-08 15:28:44 +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
Florian Fainelli
bb1488e5e7 Detect alternative "cfe-" version bootloaders (found in 963281T_TEF board)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32643
2012-07-06 22:10:37 +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
fe015f399f ar71xx: swizzle address for PCI byte/word access on AR71xx
Closes #11683.

SVN-Revision: 32639
2012-07-06 16:33:12 +00:00
Gabor Juhos
b39df5bb81 ar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board
SVN-Revision: 32638
2012-07-06 11:12:02 +00:00
Gabor Juhos
e258367c19 ar71xx: merge new board patches into the generic patch
SVN-Revision: 32637
2012-07-06 11:12:01 +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
Gabor Juhos
b020a7e7c3 ar71xx: OM2P LC sysupgrade patch
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32635
2012-07-06 11:11:58 +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
Florian Fainelli
110fd3525a call of_node_put() on ethernet node
SVN-Revision: 32628
2012-07-05 18:46:55 +00:00
Florian Fainelli
a8fab2cb78 fix EPHY clock bit definition after r32489
SVN-Revision: 32627
2012-07-05 18:46:52 +00:00
Florian Fainelli
81681d7367 give an unique partition identifier for dLAN USB Extender Combined partition
SVN-Revision: 32626
2012-07-05 18:46:48 +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
283bbf14aa Revert "dropbear: set DEFAULT_PATH for non-interactive logins"
This reverts commit 9927e7918211a22ba5871cbccdcb3764d3872f91.

SVN-Revision: 32619
2012-07-05 16:34:52 +00:00
Jo-Philipp Wich
232d193499 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.

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

SVN-Revision: 32618
2012-07-05 16:33:07 +00:00
Gabor Juhos
eabf96dc22 ar71xx: set firmware version for the TL-WR2543N
This ensures that the resulting firmware can
be flashed from the latest (v3.13.17) offical
firmware.

SVN-Revision: 32617
2012-07-05 16:25:31 +00:00
Gabor Juhos
a45427bc79 firmware-utils/mktplinkfw: allow to specify firmware version
SVN-Revision: 32616
2012-07-05 16:25:29 +00:00
Gabor Juhos
7c932579fa ar71xx: make 2.4GHz wlan LED work on the WR2543N
Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.

SVN-Revision: 32615
2012-07-05 16:25:26 +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
b2f0476871 ar71xx: OM2P sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32613
2012-07-05 08:26:57 +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
797944d3f1 ar71xx: add support for the OpenMesh OM2P-LC board
Patch-by: Marek Linder <marek@open-mesh.com>

SVN-Revision: 32611
2012-07-05 08:26:53 +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
Gabor Juhos
1ea2a3cfd8 ar71xx: add profile and build image for the Atheros AP136 reference board
SVN-Revision: 32609
2012-07-05 08:26:51 +00:00
Gabor Juhos
b219848bfc ar71xx: AP136 user-space support
SVN-Revision: 32608
2012-07-05 08:26:50 +00:00
Gabor Juhos
f0cda65bb6 ar71xx: add initial support for the Qualcomm Atheros AP136 board
SVN-Revision: 32607
2012-07-05 08:26:48 +00:00
Gabor Juhos
d1b237b335 ar71xx: add initial support for the QCA955X SoCs
SVN-Revision: 32606
2012-07-05 08:26:47 +00:00
Gabor Juhos
7284cf73d6 ar71xx: refactor PCI code to allow registering multiple PCI controllers
SVN-Revision: 32605
2012-07-05 08:26:45 +00:00
Gabor Juhos
6b8392eb12 generic: ar8216: start aneg on each PHY of the AR8327
SVN-Revision: 32604
2012-07-05 08:26:39 +00:00
Florian Fainelli
0fdac1102d add missing interrupts properties to some device nodes
SVN-Revision: 32603
2012-07-04 19:37:11 +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