Commit Graph

1085 Commits (7950f996e0ab8d5b8c4cb168aaa71a42c9021762)

Author SHA1 Message Date
Felix Fietkau 3b0870f450 mac80211: enable support for RaLink Rt53xx USB devices in rt2800usb
The driver works quite nice and stable for me using a RaLink Rt5370 USB device.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29116
2011-11-14 14:06:37 +00:00
John Crispin eb20ab87e6 lantiq: w303v has its rt2860 eep on the nor flash. tell compat-wireless how to use it
SVN-Revision: 28994
2011-11-12 18:41:15 +00:00
Jo-Philipp Wich 1cdd762f90 mac80211: add antenna control api for b43
SVN-Revision: 28940
2011-11-10 23:07:42 +00:00
Jonas Gorski 5079522183 package: mac80211: mark as broken for 3.2
SVN-Revision: 28896
2011-11-09 21:16:48 +00:00
Felix Fietkau 0fb7c80659 ath9k: fix LED related crashes on AR913x
SVN-Revision: 28809
2011-11-07 20:14:09 +00:00
Felix Fietkau 476ca6d5d1 carl9170: add dependency on kmod-input-core
SVN-Revision: 28808
2011-11-07 14:50:04 +00:00
Jo-Philipp Wich d7205a9021 mac80211: change wireless ifname numbering schema Instead of simply counting up until we hit a free iface, group ifnames by wiphy so that the first wlanX on a phy gets the phy number and following ifaces an index-suffix, e.g. wlan0 for network 1 on phy 1 and wlan0-1 for network 2 on phy 1. This fixes state var confusion when operating multiple radios and allows to reliably take down and restart one radio only, even if the number of networks changes in between. This should, along with other changes in LuCI, fix #10335.
SVN-Revision: 28784
2011-11-06 18:49:17 +00:00
Felix Fietkau 2201e32df3 ath9k: add some fixes for radio reinit and frame flush
SVN-Revision: 28772
2011-11-05 19:51:32 +00:00
Felix Fietkau 973308ebfe mac80211: update to wireless-testing 2011-11-04
SVN-Revision: 28771
2011-11-05 19:51:16 +00:00
Felix Fietkau 48a77bb98b mac80211: update to wireless-testing 2011-11-01
SVN-Revision: 28711
2011-11-01 22:02:27 +00:00
Nicolas Thill ab29084cdb package/kernel: prefix library modules with lib-
SVN-Revision: 28656
2011-10-28 13:24:41 +00:00
Jonas Gorski 1c251e09ba package: mac80211: remove uses of $(LINUX_KMOD_SUFFIX)
SVN-Revision: 28601
2011-10-26 13:01:15 +00:00
Jo-Philipp Wich 2f5cb96222 mac80211: allow building ath9k_htc without PCI support, based on patch by Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 28573
2011-10-25 11:25:51 +00:00
Jo-Philipp Wich 56c2b1f382 mac80211: autoload ath9k_htc after USB controller drivers
SVN-Revision: 28442
2011-10-13 14:29:06 +00:00
Hauke Mehrtens b27c184b07 mac80211: fix some dependencies and make lib80211 compile without cfg80211 selected
* libertas: does not depend on mac80211 but on cfg80211 and it uses wext
* libipw: also uses wext
* net-hermes: it is enough if the main package net-hermes depends on cfg80211
* Now it is possible to build it without cfg80211 at all

SVN-Revision: 28437
2011-10-13 12:13:25 +00:00
Hauke Mehrtens 4867f34759 mac80211: use new version of carl80211 firmware
This firmware is compatible with the driver version in use.

SVN-Revision: 28436
2011-10-13 12:02:35 +00:00
Hauke Mehrtens 02c3f6c002 mac80211: use correct firmware for ath9k_htc
The old firmware for ath9k_htc was not compatible with the driver since april.
Also update to a new version of linux-firmware to get the newest version of these firmware files.

Thank you Helmut Schaa for reporting this.

