Commit Graph

370 Commits (11e3212fa8dccde96d46b14332abf6cdff91b1ef)

Author SHA1 Message Date
Gabor Juhos 020d46b020 mac80211: Enable rt2x00 debug if CONFIG_PACKAGE_RT2X00_DEBUG is selected
When CONFIG_PACKAGE_RT2X00_DEBUG is selected we should compile rt2x00 with
the CONFIG_RT2X00_DEBUG flag set to enable debug output.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 09:58:26 +00:00
Gabor Juhos 322804a9fe mac80211: fix a typo in rt2x00 config
Fix a simple typo

Signed-off-by: Luis Correia <luis.f.correia@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:26 +00:00
Gabor Juhos 8ae194692a mac80211: add missing config file for the rt2x00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 05:36:14 +00:00
Gabor Juhos 51062f0814 mac80211: enable building of the rt2800 on the ramips target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 21:24:08 +00:00
Hauke Mehrtens f042039df7 mac80211: fix mesh.
This fixes #6774


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 18:33:48 +00:00
Hauke Mehrtens 44f0ed5efb mac80211: fix build of ipw2200
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 09:53:48 +00:00
Felix Fietkau 78c616da82 ath9k: make sure that the rx path does not get stuck
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:43:33 +00:00
Felix Fietkau 5912910865 mac80211: disable b43 nphy until it actually works
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:36:23 +00:00
Felix Fietkau 52090c32c9 mac80211: update to wireless-testing 2010-03-24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:36:12 +00:00
Felix Fietkau e100b30753 ath9k: fix a client mode crash that happens on wpa rekeying
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 03:03:57 +00:00
Felix Fietkau a41795aae6 minstrel_ht: make the ewma of the ampdu length more smooth by updating it on stats updates and reduce the frequency of aggregation checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 22:08:06 +00:00
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