Commit Graph

8956 Commits (727249a95d76a1ad089482b06a45f13938eac7e2)

Author SHA1 Message Date
John Crispin 7867853a57 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:19:11 +00:00
John Crispin 2f7f3ae094 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:14:42 +00:00
Jo-Philipp Wich 4ef25a5e5b [package] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-19 15:59:24 +00:00
Jo-Philipp Wich bcb3897977 [package] acx-mac80211: depend on mipsel, not mips since AR7 is low endian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-16 01:24:46 +00:00
Jo-Philipp Wich 5b566125cd iwinfo: add hwinfo for Rt3052
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 20:22:35 +00:00
Jo-Philipp Wich 3c8e9938c6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 16:25:38 +00:00
Felix Fietkau 8ff90336c8 ath5k: add back a patch for fixing eeprom rate power parsing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 14:49:59 +00:00
Gabor Juhos d386d8b4a3 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:27:55 +00:00
Jo-Philipp Wich a015e7c411 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 13:58:49 +00:00
Jo-Philipp Wich 07f112a8e7 [package] iwinfo: transparently handle radioX names in madwifi backend
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 10:33:40 +00:00
John Crispin 4867ab5490 [arptables] fix breakage when compiling for armv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 10:13:39 +00:00
Gabor Juhos 26b0b0cea8 base-files: uci-defaults for rssileds
Adds capability to add uci-defaults defining RSSI LEDs

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 14:01:37 +00:00
Gabor Juhos 6bbfb56a10 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 14:01:34 +00:00
John Crispin 593d4aff09 [pjsip] dependencies break when alsa is staged
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 12:45:36 +00:00
John Crispin 24c1520ba7 [lantiq] unify tapi deps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 11:08:13 +00:00
Florian Fainelli b76fb3116f [package] busybox: enable fsync applet by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 09:55:12 +00:00
John Crispin d318053bec [acx-mac80211] 3rd time lucky ... too much sun today
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 20:01:04 +00:00
John Crispin 70b027e648 [acx-mac80211] unbreak deps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 19:59:51 +00:00
John Crispin 2f1cdf20b9 [acx-mac80211] breaks when building for powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 18:38:59 +00:00
Jo-Philipp Wich b35dab3480 [package] base-files: provide a sysupgrade -r (--restore-backup) option as convenience wrapper for tar -C / -x(v)zf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 13:20:27 +00:00
Jo-Philipp Wich 7b97a7c808 [package] netifd: bump to git head, userspace routes are installed with RTPROT_STATIC from now on
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 16:07:36 +00:00
Jo-Philipp Wich 23fdfa09c3 6rd: missing config option `ipaddr`.
This option is necessary when configuring 6rd behind NAT.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 00:25:23 +00:00
Florian Fainelli 8c0856ac4c [buildroot] move LIB_SUFFIX from base-files to rules.mk
Some packages are going to need fixups based on LIB_SUFFIX

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 14:15:06 +00:00
Jo-Philipp Wich 2642c86fb3 [package] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-09 22:44:52 +00:00
Jo-Philipp Wich 86c37ab542 [package] base-files: fix option parsing of -F/--force parameter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-09 18:30:47 +00:00
Jonas Gorski f1a4e36531 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-09 13:13:26 +00:00
Felix Fietkau 02c27ce8e5 ath9k: fix handling of decryption errors, should improve link stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 18:23:04 +00:00
Felix Fietkau 97f7084e73 ath5k: revert a buggy tx power related patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 18:23:00 +00:00
Florian Fainelli 11408fde94 [package] base-files: check for ldd presence and executability (#11991)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 15:37:34 +00:00
Felix Fietkau 59e0be3522 ath9k: fix hang issues on hw reset caused by interrupt storms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 12:56:44 +00:00
Jo-Philipp Wich 8e7bd7eb2e [package] hostapd: fix ap/sta regression which got accidentally introduced by r32829 (#11914)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 11:13:12 +00:00
Florian Fainelli 1d37d67df3 [package] busybox: support V=c toplevel verboseness flag (#11799)
Signed-off-by: Gregory M. Turner <gmt@malth.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-07 16:08:11 +00:00
Florian Fainelli 136aed85e3 [package] w1-gpio-custom: set enable_external_pullup to null (#8952)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-07 16:08:08 +00:00
Felix Fietkau 6fea07e854 ath9k: completely disable the MIB interrupt from the interrupt mask register to prevent potential interrupt storms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-07 09:36:24 +00:00
Felix Fietkau e41d1a7d4e ath9k: extend and enable PA predistortion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-06 22:11:30 +00:00
Felix Fietkau af20cf9e81 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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-06 20:18:07 +00:00
John Crispin 05b6aa01bf [lantiq] fixes tapi dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-06 18:56:38 +00:00
John Crispin 2e64b75f00 [e2fsprogs] fixes package description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-06 18:54:36 +00:00
Felix Fietkau 607db2a586 ath5k: add various pending tx power fixes, vastly improves stability and performance with various cards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-06 15:33:24 +00:00
Hauke Mehrtens ebdd990be5 [packages] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 23:43:36 +00:00
Hauke Mehrtens 368889cbfe [packages] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 13:10:43 +00:00
John Crispin 080d8b3d56 [kernel] fix xen pci module, partially fixes #11970
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 08:16:50 +00:00
Hauke Mehrtens b37db09843 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-04 19:46:25 +00:00
John Crispin 5bc4fcb3ad [kernel] gspca-sn9c20x.ko was not insmod'ed due to typo
fixes #11973

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-04 19:17:49 +00:00
John Crispin c45d8c8e90 [atheros] wrt55agv2-spidevs needs <linux/modules.h>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-03 09:38:24 +00:00
Florian Fainelli cb79808311 [package] uclibc++: update to 0.2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:01:24 +00:00
Florian Fainelli c8e80b90e2 [package] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-01 12:01:18 +00:00
Florian Fainelli 813eb53612 [package] partially revert r32855
Too many modules were removed, while only the octeon module was meant to be
removed, fix that.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29 13:20:47 +00:00
John Crispin e23ee9667d [acx-mac80211] dont build on arm as kernel headers are missing/have a different layout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29 09:07:47 +00:00
John Crispin 841bbe2dbd [kernel] clean up pwm patches and drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-28 20:47:08 +00:00