Commit Graph

7967 Commits (3c5ef16f0404e8b212c6fb3f62ce74cca7957547)

Author SHA1 Message Date
Florian Fainelli 1e6309ce5f [package] kernel: add kmod-crypto-user
Add kernel crypto user-space interface (af_alg). Includes interface for
hash algorithms (algif_hash) and skcipher algorithms (algif_skcipher).

Signed-off-by: Lars Hjersted <lars@hjersted.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-17 08:48:38 +00:00
Florian Fainelli 755cab1b1a [package] add support for DS2482 1-Wire I2C bus master
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-16 20:33:55 +00:00
Gabor Juhos f3b375d229 package/maccalc: a simple mac address manipulation utility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 18:55:51 +00:00
Gabor Juhos b0b017ab66 package/kernel: create package for the RT305x dwc_otg driver
Based on a patch by Layne Edwards <ledwards76@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:57 +00:00
Gabor Juhos 316def79bc button-hotplug: add autoload feature
Reported-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 14:11:49 +00:00
Hauke Mehrtens 63a54df41a kernel: remove kmod-input-core just for some x86 profiles.
Not all x86 profiles have CONFIG_INPUT=y in their configuration. Just remove kmod-input-core for them.

Thank you Philip Prindeville for pointing out this problem.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-15 11:05:35 +00:00
Jonas Gorski 70838d52bd package/kernel: kmod-hid: can't mix and match DEPENDS:= and $(call SetDepends/...)
Since the SetDepends macro does a:

  DEPENDS:= ...

it can't be used after setting DEPENDS:= explicitly, or it will clobber the previous value.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-14 23:36:45 +00:00
Jonas Gorski 5113b208dc package/kernel: Fix AddDepends/SetDepends calls with make 3.82
The module definitions depend on 001-depends.mk being the first included,
but make 3.82 does not sort the results of wildcards anymore, so do an
explicit sort of the includes.

