Commit Graph

7638 Commits (51fb87ec2fffc5fa47da0d223fb700fefad03e16)

Author SHA1 Message Date
Jo-Philipp Wich 7208c5f713 [package] kernel: revert r26814
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:25:36 +00:00
Jo-Philipp Wich f6a18657c6 [PATCH 1/2] kernel: add kmod-crypto-ipsec
kmod-crypto-ipsec bundles some otherwise unprovided kernel crypto
modules that are useful for IPSEC. This is an alternative to breaking
these modules out into kmod-crypto-wq (crypto_wq.ko), kmod-crypto-rng
(rng.ko and krng.ko), and kmod-crypto-iv (eseqiv.ko and chainiv.ko).

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:22:43 +00:00
Jo-Philipp Wich ffcc3b539f [PATCH 2/2] kernel: add kmod-crypto-{wq,rng,iv}
Add kmod-crypto-iv as a dependency for kmod-ipsec.  Also remove the
extraneous kmod-crypto-core dependency to eliminate recursion.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:21:05 +00:00
Jo-Philipp Wich a5c2d78c12 [PATCH 1/2] kernel: add kmod-crypto-{wq,rng,iv}
This patch adds kmod-crypto-wq, kmod-crypto-rng, and kmod-crypto-iv
packages. These packages provide some missing kernel crypto modules
which are required for IPSEC. The strongswan4, ipsec-tools, and possibly
other IPSEC packages do not work properly without these modules.

