1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 19:19:42 +02:00
Commit Graph

842 Commits

Author SHA1 Message Date
nbd
31eb2b27b8 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
nbd
371ae7af3a 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
nbd
1bb8660d89 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
nbd
c5fa9dbc2b 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
nbd
1183e23e2f 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
nbd
9c731309db 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
nbd
505d82b643 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
nbd
d75d999a72 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
nbd
2ea7b39338 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
nbd
ea4e7541cf 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
nbd
542d043d67 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
nbd
0318dc0736 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
nbd
9df10a215d 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
nbd
4e1f633a68 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
hauke
e7a0967521 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
nbd
83ef4a5fc6 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
hauke
f3a65e72db 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
525ee451c1 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
3c0289d116 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
21ca38e406 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
nbd
2a28eaed70 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
nbd
0e460adef9 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
nbd
fde551ce8b 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
nbd
23d4162436 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
nbd
dd24d65003 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
nbd
c33006b948 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
nbd
84a5abf7df 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
nbd
1d3c1135c3 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
nbd
18bdb01337 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
nbd
6152ff34ea 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
nbd
bc3305d88e mac80211: fix WPA auth on WDS station interfaces (#9227)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 17:17:56 +00:00
juhosg
62e17b4436 mac80211: ath9k: register id table for platform device
Currently the device id in the platform driver is hardcoded to an
id which is specific to AR9130/AR9132 SOCs as it supports only wmac
(wireless mac) of these SOCs. But this needs to be dynamic when we
want to support different wmac of SOCs. So add id_table to driver to
make it extendable to more SOCs.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 09:29:23 +00:00
nbd
77871f6bf5 ath5k: disable the unusable 2 GHz mode on the first radio of a dual-band AR5312 device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:26:08 +00:00
nbd
e6093b5ed0 ath5k: fix eeprom capability checks that disabled AES crypto support where it should have been enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-11 03:26:03 +00:00
nbd
9ad628c924 ath5k: fix mac address detection on dual-radio ar5312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 21:12:05 +00:00
nbd
749f647dd9 ath5k: fix 2ghz-only radio handling on ar5312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 21:12:00 +00:00
nbd
7558f8fda5 ath5k: decrease interrupt load for rx/tx interrupts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:39 +00:00
nbd
e280b4d411 ath5k: clean up debugfs code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:34 +00:00
nbd
e8ca765410 ath5k: fix config options for debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-10 16:23:28 +00:00
hauke
8471c58257 mac80211: fix compile with older kernel versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:51:30 +00:00
hauke
3d37807283 kernel: add symbols, small fixes
* Some module should be loaded later to load them after the modules they are depending on
* add some more missing config symbols
* make CS5535 build again


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:34:20 +00:00
nbd
fbadef915d ath5k: add some more performance improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 22:56:51 +00:00
nbd
42a36fdda9 ath5k: rename a misnamed patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 22:56:47 +00:00
nbd
823f142ee2 ath5k: add a few fixes that improve performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 21:11:06 +00:00
nbd
e5c2ddb8ef ath5k: fix tx status reporting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 19:21:26 +00:00
nbd
0fb56fb478 ath9k: properly count retries when frames are filtered due to excessive retries when a client is not in powersave mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:22:01 +00:00
nbd
75c5ede9ee mac80211: fix reading the station flags in debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:21:57 +00:00
hauke
855a73d79a mac80211: add Intel wireless drivers.
This adds the Intel wireless drivers for their normal cards.

Thank you framer99 for the patch, I extended it a little bit.

This closes #7227


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 16:17:21 +00:00
nbd
f53132ef54 ath9k: improve the rx dma stop fix, add more debugging output in case the issue still occurs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 12:18:43 +00:00
nbd
063b9eca01 mac80211: fix support for iftype wds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-08 01:04:44 +00:00
nbd
c0b61bdf0a mac80211: update to wireless-testing 2011-04-06
adds some more pending patches which (among other things) fix the 'failed to stop RX DMA' messages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-07 18:42:22 +00:00
nbd
d0c6aec8d9 ath9k: fall back to the default noise floor if the calibrated one is not available, fixes signal strength display in initial scan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-05 19:04:05 +00:00
juhosg
3d74008d68 mac80211: move 620-rt2x00_soc_led_support.patch to the correct place
* fixes [26463]

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 09:03:33 +00:00
juhosg
3063a1d914 mac80211: update rt2800-{pci,usb} dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 08:43:02 +00:00
juhosg
381fe000fd mac80211: rt2800-lib doesn't depend on rt2x00-usb
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 08:42:59 +00:00
juhosg
59dd24394e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 08:42:58 +00:00
nbd
98a6131a74 mac80211: increase delay between aggregation session negotiation attempts - improves interop with intel clients
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 17:34:55 +00:00
nbd
80fbca446e mac80211: rtl818x depends on kmod-usb-core
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 17:34:51 +00:00
nbd
09702f9b67 ath9k: fix missing chip wakeups causing instability issues on at least AR5416 (probably on other devices as well); fixes #9107
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 22:04:38 +00:00
nbd
1a74e76fb9 ath9k-htc: enable debugfs support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 16:53:46 +00:00
nbd
f8f2e630ae mac80211: fix duplicate probe request reception (triggering unnecessary probe responses in multi-BSSID setups)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 16:06:42 +00:00
nbd
997a13bb0d ath9k: fix adhoc beacon issues (#9163)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 01:10:01 +00:00
nbd
f6c7475856 mac80211: add all drivers to PKG_CONFIG_DEPENDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 12:33:14 +00:00
nbd
e6674fcd00 ath9k: fix reported signal strength
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26368 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 11:38:39 +00:00
nbd
6f0ee4af94 ath9k: fix PS-Poll frame reception in AP mode on AR91xx and earlier - should fix some AP mode stability issues on these chips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-27 14:27:32 +00:00
nbd
91c9f2c7d5 mac80211: disable an unnecessary backport to reduce code size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 14:06:29 +00:00
nbd
c6607f1b03 mac80211: remove an obsolete backport patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-26 14:06:25 +00:00
nbd
2a6f8ab8cf mac80211: add a pending patch to remove the dependency on ecb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 21:28:22 +00:00
nbd
f27317a2dc mac80211: fix zd1211 config override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 21:20:14 +00:00
nbd
1da648ca46 mac80211: update to wireless-testing 2011-03-24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 21:12:28 +00:00
nbd
597d73f857 ath9k: fix chip wakeup on interface start - should fix some instability issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 16:36:48 +00:00
nbd
e4378812ac mac80211: fix a deadlock in minstrel_ht when a HT client without valid MCS rates connects
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 14:00:59 +00:00
nbd
03f57539d9 mac80211: fix dropping multicast proberequest frames for ad-hoc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-24 13:38:20 +00:00
nbd
b139cef40a ath9k: add a few de-bloating and optimization patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-23 20:16:58 +00:00
nbd
f8662e2c22 ath9k: merge a pending patch for fixing a stopped queue issue (mostly for client mode)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-23 20:16:53 +00:00
nbd
5034ff8395 mac80211: update to wireless-testing 2011-03-22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-22 21:00:58 +00:00
nbd
d692939b93 ath9k: add a patch from linux-wireless@ for reducing driver size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-22 00:41:55 +00:00
nbd
3ae6fa1722 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 03:19:35 +00:00
nbd
77d61d596b ath9k: re-run nfcal only when stuck beacons become more frequent
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:26 +00:00
nbd
909794c243 ath9k: increase ATH_BCBUF, allows creating 8 virtual APs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:22 +00:00
nbd
0614dd953e ath9k: improve precision of beacon timer calculations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:17 +00:00
nbd
9217fded49 ath9k: add some minor debugfs cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 02:22:12 +00:00
nbd
ab31e75d1b hostapd: add a separate config symbol for 802.11n driver support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 20:21:28 +00:00
nbd
55205a9f6b mac80211: add an aggregation rx reorder timeout handling fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-16 02:57:04 +00:00
nbd
7350a80ed1 ath9k: force the rx chainmask on ar913x to 0x7 - fixes calibration issues with 2-antenna devices such as the wrt160nl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 01:36:48 +00:00
nbd
90ed8e260f ath9k: enable an ar913x specific hardware fix for sending block-ack
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 01:36:45 +00:00
acinonyx
73b9ef150f [package] mac80211: Fix unique device autodetection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-15 00:44:02 +00:00
nbd
a96b37d703 mac80211: fix ath9k/ath9k-htc description (thx, swalker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-14 14:04:49 +00:00
nbd
f04f75166a ath9k: split package into kmod-ath9k and kmod-ath9k-common, add a new package for ath9k_htc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 18:38:50 +00:00
nbd
7ae2f49748 mac80211: update to wireless-testing 2011-03-11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 18:38:37 +00:00
nbd
7746d05fee mac80211/ath9k: improve pending patches based on review feedback
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 20:55:54 +00:00
nbd
fdb9acb4b9 mac80211: fix spurious channel type changes when vifs are created/deleted
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 19:23:38 +00:00
nbd
fae87953ac ath9k: add a patch to fix the interoperability issues with intel clients (fixes #8830)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 16:04:37 +00:00
hcg
dedb5eabcc [mac80211] Add wext support to libertas-sd driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-11 09:24:25 +00:00
nbd
5f2df5abc5 mac80211: redirect EAP frames on AP VLAN interfaces to the main AP interface to fix a bridging related race condition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 18:00:45 +00:00
nbd
bc3a5f824f ath9k: improve tx dma fixes based on review feedback
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 13:37:26 +00:00
nbd
08ba7e8685 ath9k: get rid of most of those annoying dma tx stop issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 00:53:05 +00:00
nbd
a78831d207 zd1211rw: fix #define collision for register names triggered by compat patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 03:41:27 +00:00
nbd
da27ab47b3 mac80211: fix minstrel_ht sampling intervals (patch by Daniel Halperin)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 03:41:22 +00:00
nbd
1776ea0ccd 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 00:37:25 +00:00
mb
3028eab08b mac80211: Add scan race fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 14:01:46 +00:00
mb
b70c6b1168 mac80211: print message on hw restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:36:43 +00:00
mb
40bef39c64 mac80211: Don't include p54spi default eeprom
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 12:21:58 +00:00
nbd
768662b701 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-02 21:08:28 +00:00
mb
0814286378 2.6.38: Let mac80211 select CONFIG_AVERAGE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 18:55:00 +00:00
nbd
b1ba030093 mac80211: improve ath9k AP A-MPDU PS buffering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 21:46:15 +00:00
nbd
2d90f605f5 mac80211: override CONFIG_IWLWIFI_LEGACY
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 21:46:08 +00:00
nbd
a736924ce9 mac80211: set CONFIG_RTLWIFI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 21:37:21 +00:00
nbd
51a59f0c51 p54: fix a null pointer dereference bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 20:50:45 +00:00
nbd
266275eef4 mac80211: update to 2011-02-25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 11:22:26 +00:00
nbd
4856cc94bb ath9k: fix interrupt enable/disable issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-18 18:16:48 +00:00
nbd
2b9729ded6 make all wext wifi drivers select DRIVER_WEXT_SUPPORT, so that hostapd/wpa_supplicant can make it optional
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 14:18:13 +00:00
nbd
5a2812db7d mac80211: add a patch for keeping track of the rx bitrate of remote stations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-10 03:37:32 +00:00
nbd
239c6f2e2d ath9k: remove an old tx stop workaround which conflicts with the powersave fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-10 03:37:23 +00:00
nbd
87664be80e ath9k: improve the power save fix by closing another remaining race condition for setting the TIM bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-08 23:35:20 +00:00
nbd
22ecf6d623 ath9k: add fixes for AP side powersave frame buffering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-08 19:31:50 +00:00
nbd
88bf917365 mac80211: update to wireless-testing 2010-02-07
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-08 19:31:43 +00:00
nbd
a76eddd489 ath: fix world regulatory domain fix-up so that all regulatory rules are processed
r24503 (trunk) and r24505 (backfire) revised the regulatory rules used
for the ath drivers' world regulatory domains in the 5GHz band by
opening up channels 36, 40, 44, and 48 to being used without the
*_PASSIVE_SCAN and *_NO_IBSS flags set. This was done by breaking
ATH9K_5GHZ_5150_5350 into two REG_RULES. The various struct
ieee80211_regdomains that reference these rules in their reg_rules
fields need to have their n_reg_rules fields updated accordingly.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-08 12:36:25 +00:00
nbd
71fadbe986 mac80211: fix the check for cloned skbs in the tx path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-07 10:42:40 +00:00
nbd
3d93bd05f8 mac80211: when operating as a 4-addr station, do not pick up 4-addr frames meant for other stations, as this would confuse the bridge layer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-05 22:38:23 +00:00
nbd
d9504fed20 ath9k: reduce false positives in the baseband hang check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-04 12:16:41 +00:00
nbd
4e5d814acd mac80211: drop retransmitted data frames from the cooked monitor interface - reduces CPU usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-04 12:16:36 +00:00
nbd
1f25573feb cfg80211: revert the max power patch - it seems to be limiting tx power too much on some devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-30 23:35:00 +00:00
nbd
2bd31a6676 cfg80211: do not overwrite the hardware max power setting in the regulatory code, fixes reported tx power values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-29 13:51:33 +00:00
nbd
636cc564f0 ath9k: reduce allocation size, common->cachelz is already added to the buffer size elsewhere
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 16:58:08 +00:00
nbd
60c0cecdea ath9k: fix a compile error in the debug stubs (fixes #8737, #8745)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 16:58:05 +00:00
nbd
3344f8e40c mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do not support this yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 12:01:54 +00:00
jow
8d510f3c87 [package] mac80211: fix order of iw parameters, fix broken antenna config call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 16:00:02 +00:00
acinonyx
96418c0a98 [package] mac80211: Fix antenna setting when only one of {rx,tx}antenna options is specified
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 09:13:51 +00:00
jow
9afe60a2f4 [package] mac80211: add missing done to mac80211.sh (#8735)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 21:01:23 +00:00
jow
4b099d9265 [package] mac80211: add mising esac to mac80211.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 20:37:12 +00:00
jow
028570018d [package] mac80211: rework recent mac80211.sh additions:
- split antenna options into rxantenna and txantenna to bring it in line with broadcom and madwifi
	- get rid of temporary variables
	- follow the documented config protocol for wep keys (option key # + option key# [s:]data)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 18:01:26 +00:00
nbd
b1059b17d9 ath9k: optimize memory allocations - improves performance and reduces ath9k RAM usage by 2 MB per device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 17:28:12 +00:00
nbd
593e983ee0 mac80211: Add new parameters to mac80211.sh
Add new options 'bintval' (beacon interval), 'basicrates' (basic rates) and
'antenna' (antenna selection) for /etc/config/wireless to be used with
mac80211 drivers.

Enable WEP encryption for IBSS mode.

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 11:34:15 +00:00
nbd
9eacd21000 mac80211: Add mac address filter configuration for hostapd
Add support of mac address filter. Now 'macfilter' and 'maclist' options
can be used with mac80211.

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 11:33:54 +00:00
nbd
10b359c8c9 mac80211: Improve ath5k/ar71xx PCI bug WAR
It has been confirmed by Atheros that this PCI bug affects the RX side only,
so we can keep the 128B DMA size for TX.

With this change we can double the thruput of ath5k from 15Mps to 30Mbps.

We have been using this patch since more than 6 month in a production
environment without problems and a significant performance improvement.

It has also been said to fix HW encryption:
http://www.mail-archive.com/ath5k-devel@lists.ath5k.org/msg04311.html

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 11:33:50 +00:00
nbd
2fd6778e99 ath9k: fix tx queue debug counters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-26 11:33:27 +00:00
nbd
6f72126ba8 mac80211: update to wireless-testing 2011-01-24
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 18:54:16 +00:00
nbd
98ec8455f2 ath9k: kmod-ath9k has no extra menuconfig options, remove MENU:=1 (#8695)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-21 18:32:06 +00:00
nbd
0acb33d358 ath9k: fix some ps wakeup/restore issues that led to crashes and other weird behavior
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-21 17:54:44 +00:00
nbd
19cc42b1db ath9k: disable PA predistortion on AR93xx for now until it is properly fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-21 01:43:32 +00:00
nbd
877b7eb1f0 ath9k: remove virtual wiphy support - it was only experimental anyway and it is not going to be maintained anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-20 23:35:30 +00:00
nbd
44c11a9bf7 mac80211: add a few tx related fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-20 23:35:26 +00:00
nbd
cf7cf41639 mac80211: update to wireless-testing 2010-01-19
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-20 23:35:21 +00:00
nbd
f45629be8f mac80211: fix the br_port_exists compatibility macro for 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-20 13:46:59 +00:00
nbd
995df6badb mac80211: rework wds sta fix - check for the protocol of the incoming frame instead of just the authorized state
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-18 14:43:58 +00:00
nbd
42d75d55ce mac80211: fix compile errors on powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 01:24:48 +00:00
nbd
c9796711a9 mac80211: fix frames looping back to a wds station
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-15 13:41:10 +00:00
nbd
63a8d84c77 ath9k: fix a few more aggregation related issues, should improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-15 13:41:06 +00:00
nbd
90a38a8694 mac80211: include the kfifo backport in compat.ko if necessary (fixes libertas, rt2x00)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-13 23:28:22 +00:00