Commit graph

5557 commits

Author SHA1 Message Date
Felix Fietkau
1da26a536c libpcap: properly fix fPIC handling (reverts $(FPIC) added in r26999)
SVN-Revision: 27000
2011-05-24 10:42:49 +00:00
Jo-Philipp Wich
f94411e910 libpcap: add -fpic, refresh patches
SVN-Revision: 26999
2011-05-24 10:36:25 +00:00
Jo-Philipp Wich
fb141e452c libpcap: remove empty patchfiles
SVN-Revision: 26996
2011-05-24 09:53:53 +00:00
Jo-Philipp Wich
a1713cc3cb Update libpcap to version 1.1.1
Signed-off-by: Christoph König <christoph.koenig@ikt.uni-hannover.de>

SVN-Revision: 26995
2011-05-24 09:51:08 +00:00
Felix Fietkau
60f66ded72 base-files: make the MAC address of bridge interfaces sticky to avoid ARP issues on wifi re-configuration
SVN-Revision: 26990
2011-05-24 09:31:37 +00:00
Jo-Philipp Wich
9b8a5e604a base-files: mark /etc/crontabs/ as config directory
SVN-Revision: 26986
2011-05-24 09:27:23 +00:00
Jo-Philipp Wich
7a5fcc5695 kernel: kmod-crypto-iv depends on kmod-crypto-manager Add a missing dependency to kmod-crypto-iv. chainiv.ko and eseqiv.ko from kmod-crypto-iv depend on crypto_blkcipher.ko from kmod-crypto-manager.
Signed-off-by: Lars Hjersted <lars@hjersted.com>

SVN-Revision: 26984
2011-05-24 09:14:35 +00:00
Jo-Philipp Wich
50b69073d6 dnsmasq: allow hostname assignment without static lease The attached patch for dnsmasq.init allows to assign a hostname to a particular mac-address. It's useful to override the client supplied hostname, especially if the client does not supply a hostname at all.
It corresponds to the following example in dnsmasq.conf.example:

	# Always set the name of the host with hardware address
	# 11:22:33:44:55:66 to be "fred"
	#dhcp-host=11:22:33:44:55:66,fred

Regards
Mathias

