Commit Graph

7139 Commits (d7cebac243bab94b794c86c453a96df2bb7cb2bf)

Author SHA1 Message Date
Felix Fietkau 48db59fab7 move library packages to package/libs/
SVN-Revision: 33657
2012-10-08 11:24:12 +00:00
Jonas Gorski dd81dc48dd package: mtd: use in-kernel bcm63xx image tag header
Use the image tag header from the kernel instead of an external header
file.

SVN-Revision: 33654
2012-10-08 09:59:47 +00:00
Felix Fietkau 0dd7644ec7 x86: remove grub-legacy
SVN-Revision: 33640
2012-10-07 23:01:56 +00:00
Felix Fietkau 51e2b66b57 mac80211: refresh patches
SVN-Revision: 33636
2012-10-07 21:35:33 +00:00
Felix Fietkau e1ceb94c2f mac80211: use ieee80211_free_txskb in a few more places to prevent skb leaks
SVN-Revision: 33635
2012-10-07 21:35:29 +00:00
Felix Fietkau fafaa38ae5 move a few unmaintained packages from trunk to /packages
SVN-Revision: 33634
2012-10-07 12:50:15 +00:00
Felix Fietkau 44cd20b802 build: rework the package/install step - collect package install lists during package/compile, then install all packages at once
SVN-Revision: 33631
2012-10-06 16:01:06 +00:00
Felix Fietkau 5c91b34ed7 hostapd: fix parallel build issues and spurious object file rebuilds
SVN-Revision: 33630
2012-10-06 16:01:02 +00:00
Felix Fietkau 8c37a0f098 ath9k: fix invalid register access on single-stream ar93xx devices
SVN-Revision: 33628
2012-10-05 16:15:55 +00:00
Hauke Mehrtens 8e6ea0d1b7 acx-mac80211: adapt interface changes in mac80211
The prototype of conf_tx and tx in struct ieee80211_ops changed some
time ago and was not compatible with the prototype assumes by
acs-mac80211.
At least I do not see any compile warnings about this any more.

