Commit graph

6892 commits

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