Commit graph

6794 commits

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