Commit Graph

6859 Commits (c27c0d1ff08bca911d347fcc167d7ee1890a1a1e)

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