SVN-Revision: 33624
2012-10-04 21:39:22 +00:00
Florian Fainelli e5ca54aee9 broadcom-wl: fix build after IRQF_SAMPLE_RANDOM flag removal (#12248)
SVN-Revision: 33617
2012-10-04 12:36:45 +00:00
Gabor Juhos c034fc2f40 mac80211/rt2x00: fix lna assignment typo in Rt3352 which went upstream
Reviewing what went into wireless-testing I found a quite nasty mistake,
probably a result of copy&past'ing from the lines below in rt2800lib.c.
This adds another patch to fix that.

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

SVN-Revision: 33616
2012-10-04 06:34:14 +00:00
Gabor Juhos 2cffcaaae7 mac80211/rt2x00: sync Rt3352 support
The original patch was accepted into linux-next in a slightly modified form.
In order to provide integrity to follow-up patches, replace the patch in OpenWrt
with the (semantically identical) now upstream patch.
(commit 03839951515b0ea2b21d649b1fe7b63f9817d0c8 in wireless-testing)

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

SVN-Revision: 33615
2012-10-04 06:34:12 +00:00
Felix Fietkau b4207dd744 mac80211: allow scans in access point mode (for site survey)
SVN-Revision: 33613
2012-10-03 19:13:20 +00:00
Luka Perkov 20a164b240 uboot-envtools: remove MENU, it is unused since r33265
SVN-Revision: 33612
2012-10-03 18:57:51 +00:00
Felix Fietkau 15c884fdb2 ath9k: use ieee80211_free_txskb, might fix hostapd stability issues
SVN-Revision: 33611
2012-10-03 18:57:31 +00:00
Felix Fietkau 5d119f6a8f mac80211: fix regulatory tx power initialization
SVN-Revision: 33610
2012-10-03 18:57:25 +00:00
Florian Fainelli 89a9742bf7 add uboot-pxa for Gumstix boards
SVN-Revision: 33608
2012-10-03 16:14:21 +00:00
Felix Fietkau e5df65c155 netifd: update to latest version, should fix clearing ipv6 routes on interface bringup (#12184)
SVN-Revision: 33595
2012-09-28 23:12:34 +00:00
John Crispin 27144ca2a6 remove dependency for pkill
SVN-Revision: 33594
2012-09-28 22:37:04 +00:00
John Crispin f3cab53f27 dont explicitly select wireless-tools. rely on the drivers that need them to have the right dependency
SVN-Revision: 33593
2012-09-28 21:54:31 +00:00
Felix Fietkau a31bdfbea0 mac80211: add uci support for configuring antenna gain
SVN-Revision: 33587
2012-09-28 18:29:22 +00:00
Felix Fietkau de6a5279d1 iw: update to 3.6 and add support for configuring antenna gain
SVN-Revision: 33586
2012-09-28 18:29:16 +00:00
Felix Fietkau 702bf709d0 mac80211: fix antenna gain and add support for user-defined antenna gain configuration
SVN-Revision: 33585
2012-09-28 18:29:09 +00:00
Felix Fietkau aef9e61b32 mac80211: rework the current tx power display patch
SVN-Revision: 33584
2012-09-28 18:29:02 +00:00
Felix Fietkau d3add1f103 mac80211: fix beacon IE power constraint handling
SVN-Revision: 33583
2012-09-28 18:28:54 +00:00
Jo-Philipp Wich 7a575afa10 6to4: properly setup Base6to4Interface (#12251)
SVN-Revision: 33573
2012-09-27 18:30:07 +00:00
Felix Fietkau a1c5adc116 ath5k: add a spur mitigation fix
SVN-Revision: 33572
2012-09-27 11:12:13 +00:00
Florian Fainelli 4a67ccb163 get rid of the IRQF_SAMPLE_RANDOM flag
SVN-Revision: 33558
2012-09-26 12:53:58 +00:00
Florian Fainelli 60eec72adb mac80211: refresh patches
SVN-Revision: 33557
2012-09-26 12:53:54 +00:00
Felix Fietkau 4b5bbd82d1 mac80211: avoid sending useless delBA frames on client disassoc
SVN-Revision: 33551
2012-09-25 16:20:30 +00:00
Felix Fietkau c4ed9131ee ath9k: fix rx filtering for older chipsets, helps with multi-bssid and mesh mode
SVN-Revision: 33550
2012-09-25 16:17:18 +00:00
Felix Fietkau c7c649126f base-files: remove obsolete entries from sysctl.conf (#12236)
SVN-Revision: 33532
2012-09-24 15:24:01 +00:00
Felix Fietkau 6a72b90c87 openssl: use asm SHA1, SHA256, AES on MIPS.
On a lightly loaded 24Kc, as measured by 'openssl speed sha1', shows between
27% and 120% speedup depending on block size.
SHA1 is notably used in Transmission for piece verification.
Patch by Catalin Patulea

SVN-Revision: 33531
2012-09-24 15:23:57 +00:00
Hauke Mehrtens e945b473b0 mac80211: extend help for new options in b43-fwsquash.py
SVN-Revision: 33530
2012-09-23 18:48:27 +00:00
Hauke Mehrtens 7401a7a672 mac80211: fiy typo in b43-fwsquash.py
Thanks Jonas

SVN-Revision: 33529
2012-09-23 18:47:45 +00:00
Felix Fietkau a4b0a5043d hostapd: move the + to the correct line
SVN-Revision: 33527
2012-09-23 12:36:32 +00:00
Felix Fietkau 79e9f855f4 grub2: use the static lzma lib instead of the dynamic one
SVN-Revision: 33526
2012-09-23 10:38:06 +00:00
Felix Fietkau ed2bf29be5 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
2012-09-23 09:50:01 +00:00
Felix Fietkau 5c88d907c8 grub2: disable nls to fix build failure when libintl/host is built
SVN-Revision: 33522
2012-09-23 09:49:56 +00:00
Felix Fietkau 5e8fd64cb2 e2fsprogs: drop an unnecessary include that breaks on mac os x
SVN-Revision: 33517
2012-09-22 23:34:54 +00:00
Felix Fietkau cc13232904 add a package for grub2
SVN-Revision: 33512
2012-09-22 20:10:38 +00:00
Jo-Philipp Wich 09fe127a14 comgt: perform case insensitive match when probing for Huawei devices (#12039)
SVN-Revision: 33507
2012-09-22 14:55:17 +00:00
Hauke Mehrtens da94d4ac29 switch: warn if ndo_do_ioctl is not implemented in the Ethernet driver
SVN-Revision: 33506
2012-09-22 12:29:23 +00:00
Hauke Mehrtens 8f0d711550 mac80211: fix b43 firmware squash for HT and LCN firmware, one file was missing for both.
SVN-Revision: 33505
2012-09-22 12:28:37 +00:00
Jo-Philipp Wich 31d9f3d61f fuse: remove now redundant dependency on +USE_EGLIBC:librt
SVN-Revision: 33482
2012-09-19 15:37:35 +00:00
Florian Fainelli c7f0f973ab gdb: gdbserver package dependency fix (#11179)
In the current trunk, gdbserver is not building anymore (with EGLIBC 2.15
selected) due to a missing dependency:
Package gdbserver is missing dependencies for the following libraries:
libthread_db.so.1

In order to fix it, the system shared lib libthread_db.so.1 is copied from
the toolchain lib dir into the gdb package target structure (/usr/lib) to
pass the dependency checks.
This patch was (quickly) reviewed by Paul Fertser on IRC.

Signed-off-by: xxiao <xxiao@fosiao.com>
Signed-off-by: Matthieu Boujonnier <openwrt-devel@metaverse.fr>

SVN-Revision: 33479
2012-09-19 15:13:50 +00:00
Florian Fainelli 78f4cf3d70 base-files: release an attached loop device on umounting
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 33477
2012-09-19 15:13:44 +00:00
Florian Fainelli 61e96dab3f fuse: Add librt to fuse to build with eglibc
Signed-off-by: xxiao <xxiao@fosiao.com>

SVN-Revision: 33476
2012-09-19 15:13:41 +00:00
Florian Fainelli 9e504b31a4 busybox: add support for CHECKSUM_PARTIAL to udhcpc
When running as KVM or Xen guest, packets may be received with
incomplete checksum[1].  Patch adopted from Fedora dhcp package.

[1]. http://article.gmane.org/gmane.linux.kernel/1003853

Signed-off-by: Alexey I. Froloff <raorn@raorn.name>

SVN-Revision: 33475
2012-09-19 15:13:38 +00:00
Florian Fainelli 40b13bc86a mac80211: remove ep93xx target from blacklist.
SVN-Revision: 33465
2012-09-19 11:39:48 +00:00
Hauke Mehrtens bf0974e8da switch: improve error message
SVN-Revision: 33464
2012-09-19 10:57:38 +00:00
Felix Fietkau 77acef2bb9 hostapd: update mirror md5sum for latest version (fixes #12208)
SVN-Revision: 33456
2012-09-18 07:01:26 +00:00
Jo-Philipp Wich 2165240c32 base-files: make file compare silent in migrate-sysctl
SVN-Revision: 33449
2012-09-17 18:36:51 +00:00
Jo-Philipp Wich 0fd1fb6252 base-files: add uci-defaults script to migrate sysctl.conf (#12196)
SVN-Revision: 33448
2012-09-17 17:15:56 +00:00
Jo-Philipp Wich f1eda43e73 netifd: prevent error in ifup if no /etc/config/wireless exists, properly handle wifi-iface sections which are part of multiple networks
SVN-Revision: 33425
2012-09-15 12:50:55 +00:00
Felix Fietkau d365063c59 opkg: add host and package parallel build support
SVN-Revision: 33424
2012-09-15 12:34:52 +00:00
Felix Fietkau cfbb7d9b22 hostapd: enable parallel build
SVN-Revision: 33419
2012-09-15 11:37:07 +00:00
Felix Fietkau fb2b3c9eae linux-atm: enable parallel builds
SVN-Revision: 33418
2012-09-15 11:37:04 +00:00
Felix Fietkau e3b3a9473c libpcap: enable parallel builds
SVN-Revision: 33417
2012-09-15 11:37:01 +00:00
Felix Fietkau d7a6141297 dnsmasq: enable parallel builds
SVN-Revision: 33416
2012-09-15 11:36:58 +00:00
Felix Fietkau fe30b8effa ppp: enable parallel builds
SVN-Revision: 33415
2012-09-15 11:36:55 +00:00
Felix Fietkau a5bf74c2e7 hostapd: add a config option for the inactivity timeout
SVN-Revision: 33412
2012-09-15 10:21:18 +00:00
Florian Fainelli 93c28ea473 busybox: add patch to fix CVE-2011-2716 in udhcp.
SVN-Revision: 33404
2012-09-14 15:36:38 +00:00
Felix Fietkau 16266e2232 hostapd: add a patch for suppressing probe responses from APs that have reached their limit of maximum number of clients
SVN-Revision: 33401
2012-09-14 14:08:39 +00:00
Felix Fietkau 39e6e9e394 hostapd: add an option for configuring the maximum number of connected clients
SVN-Revision: 33400
2012-09-14 14:08:35 +00:00
Felix Fietkau 9b020e776e hostapd: enable disassoc on many consecutive excessive retries, improves AP mode reliability with many clients
SVN-Revision: 33399
2012-09-14 13:45:29 +00:00
Felix Fietkau ef8b5fda8d mac80211: fix regdb locking issues
SVN-Revision: 33398
2012-09-14 13:37:30 +00:00
Florian Fainelli 623169bc49 busybox: fix build with recent eglibc toolchains
SVN-Revision: 33395
2012-09-13 15:57:59 +00:00
Felix Fietkau f2521b8104 hostapd: support wps in hostapd_cli even when built from the mini variant
SVN-Revision: 33393
2012-09-13 12:39:14 +00:00
Felix Fietkau 5d57cd2414 hostapd: update to 2012-09-10
SVN-Revision: 33392
2012-09-13 12:38:51 +00:00
Jo-Philipp Wich dac5ed38b6 base-files: remove route enabled check in lib/functions/network.sh after netifd bump
SVN-Revision: 33391
2012-09-13 08:47:10 +00:00
Jo-Philipp Wich 90c6994ad2 netifd: update to latest git head, reorganizes ubus output of inactive values
SVN-Revision: 33390
2012-09-13 08:47:06 +00:00
Jo-Philipp Wich 6804bafadd mountd: add "-f" option to not daemonize mountd, use service wrappers in init script
SVN-Revision: 33378
2012-09-12 10:09:55 +00:00
Jo-Philipp Wich 24e24b2d51 hostapd: introduce new default-off option "auth_cache" which controls PMKSA and Opportunistic Key Caching (#12129)
SVN-Revision: 33359
2012-09-10 12:23:41 +00:00
Jo-Philipp Wich 77fe98d134 block-mount: additionally try to umount disk by mountpoint (#12056)
SVN-Revision: 33357
2012-09-10 09:48:31 +00:00
Jo-Philipp Wich 56dbeb781e comgt: fix 3g redialling if dongle is physically reattached (#11567, #12008)
SVN-Revision: 33350
2012-09-09 19:46:38 +00:00
Felix Fietkau 958cb133ae mac80211: bump PKG_RELEASE
SVN-Revision: 33333
2012-09-08 13:19:21 +00:00
Felix Fietkau c9eea9dea9 ath9k: disable PA predistortion by default, since it has been reported to reduce rx sensitivity on some devices (#12135)
SVN-Revision: 33332
2012-09-08 13:18:58 +00:00
Felix Fietkau 6f6af5bee7 mac80211: update to 2012-09-07, adds ath9k beacon fixes, mesh/adhoc fixes, and more
SVN-Revision: 33331
2012-09-08 11:10:54 +00:00
Felix Fietkau 31e063d212 netifd: update to latest version, fixes premature device release on link loss (fixes #12114, #12112, #11959)
SVN-Revision: 33325
2012-09-06 15:05:30 +00:00
Felix Fietkau 088a126240 hostapd: fix ap+sta issues
SVN-Revision: 33311
2012-08-29 16:06:24 +00:00
Gabor Juhos b2d4ae6615 iwinfo: add hwinfo of AR9280 2T2R PCIe
SVN-Revision: 33306
2012-08-29 10:37:49 +00:00
Gabor Juhos 86ff39c2cb mac80211/rt2800: integrate cosmetic changes in rt3352 support
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33297
2012-08-29 10:37:33 +00:00
Gabor Juhos 326426b388 uboot-envtools: add configration for ramips devices
uboot-env settings for ALL0239-3G, ALL0256N, ALL5002.

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

SVN-Revision: 33296
2012-08-29 10:37:32 +00:00
Jo-Philipp Wich 803b98f7a3 iwinfo: add hwinfo for Rt3050 and maintain alphabetic order
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33293
2012-08-29 10:10:46 +00:00
John Crispin 8703cf92d0 revert threadsafe patch
SVN-Revision: 33292
2012-08-29 10:08:30 +00:00
Jo-Philipp Wich 95738d97a9 ppp: introduce "authfail" option which specifies whether pppd should attempt to re-authenticate after a failed PAP/CHAP auth
SVN-Revision: 33291
2012-08-29 10:07:08 +00:00
Felix Fietkau c965569d21 ath9k: add fix to improve reliability of powersave clients
SVN-Revision: 33290
2012-08-29 08:16:34 +00:00
Felix Fietkau eb896ce900 mac80211: reorganize patches
SVN-Revision: 33289
2012-08-29 08:16:31 +00:00
Gabor Juhos 9130e1121a uboot-envtools: add configuration for ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33283
2012-08-27 14:55:33 +00:00
Felix Fietkau e85962926a mac80211: fix a crash on accessing stale skb->dev references
SVN-Revision: 33279
2012-08-27 12:23:25 +00:00
Felix Fietkau 4a04899c5e ath9k: fix PA predistortion training, fixes hang issues and most likely also fixes #12073
SVN-Revision: 33278
2012-08-27 11:10:36 +00:00
Felix Fietkau 7a341980fa ath9k: add a patch to fix ASPM related issues
SVN-Revision: 33277
2012-08-27 11:07:23 +00:00
Felix Fietkau b639f7f0a4 madwifi: add mirror md5sum to fix issue with the disappeared svn repo (#12084)
SVN-Revision: 33276
2012-08-26 20:47:39 +00:00
John Crispin 27aa659f37 add missin -lpthread to the util - build bots spotted this
SVN-Revision: 33273
2012-08-26 06:31:04 +00:00
Gabor Juhos 245fe6a76c package/util-linux: don't lie about availability of '%ms' scanf modifier
Use a patch from gentoo which allows building libmount even
if the C library does not supports %ms/%as.

See: https://bugs.gentoo.org/406303

SVN-Revision: 33270
2012-08-24 10:01:01 +00:00
John Crispin fc1d7255ee add safethread
SVN-Revision: 33269
2012-08-24 09:58:42 +00:00
Gabor Juhos 9969f90f34 package/uboot-envtools: always install the fw_setenv symlink
It is required by sysupgrade on some boards, and it is only
working if a suitable /etc/fw_env.config is present on the
target board. If an user creates such configuration he/she
should know that it is a dangerous tool. The devices can
be bricked in several other ways anyway.

SVN-Revision: 33265
2012-08-23 14:27:36 +00:00
John Crispin 60e6fcd31b lantiq: dsl: fix status polling loop
doesn't need to do it 20 times all the time, missing loop condition check

Signed-off-by: Conor O'Gorman <i@conorogorman.net>

SVN-Revision: 33217
2012-08-22 09:19:11 +00:00
John Crispin 2df4c1b2d4 dnsmasq: Set prefix on-link bit in RAs
This is fix an issue with dnsmasq's RA that does not set the "on-link" bit, making all local IPv6 traffic go to the router then to the destination host, not directly to each other.

patch is from dnsmasq git

SVN-Revision: 33216
2012-08-22 09:14:42 +00:00
Jo-Philipp Wich ba15f1784c comgt: handle service mode for Huawai modems (#12039)
It seems that the comgt package does not handle the Huawei 3G USB dongle E176 correctly (and probably other Huawei dongles too). My dongle appears as ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem and 3G/UMTS
connections work well. However, no connection is established if only 2G/GPRS is available: the pppd chat script fails with NO CARRIER although the dongle is registered to the network (via 2G). As outlined in  this wiki or  this
blog, Huawei chips use the AT^SYSCFG command to set 2G or 3G mode, which is not implemented in comgt at the moment. Thus I wrote a patch for /lib/network/3g.sh which adds support for the "service" option in the network
configuration with Huawei dongles. By default (if no "service" option is specified) also 2G is used when 3G is unavailable. The Huawei dongle is detected analogously to other chips (the output of gcom -d /dev/ttyUSB0 -s
/etc/gcom/getcardinfo.gcom is scanned for huawei).

Some further information: The AT^SYSCFG command seems to be respected only once after the dongle is attached (or after the host is powered up). Resetting the dongle seems to render the serial port unusable in some cases.
However, the patch sets a useful mode by default which should cover most use cases (3G preferred, but 2G allowed) and if 3G-only or 2G-only mode is required the device can be power cycled.

SVN-Revision: 33212
2012-08-19 15:59:24 +00:00
Jo-Philipp Wich febf63f3c4 acx-mac80211: depend on mipsel, not mips since AR7 is low endian
SVN-Revision: 33201
2012-08-16 01:24:46 +00:00
Jo-Philipp Wich 9d58d538e1 iwinfo: add hwinfo for Rt3052
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33200
2012-08-15 20:22:35 +00:00
Jo-Philipp Wich 82f298b9f1 iwinfo: add hw info support for Rt3xxx SoCs
This takes the device_id and subsystem_id from the EEPROM, I'll add
the info for other Rt3xxx chips in the next days.

[jow: minor whitespace changes]

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

SVN-Revision: 33199
2012-08-15 16:25:38 +00:00
Felix Fietkau 4769dd7237 ath5k: add back a patch for fixing eeprom rate power parsing
SVN-Revision: 33198
2012-08-15 14:49:59 +00:00
Gabor Juhos bd00d48fe2 package/om-watchdog: start service only on the om2p/om2p-lc boards on ar71xx
If the package is installed, it starts the watchdog daemon
on every ar71xx based board.

SVN-Revision: 33194
2012-08-15 13:27:55 +00:00
Jo-Philipp Wich 23d73bf051 iwinfo: add some Atheros cards
These are two Atheros modules we are using, just for the cosmetics to make them
show up with the proper names in LuCI.

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

SVN-Revision: 33186
2012-08-14 13:58:49 +00:00
Jo-Philipp Wich e54e4d50d1 iwinfo: transparently handle radioX names in madwifi backend
SVN-Revision: 33180
2012-08-14 10:33:40 +00:00
John Crispin 4fffc38827 fix breakage when compiling for armv6
SVN-Revision: 33179
2012-08-14 10:13:39 +00:00
Gabor Juhos ca857b7a50 base-files: uci-defaults for rssileds
Adds capability to add uci-defaults defining RSSI LEDs

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

SVN-Revision: 33164
2012-08-13 14:01:37 +00:00
Gabor Juhos 02cf95877e new package: rssileds daemon
rssileds is a small user-space process to control LEDs by polling the
signal quality reported by a WiFi interface. By using the iwinfo library,
rssileds is independent of the WiFi driver used.
It supports pwm controlled LEDs and may by used to nicely fade through
all colors in real-time of the rainbow while only wasting very little CPU
time and a small constant amount of system memory.
An example configuration for the ALL0258N will follow in the next patch.

This is a slightly improved version of rssileds, now quality values are
in percent and stuff is written to syslog.

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

SVN-Revision: 33163
2012-08-13 14:01:34 +00:00
John Crispin 2214277630 dependencies break when alsa is staged
SVN-Revision: 33162
2012-08-13 12:45:36 +00:00
John Crispin e6e331ca67 unify tapi deps
SVN-Revision: 33160
2012-08-13 11:08:13 +00:00
Florian Fainelli fb2db91797 busybox: enable fsync applet by default
SVN-Revision: 33159
2012-08-13 09:55:12 +00:00
John Crispin 8c3ea37f2f 3rd time lucky ... too much sun today
SVN-Revision: 33152
2012-08-12 20:01:04 +00:00
John Crispin 21e5f332dc unbreak deps
SVN-Revision: 33151
2012-08-12 19:59:51 +00:00
John Crispin 0e0a4932b1 breaks when building for powerpc
SVN-Revision: 33150
2012-08-12 18:38:59 +00:00
Jo-Philipp Wich 70aaa116eb base-files: provide a sysupgrade -r (--restore-backup) option as convenience wrapper for tar -C / -x(v)zf
SVN-Revision: 33147
2012-08-12 13:20:27 +00:00
Jo-Philipp Wich 0ef62afd40 netifd: bump to git head, userspace routes are installed with RTPROT_STATIC from now on
SVN-Revision: 33132
2012-08-11 16:07:36 +00:00
Jo-Philipp Wich ef339d4e8f 6rd: missing config option `ipaddr`.
This option is necessary when configuring 6rd behind NAT.

Signed-off-by: Stéphan Kochen <stephan@kochen.nl>

SVN-Revision: 33123
2012-08-11 00:25:23 +00:00
Florian Fainelli fb9023bb8a move LIB_SUFFIX from base-files to rules.mk
Some packages are going to need fixups based on LIB_SUFFIX

SVN-Revision: 33080
2012-08-10 14:15:06 +00:00
Jo-Philipp Wich 19bf880b03 netifd: call "wifi down" before "wifi up"
When the underlying /etc/config/wireless got changed since the last "wifi up"
has been performed, the uci vap ifname state vars become inconsistent on a
subsequent "wifi up" and multiple vaps get mapped to the same ifnames which
confuses the gui and other processes relying on them.

For now call an explicit "wifi down" prior to each "wifi up" which will clear
up the state accordingly.

SVN-Revision: 33076
2012-08-09 22:44:52 +00:00
Jo-Philipp Wich 17dc1d5c44 base-files: fix option parsing of -F/--force parameter
SVN-Revision: 33075
2012-08-09 18:30:47 +00:00
Jonas Gorski c9d7a96ac8 package: linux-atm: br2684ct: fix nas interface bringup on boot
Give nas interface time to setup them selves before configuring them.
Should fix #11826.

Contributed by T-Labs, Deutsche Telekom Innovation Laboratories

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33074
2012-08-09 13:13:26 +00:00
Felix Fietkau 17e6de20d0 ath9k: fix handling of decryption errors, should improve link stability
SVN-Revision: 33063
2012-08-08 18:23:04 +00:00
Felix Fietkau 9f73d47912 ath5k: revert a buggy tx power related patch
SVN-Revision: 33062
2012-08-08 18:23:00 +00:00
Florian Fainelli 31e46b4293 base-files: check for ldd presence and executability (#11991)
SVN-Revision: 33057
2012-08-08 15:37:34 +00:00
Felix Fietkau 4d39f3f405 ath9k: fix hang issues on hw reset caused by interrupt storms
SVN-Revision: 33055
2012-08-08 12:56:44 +00:00
Jo-Philipp Wich 55c322dc68 hostapd: fix ap/sta regression which got accidentally introduced by r32829 (#11914)
SVN-Revision: 33053
2012-08-08 11:13:12 +00:00
Florian Fainelli 5d37f15006 busybox: support V=c toplevel verboseness flag (#11799)
Signed-off-by: Gregory M. Turner <gmt@malth.us>

SVN-Revision: 33035
2012-08-07 16:08:11 +00:00
Florian Fainelli 105c0d3fa4 w1-gpio-custom: set enable_external_pullup to null (#8952)
SVN-Revision: 33034
2012-08-07 16:08:08 +00:00
Felix Fietkau 143ef2c8ff ath9k: completely disable the MIB interrupt from the interrupt mask register to prevent potential interrupt storms
SVN-Revision: 33032
2012-08-07 09:36:24 +00:00
Felix Fietkau a55de42c7d ath9k: extend and enable PA predistortion
SVN-Revision: 33031
2012-08-06 22:11:30 +00:00
Felix Fietkau 74c27a1a92 mac80211: do not delete linux/*_platform.h, they are touched by patches. instead make the build fail if they differ from the ones in the kernel tree to prevent subtle runtime issues (see #11981)
SVN-Revision: 33030
2012-08-06 20:18:07 +00:00
John Crispin 54f30d4f46 fixes tapi dependencies
SVN-Revision: 33029
2012-08-06 18:56:38 +00:00
John Crispin 12c6df34cd fixes package description
SVN-Revision: 33028
2012-08-06 18:54:36 +00:00
Felix Fietkau 0796df61af ath5k: add various pending tx power fixes, vastly improves stability and performance with various cards
SVN-Revision: 33014
2012-08-06 15:33:24 +00:00
Hauke Mehrtens 19a8508046 mac80211: remove header files used to share struct with platform code.
The structs defined in these header files should be the same as the
structes used by the platform code otherwise it will cause strange
runtime errors. By removing them from compat-wireless we will get a
compile error instead of a runtime error if they are out of sync.

SVN-Revision: 33006
2012-08-05 23:43:36 +00:00
Hauke Mehrtens 40f139b53b switch: clean up robo switch driver
* remove use_et, all supported drivers are using mii ioctls
 * remove robo.phy_addr, phy_addr was always set to ROBO_PHY_ADDR.
 * remove support for old kernel versions
 * do_ioctl is allways called with buff == NULL
 * use if_mii

SVN-Revision: 33002
2012-08-05 13:10:43 +00:00
John Crispin 1ae8b7c433 fix xen pci module, partially fixes #11970
SVN-Revision: 32996
2012-08-05 08:16:50 +00:00
Hauke Mehrtens 0758996824 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
SVN-Revision: 32992
2012-08-04 19:46:25 +00:00
John Crispin 3942aebedc gspca-sn9c20x.ko was not insmod'ed due to typo
fixes #11973

SVN-Revision: 32991
2012-08-04 19:17:49 +00:00
John Crispin 23f6ec6ef6 wrt55agv2-spidevs needs <linux/modules.h>
SVN-Revision: 32956
2012-08-03 09:38:24 +00:00
Florian Fainelli 83907c10ed uclibc++: update to 0.2.4
SVN-Revision: 32929
2012-08-01 12:01:24 +00:00
Florian Fainelli 5df254664f uclibc++: stage g++-uc wrappers in $(TOOLCHAIN_DIR)
Since we are overriding TARGET_CXX with the g++-uc wrapper when
we use cmake it expects to find g++-uc in the TOOLCHAIN_DIR.

SVN-Revision: 32928
2012-08-01 12:01:18 +00:00
Florian Fainelli e29d26e56f partially revert r32855
Too many modules were removed, while only the octeon module was meant to be
removed, fix that.

SVN-Revision: 32909
2012-07-29 13:20:47 +00:00
John Crispin 1f58c9b6c1 dont build on arm as kernel headers are missing/have a different layout
SVN-Revision: 32904
2012-07-29 09:07:47 +00:00
John Crispin 101766fb00 clean up pwm patches and drivers
SVN-Revision: 32901
2012-07-28 20:47:08 +00:00
Florian Fainelli 6afd1725f1 base-files: fix detection of standalone ldd
When standalone ldd is selected in config the binary is installed in /usr/bin/ldd.

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

SVN-Revision: 32891
2012-07-27 15:35:00 +00:00
John Crispin 9beec09f5f mae brcmutil depend on PCI and USB. This broke ar7 fullbuilds
SVN-Revision: 32886
2012-07-27 08:30:05 +00:00
Hauke Mehrtens 0c75abf527 bcma: update to version from wireless-testing tag master-2012-07-16
I did not add the last patch, because it add some stubs for the flash drivers and our patches have to be changed for that, if the flash support in bcma is able to do something I will integrate it.

This also contains 3 additional patches fixing some bugs in bcma.

SVN-Revision: 32880
2012-07-26 15:42:18 +00:00
Florian Fainelli 4a3cbbf99d make kmod-mvsas depend on x86 since it fails building on other targets (eg: brcm63xx)
SVN-Revision: 32878
2012-07-26 09:29:22 +00:00
Florian Fainelli d359d46182 make kmod-fb dependent on DISPLAY_SUPPORT and update targets accordingly
SVN-Revision: 32869
2012-07-25 19:36:19 +00:00
Felix Fietkau 5832e754fb mtd: fix trx_fixup
With the BRCM47xx image I have built (Linksys E3000), there are additional
writes following the completion of "mtd_replace_jffs2" which invalidate the
'trx_fixup' performed by 'mtd_replace_jffs2'.  Moving the 'trx_fixup' to somewhere
after all writes have completed fixes the problem.  I also noticed that 'erasesize'
used to compute 'block_offset' in 'mtd_fixtrx' is used before it is computed by
'mtd_check_open'; moving the call to 'mtd_check_open' up a few lines fixes this.

Unlike 'mtd_fixtrx', 'trx_fixup' appears to assume that the TRX header is always at
offset 0; which may be the cause of the problem described in Ticket #8960.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 32866
2012-07-25 17:28:32 +00:00
Florian Fainelli adc2b21be8 move isp116x driver to target specific modules.mk
SVN-Revision: 32865
2012-07-25 15:50:45 +00:00
Florian Fainelli 1627b2bb4b move rt305x-dwc driver to target specific modules.mk
SVN-Revision: 32864
2012-07-25 15:50:42 +00:00
Florian Fainelli c7a69869f7 move ubsec-ssb driver to target specific modules.mk
SVN-Revision: 32863
2012-07-25 15:50:38 +00:00
Florian Fainelli d1b2087a35 move ssb-gige to target specific modules.mk
SVN-Revision: 32862
2012-07-25 15:50:36 +00:00
Florian Fainelli c14d907b8b move usb driver to target specific modules.mk
SVN-Revision: 32861
2012-07-25 15:50:33 +00:00
Florian Fainelli 5b2450ef4f kmod-r6040 depends on PCI_SUPPORT
SVN-Revision: 32860
2012-07-25 15:50:29 +00:00
Florian Fainelli 3b5a8548f4 move mmc driver to target specific modules.mk
SVN-Revision: 32859
2012-07-25 15:50:26 +00:00
Florian Fainelli 18038c803c move ixp4xx-eth to target specific modules.mk
SVN-Revision: 32858
2012-07-25 15:50:23 +00:00
Florian Fainelli 53402a64b3 kmod-gpio-nxp74hc164 is not brcm63xx specific
SVN-Revision: 32857
2012-07-25 15:50:20 +00:00
Florian Fainelli 4000de357e move crypto module to target specific modules.mk
SVN-Revision: 32856
2012-07-25 15:50:16 +00:00
Florian Fainelli a282e37c09 move i2c driver to target modules.mk
SVN-Revision: 32855
2012-07-25 15:50:13 +00:00
Florian Fainelli accbc20045 move watchdog driver to target specific modules.mk
SVN-Revision: 32854
2012-07-25 15:50:10 +00:00
Florian Fainelli 23ffbad602 move target specific spi modules
SVN-Revision: 32853
2012-07-25 15:50:04 +00:00
Florian Fainelli 1859500829 move target specific leds modules to ar71xx modules.mk
SVN-Revision: 32852
2012-07-25 15:50:02 +00:00
Florian Fainelli c3b9a987b7 move leds modules back to target modules.mk
SVN-Revision: 32851
2012-07-25 15:49:57 +00:00
Florian Fainelli bca45d6d8a move i2c modules back to target modules.mk
SVN-Revision: 32850
2012-07-25 15:49:54 +00:00
Florian Fainelli 29ccabae44 fix network devices modules to depend on PCI instead of x86
SVN-Revision: 32849
2012-07-25 15:49:52 +00:00
Florian Fainelli 2bfb2a797c move more x86-specific modules back to target modules.mk
SVN-Revision: 32848
2012-07-25 15:49:49 +00:00
Florian Fainelli 276bc6b9e8 fix libsas and mvsas dependencies against PCI and not x86
SVN-Revision: 32847
2012-07-25 15:49:46 +00:00
Florian Fainelli d973768580 move x86 specific ide/pata modules to x86' modules.mk
SVN-Revision: 32846
2012-07-25 15:49:42 +00:00
Florian Fainelli 89a312bf48 split framebuffer helper modules to their own packages
SVN-Revision: 32843
2012-07-25 14:01:54 +00:00
John Crispin 2113c65f95 fixes build for 3.x kernel and remove old 2.6.x references
Signed-off-by: christoph.thielecke@gmx.de

SVN-Revision: 32832
2012-07-24 23:07:35 +00:00
John Crispin 7639c9b580 mac80211/hostapd: add support for HT capa in case of IBSS/RSN
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 32830
2012-07-24 23:07:25 +00:00
John Crispin 8b3882224a wpa_supplicant: add more parameters
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 32829
2012-07-24 23:07:15 +00:00
John Crispin 3f3268c0c2 hostapd: add pending patches
add patched needed to pass more parameters to the IBSS JOIN command

Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 32828
2012-07-24 23:07:10 +00:00
John Crispin 0e9e7dcd10 adds target used by rapsberry pi
Add support for Raspberry Pi / brcm2708 / 2835

Signed-off-by: Ian Ridge <ianridge [at] gmail.com>

SVN-Revision: 32825
2012-07-24 20:39:17 +00:00
John Crispin 543a2eca42 ext4 support
This patch adds the ext4 filesystem support to mountd. Tested with ext2, ext3
and ext4 partitions.

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

SVN-Revision: 32818
2012-07-24 20:38:26 +00:00
John Crispin ab05409315 add support for Rt3352 in rt2x00 driver
Forgot to do make package/mac80211/update, so the previously posted patch wasn't
in sync with compat-wireless. Now fixed.

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

SVN-Revision: 32817
2012-07-24 20:38:20 +00:00
Florian Fainelli cb0eccf529 orion_wdt is also available on kirkwood
SVN-Revision: 32811
2012-07-24 19:43:58 +00:00
Florian Fainelli 93dc8c8d1b move omap specific modules to modules.mk
SVN-Revision: 32810
2012-07-24 19:43:54 +00:00
Florian Fainelli 82c7e05d42 move n810 battery module to omap24 modules.mk
SVN-Revision: 32809
2012-07-24 19:43:49 +00:00
Florian Fainelli 25e20b0b57 move target specific modules to target's module.mk
SVN-Revision: 32808
2012-07-24 19:43:45 +00:00
Florian Fainelli 502d369283 create kmod-fb and update xen framebuffer module
SVN-Revision: 32805
2012-07-24 19:43:27 +00:00
Florian Fainelli 0a9732d44a add sound-soc-ac97 package
SVN-Revision: 32801
2012-07-24 19:43:10 +00:00
Florian Fainelli 3f81add464 add kmod-regmap including both i2c and spi modules
This is required for quite SoC sound support

SVN-Revision: 32800
2012-07-24 19:43:06 +00:00
Felix Fietkau edd2ef094a ath5k: add tx power related fixes
SVN-Revision: 32793
2012-07-23 22:20:57 +00:00
Vasilis Tsiligiannis 20eddc1e92 Revert "[package] kernel/modules: dont only change loading order on IPSEC*-m, propagate this to documentation too"
Preserve alphabetical order on KCONFIG and description for consistency with other module packages

This reverts commit r32775.

SVN-Revision: 32791
2012-07-23 19:17:05 +00:00
Jo-Philipp Wich b2c4924bb4 owipcalc: fix output formatting quirks
SVN-Revision: 32786
2012-07-20 15:05:30 +00:00
Jo-Philipp Wich 585ebed25f owipcalc: add new operations "next", "prev", "6to4" and "pop", implement a stack for intermediate results
SVN-Revision: 32785
2012-07-20 13:43:10 +00:00
Felix Fietkau 015d66cffb grub: replace an unnecessary piece of inline assembly that breaks the build on recent mac os x
SVN-Revision: 32784
2012-07-20 12:28:54 +00:00
Jo-Philipp Wich 3107a09548 owipcalc: add "prefix" operation to set prefix of base address during calculation
SVN-Revision: 32782
2012-07-19 19:51:53 +00:00
Vasilis Tsiligiannis 7b778aba7c dnsmasq: Fix DHCP no address on interface warning (#10570)
SVN-Revision: 32781
2012-07-19 19:12:54 +00:00
Jo-Philipp Wich 24a28fb0d2 owipcalc: remove binary
SVN-Revision: 32779
2012-07-19 16:17:57 +00:00
Jo-Philipp Wich 542eed0143 add owipcalc - a small ipv4 & ipv6 calculation utility
SVN-Revision: 32778
2012-07-19 16:17:23 +00:00
Hamish Guthrie 4d844e10ab Increase iwlist buffer size
SVN-Revision: 32777
2012-07-19 08:36:11 +00:00
Luka Perkov 6ab7360d18 kernel/modules: dont only change loading order on IPSEC*-m, propagate this to documentation too
SVN-Revision: 32775
2012-07-17 23:11:31 +00:00
Luka Perkov 0a064ed6e6 uboot-envtools: add support for alfa ap96
SVN-Revision: 32774
2012-07-17 23:11:29 +00:00
Vasilis Tsiligiannis 82c4050fd5 kernel/modules: fix ipcomp6 load order
ipcomp6 depends on xfrm6_tunnel, load order changed accordingly.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 32773
2012-07-17 20:50:44 +00:00
Jo-Philipp Wich c3b98c8fc7 toolchain: fix libgcc and libgfortran packages for avr32 and coldfire
SVN-Revision: 32772
2012-07-17 17:33:13 +00:00
Vasilis Tsiligiannis 81a84b03ea dnsmasq: Bump to 2.62, add DHCPv6 variant
SVN-Revision: 32764
2012-07-17 11:48:27 +00:00
Felix Fietkau cf9bca8ded mac80211: update to latest wireless-testing + some monitor mode fixes and some libertas driver fixes
SVN-Revision: 32760
2012-07-16 23:50:54 +00:00
Luka Perkov 84585b45d6 uboot-envtools: add kirkwood board support
SVN-Revision: 32756
2012-07-16 22:32:00 +00:00
Felix Fietkau b893cfb276 uboot-ar71xx: fix compile on recent mac os x versions
SVN-Revision: 32750
2012-07-16 16:26:51 +00:00
Jo-Philipp Wich b29239d9f0 usbreset: improve usability - add device list in usage screen - support resetting by bus/device number, by produc:vendor id or by device name
SVN-Revision: 32741
2012-07-16 00:39:39 +00:00
Felix Fietkau 4f66299903 ath5k: fix txop calculation similar to what was done in ath9k
SVN-Revision: 32735
2012-07-15 15:20:30 +00:00
Felix Fietkau 934cc69768 ath9k: fix an uninitialized variable warning
SVN-Revision: 32734
2012-07-15 15:20:26 +00:00
Luka Perkov 03a6d65c37 kernel: add Marvell SoC built-in RTC to modules
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32732
2012-07-15 14:25:30 +00:00
Vasilis Tsiligiannis 61095c10dd toolchain: Fix typo in libssp config
SVN-Revision: 32723
2012-07-15 10:46:41 +00:00
Luka Perkov dc2d62d3ac uboot-kirkwood: update to 2012.04.01
iConnect board tested by:

Tim Fletcher <tim@night-shade.org.uk>
Wojciech Dubowik <wojciech.dubowik@neratec.com>

DockStar board tested by:

Martin Mueller <mm@sig21.net>

RaidSonic ICY BOX NAS6210 board tested by:

Luka Perkov <uboot@lukaperkov.net>

SheevaPlug was not tested but support for SheevaPlug is taken from upstream
uboot and it is not reported to be broken there.

SVN-Revision: 32717
2012-07-14 23:54:20 +00:00
Luka Perkov 8f563df48f package: kernel: estetic fix
SVN-Revision: 32714
2012-07-14 23:10:32 +00:00
Vasilis Tsiligiannis 087caa57e3 kernel: enable kernel support for ALSA midi
Here is a newer version of the patch:

Enable the real ALSA midi interface (seq) in the kernel. The existing
rawmidi interface is still present. This allows for the alsa midi
utilities to work.

Signed-off-by: Adam Goode <adam@spicenitz.org>
[b_tsiligiannis: replaced $(LINUX_KMOD_SUFFIX) with .ko]
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 32712
2012-07-14 20:10:57 +00:00
Vasilis Tsiligiannis 9ab1df3f48 base-files: Modernize hotplug2 rules (#11368)
SVN-Revision: 32711
2012-07-14 19:59:44 +00:00
Felix Fietkau 7eedaace1a ath9k: add extra checks to reduce the amount of unnecessary rx dma related logspam
SVN-Revision: 32709
2012-07-14 17:48:49 +00:00
Felix Fietkau 877797c60e ath9k: fix 5 ghz frequency selection on ar934x devices with 25 mhz refclock
SVN-Revision: 32705
2012-07-13 23:18:11 +00:00
Jo-Philipp Wich 00f1b1d62a uhttpd: various changes
- remove unused variables
	- simply ignore command line args which belong to not enabled features
	- resolve peer address at accept() time, should solve (#11850)
	- remove floating point operations where possible

SVN-Revision: 32704
2012-07-13 17:10:56 +00:00
Felix Fietkau abc3d9493b netifd: update to latest version, fixes wlan network state getting stuck on wifi restarts, adds support for setting wlan device parameters such as mtu or txqueuelen
SVN-Revision: 32689
2012-07-12 21:50:49 +00:00
Felix Fietkau f600a611ad librpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc
SVN-Revision: 32686
2012-07-12 16:24:01 +00:00
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
Felix Fietkau cbf93f02ba ath9k: remove the queue length limiting patch, the approach was experimental, not used by default and a different solution is required
SVN-Revision: 32515
2012-06-27 22:32:51 +00:00
Felix Fietkau 6c2a295245 base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)
A year of testing in the cerowrt project shows not using timestamps
to be a very bad idea in nearly any TCP at speeds above a few Mbit.

Lastly sack/dsack help on recovery from larger amounts of packet
loss.

SVN-Revision: 32513
2012-06-27 22:32:44 +00:00
Felix Fietkau 0615bde13a ath9k: improve ani behavior during scanning
SVN-Revision: 32511
2012-06-27 12:45:00 +00:00
Felix Fietkau d4c6868027 ath9k: more ani fixes
SVN-Revision: 32510
2012-06-27 02:15:25 +00:00
Felix Fietkau 1e884c0923 ath9k: enable rx for tx antennas earlier (and only for multi-stream devices) to fix some validation corner cases
SVN-Revision: 32509
2012-06-27 01:29:56 +00:00
Felix Fietkau d20470702f ath9k: make antenna mask validation more flexible, allow arbitrary tx chain combinations, enable rx for chains that have enabled tx as well, fix using the second antenna for single-stream diversity based devices
SVN-Revision: 32508
2012-06-27 01:23:17 +00:00
Felix Fietkau 3d83a7b636 ath9k: reject invalid antenna mask configurations
SVN-Revision: 32507
2012-06-27 01:10:18 +00:00
Felix Fietkau 2479910d45 netifd: update to latest version, fixes bridge member interface settings
SVN-Revision: 32506
2012-06-26 23:34:07 +00:00
Jo-Philipp Wich bc41cc82ec broadcom-wl: fix WDS hotplug for multiple networks
SVN-Revision: 32505
2012-06-26 15:43:09 +00:00
Jo-Philipp Wich 089a80ae55 linux-atm: remove defunct ipoa protocol support
SVN-Revision: 32504
2012-06-26 15:40:03 +00:00
Jo-Philipp Wich f2dde4f5ba base-files: allow wireless ifaces to be part of multiple networks
SVN-Revision: 32503
2012-06-26 15:25:33 +00:00
Felix Fietkau 8e1583475d ath9k: fix a dynamic WEP related regression
SVN-Revision: 32492
2012-06-23 17:30:45 +00:00
Felix Fietkau 0b88abd58d ath9k: merge a patch for improving ad-hoc mode performance
SVN-Revision: 32491
2012-06-23 17:30:40 +00:00
Jo-Philipp Wich 7ed9369cb3 ppp: the pptp buffering option is not supported anymore, remove it
SVN-Revision: 32482
2012-06-21 19:41:47 +00:00
Felix Fietkau 3143f03568 toolchain: move eglibc-files from base-files to toolchain, it is packaged as part of the libc package
SVN-Revision: 32467
2012-06-20 13:45:01 +00:00
Vasilis Tsiligiannis 82dc07f6f2 busybox: Enable ibs, obs and conv options on 'dd'
SVN-Revision: 32464
2012-06-19 22:34:49 +00:00
Jo-Philipp Wich 6387e8e458 ppp: annotate most patches with description and S-o-b
SVN-Revision: 32463
2012-06-19 17:03:24 +00:00
Felix Fietkau 431e612d9e mac80211: fix linux 3.5 compatibility
SVN-Revision: 32449
2012-06-19 00:59:19 +00:00
Felix Fietkau 5e204a09cf mac80211: fix AP multi-BSSID support (#11698)
SVN-Revision: 32448
2012-06-19 00:53:20 +00:00
Jo-Philipp Wich 231f5ebb28 zlib fix for btrfs
Hi,

yes, it is true...

In the standard, unpatched trunk is zlib_inflate.ko compiled, but not included
in any package... So, my previous version was functional, but with system bug.

Here is fixed patch.

On Wed, Jun 13, 2012 at 05:00:02PM +0200, Jo-Philipp Wich wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> - -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi.
>
> Shouldn't you also add CONFIG_ZLIB_DEFLATE to KCONFIG then?
>
> ~ Jow
> - -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqrcACgkQdputYINPTPM6dgCfYDgzK1XHiKDJNSdc/+HgIoRp
> HSgAoKdUxcqXzHqTLiyEkiQqCnDuuVmu
> =0DUX
> - -----END PGP SIGNATURE-----
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk/YqvIACgkQdputYINPTPNMagCePNwPSYHfoCd5eXywQ+sTATqQ
> 2CQAoJW/Fez+DqflHlJVcvng/LvsfrCm
> =s6B0
> -----END PGP SIGNATURE-----
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Signed-off-by: Michal Heppler <mhepp@ics.muni.cz>

SVN-Revision: 32444
2012-06-18 23:59:57 +00:00
Jo-Philipp Wich c2b78f87d9 openssl does not compile with uml and arch x86_64
Hi,

I found that openssl did not compile on the uml target under x86_64. The
attached patch should
correct this and is working for me. Is this the right way to do it?

thanks,
Thomas

SVN-Revision: 32443
2012-06-18 23:54:08 +00:00
Felix Fietkau cfe79471d1 kmod-ipt-nathelper-extra: fix missing nf_conntrack_broadcast.ko
kmod-ipt-nathelper-extra is missing the package nf_conntrack_broadcast.ko

if it is not included into the kmod-ipt-nathelper-extra packge the modules
nf_conntrack_snmp and nf_nat_snmp_basic cant get loaded:

[   44.500000] nf_conntrack_snmp: Unknown symbol nf_conntrack_broadcast_help (err 0)
[   44.664000] nf_nat_snmp_basic: Unknown symbol nf_nat_snmp_hook (err 0)

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 32434
2012-06-18 23:30:48 +00:00
Jo-Philipp Wich 3cf347124a kernel: split kmod-pppoe into kmod-pppox and kmod-pppoe, make kmod-pptp depend on kmod-pppox (#11677)
SVN-Revision: 32433
2012-06-18 23:26:36 +00:00
Jo-Philipp Wich d65c855203 6rd: apply the same simplifications done in 6to4 and 6in4
SVN-Revision: 32432
2012-06-18 23:08:20 +00:00
Jo-Philipp Wich fdfffd0fbe Add new package for configuring 6rd tunnels.
This patch adds support for manually configuring 6rd tunnels. It depends on
the netifd patches I sent earlier, which add 6rd support.

A basic interface configuration looks like:

    config interface 'wan6'
      option proto '6rd'
      option peeraddr '192.0.2.1'
      option ip6prefix '2123::'
      option ip6prefixlen '16'
      option ip4prefixlen '0'

Where ip4prefixlen is optional and actually defaults to 0, which would use all
bits of the IPv4 in the calculated IPv6 subnet.

I believe it should be possible to configure a regular 6to4 tunnel using this,
and that we may want to merge the two eventually, but there are some larger

differences between the two at the moment:

 - 6rd addresses can be more difficult to calculate. My ISP, for example, has
   a setup with a v6 mask of 43 bits, and a v4 mask of 19.

 - 6to4 has support for configuring radvd. This is something we want, of
   course, but it seems best to deal with this in a separate patch.

Just creating a new package looked like the quickest way to get this in.

This work is based on the 6in4 package, and work by Stijn Tintel.

Signed-off-by: Stéphan Kochen <stephan@kochen.nl>

SVN-Revision: 32431
2012-06-18 23:08:18 +00:00
Jo-Philipp Wich 985eab3706 netifd: bump again to git head, fix device present state after reconnecting shell protos
SVN-Revision: 32430
2012-06-18 23:01:04 +00:00
Felix Fietkau 575f47b36e netifd: update to latest version again, fixes route6 issues (#11528)
SVN-Revision: 32429
2012-06-18 21:52:28 +00:00
Jo-Philipp Wich 4dc3b124e9 6in4, 6to4: further simplify protocol backends - use new default route dependencies to trigger bringup - remove old hotplug scripts
SVN-Revision: 32428
2012-06-18 21:40:34 +00:00