Commit Graph

339 Commits (43aaef8702750e4f70bd1d8fda7053f8d21e0070)

Author SHA1 Message Date
Felix Fietkau 88cf8a1f8c madwifi: add a small missing change to the tx power rework
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-26 23:04:14 +00:00
Felix Fietkau bf2f58a6ec implement support for wprobe in madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-26 20:56:58 +00:00
Felix Fietkau fc68391494 oops. committed an old version of the patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-25 01:51:49 +00:00
Felix Fietkau e15e287751 madwifi: fix run-time channel switching in ap mode (including CSA)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-25 01:26:55 +00:00
Felix Fietkau 7f8f42fdab madwifi: rework tx power handling, don't clamp user-configured tx power limit based on current channel properties
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-25 01:26:44 +00:00
Felix Fietkau ec4a7c81ac madwifi: treat rxorn like rx, reset after rxorn seems to do more harm than good
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-25 01:26:36 +00:00
Felix Fietkau 0c5a03afad madwifi: delay calibration with a timer when called from becaon context
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-25 01:26:20 +00:00
Felix Fietkau 8b8336ea7e madwifi: fix a locking error related to wds (thx, tharvey)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 12:17:46 +00:00
Felix Fietkau c2e836f13d madwifi: add fragmentation fix from #4817
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 12:11:47 +00:00
Felix Fietkau ef904d1c00 reorganize madwifi patches slightly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 12:11:17 +00:00
Felix Fietkau b1c3c08304 atheros: clean up the 2.6.28 port in preparation for pushing it upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-22 14:46:58 +00:00
Felix Fietkau 97f9e2b24b madwifi: improve the autochannel decision making on systems with multiple cards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-04 21:39:46 +00:00
Felix Fietkau 12d38e69b9 madwifi: improve reliability of napi polling when fast framing is enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 06:13:57 +00:00
Felix Fietkau fc32548f2a madwifi: fix rx for pure wds interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 14:37:21 +00:00
Felix Fietkau 1668b97802 madwifi: fix a potential race condition in the wds ap station interface setup/teardown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 14:36:39 +00:00
Felix Fietkau 477a144c6a madwifi: add back a missing part of the mbss vap refactoring
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 05:31:18 +00:00
Felix Fietkau dcc2942474 madwifi: preserve the interface mode correctly when using wds with sta separation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 02:57:44 +00:00
Felix Fietkau 5b08de2131 madwifi: fix a race condition in the wds sta separation, which is triggered by using wpa authentication on the ap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 00:27:49 +00:00
Felix Fietkau da475964fe madwifi: fix fast-frame related dma unmap bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 00:27:40 +00:00
Felix Fietkau fe27fd568e madwifi: fix a noderef problem in the mbss vap cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 00:27:27 +00:00
Felix Fietkau 21ba780a95 madwifi: fix the long standing bug that is triggered by nodes getting a timeout on one vap, then moving to another
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-25 00:37:41 +00:00
Felix Fietkau a04275e3df madwifi: add patch to allow ignoring probe requests (useful for ad-hoc mesh)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-29 18:51:20 +00:00
Felix Fietkau bb11bb9c3b madwifi: move autochannel idletime decision after radar and phy mode checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-09 18:28:22 +00:00
Felix Fietkau ab61e2a25c madwifi: fix division by zero
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 21:57:17 +00:00
Felix Fietkau 3028fdb494 madwifi: fix the autochannel patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 19:54:16 +00:00
Felix Fietkau c74494de8d madwifi: fix frame type parsing (fixes stp, see #4205)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 13:34:17 +00:00
Felix Fietkau 3d97d6c634 madwifi: improve automatic channel selection by taking idle airtime into account
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-29 01:34:33 +00:00
Felix Fietkau c81a5c00ca madwifi: improve reliability of the wds modes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 20:46:52 +00:00
Felix Fietkau db2352a922 madwifi: ap+sta race conditions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-14 23:35:12 +00:00
Felix Fietkau 38660ed491 madwifi: add iwpriv for setting the maximum number of associated clients (ap mode)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-14 23:35:03 +00:00
Felix Fietkau b38da0d879 madwifi: fix ACL race condition (patch by Sebastian Gottschall)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-02 13:05:46 +00:00
Felix Fietkau 3fc3e5a204 madwifi: fix noderef and state machine issues in the currently unused ap-to-ap wds mode; refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-02 13:04:36 +00:00
Felix Fietkau 2380bfcec7 fix a rare wds related noderef issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-02 13:03:03 +00:00
Felix Fietkau 4e7201312e madwifi: improve reliability of the antenna diversity setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 01:07:55 +00:00
Felix Fietkau 0ca081e124 madwifi: add a patch for detecting vendor / device name information (only implemented for WiSoC at the moment)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 01:07:42 +00:00
Felix Fietkau 2880c83126 madwifi: add sta mode idle reassoc fix (#4091)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-14 12:29:14 +00:00
Felix Fietkau a24fab9ae3 madwifi: fix a node refcounting imbalance with a low (but nonzero) crash probability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-11 01:56:27 +00:00
Felix Fietkau 4d05f6c24b allow larger beacon interval values - useful for big mesh networks (patch by sven-ola)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-07 01:41:03 +00:00
Felix Fietkau 54b6061f94 madwifi: re-enable the MIB interrupt flood protection fix - apparently it's still necessary in some extreme cases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-07 01:40:36 +00:00
Felix Fietkau b1d09b7bde fix mode setup for ibss/ahdemo - preserve existing modes and use HOSTAP mode for AHDEMO instead of IBSS to prevent unwanted IBSS merges
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-07 01:40:09 +00:00
Felix Fietkau c2f49151e9 madwifi: allow ad-hoc mode with software based TSF merging (hardware merging can screw up the internal timers and cause transmit hangs) - based on a patch by sven-ola. activated by wlanconfig's nosbeacon flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-07 01:39:38 +00:00
Felix Fietkau 6f0f17a1c2 madwifi: add another missing change for linux 2.4 compat
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-04 10:13:12 +00:00
Felix Fietkau 94f96443f0 fix linux 2.4 compile with latest ibss fixes (thx, sven-ola)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-03 17:25:07 +00:00
Felix Fietkau 5d4bb942b4 madwifi patch cleanup and stability fixes
- fix a semi-random heisenbug by replacing the previous noderef fix with a simple hack that is not 100% correct, but safe.
- add ad-hoc atim fixes by bruno
- add napi polling fixes by sven-ola
- fix compile breakage with debug enabled

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-03 15:17:34 +00:00
Felix Fietkau 15f17fcf7e port generic and ixp4xx kernel patches to 2.6.27 (compiles except for iptables, but otherwise completely untested)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-29 01:08:17 +00:00
Felix Fietkau 02fa0bc75f madwifi: revert part of the noderef fix patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-28 19:35:56 +00:00
Felix Fietkau eeb6158d6d remove unnecessary patch chunk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-26 22:01:33 +00:00
Felix Fietkau 0bbf0d4426 madwifi: fix some really evil noderef issues (fixes #3999)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-26 20:09:17 +00:00
Felix Fietkau f16cc7b51b madwifi: don't crash if the static rate is not in a per-node rateset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 23:55:47 +00:00
Felix Fietkau 7551ce803d madwifi: fix locking issues in state machine changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 17:28:19 +00:00
Felix Fietkau 755977959a madwifi: fix x86_64 compilation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-12 19:55:38 +00:00
Felix Fietkau d06639dd28 madwifi: add missing include file for the tools multicall binary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-05 23:27:37 +00:00
Felix Fietkau 9e9320b253 madwifi: fix compile warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 11:03:46 +00:00
Felix Fietkau 561d4e0606 improve wds sta mode compatibility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 11:03:08 +00:00
Felix Fietkau 2ed92e245a Integrate new HAL release (by OpenWrt, DD-WRT, MakSat Technologies)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-29 09:59:39 +00:00
Felix Fietkau f717b2f013 madwifi: more wds sta related fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-19 18:22:03 +00:00
Felix Fietkau 8f0dde8543 fix madwifi napi polling packet counting
final fix for #3880


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-16 17:00:13 +00:00
Felix Fietkau ee66da6d55 madwifi: napi polling fix
- fix u_int negative comparison
 - add some reserve for polling packets (ff has two frames in one descriptor)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-11 14:36:50 +00:00
Felix Fietkau e137e9a74f madwifi: fix crash on ad-hoc interface init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 20:53:39 +00:00
Felix Fietkau 5de588bcb8 some more fixes for wds sta separation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 07:19:07 +00:00
Felix Fietkau 570759f58f madwifi: more fixes and cleanups for wds sta separation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-03 21:00:34 +00:00
Felix Fietkau d248b0eefc madwifi: disable bogus vlan handling code which actually breaks vlan
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 13:42:36 +00:00
Felix Fietkau 4912260429 madwifi: fix race condition triggered by active split wds sta interfaces during vap delete
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 22:41:31 +00:00
Felix Fietkau 4dfbe7ef52 fix multicast/authframe handling for wds ap with split sta interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 21:11:27 +00:00
Felix Fietkau a055367cc8 madwifi: add some beacon setup/update related fixes (based on Bruno Randolf's patchset)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 18:59:25 +00:00
Felix Fietkau 817bbc5bbf fix madwifi packet injection
This patch from madwifi commit 3337 makes packet injection work.

Signed-off-by: Petr Liebmann <petrliebman@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 17:37:09 +00:00
Felix Fietkau 2da35aec10 madwifi: add some extra sanity checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 07:05:12 +00:00
Felix Fietkau 765f1fa690 madwifi: wds updates
- refactor wds code
- add interface for separating individual wds stations from the master interface
- add some queueing fixes for packets passing through virtual interfaces


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 04:45:24 +00:00
Felix Fietkau a0a21d4268 refresh madwifi patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-25 22:41:13 +00:00
Felix Fietkau 277d6885b0 madwifi: preempt any running scan when wpa_supplicant triggers a new assoc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-25 22:37:21 +00:00
Felix Fietkau 0e939a443a madwifi: preserve WPA IEs received in probe responses and prefer them over beacon information
improves reliability when using wpa_supplicant to connect to aps with hidden ssid and dynamic
encryption settings


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-25 22:37:06 +00:00
Felix Fietkau dce707f29f madwifi: add some roaming fixes by ubnt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-25 22:36:51 +00:00
Felix Fietkau 8efbec45a3 rewrite madwifi sta mode link up/down notifications (mostly used by wpa_supplicant),
fixes some stale node or reconnect loop issues


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-25 22:36:33 +00:00
Felix Fietkau 82ea13576e madwifi: reduce the packet loss impact of forced background scans triggered by the configured threshold
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-25 22:36:18 +00:00
Felix Fietkau 3498c2abe9 madwifi: improve hidden ssid handling in sta mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-25 22:35:56 +00:00
Felix Fietkau 7f7e354f4c madwifi: fix queue stop/start during key updates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-25 22:35:36 +00:00
Felix Fietkau 9e7b521696 add some madwifi fixes and enhancements by Sven-Ola, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-16 16:30:03 +00:00
Felix Fietkau 5ae6d1a172 madwifi: add an optional threshold for low-rssi disconnection. This can be useful when letting wpa_supplicant control roaming.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-12 22:24:45 +00:00
Felix Fietkau 1cdaa26648 madwifi: improve beacon miss handling to increase the reliability of STA mode links
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-12 22:24:36 +00:00
Felix Fietkau 9929e4cf68 madwifi: drop stale AP nodes from the client list when disconnecting. Fixes some reassoc issues.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-12 22:24:26 +00:00
Felix Fietkau 884336644a madwifi: add a preliminary fix for the reassoc check, but disable reassoc entirely for now until we've figured out why it fails frequently.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-12 22:24:17 +00:00
Felix Fietkau 4a88f9f4f1 madwifi: some misconfigured APs broadcast NULL BSSIDs, which can confuse the STA.
Ignore those when scanning.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-12 22:24:05 +00:00
Felix Fietkau bc2924ddce madwifi: add an optional background scanning threshold triggered by low rssi
(useful for passing updated scan results to the wpa_supplicant ahead of
time, before losing connectivity entirely)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-12 22:23:55 +00:00
Felix Fietkau 9c02e44af6 madwifi: recognize hidden essid with length=1 containing a nullbyte
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-12 22:23:46 +00:00
Felix Fietkau 4160eed252 madwifi: make STA mode interfaces disassociate if transmission of assoc/auth critical packets failed.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-12 22:23:36 +00:00
Felix Fietkau 41b40babe5 refresh some madwifi patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-12 22:23:21 +00:00
John Crispin 820404c846 make atheros wifi cards used on arcaydian 4519 ifxmips based boards work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-06 00:59:48 +00:00
Felix Fietkau 1397e70e2f be a bit more verbose about madwifi errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-06 00:41:46 +00:00
Felix Fietkau a4429acb6a madwifi: fix sequence number check on incoming retransmit checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-01 21:38:40 +00:00
Felix Fietkau 8697eb8993 another patch fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 08:56:06 +00:00
Felix Fietkau c42badd5fb fix a small comment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 07:30:21 +00:00
Felix Fietkau 22e0367add fix ANI and make use of it in all modes except for monitor
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-13 01:51:31 +00:00
Felix Fietkau 233eb1df59 madwifi: remove unnecessary part of the 349-reset.patch, add an ANI fix for future HALs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 10:17:36 +00:00
Felix Fietkau 35429cda0d oops. accidentally committed the wrong patch version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-07 15:11:21 +00:00
Felix Fietkau 894c20123f fix madwifi on linux 2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 23:53:03 +00:00
Imre Kaloz 95866983ca refresh madwifi patches using upstream style
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-04 13:16:18 +00:00
Felix Fietkau ee548d3c10 add missing export
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-01 03:40:10 +00:00
Felix Fietkau 390ae88a94 madwifi: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-01 03:01:58 +00:00
Felix Fietkau 01f2def2c1 madwifi: clean up scanning code, add support for changing scan lists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-01 03:00:59 +00:00
Felix Fietkau 61ab116341 madwifi: update to sam leffler's latest hal
fixes LED on wisoc
fixes rx sensitivity issues
improves throughput on all cards/devices
enhances link stability


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-01 03:00:32 +00:00
Felix Fietkau 9e14a5acc0 clean up performance patch, add some head/tailroom calculation fixes (thx, benoit)
fix some unused variables


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-01 00:11:32 +00:00
Felix Fietkau 0853b35bdd madwifi build scripts cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-01 00:11:14 +00:00
Felix Fietkau 30eb459d06 leave ack/cts setting alone by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23 04:58:34 +00:00
Felix Fietkau b3a79b0adc move timeout trigger for protection mode to node timeout trigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23 03:50:01 +00:00
Felix Fietkau a23e24f7dd clean up cwmin/cwmax defines and remove some wrong values which made minstrel a bit inaccurate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23 03:49:42 +00:00
Felix Fietkau c78311b598 madwifi: put an upper limit on the amount of sampling that minstrel should do when
the link changes its status from very good to slightly bad. the previous version
of the patch could have resulted in erratic rate control behavior when there
was a lot of sampling backlog.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-22 23:35:27 +00:00
Felix Fietkau 3799cffe24 add some more fine tuning for madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-21 03:45:52 +00:00
Felix Fietkau 6733517255 madwifi: add configurable rssi threshold and timeout values for protection mode
the 11b protection mode can harm throughput a lot, so let's make sure that it is
only active as long as it needs to be.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-21 03:45:39 +00:00
Felix Fietkau 0e4c43ff34 reorder patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-21 03:45:22 +00:00
Felix Fietkau 37f1fdc83e madwifi: remove the minstrel_mrr hack and add two patches that massively improve minstrel's performance and response time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-21 02:39:40 +00:00
Felix Fietkau 58f27d06dd fix a some txq races (merge from madwifi-trunk)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 22:01:27 +00:00
Felix Fietkau 9b8022d7a9 more performance for madwifi :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-17 16:37:36 +00:00
Felix Fietkau 2eacf37a83 add performance improvement for madwifi on low-memory systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-17 02:40:55 +00:00
Felix Fietkau 70d0bfde06 madwifi: remove reset delay - seems like it's not necessary anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-09 19:55:08 +00:00
Andy Boyett 3b61a2ed5b Revert r10553 "fix channel change bugs," causes kernel oopses. Closes #3213.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-20 01:57:27 +00:00
Felix Fietkau 91c75f93ea madwifi: add patches for maximum and minimum rate (thx, SeG)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 01:36:41 +00:00
Felix Fietkau b35e83bce5 madwifi: don't deliver broadcast frames to vaps that aren't up
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 01:06:41 +00:00
Felix Fietkau 093c320d2c fix channel change bugs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 01:06:37 +00:00
Felix Fietkau 6a4a05e153 include noise in stats struct
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 01:06:31 +00:00
Felix Fietkau 0705bc2507 debugging fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 01:06:26 +00:00
Felix Fietkau 41fcb9d31a madwifi: napi polling fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 01:06:23 +00:00
Felix Fietkau fd1bb6a60a sync with madwifi commit 3362
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-23 14:26:55 +00:00
Travis Kemen a681b77642 madwifi 2.6.24 compile fix Signed-off-by: Alexandros C. Couloumbis <alex@ozo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-22 16:42:44 +00:00
Felix Fietkau 03569e4636 *sigh* nuke more debug crap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-21 13:04:30 +00:00
Felix Fietkau a4e577c228 madwifi: minor ap scanning bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-21 02:13:49 +00:00
Felix Fietkau 3a0d4a11c4 improve reliability of beacon transmissions after channel change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-20 21:26:29 +00:00
Felix Fietkau 5d0313b536 refresh madwifi patches, fix an issue with napi polling (thx SeG)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-20 21:26:21 +00:00
Felix Fietkau c224a0b40b napi polling fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-20 16:54:51 +00:00
Felix Fietkau ab1b60675d madwifi: remove a dangerous debugging define
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-20 16:54:45 +00:00
Felix Fietkau bdace9cc48 improve reliability of the beaconcal patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-20 16:54:40 +00:00
Felix Fietkau 386ed5f1b1 add a fix for memleaks caused by failed memory allocations
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-08 05:13:06 +00:00
Felix Fietkau 33de11f2c4 madwifi: add ap mode specific improvements to the calibration process. reported to produce a noticeable increase in rx/tx strength
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-08 05:13:00 +00:00
Felix Fietkau 35bf3bbf34 pull madwifi forward to the latest upstream version - should fix some dual radio issues; add preliminary 2.6.24 support patch (compiles, not run-time tested, thx SeG)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-31 04:09:54 +00:00
Felix Fietkau 4e5c17b9f6 fix a small race condition in the madwifi queue handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 17:17:04 +00:00
Felix Fietkau 946009061c add missing #include
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-28 21:02:31 +00:00
Felix Fietkau cdc99530a2 more queue handling stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-28 19:35:38 +00:00
Felix Fietkau b3378a4f12 update madwifi to latest trunk, include a few more fixes/improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-28 18:34:06 +00:00
Felix Fietkau 1808b5ff09 madwifi: nuke some weird code which is causing NULL nodes to appear
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 15:18:18 +00:00
Felix Fietkau 301d317458 do not use kzalloc() in madwifi, for compatibility reasons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 10:17:22 +00:00
Felix Fietkau 8a61d35764 madwifi: nuke some totally wrong code which was causing performance issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 05:45:37 +00:00
Felix Fietkau 6d9de3dbec madwifi: use mrr even in legacy mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 05:45:31 +00:00
Felix Fietkau 7c9bfa0ce2 add a patch for properly refreshing the bssidmask
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 04:47:11 +00:00
Felix Fietkau 40bd451c88 add extra sanity checks in madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 04:19:50 +00:00
Felix Fietkau 161bb50f5d add a patch for improved transmit signal strength in madwifi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 03:21:12 +00:00
Felix Fietkau 862e65eb35 add some random madwifi fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-25 23:09:13 +00:00
Felix Fietkau 9263a154e8 upgrade madwifi, finally fix the annoying ap auto channel selection bug, default to automatic channel selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-25 20:24:25 +00:00
Travis Kemen f13bde287e fix madwifi compile for iop32x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-15 00:01:05 +00:00
Felix Fietkau 89749888e9 fix madwifi bssid allocation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-02 19:47:05 +00:00
Felix Fietkau 9f8fe53b64 sync with madwifi changeset 3070
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-22 16:17:17 +00:00
Felix Fietkau 7ff22aacee Add a madwifi patch by Brian Candler, which fixes minstrel when operating without multi-rate retry.
Should lead to significant performance improvements when dealing with stations in B/G mixed mode.
Fixes #2876


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-21 15:36:54 +00:00