SVN-Revision: 26983
2011-05-24 09:12:50 +00:00
Jo-Philipp Wich
be906f6be5 package u32 match and TEE target, patches by Maxim Uvarov
SVN-Revision: 26977
2011-05-24 08:14:29 +00:00
Jo-Philipp Wich
a12a8271a7 ncurses: enable C++ bindings (#9442)
SVN-Revision: 26970
2011-05-22 16:53:09 +00:00
Jo-Philipp Wich
7e6b24a810 iw: fix calculation of fractional multicast rates like 5.5Mbps due to wrong operator precedence
SVN-Revision: 26968
2011-05-22 12:02:35 +00:00
Jo-Philipp Wich
f2b7c81d46 firewall: explictely mention network in default configuration, makes it less confusing
SVN-Revision: 26961
2011-05-20 13:45:40 +00:00
Felix Fietkau
2383a26168 broadcom-wl: fix wild ssb_device accesses as pci_dev for legacy pci dma api
broadcom-wl driver bound to ssb device with ssb driver probe
have osh handle struct pdev pointer value initialized with
ssb_device pointer. Later on pdev is used with legacy pci
dma api as pci_dev thus causing oops sometimes.

The patch replaces legacy pci dma api and pass relevant
device struct pointer to avoid crashes.
Signed-off-by: George Kashperko <george@znau.edu.ua>

SVN-Revision: 26949
2011-05-19 10:08:02 +00:00
Felix Fietkau
7c8564d7c5 broadcom-wl: fix uninitialized variable
It was causing an occasional kernel oops.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 26948
2011-05-19 10:07:57 +00:00
Felix Fietkau
512be5ce46 ath9k: fix some locking issues in the tx fifo cleanup patch
SVN-Revision: 26947
2011-05-19 09:33:45 +00:00
Felix Fietkau
9b228c181c ath9k: clean up tx fifo handling on ar9380 based hardware
SVN-Revision: 26934
2011-05-18 12:03:08 +00:00
Felix Fietkau
6400498b35 ath9k: fix a small race condition in the tx_last_beacon patch
SVN-Revision: 26933
2011-05-18 12:03:04 +00:00
Jo-Philipp Wich
ed8f726dab ipcalc.sh CIDR notation Hi,
the attached patch makes ipcalc.sh accept IP/Netmask combinations in
CIDR notation. Before you could only do:

# sh ipcalc.sh 192.168.0.0 255.255.255.0 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11

with this patch you can also execute it with:

sh ipcalc.sh 192.168.0.0/24 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11

The patch is based on #1260 [1], i just changed one line to calculate
the START end END ips right. I wonder why that never got included. If
there is no reason not to do i would like to ask you to commit that
patch, because its a functionality i (and probably others) miss quite often.

Btw, i also fixed 4 useless tabs, that might look a bit strange in the
patch.

Regards, Manuel

SVN-Revision: 26930
2011-05-18 09:50:06 +00:00
Felix Fietkau
e35822050b mac80211: sync the CONFIG_ATH5K_DEBUG make override with the buildflags override (thx, KanjiMonster)
SVN-Revision: 26927
2011-05-17 18:23:50 +00:00
Felix Fietkau
888bee4ef2 ath9k: implement tx_last_beacon() to allow mac80211 to respond to probe requests in ad-hoc mode without creating too much spam
SVN-Revision: 26923
2011-05-17 11:14:15 +00:00
John Crispin
8c2de891a9 * add missing aes dependency to mv_cesa
Signed-off-by: Jan Willies <jan@willies.info>

SVN-Revision: 26920
2011-05-17 10:48:37 +00:00
Felix Fietkau
c6a93676de ath9k: fix ad-hoc nexttbtt calculation, which broke beacon transmission in some instances
SVN-Revision: 26915
2011-05-17 08:37:38 +00:00
Felix Fietkau
7b84bc2f39 ath9k: fix issues with ad-hoc beacon slot selection
SVN-Revision: 26913
2011-05-16 21:50:30 +00:00
Felix Fietkau
c2bee5a64a mac80211: update to 2011-05-13
SVN-Revision: 26912
2011-05-16 21:50:26 +00:00
Vasilis Tsiligiannis
ec05877491 package/kernel: crypto: Remove renamed modules hack
Since the oldest kernel in trunk is 2.6.30 the modules always use the
newer names, so we can just use the _generic prefix directly.

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

SVN-Revision: 26903
2011-05-15 09:37:35 +00:00
Vasilis Tsiligiannis
49f738fa6d package/kernel: netfilter: Remove 2.4/2.6 references
There's only 2.6, so it doesn't make sense to mention modules that are
2.4 only or for modules that they are available only for 2.6.

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

SVN-Revision: 26902
2011-05-15 09:37:32 +00:00
Vasilis Tsiligiannis
2850136ae8 package/kernel: Remove all 2.4 definitions
With no 2.4 support in trunk, we can safely remove any 2.4 definitions for
kmods and merge the 2.6 definitions into the generic ones.

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

SVN-Revision: 26901
2011-05-15 09:37:28 +00:00
Vasilis Tsiligiannis
b468227827 package/kernel: Remove $(KMOD_SUFFIX) usage
Since there's only 2.6 in trunk $(KMOD_SUFFIX) can be safely replaced with
ko for all mainline kernel modules.

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

SVN-Revision: 26900
2011-05-15 09:37:24 +00:00
John Crispin
44eab3f6c1 package/kernel/modules/other.mk is getting big enough that putting the LEDs stuff into its own file makes sense.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26868
2011-05-09 20:28:04 +00:00
Travis Kemen
eb4109ba78 Deployment of IPv6 has opened up many more prefixes than just the 2000::/3 space, so a default route of ::/0 is more correct. Thanks Dave Taht
SVN-Revision: 26857
2011-05-08 17:03:07 +00:00
Jo-Philipp Wich
ba1c1e9016 base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others (#9352)
SVN-Revision: 26848
2011-05-08 10:25:58 +00:00
Gabor Juhos
3b1b49a49b base-files: fix a typo in etc/banner
SVN-Revision: 26841
2011-05-07 09:23:33 +00:00
Jo-Philipp Wich
f3e4c15229 lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed
SVN-Revision: 26822
2011-05-04 14:51:06 +00:00
Felix Fietkau
dbea075cd4 ath9k: add noise floor calibration fix that should improve stability
SVN-Revision: 26819
2011-05-04 14:35:35 +00:00
Jo-Philipp Wich
9736cfef66 comgt: add tty hotplug remove handling, only iterate each tty once (#9211)
SVN-Revision: 26816
2011-05-04 08:19:07 +00:00
Jo-Philipp Wich
bba138c671 kernel: revert r26814
SVN-Revision: 26815
2011-05-03 21:25:36 +00:00
Jo-Philipp Wich
be2275b8e6 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>

SVN-Revision: 26814
2011-05-03 21:22:43 +00:00
Jo-Philipp Wich
3d0ac93274 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>

SVN-Revision: 26813
2011-05-03 21:21:05 +00:00
Jo-Philipp Wich
32f3c920a2 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>

SVN-Revision: 26812
2011-05-03 21:19:56 +00:00
Jo-Philipp Wich
29392373f3 comgt: move ifup invocation back into background subshell to prevent hotplug deadlocks
SVN-Revision: 26810
2011-05-03 19:45:55 +00:00
Jo-Philipp Wich
549067e2b4 comgt: move 3g hotplug handling to tty subsystem, fixes race on coldplug (#9211)
SVN-Revision: 26809
2011-05-03 19:39:13 +00:00
Jo-Philipp Wich
ff4203b9bd base-files: cleanup permissions of device files in common hotplug rules (#9211)
SVN-Revision: 26808
2011-05-03 19:37:59 +00:00
Jo-Philipp Wich
d66dc5307d hotplug2: introduce tty subsystem events (#9211)
SVN-Revision: 26807
2011-05-03 19:35:58 +00:00
Jo-Philipp Wich
2e9e4c435f firewall: revert accidential committed changes from r26805
SVN-Revision: 26806
2011-05-02 12:55:36 +00:00
Jo-Philipp Wich
ad23dd94b6 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>

SVN-Revision: 26805
2011-05-02 12:54:31 +00:00
Hauke Mehrtens
3dbb8c5088 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)

SVN-Revision: 26801
2011-05-01 20:28:35 +00:00
Felix Fietkau
28fb716737 ath9k: add a new fix for signal strength / noise measurements
SVN-Revision: 26798
2011-05-01 18:23:12 +00:00
Felix Fietkau
ebcc60cf35 mac80211: detect and drop incoming packets with invalid CCMP packet numbers to fix connection hangs on some devices
SVN-Revision: 26795
2011-05-01 01:45:26 +00:00
Florian Fainelli
ed5e092217 exclude pktgen for uml target
SVN-Revision: 26781
2011-04-29 12:04:17 +00:00
Jo-Philipp Wich
cb0c1f9015 relayd: map "ipaddr" option to local ip (-L)
SVN-Revision: 26773
2011-04-27 19:16:35 +00:00
Felix Fietkau
c2d4e98e34 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>

SVN-Revision: 26771
2011-04-26 23:05:34 +00:00
Felix Fietkau
6b376db844 mac80211: backport some more compat fixes, fix compile issues on 2.6.31 and earlier
SVN-Revision: 26768
2011-04-26 22:23:52 +00:00
Felix Fietkau
be3deb5b14 mac80211: broadcast the country IE by default if the country code is configured (#9308)
SVN-Revision: 26765
2011-04-26 19:33:27 +00:00
Felix Fietkau
2b5517934d wpa_supplicant: make sure that the common 802.11 code gets linked in (fixes #9299)
SVN-Revision: 26764
2011-04-26 19:16:25 +00:00
Felix Fietkau
359e667fd5 mac80211: replace the regd revert patch with a proper fix, add some more pending patches
SVN-Revision: 26761
2011-04-26 01:23:23 +00:00
Felix Fietkau
f2ccc3ada5 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
SVN-Revision: 26753
2011-04-25 18:21:32 +00:00
Felix Fietkau
9dbcf86d8e cfg80211: revert upstream regdomain handling breakage
SVN-Revision: 26752
2011-04-25 18:21:28 +00:00
Felix Fietkau
cbbe49a1d8 hostapd: fix a few compile errors and warnings
SVN-Revision: 26751
2011-04-24 03:34:46 +00:00
Felix Fietkau
e15e8f6976 mac80211: do rate control updates when the HT configuration changes on an interface
SVN-Revision: 26750
2011-04-23 21:34:40 +00:00
Felix Fietkau
d7bdfca6d0 hostapd: update to 2011-04-21
SVN-Revision: 26749
2011-04-23 21:34:35 +00:00
Hauke Mehrtens
6986b1b7c2 mac80211: remove unneeded patch
This was fixed upstream

SVN-Revision: 26745
2011-04-21 09:32:49 +00:00
Felix Fietkau
970252faf8 mac80211: update to wireless-testing 2011-04-19, contains several beacon related fixes for ath9k
SVN-Revision: 26744
2011-04-20 18:14:35 +00:00
Jo-Philipp Wich
7982978391 ppp: extend the r26742 change to ip-down too
SVN-Revision: 26743
2011-04-20 12:08:12 +00:00
Jo-Philipp Wich
8d47f51f7c ppp: prevent duplicate hotplug for non uci managed ppp interfaces (#9275)
SVN-Revision: 26742
2011-04-20 12:02:04 +00:00
Jo-Philipp Wich
2a386cee99 firewall: prevent excessive uci state data aggregation (#9152)
SVN-Revision: 26740
2011-04-20 11:49:09 +00:00
Felix Fietkau
04d064a590 busybox: refresh patches
SVN-Revision: 26738
2011-04-20 02:56:23 +00:00
Felix Fietkau
c4dbe835b4 busybox: fix issues with static routes and 6rd option parsing (thx, Florian Fuessl)
SVN-Revision: 26737
2011-04-20 02:56:17 +00:00
Hauke Mehrtens
75a63f1981 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>

SVN-Revision: 26736
2011-04-19 21:44:29 +00:00
Hauke Mehrtens
becddc9ec7 mac80211: b43: Expose PIO mode fallback
Allow reenabling the PIO mode fallback for b43.

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

SVN-Revision: 26735
2011-04-19 21:43:19 +00:00
Hauke Mehrtens
0429ec0c11 mac80211: b43: Expose debug option
Allow enabling debug output and debugfs for B43.

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

SVN-Revision: 26734
2011-04-19 21:40:29 +00:00
Hauke Mehrtens
cda9981625 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>

SVN-Revision: 26733
2011-04-19 21:40:08 +00:00
Felix Fietkau
ea07da5fe5 hostapd: fix bridge handling for wds stations (#9257)
SVN-Revision: 26724
2011-04-19 15:41:49 +00:00
Felix Fietkau
9d0882b720 mac80211: re-enable beacon channel hints
SVN-Revision: 26723
2011-04-19 15:41:45 +00:00
Jo-Philipp Wich
144bee2090 base-files: fix stale space in eglibc library install section (#9270)
SVN-Revision: 26720
2011-04-19 13:18:39 +00:00
Felix Fietkau
f22d06ad7a librpc: update to a newer version to fix issues with __set_errno
SVN-Revision: 26716
2011-04-18 09:42:46 +00:00
Felix Fietkau
032a3504ee ath9k: assign a keycache slot per station for unencrypted links to fix powersave frame filtering
SVN-Revision: 26712
2011-04-17 20:56:14 +00:00
Felix Fietkau
cbc16e179e ath9k: add a patch to show excessive retry counts for single MPDUs
SVN-Revision: 26711
2011-04-17 20:56:10 +00:00
Felix Fietkau
8f5a84a690 mac80211: fix the config define for iwl3945
SVN-Revision: 26697
2011-04-16 19:52:39 +00:00
Felix Fietkau
8cf42db0ca mac80211: make intel wireless drivers depend on pci support
SVN-Revision: 26696
2011-04-16 19:52:35 +00:00
Felix Fietkau
e00eaf1545 mac80211: add intel drivers to PKG_CONFIG_DEPENDS
SVN-Revision: 26695
2011-04-16 19:52:31 +00:00
Felix Fietkau
69f8f5ebfd ath5k: allow simultaneous ad-hoc+ap operation
SVN-Revision: 26685
2011-04-15 16:54:52 +00:00
Felix Fietkau
19e4c371c5 opkg: avoid using getline() to fix a compile issue on darwin (patch by Javier Palacios, #9223)
SVN-Revision: 26684
2011-04-15 16:18:11 +00:00
Felix Fietkau
4ca0906341 uboot-ar71xx: add a dependency on the ar71xx target
SVN-Revision: 26683
2011-04-15 15:41:49 +00:00
Felix Fietkau
1b18a439e6 uboot-ar71xx: remove a bogus dependency
SVN-Revision: 26677
2011-04-15 00:54:14 +00:00
Felix Fietkau
6397aeb8b1 uboot-ar71xx: fix compile on mac os x (patch from #9124)
SVN-Revision: 26676
2011-04-15 00:54:08 +00:00
Felix Fietkau
39fc0fc2f7 ath9k: due to popular request, allow ad-hoc+ap again, now that the beacon code can handle it
SVN-Revision: 26668
2011-04-14 23:22:21 +00:00
Felix Fietkau
e0aa62e3c2 ath9k: fix resetting the hw during channel change when the MAC fails to go idle
SVN-Revision: 26665
2011-04-14 22:46:12 +00:00
Felix Fietkau
79ecac89e6 cfg80211: disable processing of 802.11d regulatory hints - it causes invalid regulatory settings on reconnect (fixes #9207)
SVN-Revision: 26662
2011-04-14 16:52:09 +00:00
Lars-Peter Clausen
8ba2d8098a 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.

SVN-Revision: 26645
2011-04-13 13:37:40 +00:00
Alexandros C. Couloumbis
9ec445154e package/hostapd: cosmetic fix
SVN-Revision: 26644
2011-04-13 13:36:48 +00:00
Vasilis Tsiligiannis
372cefb114 kernel/modules: Move zlib_deflate module to higher autoloading priority
SVN-Revision: 26639
2011-04-12 23:48:28 +00:00
Vasilis Tsiligiannis
41cc2d3a52 kernel/modules: Fix r26637
SVN-Revision: 26638
2011-04-12 23:42:01 +00:00
Vasilis Tsiligiannis
d7197ec50b kernel/modules: Add kmod-zlib dependency to kmod-crypto-deflate
SVN-Revision: 26637
2011-04-12 23:34:28 +00:00
Vasilis Tsiligiannis
4f6f0cbe38 kernel/modules: Add zlib package
SVN-Revision: 26636
2011-04-12 23:18:53 +00:00
Vasilis Tsiligiannis
0a0b8c621c kernel/modules: Add "Libraries" submenu and move library packages there
SVN-Revision: 26635
2011-04-12 23:18:48 +00:00
Vasilis Tsiligiannis
627438d0ff 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>

SVN-Revision: 26632
2011-04-12 23:18:30 +00:00
Jo-Philipp Wich
2f6361832e 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.
2011-04-12 20:37:43 +00:00
Jo-Philipp Wich
9646ca6c6e 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>

SVN-Revision: 26622
2011-04-12 20:33:11 +00:00
Jo-Philipp Wich
a9977eca91 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>

SVN-Revision: 26617
2011-04-12 20:03:59 +00:00
Felix Fietkau
512bb389ee pppd: support the nomp option if multilink support is disabled
SVN-Revision: 26614
2011-04-12 18:29:28 +00:00
Felix Fietkau
768877966d hostapd: properly mark random data as ready if initialization succeeds without reassociation (#9222)
SVN-Revision: 26611
2011-04-12 17:30:16 +00:00
Felix Fietkau
966dee23c3 mac80211: fix WPA auth on WDS station interfaces (#9227)
SVN-Revision: 26609
2011-04-12 17:17:56 +00:00
Hamish Guthrie
6f497711cf Modify environment variables for altered filesystem layout
SVN-Revision: 26608
2011-04-12 14:24:20 +00:00
Gabor Juhos
5ffdddc75e 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>

SVN-Revision: 26604
2011-04-12 09:29:23 +00:00
Gabor Juhos
98d3aa13f4 package/kernel: add module for the gpio_keys_polled driver
SVN-Revision: 26602
2011-04-12 09:29:14 +00:00
Jo-Philipp Wich
37f7e8afdc opkg: update to r618
SVN-Revision: 26598
2011-04-11 22:08:43 +00:00
Felix Fietkau
93da23803b ath5k: disable the unusable 2 GHz mode on the first radio of a dual-band AR5312 device
SVN-Revision: 26587
2011-04-11 03:26:08 +00:00
Felix Fietkau
092de86b0a ath5k: fix eeprom capability checks that disabled AES crypto support where it should have been enabled
SVN-Revision: 26586
2011-04-11 03:26:03 +00:00
Felix Fietkau
718f5aa78e ath5k: fix mac address detection on dual-radio ar5312
SVN-Revision: 26583
2011-04-10 21:12:05 +00:00
Felix Fietkau
8ab360f9b3 ath5k: fix 2ghz-only radio handling on ar5312
SVN-Revision: 26582
2011-04-10 21:12:00 +00:00
Felix Fietkau
702a2f8430 ath5k: decrease interrupt load for rx/tx interrupts
SVN-Revision: 26579
2011-04-10 16:23:39 +00:00
Felix Fietkau
cffea3eb4e ath5k: clean up debugfs code
SVN-Revision: 26578
2011-04-10 16:23:34 +00:00
Felix Fietkau
8978c04f2a ath5k: fix config options for debugfs
SVN-Revision: 26577
2011-04-10 16:23:28 +00:00
Hauke Mehrtens
077377a294 kernel: do not build gpiolib into the kernel
fix for r26570.

SVN-Revision: 26574
2011-04-10 10:28:30 +00:00
Hauke Mehrtens
1c64f756d4 mac80211: fix compile with older kernel versions
SVN-Revision: 26573
2011-04-09 23:51:30 +00:00
Hauke Mehrtens
76cce7c90e acx-mac80211 needs some header files from compat-wireless to build
SVN-Revision: 26572
2011-04-09 23:44:03 +00:00
Hauke Mehrtens
2ce13f05cb 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

SVN-Revision: 26570
2011-04-09 23:34:20 +00:00
Hauke Mehrtens
3b659a2519 crypto: The if statement for twofish did not work, deflate depends on zlib_deflate
SVN-Revision: 26569
2011-04-09 23:30:09 +00:00
Hauke Mehrtens
be08c96f01 sound: do not pack ac97_bus.ko and snd-ac97-codec.ko into two packages.
SVN-Revision: 26568
2011-04-09 23:26:00 +00:00
Hauke Mehrtens
24c1caef5f 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>

SVN-Revision: 26567
2011-04-09 23:23:46 +00:00
Felix Fietkau
8ee695885a ath5k: add some more performance improvements
SVN-Revision: 26566
2011-04-09 22:56:51 +00:00
Felix Fietkau
3df1de1b80 ath5k: rename a misnamed patch
SVN-Revision: 26565
2011-04-09 22:56:47 +00:00
Felix Fietkau
f9be6569c8 ath5k: add a few fixes that improve performance
SVN-Revision: 26564
2011-04-09 21:11:06 +00:00
Felix Fietkau
3ce630447a ath5k: fix tx status reporting
SVN-Revision: 26563
2011-04-09 19:21:26 +00:00
Hauke Mehrtens
0a637d604b kernel: add scsi cdrom support
This closes #9125.

SVN-Revision: 26548
2011-04-09 15:59:03 +00:00
Felix Fietkau
8371085c8b ath9k: properly count retries when frames are filtered due to excessive retries when a client is not in powersave mode
SVN-Revision: 26545
2011-04-09 15:22:01 +00:00
Felix Fietkau
ad6cb6294e mac80211: fix reading the station flags in debugfs
SVN-Revision: 26544
2011-04-09 15:21:57 +00:00
Hauke Mehrtens
cdd51194ca 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>

SVN-Revision: 26542
2011-04-09 13:05:48 +00:00
Felix Fietkau
df49468a51 kernel: include firmware in the e100 package
SVN-Revision: 26539
2011-04-08 21:53:38 +00:00
Hauke Mehrtens
b62cc9ae9b brcm47xx: add Netgear WNR834BV1
Thank you realopty for the patch.

This closes #7702

SVN-Revision: 26537
2011-04-08 19:22:09 +00:00
Hauke Mehrtens
cbab3e4c9b 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

SVN-Revision: 26534
2011-04-08 16:17:21 +00:00
Felix Fietkau
5505e8f61e ath9k: improve the rx dma stop fix, add more debugging output in case the issue still occurs
SVN-Revision: 26532
2011-04-08 12:18:43 +00:00
Felix Fietkau
070c2ba1f4 mac80211: fix support for iftype wds
SVN-Revision: 26531
2011-04-08 01:04:44 +00:00
Vasilis Tsiligiannis
6fab820124 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>

SVN-Revision: 26529
2011-04-07 23:31:56 +00:00
Felix Fietkau
40d6cd6c16 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>

SVN-Revision: 26507
2011-04-07 19:06:34 +00:00
Felix Fietkau
34643f24ed mac80211: update to wireless-testing 2011-04-06
adds some more pending patches which (among other things) fix the 'failed to stop RX DMA' messages

SVN-Revision: 26506
2011-04-07 18:42:22 +00:00
Daniel Dickinson
abf0b4b9a2 block-mount: Reverting 26503. Was already fixed in a better way in commit 26474.
SVN-Revision: 26505
2011-04-07 01:00:14 +00:00
Vasilis Tsiligiannis
98da9c9066 madwifi: typo(s) in /lib/wifi/madwifi.sh
Hi
minrate and maxrate are acually not boolean, so, for example
"config minrate 11000" in /etc/config/wireless has no effect.

Signed-off by: Jan Hetges <tran@ms20.net>

SVN-Revision: 26504
2011-04-06 20:50:14 +00:00
Vasilis Tsiligiannis
5f6a87f6c4 block-mount: fsck.sh should only call pi_include() if dir /lib/functions/fsck exists.
/etc/functions.sh:pi_include() checks if the argument exists and prints
a warning if not. To prevent this warning if package block-mount is installed
but not package e2fsprogs, the script should check if this directory exists
before calling pi_include()

A wrong patch to suppress this warning was previously posted
with subject:
	[PATCH] Fix typo in name of to be included file

Signed-off-by: Mark Vels <mark.vels@team-embedded.nl>

SVN-Revision: 26503
2011-04-06 20:50:06 +00:00
Felix Fietkau
a4e59b89b8 ath9k: fall back to the default noise floor if the calibrated one is not available, fixes signal strength display in initial scan
SVN-Revision: 26494
2011-04-05 19:04:05 +00:00
Felix Fietkau
6ed952272e busybox: get rid of the useless extra menu
SVN-Revision: 26493
2011-04-05 19:04:02 +00:00
Felix Fietkau
7fba202f97 librpc: use MDEPENDS instead of DEPENDS for @USE_UCLIBC to fix recursive busybox dependencies
SVN-Revision: 26492
2011-04-05 19:03:55 +00:00
Vasilis Tsiligiannis
980190367c base-files: Use -h instead of deprecated -L for symlink check
SVN-Revision: 26485
2011-04-05 15:09:43 +00:00
Vasilis Tsiligiannis
3549fb214f madwifi: Always escape SSID parameter
SVN-Revision: 26484
2011-04-05 15:09:38 +00:00
Vasilis Tsiligiannis
48465d3d63 base-files: fix minor problem in init.d/boot
The script tests for the existance of /dev/root with test -e which fails if
/dev/root is a dangling symlink making the call to ln fail.

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>

SVN-Revision: 26483
2011-04-05 15:09:32 +00:00
Vasilis Tsiligiannis
9d54c7aaaf hostapd: add accounting configuration to hostapd uci script
Hello

This patch add accounting configuration in hostapd.sh
It also change "server, port, key" to "auth_server, auth_port, auth_secret" but keep backward compatibility
Please patch backfire & trunk

Thanks in advance.

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 26482
2011-04-05 15:09:26 +00:00
Daniel Dickinson
d5542b4f59 block-mount base-files: Added additional check to pi_include to ensure that a directory used with pi_include actually contains files matching the souring pattern because if not the shell dies due to an empty string in for statement. Added /lib/functions/fsck as an empty dir to block-mount. This combination fixes a warning which generates a lot of bug reports, without panicking the kernel like the last attempt.
SVN-Revision: 26479
2011-04-05 12:12:57 +00:00
Daniel Dickinson
b62e95c11b block-mount: Revert 26468: it causes a kernel panic due to pi_include failing due to the included directory being empty.
SVN-Revision: 26476
2011-04-05 03:19:10 +00:00
Jo-Philipp Wich
c64e907639 uci: mark uci as unsafe for parallel building
SVN-Revision: 26470
2011-04-04 12:06:37 +00:00
Daniel Dickinson
c319b73399 block-mount: Removed duplicated directory creation in the package install section. The duplicates were a result of the mergin the block-* packages.
SVN-Revision: 26469
2011-04-04 11:30:01 +00:00