Found by Philip Prindeville, thanks!

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-14 23:36:42 +00:00
Jo-Philipp Wich 3906d96764 [package] firewall: further tune ICMPv6 default rules according to RFC4890 (#9893)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-14 00:33:29 +00:00
Jo-Philipp Wich e0712a54a6 [package] mac80211: use first available channel from current phy if channel is set to "auto"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-13 22:55:59 +00:00
Felix Fietkau e5fe55aa46 ath9k: merge a few more pending fixes, including a fix for the bogus WARN_ON in pci.c and fixes for Rx DMA stop issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-13 16:25:15 +00:00
Felix Fietkau 07c0d5417d crda: update regulatory database to 2011-04-28, adds fixes for NL (#9931)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-13 14:07:01 +00:00
Felix Fietkau a67f05788a libubox: update to fix a compile error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-12 17:15:22 +00:00
Jo-Philipp Wich d652a4b38a [package] base-files: fix arp() procedure to properly detect /usr/bin/arp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-12 14:34:39 +00:00
Felix Fietkau 4163894f00 update libubox and ubus to latest, libubox now includes jshn
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-11 22:09:11 +00:00
Jo-Philipp Wich 6f64e87d8a [package] iptables: drop iptables-utils and ip6tables-utils, ship needed symlinks in iptables and ip6tables packages (#9691)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-11 21:26:44 +00:00
Felix Fietkau 0da1b304fc mac80211: update to 2011-08-10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-11 13:52:27 +00:00
Felix Fietkau efd244ff8f ath9k: add a regdomain code used on newer ubiquiti networks devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-10 16:35:43 +00:00
Jonas Gorski 47a0551d87 package/acx: mark as broken for linux 3.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-09 12:19:36 +00:00
Jonas Gorski 1304780681 package/madwifi: mark as broken for linux 3.1
Madwifi does not compile because of VLAN API changes.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-09 12:19:34 +00:00
Jonas Gorski d84ffdf5b4 package/kernel: Mark mvswitch as broken for linux 3.1
mvswitch does not compile because of VLAN API changes.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-09 12:19:32 +00:00
Jonas Gorski 51d2c32e24 package/mac80211: mark as broken for linux 3.1
compat-wireless does not support 3.1 yet.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-09 12:19:30 +00:00
Jonas Gorski 4fad9a20d2 package/kernel: invert dependencies for current kernel features
Instead of depending on new kernel versions, depend on not having one
of the older ones (or vice versa for modules removed in current kernels).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-09 12:19:27 +00:00
Felix Fietkau b7bb702e2a b43: fix reloading config settings after channel changes or hostapd restart (#8033)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-08 11:28:24 +00:00
Hauke Mehrtens d91d639a87 mac80211: always store broadcom firmware in b43 and b43legacy dir
This is always used to build a firmware for linux systems also if we are on freebsd.

This is one patch from #9897 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-06 17:07:42 +00:00
Hauke Mehrtens 84e009f1ee kernel: typo in cs5535 and cs5536 pata driver kernel definitions
closes #9773


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-06 16:44:10 +00:00
Hauke Mehrtens 63a34d90df broadcom-diag: add support for bcma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 20:08:57 +00:00
Hauke Mehrtens ee6b31756a switch: update for brcm47xx target
* remove suport for 2.4 kernel
* add support for bcma bus



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 20:07:58 +00:00
Hauke Mehrtens 99c69c1cbf rtc-rv5c386a: add support for kernel 3.0
remove BKL and adds support for changes in bcm47xx code


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 20:06:17 +00:00
Hauke Mehrtens 871991d9fe brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 20:04:54 +00:00
Felix Fietkau 53401a7cd4 ath9k: add missing chunk to the BlockAckReq fix (fixes a compile error)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 09:23:57 +00:00
Felix Fietkau 7eb7c8bdab ath9k: add some code to control internal driver queue length limits
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 00:35:20 +00:00
Felix Fietkau 196b6dcbaa ath9k: reduce the number of software retries, include hardware a-mpdu retries in retry counting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 00:35:16 +00:00
Felix Fietkau 27483c5598 ath9k: rework handling of sending BlockAckReq frames, should hopefully lead to fewer latency spikes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-04 00:35:12 +00:00
Jonas Gorski 164e8d9bf6 kernel: Fix firewire for 2.6.37+
The old ieee1394 stack was removed in 2.6.37. The new firewire stack is
available for all kernel versions, but experimental for the older one, so
make both available where appropriate.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 09:53:19 +00:00
Felix Fietkau 236483242b mac80211: fix a compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 21:14:15 +00:00
Felix Fietkau e3b9933f66 broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 18:41:05 +00:00
Florian Fainelli 12f7419a64 [package] perf: mark as broken for now
Until we properly deal with the various versions of libelf we package,
mark perf as broken

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 18:16:19 +00:00
Felix Fietkau bf291cd7b7 mac80211: add missing chunks to the compat_firmware_class change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 17:52:07 +00:00
Felix Fietkau a0621fc315 mac80211: move compat_firmware_class.ko into compat.ko (fixes #9864)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 17:42:00 +00:00
Vasilis Tsiligiannis cd2fc3bbe6 [package] kernel/modules: Add missing config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 14:45:03 +00:00
Felix Fietkau 2686b1fba7 ath9k: prevent the aggregation code from sending packets to sleeping stations - should fix some latency issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 12:15:22 +00:00
Felix Fietkau 9e97722854 ath9k: fold patches that were merged upstream into 300-pending_work.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 12:15:15 +00:00
Jonas Gorski 7e5971a850 gdb: add dependency to libexpat when present
Also prevent gdb from trying to link against the host's libexpat.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 09:32:01 +00:00
Jonas Gorski 2cf4797d5e package/kernel: move kmod-fs-mbcache into fs-ext4
mbcache is only needed if xattr support is enabled, but this is only true
for ext4 on 2.6.37+, so just bundle it with ext4 when needed.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 17:58:46 +00:00
Jo-Philipp Wich 576e67e6f2 [package] dropbear:
- split port argument at the rightmost colon, allows binding to specific IPv6 addresses
	- don't use uci ipaddr var but resolve ifname and get addresses from it (#9853)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 12:05:54 +00:00
Felix Fietkau 9b98293f26 qos-scripts: disable by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-29 16:32:55 +00:00
Felix Fietkau 33195c7399 hostapd: fix a compile issue when compiling wpa_supplicant (fixes #9837)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-29 14:14:32 +00:00
Felix Fietkau 51c0e450c7 ath9k: fix switching channel bandwidth from 5/10 back to 20mhz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-29 12:25:46 +00:00
Felix Fietkau 811dd70b8f hostapd: fix wds interface address handling for multi-bssid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-29 09:40:24 +00:00
Felix Fietkau 63022944e0 hostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-29 09:40:19 +00:00
Gabor Juhos 892b77ebe1 swconfig: fix backward compatibility
swconfig fails to load uci configuration after the generic switch
identifier changes.

root@OpenWrt:/# uci show network | grep switch
network.@switch[0]=switch
network.@switch[0].name=eth0
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=eth0
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=0t 2 3 4 5
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device=eth0
network.@switch_vlan[1].vlan=2
network.@switch_vlan[1].ports=0t 1
root@OpenWrt:/# swconfig dev eth0 load /etc/config/network
Failed to apply configuration for switch 'switch0'
root@OpenWrt:/# swconfig dev switch0 load /etc/config/network
Failed to apply configuration for switch 'switch0'

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 19:54:11 +00:00
Felix Fietkau 3649909c09 ppp: remove zero-length patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 17:34:44 +00:00
Felix Fietkau 56add8a1e4 ppp: version bump to 2.4.5
Bump to the current version of PPP.

A few of the patches are either in 2.4.5 or something functionally equivalent is, so those patches were removed.

1 patch was added to accommodate pppol2pv3_addr which is referenced in a linux kernel header file, but isn't defined in the kernel header files packaged with PPP.

Redux: re-instate the commenting out of the exponential back-off as requested by Felix.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-28 16:51:12 +00:00
Jonas Gorski c86f6a9235 swconfig: Add generic switch identifiers
Also make switches available under a generic name "switch<num>" for device
name agnostic access. The old device name is used as an alias for backward
compatibility.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-27 18:00:18 +00:00
Felix Fietkau 667740bb3f base-files: warn when calling /etc/init.d/<script> enable and neither START nor STOP is defined
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-27 09:02:10 +00:00
Jo-Philipp Wich 6292b0603f [package] firewall: prevent redundant rules if multiple ports and multiple icmp types are given in a rule block for both icmp and other protocols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-26 22:21:39 +00:00
Felix Fietkau f14e91f44d ath9k: rework tx power handling - display the correct *current* tx power, and also fix tx power limits with ATH_USER_REGD set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-26 20:53:40 +00:00
Felix Fietkau 631b233e20 mac80211: merge a few pending fixes for channel switch handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-26 15:11:27 +00:00
Jo-Philipp Wich 9543d734cf [package] linux-atm: don't fail if an PREFIX env var is set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-26 10:47:59 +00:00
Jo-Philipp Wich 7b463936a2 [package] base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 22:19:55 +00:00
Felix Fietkau 4d88e982ce mac80211: rename a misnamed patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 09:56:23 +00:00
Felix Fietkau ab7bdbd79a mac80211: remove the ccmp rx pn workaround, it should no longer be necessary and it was reported to cause connection stability issues (see #9646)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 06:29:00 +00:00
Hauke Mehrtens 71156dadb8 kernel: crypto: fix spelling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 15:08:17 +00:00
Hauke Mehrtens 56d7544ebb ocf-linux: version bump to 20110720
Fixes problem with TFM allocation in cryptosoft.c


Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

Hauke:
 * remove ubsec_ssb package and take it from ocf-linux
 * use patches from ocf-linux package
 * refresh all patches
 * readd some build fixes for OpenWrt.
 * readd CRYPTO_MANAGER dependency


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:17:58 +00:00
Jo-Philipp Wich 172c221854 [package] broadcom-wl: give the 007 patch a more meaningful name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:14:48 +00:00
Jo-Philipp Wich 76f140409a [package] broadcom-wl: make it work on the RT-N16 and other device using the BCMA bus
- refresh and reorder patches
	- introduce a unified BCMA/SSB glue driver to accomodate for both bus types on brcm47xx
	- extend wlunbind init script to detach device from bcma-pci-bridge as well


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:10:39 +00:00
Hauke Mehrtens 3927d60ba3 mac80211: do not build bcma from compat-wireless
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 12:29:27 +00:00
Hauke Mehrtens 9ecb39e6c7 mac80211: fix typo and make broken options depend on BROKEN
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-23 11:32:19 +00:00
Hauke Mehrtens 50f0083437 mca80211: add support for b43 on bcma bus.
This makes b43 work on broadcom SoCs using bcma as system bus.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-23 11:25:05 +00:00
Hauke Mehrtens 9521774338 kernel: add bcma package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-23 11:17:36 +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 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
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
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 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
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
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
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
Imre Kaloz 1dedd8f702 fixup orion compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-11 16:52:28 +00:00
John Crispin bcf3aedbf6 wrong md5sum in ltq-ifxos
Signed-off-by: Luka Perkov

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-10 10:40:37 +00:00
Felix Fietkau 722b484089 mac80211: backport atomic64_t support for kernels that don't support it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 09:01:17 +00:00
Felix Fietkau 9d7cebdc61 hostapd: refresh patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 07:28:00 +00:00
Felix Fietkau b9b3a6aa48 hostapd: send EAPOL frames using the same WMM queue as management frames - fixes reconnect issues under load
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 07:20:19 +00:00
Felix Fietkau e183a088f6 hostapd: only advertise a single encryption type via WPS if multiple are supported - fixes windows 7 interop issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 07:19:55 +00:00
Felix Fietkau 4bb205f19e ath9k: merge some pending initval fixes for ar9380
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 04:20:01 +00:00
Felix Fietkau 612c2e8aa5 ath9k: fix sifs time for half/quarter and remove some unnecessary defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 04:19:41 +00:00
Felix Fietkau 4ab49d72b8 ath9k: add more fixes for TKIP MIC validation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-09 03:33:59 +00:00
Felix Fietkau 502d7320b0 ath9k: add a temporary uci option for setting the channel bandwidth
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 17:19:42 +00:00
Felix Fietkau c26f63a3c9 ath9k: add more fixes for half/quarter rate support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 17:19:21 +00:00
Felix Fietkau ec7904cc14 mac80211: fix an interop issue with some broken 802.11n clients (#9436)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 05:49:33 +00:00
Felix Fietkau 00dc80b385 mac80211: add pending crypto bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 05:20:03 +00:00
John Crispin 8aea078c68 kmod-dm9000 should build as a module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 18:21:01 +00:00
John Crispin 51e73e77d4 fix ltq-vmmc SoC dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 18:20:47 +00:00
John Crispin 2c02fafcf3 update ltq-vmmc patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 18:20:42 +00:00
John Crispin b93bac793a replace all references to xway with danube
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 18:20:37 +00:00
John Crispin cb11721b77 update ltq-tapidemo to 5.1.0.53
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 18:20:11 +00:00
John Crispin 767bb690d1 update ltq-ifxos to version 1.5.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 18:20:02 +00:00
John Crispin 628845c5ad fixes ltq-vmmc for none falcon targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 18:19:57 +00:00
John Crispin 19df97b1e9 pjsip-ltq-tap is for all lantiq targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 18:19:51 +00:00
Jo-Philipp Wich 27aea2ff2d [package] firewall: make sure that -m mac is used with --mac-source, follow up to r27508
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 10:28:31 +00:00
Florian Fainelli 1d626aaae5 [package] add perf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 09:43:04 +00:00
Daniel Dickinson b83eb47cb9 [package] firewall: also correct another variable missed in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 08:59:40 +00:00
Daniel Dickinson 741b6c9b3c [package] firewall: fix wrong variable names for protocol command line parameter - were missed during r27500
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 08:54:29 +00:00
Daniel Dickinson 79a8d30325 [package] base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. This caused errors due to frequent use of /proc/cpuinfo to determine board name to pick led layout. Now diag.sh (which only defines set_state and any helper functions) is sourced by a proper preinit function during preinit_main, which is after /proc has been brought up, unlike in /etc/preinit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-07 02:52:02 +00:00
Jo-Philipp Wich aa43abb8d1 [package] firewall:
- solve scoping issues when multiple values are used, thanks Daniel Dickinson
	- ignore src_port/dest_port for proto icmp rules, ignore icmp_type for non-icmp rules
	- properly handle icmp when proto is given in numerical form (1, 58)
	- support negated icmp types


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 22:10:46 +00:00
John Crispin 31aac3c47e ltq-tapi/vmmc were build on none lantiq targets due to bad builddepends of pjsip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 19:02:27 +00:00
John Crispin 5842cbd731 ltq-tapi is not xway specific
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 19:02:16 +00:00
John Crispin 34bb4ecdec Lantiq TAPI driver also build for other platforms
thanks	Matthias Buecher



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 13:41:16 +00:00
John Crispin fd916d517f add support for gigaset SX76X to uboot-lantiq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 10:36:47 +00:00
John Crispin ac64a0094a fix lantiq uboot to build lzma compressed bootloaders for eval kits
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 10:36:35 +00:00
Felix Fietkau 9ac92fff5d ath9k: fix some more "DMA failed to stop in 10 ms" issues on AR913x (#9654)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 09:06:56 +00:00
Felix Fietkau ee9855b208 ath9k: fix reliability issues with TKIP MIC verification
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 09:06:39 +00:00
Felix Fietkau f146a0c6e0 ath9k: always enable fast clock for 5 ghz regardless of the eeprom setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 09:06:21 +00:00
Daniel Dickinson 54aa8cb28a [package] firewall: fix udp rules for tcpudp proto rules using src_port and dest_port after modification by the parsing of the tcp rule
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 06:26:12 +00:00
Daniel Dickinson 16113ee0b1 [package] e2fsprogs: Fixed filename of patch (needed .patch extension)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-05 23:19:29 +00:00
Daniel Dickinson 01239b51ae [package] e2fsprogs: Added libpthread back to blkid link, otherwise blkid fails to link)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-05 23:10:47 +00:00
Florian Fainelli 6d1af493fb [package] iptables: add iptables-mod-led (#9400)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-05 12:40:59 +00:00
Florian Fainelli 4a99e893c2 [package] e2fsprogs: fix blkid dependencies (#9377)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-05 12:40:56 +00:00
Florian Fainelli b8c570e707 [package] add kmod-sched-netem (#8839)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-05 12:40:53 +00:00
Jo-Philipp Wich fc02691061 [package] 6in4, 6to4: prevent starting the tunnel if kmod-sit is not yet loaded (#9643)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-05 00:52:10 +00:00
Felix Fietkau 273ecbcce3 kernel: use lib80211 from compat-wireless instead of the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 03:16:53 +00:00
Felix Fietkau 724bbd4ddb ath9k: merge an upstream change to fix false tx hangs on ar9003
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 03:03:12 +00:00
Felix Fietkau 5d52524c3f ath5k: add an upstream patch to fix a memory leak
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 03:02:52 +00:00
John Crispin 4e97f76c3b fixes dependencies of pjsip and ltq-vmmc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 17:38:52 +00:00
John Crispin 945713a874 add falcon support to vmmc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 17:38:41 +00:00
John Crispin 8653b077a7 add kmod for dm9000
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 17:37:18 +00:00
John Crispin 47c41e4c44 add kmod definitions for at24(i2c) and at25(spi) eeproms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 17:23:36 +00:00