Commit Graph

21185 Commits (550791e0ddf21bf151dbf2d8e3f6d45e9670561e)

Author SHA1 Message Date
Hauke Mehrtens c818073c4a kernel: update to linux-3.0 and refresh patches.
Thank you Peter Wagner for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-22 16:04:25 +00:00
Jo-Philipp Wich eac5958fa7 [package] base-files: attempt bring up related wifi devices when calling ifup
If a user invoked /sbin/ifup to bring up an interface, the setup used to fail
in case of wireless networks tied to a non-bridged interface definition.
Likewise, the bringup of "lan" in the default configuration will reinitialize
the bridge but do not re-join the wireless network to it, requiring an extra
call to /sbin/wifi (which might not be possible anymore due to a severed link
if connected wirelessly).

The changeset modifies the "ifup" command to search for related wireless
devices and call "wifi up" on them if applicable. This way the commands for
wireless and non-wireless interfaces are unified from a cli point of view.

The "ifup -a" case has not been changed to keep the logic of the 
/etc/init.d/network boot sequence. This might be changed later.

Solves #9763.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-22 00:21:20 +00:00
Jo-Philipp Wich 247397ca80 [package] firewall: fix serious bug in state var handling (#9746)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 15:29:10 +00:00
Felix Fietkau 5ee62f2cf9 ar71xx: reinitialize global switch settings after reset on ar7240
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 14:39:47 +00:00
Felix Fietkau 366b622fda ar71xx: configure address aging on ar7240
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 14:39:42 +00:00
Felix Fietkau 5ce15fed68 ar71xx: reset the phy in the ethernet init on ar724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:34 +00:00
Felix Fietkau 8b276baecf ar71xx: make sure that rx and interrupts are disabled before issuing the hardware reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:29 +00:00
Felix Fietkau 1cd2aa24fb ar71xx: increase the delay after the ethernet MAC reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:25 +00:00
Felix Fietkau 46e19e0fbb ar71xx: fix an unused variable warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 12:04:20 +00:00
Felix Fietkau 24aa501714 comgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-20 08:47:19 +00:00
Felix Fietkau e452e8b07e uci: fix one more unused-but-set issue (#9731)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-19 20:44:35 +00:00
John Crispin 1dc8208c04 sync default kernel config for lantiq danube/ar9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-19 18:08:09 +00:00
John Crispin 22b53eb61a fix etehrnet when using EPHY on lantiq ASE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-19 18:06:52 +00:00
John Crispin 12ce54580f fixes pci on lantiq AR9 SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-19 18:06:42 +00:00
John Crispin 251518332b add support for more lantiq AR9 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-19 18:06:33 +00:00
Felix Fietkau 6ab7823969 kernel: backport and enable tmpfs xattr support for 2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-19 09:00:55 +00:00
Jo-Philipp Wich 1f2d40118d [package] uhttpd: pass feature flags (#9742)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-19 06:59:47 +00:00
Felix Fietkau 09caaff060 ath9k: validate eeprom chainmask settings, some Ubiquiti devices (and maybe others) contain bogus data, which breaks wifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-19 06:42:26 +00:00
John Crispin 8f3d723ac4 [lantiq]
* fix external interrupts

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-18 16:27:11 +00:00
Jo-Philipp Wich ffd45a9640 [package] uhttpd: support building against openssl instead of cyassl, minor cleanups (#7827)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-18 14:18:31 +00:00
Felix Fietkau cdaf0b7073 uci: update to fix more unused-but-set issues (#9731)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-18 10:09:53 +00:00
Felix Fietkau 6dc2fb21fd uci: update to 2011-07-18, fixes #9731
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-18 06:32:45 +00:00
Jo-Philipp Wich e9de2616e5 [package] resolveip: fix whitespace
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 22:47:56 +00:00
Jo-Philipp Wich 18f7f43818 [package] pptp: properly support symbolic VPN host names, tear down created host routes (#4876)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 22:42:29 +00:00
Jo-Philipp Wich 130007736c [package] add "resolveip", a small DNS lookup utility for use in scripts (#4876)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 22:20:48 +00:00
John Crispin 22936665fe [lantiq]
* add gigasx76x update
* rebase patches
* add arv752DPW arv7525PD
* fixes gpio_keys

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 19:27:44 +00:00
John Crispin 05533383fa uboot-lantiq
fix arv752DPW and add arv7525PW

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 19:27:34 +00:00
John Crispin 0ecc62ed54 revert parts of r27488 to uboot-lantiq
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 19:27:24 +00:00
John Crispin 2c0f2f82ef better lantiq support in madwifi
Allow for each lantiq target (without wifi eeprom) to define where
wireless configuration data is on flash. Patch also adds support for
sx763 lantiq target.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 19:27:14 +00:00
John Crispin 094caf5fca reorganize ltq-dsl-app
Add menu options to ltq-dsl-app.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 19:26:35 +00:00
Jo-Philipp Wich e2bee03425 [package] base-files: implement a generic mechanism to map per-interface sysctls to uci.
- option ipv4_xyz is mapped to /proc/sys/net/ipv4/{conf,neigh}/xyz
	- option ipv6_xyz is mapped to /proc/sys/net/ipv6/{conf,neigh}/xyz
This allows e.g. "option ipv6_proxy_ndp 1" to enable NDP proxying on wan.
Fixes ticket #8699.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 17:10:30 +00:00
Jo-Philipp Wich 2c71b3ff3e [package] iptables: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 15:53:34 +00:00
Jo-Philipp Wich a20aab9186 [package] 6to4: provide "adv_preferred_lifetime" and "adv_valid_lifetime" options to control the generated radvd prefix values (#9147)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 15:43:18 +00:00
Jo-Philipp Wich 3d2cce303b [package] iptables: rewrite module help texts (#7446)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 15:31:30 +00:00
Jo-Philipp Wich ede00d3c69 [package] iptables: fix redundant binaries in iptables-utils & ip6tables-utils (#9691)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 15:01:07 +00:00
Florian Fainelli 9dd5b8019e [ar7] add additionnal debug symbols when kernel debugging is enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 12:30:04 +00:00
Jo-Philipp Wich 3b8dd62e91 [package] mountd: correctly handle poll() timeout case, solves possible 100% CPU load when idle (#7293)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 11:58:05 +00:00
Jo-Philipp Wich 68e0aebc34 [package] base-files: add -h and --help options to sysupgrade (#9728)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 09:27:14 +00:00
Jo-Philipp Wich 4e7f4a35b5 [package] uhttpd: unblock signals in CGI childs, solves hanging ssh logout after server restart from within LuCI and similar problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 07:18:59 +00:00
Felix Fietkau 8d53f23ad5 eglibc: remove obsolete dependencies to fix missing config options for eglibc 2.13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-16 10:27:48 +00:00
Florian Fainelli f780ffc6fd [brcm63xx] add ehci support to DWV-S0 board (#9059)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-16 08:39:04 +00:00
Jo-Philipp Wich 4885c7ec71 [package] firewall: rework state variable handling, use uci_toggle_state() where applicable and properly handle duplicates in add and del state helpers (#9152, #9710)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-15 15:03:57 +00:00
Jo-Philipp Wich ada59a09ce [package] base-files: use uci_toggle_state() to prevent unwanted aggregation of state vars (#9711)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-15 14:57:44 +00:00
Jo-Philipp Wich 15080fc5d1 [package] uci: implement a uci_toogle_state() wrapper in the shell api which calls uci_revert_state() before uci_set_state()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-15 14:52:38 +00:00
Felix Fietkau d88db9d9a1 ath9k: add some more fixes to the mic failure handling rework patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-13 15:37:36 +00:00
Felix Fietkau c932b2f27c mac80211: fix compile errors because of duplicate atomic64 implementations (#9690)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-13 15:01:18 +00:00
Florian Fainelli 1218fd06fb [brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-13 09:33:11 +00:00
Imre Kaloz 8334f5531f [generic]: upgrade to 3.0-rc7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-12 13:44:16 +00:00
Imre Kaloz aca47677c3 [toolchain]: In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters.
Add it back.

Signed-off-by: Jochen Friedrich <jochen@scram.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-12 13:34:18 +00:00
Felix Fietkau b2839b9754 ath9k: fix mic frame handling for bigger packets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-12 03:24:53 +00:00