1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 05:44:40 +02:00
Commit Graph

7526 Commits

Author SHA1 Message Date
jow
691f0d412e 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
jow
0874d00715 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
nbd
562ffbf7a2 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
nbd
9587f988b7 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
nbd
bc3305d88e 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
hcg
0d06c28835 [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
juhosg
62e17b4436 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
juhosg
4faaed949e 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
jow
98dca62fa1 [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
nbd
77871f6bf5 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
nbd
e6093b5ed0 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
nbd
9ad628c924 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
nbd
749f647dd9 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
nbd
7558f8fda5 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
nbd
e280b4d411 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
nbd
e8ca765410 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
b722ce28af 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
8471c58257 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
8ebdef0e75 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
3d37807283 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
4a3fbc5e68 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
8982313f7e 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
76cd9d7bc5 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
nbd
fbadef915d 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
nbd
42a36fdda9 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
nbd
823f142ee2 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
nbd
e5c2ddb8ef 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
bdb465749d 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
nbd
0fb56fb478 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
nbd
75c5ede9ee 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
4bfff023c5 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
nbd
268ceb4392 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
28304035b1 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
855a73d79a 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
nbd
f53132ef54 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
nbd
063b9eca01 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
acinonyx
1ce317f201 [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
nbd
ce4be8a009 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
nbd
c0b61bdf0a 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 18:42:22 +00:00
cshore
f6577081a4 [package] block-mount: Reverting 26503. Was already fixed in a better way in commit 26474.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 01:00:14 +00:00
acinonyx
f440a949fb [packages] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-06 20:50:14 +00:00
acinonyx
5d875c6c40 [package] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-06 20:50:06 +00:00
nbd
d0c6aec8d9 ath9k: fall back to the default noise floor if the calibrated one is not available, fixes signal strength display in initial scan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 19:04:05 +00:00
nbd
a3b94c1245 busybox: get rid of the useless extra menu
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 19:04:02 +00:00
nbd
73e204606b librpc: use MDEPENDS instead of DEPENDS for @USE_UCLIBC to fix recursive busybox dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 19:03:55 +00:00
acinonyx
f6d755eda4 [package] base-files: Use -h instead of deprecated -L for symlink check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 15:09:43 +00:00
acinonyx
9975b770c8 [packages] madwifi: Always escape SSID parameter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 15:09:38 +00:00
acinonyx
fdf5c18152 [package] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 15:09:32 +00:00
acinonyx
6e29b97896 [package] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 15:09:26 +00:00
cshore
198ea09e92 [package] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 12:12:57 +00:00