Commit Graph

359 Commits (c5dc935d0dd587d46df551af0ea911b9befa7417)

Author SHA1 Message Date
Felix Fietkau b5cbeea376 mac80211: improve performance a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 15:30:37 +00:00
Hauke Mehrtens 4fc10cf894 mac80211: fix build problems with kmod-mac80211=n
Build compat-wireless also if kmod-mac80211=n, but do not build mac80211.ko.

Fix problem in ticket #6813.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 21:51:17 +00:00
Nicolas Thill 69a27402c3 [package] use a common way of marking packages as not supported on specific targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 04:12:57 +00:00
Felix Fietkau 1d543fc2cc Revert "mac80211/ath9k: fix duration calculation for short-guard-interval frames (thanks to Duy Nguyen for pointing this out)" again
It appears to be causing trouble at least with some clients.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 01:17:23 +00:00
Felix Fietkau ec9b5ca71b mac80211/ath9k: fix duration calculation for short-guard-interval frames (thanks to Duy Nguyen for pointing this out)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 01:09:17 +00:00
Felix Fietkau 20e3190ee4 mac80211: fix compile for 2.6.33 (thx, acoul)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 01:09:12 +00:00
Felix Fietkau e3754d3bad mac80211: fix interface setup for wds client
sometimes an interface does not get added to the bridge properly
this seems to be a race of interface setup vs wpa_supplicant
fix this by configuring the interface only after wpa_supplicant has been started

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 21:23:14 +00:00
Felix Fietkau 17efadd9ca mac80211: add support for the noscan option for skipping the initial scan on hostapd startup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 17:36:04 +00:00
Hauke Mehrtens 5d90504c41 mac80211: build ipw2x00 driver from compat-wireless
ipw2x00 now depends on cfg80211 which is build form compat-wireless and not directly from kernel.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 22:05:36 +00:00
Felix Fietkau 3e73cfd3fd mac80211: remove an obsolete patch which breaks 2.6.32 compat
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 00:34:30 +00:00
Felix Fietkau 12dd8bb63e mac80211: small whitespace fix in minstrel_ht
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 00:34:26 +00:00
Felix Fietkau f8ff2524a1 mac80211: fix a few more minstrel_ht bugs (thx to Christian Lamparter)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 18:35:39 +00:00
Felix Fietkau e3062cbd6e mac80211: improve minstrel_ht performance by reducing the impact of slow sampling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 17:00:43 +00:00
Felix Fietkau 4a9ef4de0b mac80211: simplify minstrel_ht code, rewrite packet sampling algorithm for improved performance and a-mpdu length
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 16:29:41 +00:00
Felix Fietkau a435fd919a mac80211: increase minstrel_ht precision by properly using a-mpdu frame stats
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 16:29:37 +00:00
Felix Fietkau 418765709e mac80211: implement .rate_update in minstrel_ht
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 16:29:33 +00:00
Felix Fietkau 016b406665 mac80211: update to wireless-testing 2010-03-03
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 16:29:28 +00:00
Felix Fietkau d5dd494153 mac80211: enable debugfs support by default - having access to the rate control statistics is very useful for figuring out the real quality of a link
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-06 10:04:30 +00:00
Hauke Mehrtens 66d7b24082 kernel: add some missing config files and make compat-wireless build with kernel 2.6.33
Thanks tripolar for the missing config symbols


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-02 21:26:36 +00:00
Felix Fietkau e626a1c2b7 mac80211: add the new 802.11n minstrel rate control implementation (optional, not used by default)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 21:48:55 +00:00
Nicolas Thill 032da2f4ac mac80211: add 2 missing config symbols needed to build rt2x00-lib & rt2800-lib modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 05:44:12 +00:00
Felix Fietkau 0c2d614860 mac80211: fix essid setting for ad-hoc (thx, stintel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 19:05:32 +00:00
Felix Fietkau bbb7e33b6f mac80211: fix client mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 19:02:05 +00:00
Felix Fietkau 14376d2461 mac80211: fix interface startup order for AP+STA (patch by yann lopez)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 17:06:53 +00:00
Felix Fietkau 0188db20ce ath9k: disable RIFS search on some chips to avoid baseband hangs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 03:43:30 +00:00
Florian Fainelli 8f6fc9518c [package] fix accidently commited ancient mac80211 patches in r19789-19791 (#6716)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-21 15:43:09 +00:00
Florian Fainelli d4c89d37b3 mac80211: make the vlan injection patch more specific
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-21 14:14:32 +00:00
Florian Fainelli 231d41c849 mac80211: fix lookup for vlan'd stations for injected frames - fixes wpa rekeying with wds ap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-21 14:14:28 +00:00
Florian Fainelli 504439ea2a mac80211: fix an eap frame handling bug in ath9k - fixes client mode rekeying issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-21 14:14:17 +00:00
Jo-Philipp Wich 074df2a6e0 [package] mac80211: fix typo introduced in r19760 (#6707)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 22:44:22 +00:00
Hauke Mehrtens 05f2836d63 [mac80211] rt2800lib depends on rt2x00-usb
The rt2800lib module depends on rt2x00-usb if rt2x00-usb was build.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 19:13:23 +00:00
Felix Fietkau 8186faf227 ath9k: fix beacon timer restarts after card resets - improves stability in AP mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 17:22:37 +00:00
Hauke Mehrtens 93c148c54c [mac80211] remove pcmcia and sdio
This fixes #6701

Remove the pcmcia and sdio interface from b43 driver to not depend on these modules.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 15:41:55 +00:00
Gabor Juhos ab3d70a223 mac80211: fix GPIO pin assignment for the LEDs on the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:22 +00:00
Felix Fietkau 35458f9fd6 mac80211: always use wpa_supplicant for client connections (patch by Stijn Tintel)
Since client mode in mac80211is unreliable without using wpa_supplicant,
it would be better to enable wpa_supplicant by default.

With this patch, wpa_supplicant will always be used for mac80211-based
drivers in client mode. This will break client mode for images that
don't include wpa_supplicant or wpad, so maybe I need to add a check
somewhere to see if wpa_supplicant is available, and show the user a
warning if he tries client mode without wpa_supplicant. Suggestions on
where to add this check are welcome.

Tested with ath5k in client mode on open and wpa2-psk network, and
tested on my ath9k based AP as well to make sure it doesn't break AP mode.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 01:07:21 +00:00
Felix Fietkau 566c5de9de ath9k: fix rate control fallback rate selection - improves throughput and link stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 00:47:32 +00:00
Felix Fietkau 438de16016 mac80211: move the 2.6.30 compat patch to the other compat patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 00:47:28 +00:00
Jo-Philipp Wich 99809048a7 [package] mac80211: add compile fix for pre-2.6.32 kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-17 22:37:04 +00:00
Felix Fietkau 83529be80a mac80211: update to wireless-testing 2010-02-16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-17 14:13:27 +00:00
Felix Fietkau 43980b09ec ath9k: adjust ack timeout workaround patch based on upstream submission
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-15 17:28:52 +00:00
Imre Kaloz 98d6f0382b with no users left, remove support for 2.6.21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 08:37:57 +00:00
Gabor Juhos 4f9f195c32 ar71xx/mac80211: add a workaround for the bad signal strength on the WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-09 16:27:35 +00:00
Felix Fietkau 7be190edbd mac80211: use wpa_supplicant for unencrypted connections to improve client mode reliability (patch by Stijn Tintel from #6653)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-08 13:42:14 +00:00
Felix Fietkau f5828f636a mac80211: update to latest wireless-testing from today
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-03 00:43:09 +00:00
Felix Fietkau 0596f724bb mac80211: fix setup with more than 2 ap mode interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-02 02:19:01 +00:00
Felix Fietkau b75721ea42 mac80211: make the vlan injection patch more specific
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 22:23:47 +00:00
Felix Fietkau 3f21f48430 mac80211: fix lookup for vlan'd stations for injected frames - fixes wpa rekeying with wds ap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 22:17:55 +00:00
Felix Fietkau b4914e896b mac80211: fix an eap frame handling bug in ath9k - fixes client mode rekeying issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 21:27:51 +00:00
Felix Fietkau 5c81e8d45c mac80211: fix rekeying in ap mode with connected powersave stations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 20:58:02 +00:00
Felix Fietkau 7d4b431102 mac80211: fix aggregation setup on wds ap interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-31 20:57:58 +00:00