SVN-Revision: 28433
2011-10-13 11:34:28 +00:00
Felix Fietkau adfeb00e5a mac80211: update to wireless-testing 2011-10-05 + pending patches
SVN-Revision: 28392
2011-10-09 15:48:03 +00:00
Felix Fietkau 2e94be02a8 mac80211: set the country code early to allow crda to settle
SVN-Revision: 28387
2011-10-08 17:34:56 +00:00
Felix Fietkau d317a227e1 mac80211: remove a WARN_ON that causes compile errors on 2.6.32
SVN-Revision: 28386
2011-10-08 15:20:34 +00:00
Felix Fietkau 91af0d5b25 ath9k: add support for per-chain signal strength info
SVN-Revision: 28384
2011-10-08 14:48:23 +00:00
Felix Fietkau fc4a676270 ath9k: extend the phy error disable patch
SVN-Revision: 28383
2011-10-08 13:41:04 +00:00
Felix Fietkau a9d6a59cff ath9k: disable phy error reporting on the rx queue to improve stability under noisy conditions
SVN-Revision: 28379
2011-10-07 19:00:02 +00:00
Felix Fietkau e477159e40 ath9k: add some more fixes to AP handling of buffered frames for powersave clients
SVN-Revision: 28344
2011-09-30 22:23:35 +00:00
Felix Fietkau a66d423560 ath9k: fix some tx aggregation issues - reduces the number of tx dma stop failures
SVN-Revision: 28301
2011-09-25 18:34:54 +00:00
Felix Fietkau f45bd67de0 ath9k: merge a pending fix for powersave
SVN-Revision: 28300
2011-09-25 18:34:38 +00:00
Jo-Philipp Wich 6addd50b9d mac80211: rework mac address generation for virtual interfaces; set locally administered bit on generated macs and change the last two bytes isntead of the first one
SVN-Revision: 28298
2011-09-25 14:14:37 +00:00
Felix Fietkau 6848e9c830 ath9k: fix antenna gain calculation
SVN-Revision: 28261
2011-09-20 10:42:45 +00:00
Felix Fietkau ece2882ea4 ath9k: fix handling configured tx power limits
SVN-Revision: 28260
2011-09-19 17:36:41 +00:00
Felix Fietkau f4954abe39 b43: merge ad-hoc beacon fix
SVN-Revision: 28258
2011-09-19 09:59:00 +00:00
Felix Fietkau b81588bd08 ath9k: add some cleanup patches and rework tx power handling
SVN-Revision: 28253
2011-09-17 16:02:56 +00:00
Felix Fietkau eee78bbb0b ath9k: do not strip MMIC for key miss frames
SVN-Revision: 28252
2011-09-17 08:41:54 +00:00
Felix Fietkau 800251a7b7 mac80211: reduce tx queue length of wireless interfaces - improves latency under load
SVN-Revision: 28251
2011-09-17 08:34:42 +00:00
Felix Fietkau 0e9e83047d ath9k: fix a regression in handling of MAC key miss events (should improve connection stability)
SVN-Revision: 28250
2011-09-17 08:34:37 +00:00
Felix Fietkau fca8f05757 ath9k: fix compile without debugfs (#10117)
SVN-Revision: 28249
2011-09-17 07:03:20 +00:00
Felix Fietkau dbde8f805e mac80211/ath9k: fix excessive "Failed to stop TX DMA" logspam in client mode
SVN-Revision: 28247
2011-09-16 07:59:51 +00:00
Felix Fietkau 22be36418e mac80211: update to wireless-testing 2011-09-14
SVN-Revision: 28245
2011-09-15 17:55:16 +00:00
Felix Fietkau 6d708d8f02 ath9k: add a better fix for beacon timer reliability
SVN-Revision: 28211
2011-09-11 11:16:20 +00:00
Felix Fietkau 2fe806c2bf ath9k: fix an rx path race condition that might be the cause of the "ath: DMA failed to stop in 10 ms" logspam as well as various connection stability issues
SVN-Revision: 28202
2011-09-09 07:20:44 +00:00
Jo-Philipp Wich fdfa6fdbcd mac80211: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
SVN-Revision: 28198
2011-09-08 23:21:36 +00:00
Felix Fietkau 5da0d9dda1 mac80211: fix an endian issue in BlockAckReq handling
SVN-Revision: 28190
2011-09-07 06:06:34 +00:00
Felix Fietkau 1c0d12c935 mac80211: merge a power save related race condition fix
SVN-Revision: 28185
2011-09-06 11:09:40 +00:00
Felix Fietkau 2a745a7d54 ath9k: fix beacon timer init on reset
SVN-Revision: 28169
2011-09-04 19:06:02 +00:00
Felix Fietkau f24b8561d4 ath9k: fix some hw reset issues
SVN-Revision: 28151
2011-09-03 03:27:20 +00:00
Felix Fietkau 99e422472c ath9k: merge a fix for tx power limit testing
SVN-Revision: 28143
2011-09-01 18:15:03 +00:00
Felix Fietkau 5c8270da86 ath9k: fix another crash bug
SVN-Revision: 28139
2011-08-31 23:25:37 +00:00
Felix Fietkau 7118498511 ath9k: merge a pending fix for 5 ghz rx latency
SVN-Revision: 28137
2011-08-31 06:34:53 +00:00
Felix Fietkau a4ad239191 ath9k: add a missing dma cache sync on aggregation software retry
SVN-Revision: 28132
2011-08-30 20:59:57 +00:00
Felix Fietkau be077babbf ath9k: add some more minor hw reset related fixes
SVN-Revision: 28129
2011-08-30 07:46:38 +00:00
Felix Fietkau eae76139f2 ath9k: fix a few crash issues on hardware reset
SVN-Revision: 28122
2011-08-29 18:41:18 +00:00
Felix Fietkau 78ec994ef8 ath9k: use cold reset instead of warm reset on ar9280 to make recovery from stuck states more reliable
SVN-Revision: 28118
2011-08-29 12:01:06 +00:00
Felix Fietkau 8a3d0de37b ath9k: add some cleanup patches
SVN-Revision: 28117
2011-08-29 12:01:02 +00:00
Felix Fietkau aa5948296b ath9k: fix a compile error
SVN-Revision: 28116
2011-08-29 10:46:02 +00:00
Felix Fietkau 5abe1156e7 ath9k: fix disabling ani on reset
SVN-Revision: 28115
2011-08-29 10:40:46 +00:00
Felix Fietkau 7197dbac31 ath9k: fix processing of rx frames on channel change
SVN-Revision: 28114
2011-08-29 09:55:16 +00:00
Felix Fietkau bf020bf5e6 ath9k: fix a tx aggregation padding issue
SVN-Revision: 28113
2011-08-29 09:55:11 +00:00
Felix Fietkau 01baf9084f ath9k: fix calibration on 5 ghz
SVN-Revision: 28110
2011-08-29 08:00:08 +00:00
Felix Fietkau 8643ea587a ath9k: minor fixes for the antenna control patch
SVN-Revision: 28109
2011-08-29 08:00:00 +00:00
Felix Fietkau dcb00e0655 ath9k: prevent calibration / beacons from starting too early
SVN-Revision: 28108
2011-08-28 22:06:44 +00:00
Felix Fietkau 8a26e3d6c7 ath9k: implement rx/tx antenna control
SVN-Revision: 28107
2011-08-28 18:38:24 +00:00
Jonas Gorski 45d80c30a2 mac80211: allow building for linux 3.1 again
wireless-testing 2011-08-26 properly detects and works with linux 3.1.

SVN-Revision: 28096
2011-08-28 10:17:26 +00:00
Felix Fietkau ce36543a7d ath: fix compile errors with CONFIG_PACKAGE_ATH_DEBUG disabled (#10013)
SVN-Revision: 28095
2011-08-28 07:34:34 +00:00
Felix Fietkau 8d25adf565 ath9k: fix cts timeout setting on 2.4 ghz
SVN-Revision: 28094
2011-08-27 23:53:49 +00:00
Felix Fietkau 46d2b929c7 mac80211: update to wireless-testing 2011-08-26
SVN-Revision: 28093
2011-08-27 21:57:07 +00:00
Hamish Guthrie f02d0fae40 mac80211: Fix the location firmware is copied to (libertas_sdio driver loads firmware from /lib/formware/libertas)
SVN-Revision: 28069
2011-08-22 11:04:13 +00:00
Jo-Philipp Wich 9d33a50cbb mac80211: configure hostapd logging options
SVN-Revision: 28057
2011-08-20 00:14:48 +00:00
Jo-Philipp Wich 3aa922d33c mac80211: use first available channel from current phy if channel is set to "auto"
SVN-Revision: 27976
2011-08-13 22:55:59 +00:00
Felix Fietkau f681253412 ath9k: merge a few more pending fixes, including a fix for the bogus WARN_ON in pci.c and fixes for Rx DMA stop issues
SVN-Revision: 27972
2011-08-13 16:25:15 +00:00
Felix Fietkau 400f75a1b6 mac80211: update to 2011-08-10
SVN-Revision: 27958
2011-08-11 13:52:27 +00:00
Felix Fietkau dd46d036d9 ath9k: add a regdomain code used on newer ubiquiti networks devices
SVN-Revision: 27947
2011-08-10 16:35:43 +00:00
Jonas Gorski b9776f56d8 package/mac80211: mark as broken for linux 3.1
compat-wireless does not support 3.1 yet.

SVN-Revision: 27935
2011-08-09 12:19:30 +00:00
Felix Fietkau 22e951ae46 b43: fix reloading config settings after channel changes or hostapd restart (#8033)
SVN-Revision: 27930
2011-08-08 11:28:24 +00:00
Hauke Mehrtens 6474dbe86b mac80211: always store broadcom firmware in b43 and b43legacy dir
This is always used to build a firmware for linux systems also if we are on freebsd.

This is one patch from #9897

SVN-Revision: 27926
2011-08-06 17:07:42 +00:00
Felix Fietkau 353639cdd9 ath9k: add missing chunk to the BlockAckReq fix (fixes a compile error)
SVN-Revision: 27891
2011-08-04 09:23:57 +00:00
Felix Fietkau e9aaa9061f ath9k: add some code to control internal driver queue length limits
SVN-Revision: 27890
2011-08-04 00:35:20 +00:00
Felix Fietkau cdc70d84ce ath9k: reduce the number of software retries, include hardware a-mpdu retries in retry counting
SVN-Revision: 27889
2011-08-04 00:35:16 +00:00
Felix Fietkau e7174f44b7 ath9k: rework handling of sending BlockAckReq frames, should hopefully lead to fewer latency spikes
SVN-Revision: 27888
2011-08-04 00:35:12 +00:00
Felix Fietkau e79f073de9 mac80211: fix a compiler warning
SVN-Revision: 27870
2011-08-01 21:14:15 +00:00
Felix Fietkau 9f3aea65fc mac80211: add missing chunks to the compat_firmware_class change
SVN-Revision: 27864
2011-08-01 17:52:07 +00:00
Felix Fietkau 21dd9478d7 mac80211: move compat_firmware_class.ko into compat.ko (fixes #9864)
SVN-Revision: 27863
2011-08-01 17:42:00 +00:00
Felix Fietkau d3f4416d58 ath9k: prevent the aggregation code from sending packets to sleeping stations - should fix some latency issues
SVN-Revision: 27861
2011-08-01 12:15:22 +00:00
Felix Fietkau a1e19186fa ath9k: fold patches that were merged upstream into 300-pending_work.patch
SVN-Revision: 27860
2011-08-01 12:15:15 +00:00
Felix Fietkau a5edb705b4 ath9k: fix switching channel bandwidth from 5/10 back to 20mhz
SVN-Revision: 27827
2011-07-29 12:25:46 +00:00
Felix Fietkau d6431df9c1 ath9k: rework tx power handling - display the correct *current* tx power, and also fix tx power limits with ATH_USER_REGD set
SVN-Revision: 27788
2011-07-26 20:53:40 +00:00
Felix Fietkau d0cea742bb mac80211: merge a few pending fixes for channel switch handling
SVN-Revision: 27783
2011-07-26 15:11:27 +00:00
Felix Fietkau 1266eb49ee mac80211: rename a misnamed patch
SVN-Revision: 27769
2011-07-25 09:56:23 +00:00
Felix Fietkau b87d25ea75 mac80211: remove the ccmp rx pn workaround, it should no longer be necessary and it was reported to cause connection stability issues (see #9646)
SVN-Revision: 27764
2011-07-25 06:29:00 +00:00
Hauke Mehrtens 0df7ae0418 mac80211: do not build bcma from compat-wireless
SVN-Revision: 27750
2011-07-24 12:29:27 +00:00
Hauke Mehrtens aa37b9656d mac80211: fix typo and make broken options depend on BROKEN
SVN-Revision: 27735
2011-07-23 11:32:19 +00:00
Hauke Mehrtens 96b6f27271 mca80211: add support for b43 on bcma bus.
This makes b43 work on broadcom SoCs using bcma as system bus.

SVN-Revision: 27734
2011-07-23 11:25:05 +00:00
Felix Fietkau 80ae98d604 ath9k: validate eeprom chainmask settings, some Ubiquiti devices (and maybe others) contain bogus data, which breaks wifi
SVN-Revision: 27688
2011-07-19 06:42:26 +00:00
Felix Fietkau e084d0e92a ath9k: add some more fixes to the mic failure handling rework patch
SVN-Revision: 27607
2011-07-13 15:37:36 +00:00
Felix Fietkau 9ef09af36d mac80211: fix compile errors because of duplicate atomic64 implementations (#9690)
SVN-Revision: 27605
2011-07-13 15:01:18 +00:00
Felix Fietkau 6493242f94 ath9k: fix mic frame handling for bigger packets
SVN-Revision: 27596
2011-07-12 03:24:53 +00:00
Felix Fietkau 97248baa3e mac80211: backport atomic64_t support for kernels that don't support it
SVN-Revision: 27572
2011-07-09 09:01:17 +00:00
Felix Fietkau c1f1058a89 ath9k: merge some pending initval fixes for ar9380
SVN-Revision: 27566
2011-07-09 04:20:01 +00:00
Felix Fietkau 8f6bd9e425 ath9k: fix sifs time for half/quarter and remove some unnecessary defines
SVN-Revision: 27565
2011-07-09 04:19:41 +00:00
Felix Fietkau 891a96d588 ath9k: add more fixes for TKIP MIC validation
SVN-Revision: 27564
2011-07-09 03:33:59 +00:00
Felix Fietkau b4cef327ff ath9k: add a temporary uci option for setting the channel bandwidth
SVN-Revision: 27563
2011-07-08 17:19:42 +00:00
Felix Fietkau 2d0ecd63f5 ath9k: add more fixes for half/quarter rate support
SVN-Revision: 27562
2011-07-08 17:19:21 +00:00
Felix Fietkau c98829c864 mac80211: fix an interop issue with some broken 802.11n clients (#9436)
SVN-Revision: 27554
2011-07-08 05:49:33 +00:00
Felix Fietkau bf11563176 mac80211: add pending crypto bugfixes
SVN-Revision: 27552
2011-07-08 05:20:03 +00:00
Felix Fietkau 3294d07ee5 ath9k: fix some more "DMA failed to stop in 10 ms" issues on AR913x (#9654)
SVN-Revision: 27482
2011-07-06 09:06:56 +00:00
Felix Fietkau 3ad9a3e992 ath9k: fix reliability issues with TKIP MIC verification
SVN-Revision: 27481
2011-07-06 09:06:39 +00:00
Felix Fietkau e68ea8543b ath9k: always enable fast clock for 5 ghz regardless of the eeprom setting
SVN-Revision: 27480
2011-07-06 09:06:21 +00:00
Felix Fietkau 3c97b838f3 kernel: use lib80211 from compat-wireless instead of the kernel
SVN-Revision: 27436
2011-07-04 03:16:53 +00:00
Felix Fietkau f8c6be2a58 ath9k: merge an upstream change to fix false tx hangs on ar9003
SVN-Revision: 27433
2011-07-04 03:03:12 +00:00
Felix Fietkau f9202745b9 ath5k: add an upstream patch to fix a memory leak
SVN-Revision: 27432
2011-07-04 03:02:52 +00:00
Gabor Juhos 1c96bc9abc max80211: rt2x00: load the eeprom data from a file on Ralink SoCs
SVN-Revision: 27395
2011-07-03 15:02:04 +00:00
Gabor Juhos ab90ca8945 mac80211: rename a rt2x00 related patch
SVN-Revision: 27394
2011-07-03 15:02:03 +00:00
Felix Fietkau 0fa08e885c ath5k: fix tx queue limit for the cabq, fixes warning described in #9465
SVN-Revision: 27367
2011-07-03 01:08:53 +00:00
Felix Fietkau 45d4cee226 ath5k: disable the 32 khz sleep clock, atheros also does this, might improve stability
SVN-Revision: 27366
2011-07-03 01:08:35 +00:00
Felix Fietkau b8dcd316eb ath5k: fix restoring the mac timing setting after a sleep clock setting change
SVN-Revision: 27365
2011-07-03 01:08:18 +00:00
Felix Fietkau 4083940628 ath5k: delay initial periodic calibration after reset to improve stability
SVN-Revision: 27364
2011-07-03 01:07:59 +00:00
Felix Fietkau 289e2f2169 ath9k: clean up pll code for ar9002 to fix 5/10 mhz pll settings for 5ghz
SVN-Revision: 27362
2011-07-02 10:48:58 +00:00
Felix Fietkau 7845c7b512 ath5k: fix a crash when setting coverage class before the first channel change (#9586)
SVN-Revision: 27352
2011-07-02 07:48:34 +00:00
Felix Fietkau 9f38d4402b ath9k: add a small hack to make changing the channel bandwidth to 5/10 mhz available through debugfs - does not work on all chipsets and is not recommended for production use yet
SVN-Revision: 27340
2011-07-01 16:11:53 +00:00
Felix Fietkau aca1b30101 ath9k: merge an upstream patch that provides a minor throughput improvement on ar9003
SVN-Revision: 27339
2011-07-01 16:11:33 +00:00
Felix Fietkau 44756fe93c ath5k: enable spur mitigation for ar2413 - should improve performance and reliability on those devices
SVN-Revision: 27331
2011-07-01 11:33:07 +00:00
Felix Fietkau 0b250e3123 ath5k: add a missing srev checks for code that lowers the synth voltage - might fix some stability issues
SVN-Revision: 27325
2011-07-01 05:10:47 +00:00
Felix Fietkau 5392494101 ath5k: disable tx power gain correction probing for hardware that does not need or support it
SVN-Revision: 27324
2011-07-01 04:04:54 +00:00
Felix Fietkau 0d796ee9e3 mac80211: rename a misnamed patch
SVN-Revision: 27323
2011-07-01 04:04:34 +00:00
Hauke Mehrtens ca979845cc kernel: update ssb and bcma to linux-next next-20110627
SVN-Revision: 27295
2011-06-27 21:28:40 +00:00
Felix Fietkau baf6423827 mac80211: merge a pending fix for reestablishing misconfigured aggregation sessions
SVN-Revision: 27292
2011-06-27 09:31:09 +00:00
Felix Fietkau 0243ec0da3 mac80211: force b44 and atl* to be disabled, even if they are enabled in the kernel tree
SVN-Revision: 27285
2011-06-25 19:31:12 +00:00
Felix Fietkau e087e678af mac80211: configure HT IBSS through uci
SVN-Revision: 27279
2011-06-24 19:53:31 +00:00
Felix Fietkau 87617ce258 mac80211: add the work-in-progress IBSS HT patch, with some minor fixes
SVN-Revision: 27277
2011-06-24 19:53:22 +00:00
Felix Fietkau f85d10e1f3 ath9k: add some more pending fixes
SVN-Revision: 27276
2011-06-24 19:53:18 +00:00
Felix Fietkau c7744447a5 mac80211: update to wireless-testing 2011-06-22
SVN-Revision: 27275
2011-06-24 19:53:13 +00:00
Felix Fietkau 3294d04e44 mac80211: enable cfg80211 debugfs support
SVN-Revision: 27273
2011-06-24 19:53:05 +00:00
Hauke Mehrtens a9191c8b32 mac80211: use firmware from linux-firmware git
Use the firmware from linux-firmware git where possible.

Update some firmware files in that process and check for missing firmware files for some modules.

 * update Ralink firmwares
 * update ath9k_htc firmware
 * add firmware for mwl8k
 * add more firmware files for libertas-sd and libertas-usb

SVN-Revision: 27252
2011-06-21 20:50:10 +00:00
Hauke Mehrtens a3a5eb275f mac80211: fix debugfs for ath9k_htc
if debugfs was enabled ath9k_htc did not load.

SVN-Revision: 27251
2011-06-21 20:44:50 +00:00
Hauke Mehrtens cda72f33f4 mac80211: remove rests of ar9170 driver
SVN-Revision: 27250
2011-06-21 20:43:50 +00:00
Hauke Mehrtens dfcd340721 package/mac80211: Add linux 3.0 compatibility
Add patches from Hauke adding linux 3.0 compatibility.

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

SVN-Revision: 27187
2011-06-15 21:16:38 +00:00
Gabor Juhos 9769854aae mac80211: add initial support for AR9330
SVN-Revision: 27084
2011-06-01 13:12:31 +00:00
Felix Fietkau 41a169115b mac80211: update to wireless-testing 2011-05-27
SVN-Revision: 27071
2011-05-31 23:07:29 +00:00
Gabor Juhos a456082ccd mac80211: make ath9k available even if PCI support is disabled
SVN-Revision: 27046
2011-05-31 22:53:16 +00:00
Felix Fietkau 7f0fc7b0cf ath9k: reduce the number of rx buffers, 512 is excessively high, 128 should work just as well, and will use a lot less memory
SVN-Revision: 27029
2011-05-30 13:38:54 +00:00
Felix Fietkau c7cdee0230 ath9k: merge a few bugfixes
SVN-Revision: 27025
2011-05-28 16:45:17 +00:00
Felix Fietkau 2dd4505c62 ath5k: disable fast channel changes, some people have reported that they introduce connection stability issues
SVN-Revision: 27024
2011-05-28 16:27:24 +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
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
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
Felix Fietkau dbea075cd4 ath9k: add noise floor calibration fix that should improve stability
SVN-Revision: 26819
2011-05-04 14:35: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
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 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 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
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
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 9d0882b720 mac80211: re-enable beacon channel hints
SVN-Revision: 26723
2011-04-19 15:41:45 +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 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
Felix Fietkau 966dee23c3 mac80211: fix WPA auth on WDS station interfaces (#9227)
SVN-Revision: 26609
2011-04-12 17:17:56 +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
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 1c64f756d4 mac80211: fix compile with older kernel versions
SVN-Revision: 26573
2011-04-09 23:51:30 +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
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
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 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
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
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
Gabor Juhos 6c757c4cbe mac80211: move 620-rt2x00_soc_led_support.patch to the correct place
* fixes [26463]

SVN-Revision: 26467
2011-04-04 09:03:33 +00:00
Gabor Juhos 490032400b mac80211: update rt2800-{pci,usb} dependencies
SVN-Revision: 26465
2011-04-04 08:43:02 +00:00
Gabor Juhos 3c5ead23c1 mac80211: rt2800-lib doesn't depend on rt2x00-usb
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 26464
2011-04-04 08:42:59 +00:00
Gabor Juhos 8e1a827487 mac80211: add WLAN LED support for Ralink RT305x SoC Devices
This patch adds WLAN LED support to the mac80211 driver for Ralink
rt2x00/rt2800 (rt305x) SoC devices. The current driver in
kmod-rt2800-lib is based upon PCI, not SoC. The WLAN LED drivers in
rt2800lib.c set the LED brightness via an MCU request, but do nothing
for SoC. This patch checks for SoC and sets the register to enable the
WLAN LED (instead of an MCU request).  This fixes the WLAN LED for
RT305x devices (such as the HW550-3G).

Signed-off-by: Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 26463
2011-04-04 08:42:58 +00:00
Felix Fietkau aa550f9307 mac80211: increase delay between aggregation session negotiation attempts - improves interop with intel clients
SVN-Revision: 26444
2011-04-03 17:34:55 +00:00
Felix Fietkau 8f958a12a2 mac80211: rtl818x depends on kmod-usb-core
SVN-Revision: 26443
2011-04-03 17:34:51 +00:00
Felix Fietkau b9e759ae5a ath9k: fix missing chip wakeups causing instability issues on at least AR5416 (probably on other devices as well); fixes #9107
SVN-Revision: 26418
2011-04-02 22:04:38 +00:00
Felix Fietkau 6f446d9419 ath9k-htc: enable debugfs support
SVN-Revision: 26412
2011-04-02 16:53:46 +00:00
Felix Fietkau f5eeb3f74d mac80211: fix duplicate probe request reception (triggering unnecessary probe responses in multi-BSSID setups)
SVN-Revision: 26408
2011-04-02 16:06:42 +00:00
Felix Fietkau 8becf17417 ath9k: fix adhoc beacon issues (#9163)
SVN-Revision: 26395
2011-04-02 01:10:01 +00:00
Felix Fietkau f5a50227a3 mac80211: add all drivers to PKG_CONFIG_DEPENDS
SVN-Revision: 26369
2011-03-30 12:33:14 +00:00
Felix Fietkau 15e79b479a ath9k: fix reported signal strength
SVN-Revision: 26368
2011-03-30 11:38:39 +00:00
Felix Fietkau da0ac5027e ath9k: fix PS-Poll frame reception in AP mode on AR91xx and earlier - should fix some AP mode stability issues on these chips
SVN-Revision: 26316
2011-03-27 14:27:32 +00:00
Felix Fietkau 98267669b0 mac80211: disable an unnecessary backport to reduce code size
SVN-Revision: 26303
2011-03-26 14:06:29 +00:00
Felix Fietkau 75e785511a mac80211: remove an obsolete backport patch
SVN-Revision: 26302
2011-03-26 14:06:25 +00:00
Felix Fietkau 0c98b6b2d2 mac80211: add a pending patch to remove the dependency on ecb
SVN-Revision: 26295
2011-03-25 21:28:22 +00:00
Felix Fietkau 70a2413ffd mac80211: fix zd1211 config override
SVN-Revision: 26294
2011-03-25 21:20:14 +00:00
Felix Fietkau 1938d5a669 mac80211: update to wireless-testing 2011-03-24
SVN-Revision: 26293
2011-03-25 21:12:28 +00:00
Felix Fietkau ea6bf64605 ath9k: fix chip wakeup on interface start - should fix some instability issues
SVN-Revision: 26290
2011-03-25 16:36:48 +00:00
Felix Fietkau 1526792622 mac80211: fix a deadlock in minstrel_ht when a HT client without valid MCS rates connects
SVN-Revision: 26287
2011-03-25 14:00:59 +00:00
Felix Fietkau 2eda9ca634 mac80211: fix dropping multicast proberequest frames for ad-hoc
SVN-Revision: 26284
2011-03-24 13:38:20 +00:00
Felix Fietkau 4cbdad0e9d ath9k: add a few de-bloating and optimization patches
SVN-Revision: 26281
2011-03-23 20:16:58 +00:00
Felix Fietkau 80239ff7b0 ath9k: merge a pending patch for fixing a stopped queue issue (mostly for client mode)
SVN-Revision: 26280
2011-03-23 20:16:53 +00:00
Felix Fietkau ee7f3d21f4 mac80211: update to wireless-testing 2011-03-22
SVN-Revision: 26273
2011-03-22 21:00:58 +00:00
Felix Fietkau b85cfd52d8 ath9k: add a patch from linux-wireless@ for reducing driver size
SVN-Revision: 26264
2011-03-22 00:41:55 +00:00
Felix Fietkau eaa07dd900 mac80211: initialize the last rx time when creating a station
should hopefully finally take care of the nasty reassociation issues which showed up as
Jan  1 00:51:10 OpenWrt daemon.info hostapd: wlan0: STA 00:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity
right after associating, leading to an immediate disconnect.
Will probably fix #8343, #8830 and others.

SVN-Revision: 26251
2011-03-21 03:19:35 +00:00
Felix Fietkau 562468651d ath9k: re-run nfcal only when stuck beacons become more frequent
SVN-Revision: 26250
2011-03-21 02:22:26 +00:00
Felix Fietkau bc8410cd76 ath9k: increase ATH_BCBUF, allows creating 8 virtual APs
SVN-Revision: 26249
2011-03-21 02:22:22 +00:00
Felix Fietkau 4838baefa7 ath9k: improve precision of beacon timer calculations
SVN-Revision: 26248
2011-03-21 02:22:17 +00:00
Felix Fietkau c12de7c4c1 ath9k: add some minor debugfs cleanups
SVN-Revision: 26247
2011-03-21 02:22:12 +00:00
Felix Fietkau de2b5158a1 hostapd: add a separate config symbol for 802.11n driver support
SVN-Revision: 26212
2011-03-17 20:21:28 +00:00
Felix Fietkau 61bce8b1f0 mac80211: add an aggregation rx reorder timeout handling fix
SVN-Revision: 26185
2011-03-16 02:57:04 +00:00
Felix Fietkau 8d08f4473b ath9k: force the rx chainmask on ar913x to 0x7 - fixes calibration issues with 2-antenna devices such as the wrt160nl
SVN-Revision: 26168
2011-03-15 01:36:48 +00:00
Felix Fietkau 8144d60d83 ath9k: enable an ar913x specific hardware fix for sending block-ack
SVN-Revision: 26167
2011-03-15 01:36:45 +00:00
Vasilis Tsiligiannis f55fe56225 mac80211: Fix unique device autodetection
SVN-Revision: 26165
2011-03-15 00:44:02 +00:00
Felix Fietkau 1e89670f0e mac80211: fix ath9k/ath9k-htc description (thx, swalker)
SVN-Revision: 26160
2011-03-14 14:04:49 +00:00
Felix Fietkau 484a793dd4 ath9k: split package into kmod-ath9k and kmod-ath9k-common, add a new package for ath9k_htc
SVN-Revision: 26130
2011-03-13 18:38:50 +00:00
Felix Fietkau 66a6f82ee3 mac80211: update to wireless-testing 2011-03-11
SVN-Revision: 26128
2011-03-13 18:38:37 +00:00
Felix Fietkau 3a77dae1d4 mac80211/ath9k: improve pending patches based on review feedback
SVN-Revision: 26041
2011-03-11 20:55:54 +00:00
Felix Fietkau 3efcd0a1fc mac80211: fix spurious channel type changes when vifs are created/deleted
SVN-Revision: 26038
2011-03-11 19:23:38 +00:00
Felix Fietkau 6160443867 ath9k: add a patch to fix the interoperability issues with intel clients (fixes #8830)
SVN-Revision: 26036
2011-03-11 16:04:37 +00:00
Hamish Guthrie 53805b9c7d Add wext support to libertas-sd driver
SVN-Revision: 26028
2011-03-11 09:24:25 +00:00
Felix Fietkau 0f6ddd5116 mac80211: redirect EAP frames on AP VLAN interfaces to the main AP interface to fix a bridging related race condition
SVN-Revision: 26016
2011-03-10 18:00:45 +00:00
Felix Fietkau 34f90988dd ath9k: improve tx dma fixes based on review feedback
SVN-Revision: 26005
2011-03-10 13:37:26 +00:00
Felix Fietkau 2aa1e6f1bb ath9k: get rid of most of those annoying dma tx stop issues
SVN-Revision: 25988
2011-03-10 00:53:05 +00:00
Felix Fietkau fb15c3737c zd1211rw: fix #define collision for register names triggered by compat patches
SVN-Revision: 25965
2011-03-09 03:41:27 +00:00
Felix Fietkau 730dc33c75 mac80211: fix minstrel_ht sampling intervals (patch by Daniel Halperin)
SVN-Revision: 25964
2011-03-09 03:41:22 +00:00
Felix Fietkau 1b7f3d2a31 ath9k: remove support for in-bss promisc mode, the rx filter flag is too broad and in-bss promisc mode is not particularly useful. should fix most (or all) instances of "ath: Could not stop RX..." error messages
SVN-Revision: 25963
2011-03-09 00:37:25 +00:00
Michael Büsch b2fa5ab236 mac80211: Add scan race fix
SVN-Revision: 25930
2011-03-07 14:01:46 +00:00
Michael Büsch 9649777395 mac80211: print message on hw restart
SVN-Revision: 25926
2011-03-07 12:36:43 +00:00
Michael Büsch 1d3e4a2ab3 mac80211: Don't include p54spi default eeprom
SVN-Revision: 25925
2011-03-07 12:21:58 +00:00
Felix Fietkau 3494bdc59a mac80211: allow AP configuration of beacon interval, DTIM period, maximum permissible STA listen interval, and basic rates
This introduces beacon_int and basic_rate (per wifi-device), and
dtim_period and max_listen_int (per wifi-iface) for mac80211. These
configure the beacon interval, basic rate specification, DTIM period
(one DTIM per this many beacon frames), and maximum listen interval
that a STA will be permitted to associate with. All of the new
settings are optional; if they're absent, the existing hostapd (or, in
the case of basic_rate, driver) defaults will be used.

The existing bintval property only used for type adhoc is moved from
wifi-iface to wifi-device, and is renamed to beacon_interval because
bintval isn't a great name. The beacon interval is property of the
wifi-device; while the choice between wifi-device and wifi-iface may
not be relevant with an adhoc network, there's no reason to configure
the same property one way for type adhoc and another for type ap. This
change isn't expected to cause many problems, as bintval was added
recently, in r25111.

Similarly, the list of basic rates, also added for type adhoc in
r25111, is a property of the device and not the interface. Further, it
ought to be represented in UCI as a list, not a string dependent on
the format that iw uses. I’ve moved it onto the device, renamed it to
basic_rate, and made it configurable for APs via hostapd. Finally, I
adapted it to use the same kb/s representation as mcast_rate; there's
precedent for this format in that it's also how madwifi interprets
mcast_rate.

Neither bintval nor basicrates were ever documented in the UCI
wireless configuration page on the wiki. When this change is
committed, I'll update the documentation as needed.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 25837
2011-03-02 21:08:28 +00:00
Michael Büsch 7b44be03d8 2.6.38: Let mac80211 select CONFIG_AVERAGE
SVN-Revision: 25818
2011-03-01 18:55:00 +00:00
Felix Fietkau 1f08de0a7e mac80211: improve ath9k AP A-MPDU PS buffering
SVN-Revision: 25779
2011-02-27 21:46:15 +00:00
Felix Fietkau e21f69d640 mac80211: override CONFIG_IWLWIFI_LEGACY
SVN-Revision: 25778
2011-02-27 21:46:08 +00:00