Commit graph

314 commits

Author SHA1 Message Date
Felix Fietkau
5836e0fb5f madwifi: if a txpower value below the poweroffset is requested, set the internal txpower to 0db
SVN-Revision: 16234
2009-05-31 14:45:04 +00:00
Felix Fietkau
26099a3c23 madwifi: add better hw detection, use a power offset for setting/getting tx power for cards that have a twisted eeprom
SVN-Revision: 16224
2009-05-31 02:25:32 +00:00
Felix Fietkau
ffea0b1aee madwifi: add sanity checks for monitor mode injection
SVN-Revision: 16218
2009-05-30 17:53:41 +00:00
Felix Fietkau
f48e0b1e5f madwifi: fix an array overrun in the rate control attach check
SVN-Revision: 16217
2009-05-30 17:53:24 +00:00
Felix Fietkau
f5918f5a00 madwifi: fix a rare ad-hoc mode crash
SVN-Revision: 15964
2009-05-21 18:23:53 +00:00
Felix Fietkau
5820c0fef2 madwifi: cosmetic fixes for maxrate/minrate
SVN-Revision: 15961
2009-05-21 18:11:08 +00:00
Jo-Philipp Wich
ba22d1e333 Fix device name allocation This patch fixes a bug in madwifi where names for wifi devices are not allocated during device setup. It fixes some instability on devices which share IRQ. Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15950
2009-05-20 21:33:54 +00:00
Hauke Mehrtens
f9532a06b1 Make madwifi compile with kernel 2.6.30.
SVN-Revision: 15850
2009-05-14 19:00:11 +00:00
Hauke Mehrtens
51445f3a18 make madwifi compile with kernel 2.6.29.
SVN-Revision: 15773
2009-05-11 20:16:13 +00:00
Felix Fietkau
37211157f6 madwifi: ignore the eeprom fast framing supported flag, as it is an arbitrary restriction and not based on hardware capability
SVN-Revision: 15763
2009-05-10 22:43:44 +00:00
Felix Fietkau
7f8cc3e7af madwifi: do not add the ff headroom len to dev->hard_header_len to avoid unnecessary reallocations. the driver will reallocate skbs itself if necessary
SVN-Revision: 15762
2009-05-10 22:19:53 +00:00
Felix Fietkau
6559aa514a madwifi: remove some leftover duplicate definitions
SVN-Revision: 15758
2009-05-10 20:13:13 +00:00
Felix Fietkau
09f06bbfb0 madwifi: clean up tx status mrr handling and fix mrr parsing for 5416
SVN-Revision: 15757
2009-05-10 19:05:15 +00:00
Felix Fietkau
5bc30de4e7 madwifi: clean up handling of various timings such as slot time, ack timeout, eifs time, etc.
SVN-Revision: 15713
2009-05-08 19:25:31 +00:00
Felix Fietkau
537f2199ac madwifi: fix uninitialized variable
SVN-Revision: 15711
2009-05-08 18:49:05 +00:00
Felix Fietkau
cbb2ac35b3 madwifi: remove unused functions
SVN-Revision: 15710
2009-05-08 16:21:24 +00:00
Felix Fietkau
cadab984f8 madwifi: fix selection of phy errors in the rx filter
SVN-Revision: 15707
2009-05-08 12:31:28 +00:00
Felix Fietkau
d88bd31f99 madwifi: improve autochannel decision with lots of cards on one board
SVN-Revision: 15704
2009-05-07 21:10:33 +00:00
Felix Fietkau
a8a91697ce madwifi: improve autochannel, nuke some dead code, fix scanlist building from channel mode
SVN-Revision: 15702
2009-05-07 21:00:35 +00:00
Felix Fietkau
976459a453 madwifi: fix setting outdoor mode
SVN-Revision: 15694
2009-05-07 18:30:16 +00:00
Felix Fietkau
28dbc959ca madwifi: fix run-time changing of iwpriv settings (thx, brainslayer)
SVN-Revision: 15664
2009-05-07 11:32:47 +00:00
Felix Fietkau
b4574b5b03 madwifi: improve mode selection, do not scan channels which do not fit the desired mode
SVN-Revision: 15663
2009-05-07 11:32:43 +00:00
Felix Fietkau
b9c49af8a5 make madwifi buildable without CONFIG_CRYPTO
SVN-Revision: 15662
2009-05-07 11:32:39 +00:00
Felix Fietkau
f6d28016fe madwifi: improve antenna diversity handling
SVN-Revision: 15658
2009-05-07 10:10:06 +00:00
Felix Fietkau
28f12da43f madwifi: minor cleanup for the channel handling patch
SVN-Revision: 15637
2009-05-06 14:06:59 +00:00
Felix Fietkau
56ae52b008 madwifi: make country code and outdoor flag changeable without reloading the driver
SVN-Revision: 15633
2009-05-06 11:52:24 +00:00
Felix Fietkau
912fb776e4 madwifi: remove braindead code that overwrote the user's antenna diversity setting (thx, brainslayer)
SVN-Revision: 15141
2009-04-07 16:13:25 +00:00
Felix Fietkau
d5b7addee9 madwifi: fix crash under load
SVN-Revision: 15099
2009-04-04 09:36:05 +00:00
Felix Fietkau
8e58032107 madwifi: improve turbo/autochannel patch
SVN-Revision: 15067
2009-03-29 05:28:50 +00:00
Felix Fietkau
ab55cf802d madwifi: add wprobe rxframe/probereq counters
SVN-Revision: 15063
2009-03-29 02:12:39 +00:00
Felix Fietkau
f467aa8e81 madwifi: do not use turbo mode during ap mode autoselection unless specifically requested
SVN-Revision: 15060
2009-03-29 00:11:00 +00:00
Felix Fietkau
4aab5d7c49 madwifi: add config option for adjusting the beacon power relative to the full tx power (needs testing, units/scale still unknown, defaults to max.)
SVN-Revision: 15054
2009-03-26 23:04:23 +00:00
Felix Fietkau
45fa082fad madwifi: add a small missing change to the tx power rework
SVN-Revision: 15053
2009-03-26 23:04:14 +00:00
Felix Fietkau
c6ba35a944 implement support for wprobe in madwifi
SVN-Revision: 15051
2009-03-26 20:56:58 +00:00
Felix Fietkau
25cf1bc5e4 oops. committed an old version of the patch
SVN-Revision: 15033
2009-03-25 01:51:49 +00:00
Felix Fietkau
b364aae254 madwifi: fix run-time channel switching in ap mode (including CSA)
SVN-Revision: 15032
2009-03-25 01:26:55 +00:00
Felix Fietkau
47e127477b madwifi: rework tx power handling, don't clamp user-configured tx power limit based on current channel properties
SVN-Revision: 15031
2009-03-25 01:26:44 +00:00
Felix Fietkau
4f42b6112e madwifi: treat rxorn like rx, reset after rxorn seems to do more harm than good
SVN-Revision: 15030
2009-03-25 01:26:36 +00:00
Felix Fietkau
87783599b2 madwifi: delay calibration with a timer when called from becaon context
SVN-Revision: 15029
2009-03-25 01:26:20 +00:00
Felix Fietkau
c85a831b14 madwifi: fix a locking error related to wds (thx, tharvey)
SVN-Revision: 14990
2009-03-23 12:17:46 +00:00
Felix Fietkau
2973b2dc9c madwifi: add fragmentation fix from #4817
SVN-Revision: 14989
2009-03-23 12:11:47 +00:00
Felix Fietkau
39643cdbed reorganize madwifi patches slightly
SVN-Revision: 14988
2009-03-23 12:11:17 +00:00
Felix Fietkau
60d4e6e747 atheros: clean up the 2.6.28 port in preparation for pushing it upstream
SVN-Revision: 14967
2009-03-22 14:46:58 +00:00
Felix Fietkau
165f60bba9 madwifi: improve the autochannel decision making on systems with multiple cards
SVN-Revision: 14748
2009-03-04 21:39:46 +00:00
Felix Fietkau
cf3beca4a2 madwifi: improve reliability of napi polling when fast framing is enabled
SVN-Revision: 14215
2009-01-27 06:13:57 +00:00
Felix Fietkau
a43685367e madwifi: fix rx for pure wds interfaces
SVN-Revision: 14203
2009-01-26 14:37:21 +00:00
Felix Fietkau
172dbe47b6 madwifi: fix a potential race condition in the wds ap station interface setup/teardown
SVN-Revision: 14202
2009-01-26 14:36:39 +00:00
Felix Fietkau
3f3b9a86a3 madwifi: add back a missing part of the mbss vap refactoring
SVN-Revision: 14197
2009-01-26 05:31:18 +00:00
Felix Fietkau
10e3ea9f12 madwifi: preserve the interface mode correctly when using wds with sta separation
SVN-Revision: 14195
2009-01-26 02:57:44 +00:00
Felix Fietkau
f561b910e8 madwifi: fix a race condition in the wds sta separation, which is triggered by using wpa authentication on the ap
SVN-Revision: 14193
2009-01-26 00:27:49 +00:00
Felix Fietkau
727ab9ce8d madwifi: fix fast-frame related dma unmap bug
SVN-Revision: 14192
2009-01-26 00:27:40 +00:00
Felix Fietkau
bef07d58fc madwifi: fix a noderef problem in the mbss vap cleanup
SVN-Revision: 14191
2009-01-26 00:27:27 +00:00
Felix Fietkau
87db54da68 madwifi: fix the long standing bug that is triggered by nodes getting a timeout on one vap, then moving to another
SVN-Revision: 14171
2009-01-25 00:37:41 +00:00
Felix Fietkau
0f6bdb80e1 madwifi: add patch to allow ignoring probe requests (useful for ad-hoc mesh)
SVN-Revision: 13760
2008-12-29 18:51:20 +00:00
Felix Fietkau
54f277793e madwifi: move autochannel idletime decision after radar and phy mode checking
SVN-Revision: 13564
2008-12-09 18:28:22 +00:00
Felix Fietkau
95a9e47a00 madwifi: fix division by zero
SVN-Revision: 13521
2008-12-04 21:57:17 +00:00
Felix Fietkau
130413bb0f madwifi: fix the autochannel patch
SVN-Revision: 13520
2008-12-04 19:54:16 +00:00
Felix Fietkau
a3b5071341 madwifi: fix frame type parsing (fixes stp, see #4205)
SVN-Revision: 13468
2008-12-02 13:34:17 +00:00
Felix Fietkau
7f863d56bb madwifi: improve automatic channel selection by taking idle airtime into account
SVN-Revision: 13420
2008-11-29 01:34:33 +00:00
Felix Fietkau
9d5a1f6aa4 madwifi: improve reliability of the wds modes
SVN-Revision: 13416
2008-11-28 20:46:52 +00:00
Felix Fietkau
bd8dad29fa madwifi: ap+sta race conditions
SVN-Revision: 13208
2008-11-14 23:35:12 +00:00
Felix Fietkau
9baac9c54b madwifi: add iwpriv for setting the maximum number of associated clients (ap mode)
SVN-Revision: 13207
2008-11-14 23:35:03 +00:00
Felix Fietkau
f44a4a0b00 madwifi: fix ACL race condition (patch by Sebastian Gottschall)
SVN-Revision: 13097
2008-11-02 13:05:46 +00:00
Felix Fietkau
dec207d4eb madwifi: fix noderef and state machine issues in the currently unused ap-to-ap wds mode; refresh patches
SVN-Revision: 13096
2008-11-02 13:04:36 +00:00
Felix Fietkau
891b476e67 fix a rare wds related noderef issue
SVN-Revision: 13095
2008-11-02 13:03:03 +00:00
Felix Fietkau
c818cdbb4d madwifi: improve reliability of the antenna diversity setting
SVN-Revision: 13029
2008-10-23 01:07:55 +00:00
Felix Fietkau
eb121d2189 madwifi: add a patch for detecting vendor / device name information (only implemented for WiSoC at the moment)
SVN-Revision: 13027
2008-10-23 01:07:42 +00:00
Felix Fietkau
8ec25f13de madwifi: add sta mode idle reassoc fix (#4091)
SVN-Revision: 12981
2008-10-14 12:29:14 +00:00
Felix Fietkau
d625fc88d3 madwifi: fix a node refcounting imbalance with a low (but nonzero) crash probability
SVN-Revision: 12950
2008-10-11 01:56:27 +00:00
Felix Fietkau
951d704a3e allow larger beacon interval values - useful for big mesh networks (patch by sven-ola)
SVN-Revision: 12886
2008-10-07 01:41:03 +00:00
Felix Fietkau
27a9ac4583 madwifi: re-enable the MIB interrupt flood protection fix - apparently it's still necessary in some extreme cases
SVN-Revision: 12885
2008-10-07 01:40:36 +00:00
Felix Fietkau
822c055850 fix mode setup for ibss/ahdemo - preserve existing modes and use HOSTAP mode for AHDEMO instead of IBSS to prevent unwanted IBSS merges
SVN-Revision: 12884
2008-10-07 01:40:09 +00:00
Felix Fietkau
a5d8cfb520 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
SVN-Revision: 12883
2008-10-07 01:39:38 +00:00
Felix Fietkau
6928d7321d madwifi: add another missing change for linux 2.4 compat
SVN-Revision: 12847
2008-10-04 10:13:12 +00:00
Felix Fietkau
c9552f3101 fix linux 2.4 compile with latest ibss fixes (thx, sven-ola)
SVN-Revision: 12841
2008-10-03 17:25:07 +00:00
Felix Fietkau
187b76991d 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
SVN-Revision: 12838
2008-10-03 15:17:34 +00:00
Felix Fietkau
bc92b67c41 port generic and ixp4xx kernel patches to 2.6.27 (compiles except for iptables, but otherwise completely untested)
SVN-Revision: 12790
2008-09-29 01:08:17 +00:00
Felix Fietkau
72fd7feb0d madwifi: revert part of the noderef fix patch
SVN-Revision: 12771
2008-09-28 19:35:56 +00:00
Felix Fietkau
8876ac6d6d remove unnecessary patch chunk
SVN-Revision: 12720
2008-09-26 22:01:33 +00:00
Felix Fietkau
c109d5d091 madwifi: fix some really evil noderef issues (fixes #3999)
SVN-Revision: 12719
2008-09-26 20:09:17 +00:00
Felix Fietkau
2e91cf283b madwifi: don't crash if the static rate is not in a per-node rateset
SVN-Revision: 12713
2008-09-25 23:55:47 +00:00
Felix Fietkau
deb3f95996 madwifi: fix locking issues in state machine changes
SVN-Revision: 12670
2008-09-23 17:28:19 +00:00
Felix Fietkau
9029e3d9ef madwifi: fix x86_64 compilation
SVN-Revision: 12574
2008-09-12 19:55:38 +00:00
Felix Fietkau
71b6a22476 madwifi: add missing include file for the tools multicall binary
SVN-Revision: 12541
2008-09-05 23:27:37 +00:00
Felix Fietkau
b2e997983b madwifi: fix compile warning
SVN-Revision: 12450
2008-09-01 11:03:46 +00:00
Felix Fietkau
29edfd71dc improve wds sta mode compatibility
SVN-Revision: 12449
2008-09-01 11:03:08 +00:00
Felix Fietkau
c37665895b Integrate new HAL release (by OpenWrt, DD-WRT, MakSat Technologies)
SVN-Revision: 12429
2008-08-29 09:59:39 +00:00
Felix Fietkau
e0ab01285d madwifi: more wds sta related fixes
SVN-Revision: 12341
2008-08-19 18:22:03 +00:00
Felix Fietkau
3f9fcf1c06 fix madwifi napi polling packet counting final fix for #3880
SVN-Revision: 12323
2008-08-16 17:00:13 +00:00
Felix Fietkau
5745e536d4 madwifi: napi polling fix - fix u_int negative comparison - add some reserve for polling packets (ff has two frames in one descriptor)
SVN-Revision: 12280
2008-08-11 14:36:50 +00:00
Felix Fietkau
7bb55d1b91 madwifi: fix crash on ad-hoc interface init
SVN-Revision: 12161
2008-08-05 20:53:39 +00:00
Felix Fietkau
cf8eecaad5 some more fixes for wds sta separation
SVN-Revision: 12127
2008-08-05 07:19:07 +00:00
Felix Fietkau
b75a7811eb madwifi: more fixes and cleanups for wds sta separation
SVN-Revision: 12082
2008-08-03 21:00:34 +00:00
Felix Fietkau
245c16ba5d madwifi: disable bogus vlan handling code which actually breaks vlan
SVN-Revision: 12065
2008-08-01 13:42:36 +00:00
Felix Fietkau
60f834421c madwifi: fix race condition triggered by active split wds sta interfaces during vap delete
SVN-Revision: 12052
2008-07-31 22:41:31 +00:00
Felix Fietkau
d298a4a411 fix multicast/authframe handling for wds ap with split sta interfaces
SVN-Revision: 12051
2008-07-31 21:11:27 +00:00
Felix Fietkau
709eae54e4 madwifi: add some beacon setup/update related fixes (based on Bruno Randolf's patchset)
SVN-Revision: 12049
2008-07-31 18:59:25 +00:00
Felix Fietkau
d6d5c715b9 fix madwifi packet injection
This patch from madwifi commit 3337 makes packet injection work.

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

SVN-Revision: 12048
2008-07-31 17:37:09 +00:00
Felix Fietkau
10b74a2455 madwifi: add some extra sanity checking
SVN-Revision: 12006
2008-07-30 07:05:12 +00:00
Felix Fietkau
df292e17b1 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
SVN-Revision: 12003
2008-07-30 04:45:24 +00:00