Commit Graph

7672 Commits (a104f95d056b33f683acaa3f42779daa1e738281)

Author SHA1 Message Date
Jo-Philipp Wich 1b802fb2be [package] libpcap: add -fpic, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 10:36:25 +00:00
Jo-Philipp Wich ef4de7a5e6 [package] libpcap: remove empty patchfiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:53:53 +00:00
Jo-Philipp Wich 0a4a020764 [PATCH] Update libpcap to version 1.1.1
Signed-off-by: Christoph König <christoph.koenig@ikt.uni-hannover.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:51:08 +00:00
Felix Fietkau 91f4882378 base-files: make the MAC address of bridge interfaces sticky to avoid ARP issues on wifi re-configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:31:37 +00:00
Jo-Philipp Wich 6dd63c32aa [package] base-files: mark /etc/crontabs/ as config directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:27:23 +00:00
Jo-Philipp Wich ebe2d16516 [PATCH] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:14:35 +00:00
Jo-Philipp Wich 71f990ccfb [PATCH] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:12:50 +00:00
Jo-Philipp Wich 55283cbc90 [netfilter] package u32 match and TEE target, patches by Maxim Uvarov
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 08:14:29 +00:00
Jo-Philipp Wich 740d9edf5a [package] ncurses: enable C++ bindings (#9442)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-22 16:53:09 +00:00
Jo-Philipp Wich 1df56fb1e5 [package] iw: fix calculation of fractional multicast rates like 5.5Mbps due to wrong operator precedence
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-22 12:02:35 +00:00
Jo-Philipp Wich 4677fcc57d [package] firewall: explictely mention network in default configuration, makes it less confusing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 13:45:40 +00:00
Felix Fietkau a5ba667309 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 10:08:02 +00:00
Felix Fietkau 0283d014e6 broadcom-wl: fix uninitialized variable
It was causing an occasional kernel oops.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 10:07:57 +00:00
Felix Fietkau 4a225d4a2f ath9k: fix some locking issues in the tx fifo cleanup patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 09:33:45 +00:00
Felix Fietkau 681393696a ath9k: clean up tx fifo handling on ar9380 based hardware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 12:03:08 +00:00
Felix Fietkau 2e316f02fa ath9k: fix a small race condition in the tx_last_beacon patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 12:03:04 +00:00
Jo-Philipp Wich d68b4d1be6 [PATCH] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 09:50:06 +00:00
Felix Fietkau 9b56b115bc mac80211: sync the CONFIG_ATH5K_DEBUG make override with the buildflags override (thx, KanjiMonster)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 18:23:50 +00:00
Felix Fietkau 716127c2ac ath9k: implement tx_last_beacon() to allow mac80211 to respond to probe requests in ad-hoc mode without creating too much spam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 11:14:15 +00:00
John Crispin 773ce57b87 [modules]
* add missing aes dependency to mv_cesa

Signed-off-by: Jan Willies <jan@willies.info>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 10:48:37 +00:00
Felix Fietkau e5d1390591 ath9k: fix ad-hoc nexttbtt calculation, which broke beacon transmission in some instances
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 08:37:38 +00:00
Felix Fietkau 7cf29ea9ae ath9k: fix issues with ad-hoc beacon slot selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-16 21:50:30 +00:00
Felix Fietkau a9b557d1dc mac80211: update to 2011-05-13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-16 21:50:26 +00:00
Vasilis Tsiligiannis 463ae018b1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:35 +00:00
Vasilis Tsiligiannis 4c0eec8640 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:32 +00:00
Vasilis Tsiligiannis c5258d54b2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:28 +00:00
Vasilis Tsiligiannis 7d202aa431 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:24 +00:00
John Crispin b1d922ce97 [kernel/modules]
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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-09 20:28:04 +00:00
Travis Kemen b41ab252a9 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 17:03:07 +00:00
Jo-Philipp Wich 9906022f62 [package] base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others (#9352)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 10:25:58 +00:00
Gabor Juhos c303ae97fd base-files: fix a typo in etc/banner
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 09:23:33 +00:00
Jo-Philipp Wich be57dcf642 [package] lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 14:51:06 +00:00
Felix Fietkau daba13cc2b ath9k: add noise floor calibration fix that should improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 14:35:35 +00:00
Jo-Philipp Wich d417801714 [package] comgt: add tty hotplug remove handling, only iterate each tty once (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 08:19:07 +00:00
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