NOTE: The KCONFIG associated with each of these modules gets selected
whenever CRYPTO_MANAGER (kmod-crypto-manager) is selected so these
modules are already being built.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:19:56 +00:00
Jo-Philipp Wich b1d9016ac7 [package] comgt: move ifup invocation back into background subshell to prevent hotplug deadlocks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:45:55 +00:00
Jo-Philipp Wich 4d8958b11d [package] comgt: move 3g hotplug handling to tty subsystem, fixes race on coldplug (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:39:13 +00:00
Jo-Philipp Wich eade71f1b7 [package] base-files: cleanup permissions of device files in common hotplug rules (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:37:59 +00:00
Jo-Philipp Wich b66b6fc687 [package] hotplug2: introduce tty subsystem events (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:35:58 +00:00
Jo-Philipp Wich 5cc94f2ac6 [package] firewall: revert accidential committed changes from r26805
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:55:36 +00:00
Jo-Philipp Wich 244b5fcbdb [PATCH] firewall: provide examples of ssh port relocation on firewall and IPsec passthrough
Two examples of potentially useful configurations (commented out, of course):

(a) map the ssh service running on the firewall to 22001 externally, without modifying the configuration of the daemon itself. this allows port 22 on the WAN side to then be port-forwarded to a 
LAN-based machine if desired, or if not, simply obscures the port from external attack.

(b) allow IPsec/ESP and ISAKMP (UDP-based key exchange) to happen by default. useful for most modern VPN clients you might have on your WAN.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:54:31 +00:00
Hauke Mehrtens a6d76eb003 brcm47xx: add fallback sprom for pci devices without an own sprom.
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.

This will fix some problems where the wireless devices does not got an 
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 20:28:35 +00:00
Felix Fietkau 3ebb74c8df ath9k: add a new fix for signal strength / noise measurements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 18:23:12 +00:00
Felix Fietkau c80372fee7 mac80211: detect and drop incoming packets with invalid CCMP packet numbers to fix connection hangs on some devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 01:45:26 +00:00
Florian Fainelli 3f620a51c4 [package] exclude pktgen for uml target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-29 12:04:17 +00:00
Jo-Philipp Wich 2b8e247971 [package] relayd: map "ipaddr" option to local ip (-L)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-27 19:16:35 +00:00
Felix Fietkau 588f7c1b01 madwifi: Fix compilation for 2.6.39
Fix compilation for 2.6.39 by replacing SPIN_LOCK_UNLOCKED with
DEFINE_SPINLOCK().

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 23:05:34 +00:00
Felix Fietkau 5a32b7a372 mac80211: backport some more compat fixes, fix compile issues on 2.6.31 and earlier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 22:23:52 +00:00
Felix Fietkau 14ed7417a1 mac80211: broadcast the country IE by default if the country code is configured (#9308)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 19:33:27 +00:00
Felix Fietkau c9f66260cb wpa_supplicant: make sure that the common 802.11 code gets linked in (fixes #9299)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 19:16:25 +00:00
Felix Fietkau aae62f77ce mac80211: replace the regd revert patch with a proper fix, add some more pending patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 01:23:23 +00:00
Felix Fietkau cadebdf13b ath9k: remove the signal strength fix, it causes a lot of confusion and seems to be just as inaccurate as the original version of the code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-25 18:21:32 +00:00
Felix Fietkau b53cc9e3d9 cfg80211: revert upstream regdomain handling breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-25 18:21:28 +00:00
Felix Fietkau e11d870f52 hostapd: fix a few compile errors and warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-24 03:34:46 +00:00
Felix Fietkau a21fe5047c mac80211: do rate control updates when the HT configuration changes on an interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-23 21:34:40 +00:00
Felix Fietkau f1c3e8b659 hostapd: update to 2011-04-21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-23 21:34:35 +00:00
Hauke Mehrtens 54847859f7 mac80211: remove unneeded patch
This was fixed upstream


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-21 09:32:49 +00:00
Felix Fietkau b7dc13b6a4 mac80211: update to wireless-testing 2011-04-19, contains several beacon related fixes for ath9k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 18:14:35 +00:00
Jo-Philipp Wich 6b1337376f [package] ppp: extend the r26742 change to ip-down too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 12:08:12 +00:00
Jo-Philipp Wich 4e52672d7e [package] ppp: prevent duplicate hotplug for non uci managed ppp interfaces (#9275)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 12:02:04 +00:00
Jo-Philipp Wich 35791d9e95 [package] firewall: prevent excessive uci state data aggregation (#9152)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 11:49:09 +00:00
Felix Fietkau c6dfe2002d busybox: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 02:56:23 +00:00
Felix Fietkau c47b7193d1 busybox: fix issues with static routes and 6rd option parsing (thx, Florian Fuessl)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 02:56:17 +00:00
Hauke Mehrtens d8c31ae6a0 mac80211: b43: Expose N-PHY support
Allow enabling of N-PHY support for BCM4321 and BCM4322.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 21:44:29 +00:00
Hauke Mehrtens 4842cc42ba mac80211: b43: Expose PIO mode fallback
Allow reenabling the PIO mode fallback for b43.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 21:43:19 +00:00
Hauke Mehrtens 0d777b10cf mac80211: b43: Expose debug option
Allow enabling debug output and debugfs for B43.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 21:40:29 +00:00
Hauke Mehrtens 60f0ea8328 mac80211: b43: Add Firmware 5.10.56.27
Add the 5.10.56.27 firmware option. This includes updating b43-fwcutter to
its newest release 14 and updating the b43-fwsquash.py to recognise rev 16
n phy files.

Also rename the current options from STABLE/EXPERIMENTAL to their version
numbers.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 21:40:08 +00:00
Felix Fietkau 7890b013ad hostapd: fix bridge handling for wds stations (#9257)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 15:41:49 +00:00
Felix Fietkau bcb77e359a mac80211: re-enable beacon channel hints
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 15:41:45 +00:00
Jo-Philipp Wich 4b804f3ae0 [package] base-files: fix stale space in eglibc library install section (#9270)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-19 13:18:39 +00:00
Felix Fietkau bbec9f861d librpc: update to a newer version to fix issues with __set_errno
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-18 09:42:46 +00:00
Felix Fietkau 54397f378d ath9k: assign a keycache slot per station for unencrypted links to fix powersave frame filtering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 20:56:14 +00:00
Felix Fietkau dcb16d72ca ath9k: add a patch to show excessive retry counts for single MPDUs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 20:56:10 +00:00
Felix Fietkau 5b2ddc2d7a mac80211: fix the config define for iwl3945
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-16 19:52:39 +00:00
Felix Fietkau 46b7566436 mac80211: make intel wireless drivers depend on pci support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-16 19:52:35 +00:00
Felix Fietkau 675d5b0c83 mac80211: add intel drivers to PKG_CONFIG_DEPENDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-16 19:52:31 +00:00
Felix Fietkau 524c0b3960 ath5k: allow simultaneous ad-hoc+ap operation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 16:54:52 +00:00
Felix Fietkau 40b128ec2f opkg: avoid using getline() to fix a compile issue on darwin (patch by Javier Palacios, #9223)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 16:18:11 +00:00
Felix Fietkau 79080aa680 uboot-ar71xx: add a dependency on the ar71xx target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 15:41:49 +00:00
Felix Fietkau beab224685 uboot-ar71xx: remove a bogus dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 00:54:14 +00:00
Felix Fietkau c6a44c782d uboot-ar71xx: fix compile on mac os x (patch from #9124)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 00:54:08 +00:00
Felix Fietkau bdbe4f5bb3 ath9k: due to popular request, allow ad-hoc+ap again, now that the beacon code can handle it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 23:22:21 +00:00
Felix Fietkau f02838ffb6 ath9k: fix resetting the hw during channel change when the MAC fails to go idle
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 22:46:12 +00:00
Felix Fietkau 03e5f52576 cfg80211: disable processing of 802.11d regulatory hints - it causes invalid regulatory settings on reconnect (fixes #9207)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-14 16:52:09 +00:00
Lars-Peter Clausen b56d5e27fa kernel: revert r24160 (remove the bogus ext2/ext3 dependency on linux 2.6.30/31)
For kernel versions newer then 2.6.31 the ext4 module can be used to mount
ext2/3 filesystems.
Building ext2/3 as modules on the other hand breaks using ext4 for mounting ext2
or ext3, which breaks booting from ext2/3 on machines where the ext4 module is
built into the kernel.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:37:40 +00:00
Alexandros C. Couloumbis c5d516084c package/hostapd: cosmetic fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:36:48 +00:00
Vasilis Tsiligiannis 95135046a5 [package] kernel/modules: Move zlib_deflate module to higher autoloading priority
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:48:28 +00:00
Vasilis Tsiligiannis 1955842185 [package] kernel/modules: Fix r26637
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:42:01 +00:00
Vasilis Tsiligiannis 9cff166db1 [package] kernel/modules: Add kmod-zlib dependency to kmod-crypto-deflate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:34:28 +00:00
Vasilis Tsiligiannis 1ed452a7de [package] kernel/modules: Add zlib package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:18:53 +00:00
Vasilis Tsiligiannis df83211e50 [package] kernel/modules: Add "Libraries" submenu and move library packages there
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:18:48 +00:00
Vasilis Tsiligiannis 2ae7995d99 [package] kernel/modules: fix kmod-fs-btrfs deps / zlib_deflate / makefile
btrfs needs zlib_deflate, which was built but not included

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:18:30 +00:00
Jo-Philipp Wich 42734ccc67 base-files: return success on lib-copying with external toolchain
when using an external toolchain the base-files package copies libc, libgcc and
others from the library directory.

The file list is given as following in the .config:
CONFIG_LIBC_FILE_SPEC="./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"

Because the filenames are composed with different endings, not all files exist
and will be skipped. Currently, this works only if the last composed file
(util.so.*) really exists. At the moment this works - but only if you don't add
a new file like 'uClibc'.

Adding it at the end '...resolv,util,uClibc}{-*.so,.so.*}' will lead to this
message, because the combination 'libuClibc.so.*' doesn't exist and Make will
evaluate the last copy statement of the for loop.

--- Message Snippet ---
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libnss_files.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv-*.so': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libuClibc.so.*': No such file or directory
make[2]: *** [/home/user/Desktop/code/meetwise/openwrt/bin/at91/packages/libc_-68_at91.ipk] Error 1
make[2]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt/package/base-files'
make[1]: *** [package/base-files/compile] Error 2
make[1]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt'
make: *** [package/base-files/compile] Error 2
--- /Message Snippet/ ---

To fix this unwanted behaviour I added an extra 'exit 0' to each for-loop and
make ignores non-existing files as before.

Signed-off-by: Sven Bachmann <dev@mcbachmann.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:37:43 +00:00
Jo-Philipp Wich d136e7f693 This patch updates qos-scripts to support fair traffic sharing using the
SFQ with external classifiers method.  It also corrects a bug in the 
unsupported ESFQ method already used by qos-scripts.  (ESFQ: 
http://fatooh.org/esfq-2.6/ only updated to 2.6.24, it was switched to 
an SFQ patch after that and not updated since 2008)

A class can be forced to use SFQ, and an external classifier added like 
this:

config class "Normal"
         option avgrate     10
         option priority    30
         option packetdelay 100
         option limitrate   94
#       option qdisc      "sfq perturb 2"
config class "Normal_up"
#       option filter   "protocol all flow hash keys src divisor 1024"
config class "Normal_down"
#       option filter   "protocol all flow hash keys dst divisor 1024"

Using these options, the user needs to load cls_flow before qos-scripts 
starts.

I've got more information here: 
http://oneitguy.com/blogs/netprince/fair-traffic-sharing-esfq-broken-switching-sfqexternal-classifiers

This has been tested on r23914.

Signed-off-by: Ben Pfountz <netprince<>vt_edu>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:33:11 +00:00
Jo-Philipp Wich b457e4cfc9 firewall: allow local redirection of ports
Allow a redirect like:

config redirect
        option src 'wan'
        option dest 'lan'
        option src_dport '22001'
        option dest_port '22'
        option proto 'tcp'

note the absence of the "dest_ip" field, meaning to terminate the connection on the firewall itself.

This patch makes three changes:

(1) moves the conntrack module into the conntrack package (but not any of the conntrack_* helpers).
(2) fixes a bug where the wrong table is used when the "dest_ip" field is absent.
(3) accepts incoming connections on the destination port on the input_ZONE table, but only for DNATted
    connections.

In the above example,

ssh -p 22 root@myrouter

would fail from the outside, but:

ssh -p 22001 root@myrouter

would succeed.  This is handy if:

(1) you want to avoid ssh probes on your router, or
(2) you want to redirect incoming connections on port 22 to some machine inside your firewall, but
    still want to allow firewall access from outside.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:03:59 +00:00
Felix Fietkau 30e3b0f535 pppd: support the nomp option if multilink support is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 18:29:28 +00:00
Felix Fietkau f1f27abcc6 hostapd: properly mark random data as ready if initialization succeeds without reassociation (#9222)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:30:16 +00:00
Felix Fietkau 8e6a4de873 mac80211: fix WPA auth on WDS station interfaces (#9227)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:17:56 +00:00
Hamish Guthrie d824020e25 [uboot-omap35xx] Modify environment variables for altered filesystem layout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 14:24:20 +00:00
Gabor Juhos bd945197b2 mac80211: ath9k: register id table for platform device
Currently the device id in the platform driver is hardcoded to an
id which is specific to AR9130/AR9132 SOCs as it supports only wmac
(wireless mac) of these SOCs. But this needs to be dynamic when we
want to support different wmac of SOCs. So add id_table to driver to
make it extendable to more SOCs.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:23 +00:00
Gabor Juhos ab95218312 package/kernel: add module for the gpio_keys_polled driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:14 +00:00
Jo-Philipp Wich 4db6664002 [package] opkg: update to r618
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 22:08:43 +00:00
Felix Fietkau 370f14a6d4 ath5k: disable the unusable 2 GHz mode on the first radio of a dual-band AR5312 device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:26:08 +00:00
Felix Fietkau f9710f4304 ath5k: fix eeprom capability checks that disabled AES crypto support where it should have been enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:26:03 +00:00
Felix Fietkau b6ed543785 ath5k: fix mac address detection on dual-radio ar5312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 21:12:05 +00:00
Felix Fietkau 642ea5fc59 ath5k: fix 2ghz-only radio handling on ar5312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 21:12:00 +00:00
Felix Fietkau fffad37e8c ath5k: decrease interrupt load for rx/tx interrupts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:39 +00:00
Felix Fietkau 4f95d1b0d5 ath5k: clean up debugfs code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:34 +00:00
Felix Fietkau 8b330046fc ath5k: fix config options for debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:28 +00:00
Hauke Mehrtens e90182d1e4 kernel: do not build gpiolib into the kernel
fix for r26570.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 10:28:30 +00:00
Hauke Mehrtens 0527ff0694 mac80211: fix compile with older kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:51:30 +00:00
Hauke Mehrtens 874ef84aa6 acx-mac80211 needs some header files from compat-wireless to build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:44:03 +00:00
Hauke Mehrtens 095f5eb5fa kernel: add symbols, small fixes
* Some module should be loaded later to load them after the modules they are depending on
* add some more missing config symbols
* make CS5535 build again


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:34:20 +00:00
Hauke Mehrtens 1c0e72203a crypto: The if statement for twofish did not work, deflate depends on zlib_deflate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:30:09 +00:00
Hauke Mehrtens 962f7f519f sound: do not pack ac97_bus.ko and snd-ac97-codec.ko into two packages.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:26:00 +00:00
Hauke Mehrtens 37398c1ebe iipt-debug: create bundle of netfilter modules for debugging
Add a bundle for including commonly useful modules for IPtables debugging and development.

For now, it just contains xt_TRACE.ko

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:23:46 +00:00
Felix Fietkau 21d34442ce ath5k: add some more performance improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 22:56:51 +00:00
Felix Fietkau a92ad606c4 ath5k: rename a misnamed patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 22:56:47 +00:00
Felix Fietkau ff7dd576d1 ath5k: add a few fixes that improve performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 21:11:06 +00:00
Felix Fietkau 4eb7420893 ath5k: fix tx status reporting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 19:21:26 +00:00
Hauke Mehrtens 53d1d2fb41 kernel: add scsi cdrom support
This closes #9125.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:59:03 +00:00
Felix Fietkau 3677b415da ath9k: properly count retries when frames are filtered due to excessive retries when a client is not in powersave mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:22:01 +00:00
Felix Fietkau 07a823fd30 mac80211: fix reading the station flags in debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:21:57 +00:00
Hauke Mehrtens 666d5984b9 linux-atm: package atm-diagnostics with atmdump, atmdiag, etc.
If your ISP is pushing their own DSL equipment (which many do to contain support costs), they won't be
forthcoming with your various settings: encapsulation, VPI/VCI, etc.

These you might have to discover yourself.  The easiest way to do this is with atmdiag and atmdump.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 13:05:48 +00:00
Felix Fietkau bbbb039a92 kernel: include firmware in the e100 package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 21:53:38 +00:00
Hauke Mehrtens 3c7471989a brcm47xx: add Netgear WNR834BV1
Thank you realopty for the patch.

This closes #7702


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 19:22:09 +00:00
Hauke Mehrtens 34b4e616ae mac80211: add Intel wireless drivers.
This adds the Intel wireless drivers for their normal cards.

Thank you framer99 for the patch, I extended it a little bit.

This closes #7227


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 16:17:21 +00:00
Felix Fietkau 7ab0bc008c ath9k: improve the rx dma stop fix, add more debugging output in case the issue still occurs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 12:18:43 +00:00
Felix Fietkau 91c6b16bed mac80211: fix support for iftype wds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 01:04:44 +00:00
Vasilis Tsiligiannis 1558f59c5d [package] kernel/modules: Enable Realtek R8169 not only for x86
This enables support for Realtek 8169 based network cards for other
platforms than x86. I have a mini-PCI card on ixp4xxx running here.
Maybe for the other cards in netdevices.mk a @DEPENDS change from
@TARGET_x86 to @PCI_SUPPORT makes also sense.

Signed-off-by: Christoph König <christoph.koenig@ikt.uni-hannover.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 23:31:56 +00:00
Felix Fietkau 6fa55a246f kernel: enable MPPE again, got broken in r26296
Since r26296 mppe.ko could not be loaded, kernel gives "device missing" error.
According to KConfig cypther-ecb is required.

Signed-off-by: Sven Roederer <mailinglists.sven_at_roederer.dhs.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 19:06:34 +00:00