Commit Graph

6907 Commits (2fb3792fa96eb26596753a5783b86a129a805ef8)

Author SHA1 Message Date
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