Commit Graph

477 Commits

Author SHA1 Message Date
Felix Fietkau
df3b99e959 madwifi: trivial antenna diversity fix
SVN-Revision: 16846
2009-07-14 16:07:26 +00:00
Felix Fietkau
99a8fe62fe madwifi: remove the -mlong-calls cflag from include files
SVN-Revision: 16830
2009-07-13 14:56:44 +00:00
Vasilis Tsiligiannis
a4ed68fbe4 madwifi.sh channel fix
In the madwifi.sh there is to read "only need to change freq band and channel on the first vif". This is wrong. For example if you create a new Ad-Hoc network and an AP interface, the channel is reseted to 1, regardless of the UCI setting. So remove this wrong code.

Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>

SVN-Revision: 16814
2009-07-12 15:37:59 +00:00
Felix Fietkau
8addc86845 madwifi: clean up wme handling, use same packet classification as mac80211
SVN-Revision: 16790
2009-07-12 00:01:17 +00:00
Felix Fietkau
bcbdd2a425 madwifi: fix another instance of excessive stack usage in wlanconfig
SVN-Revision: 16788
2009-07-12 00:00:51 +00:00
Felix Fietkau
5447d6c44b upgrade to the new version of wprobe - includes reconfigurable layer 2 statistics, remote access, more configuration options and many bugfixes
SVN-Revision: 16719
2009-07-06 19:05:24 +00:00
Vasilis Tsiligiannis
d0a129742f madwifi: Disable compression capability on AR71XX and make it optional for other platforms (thanks to David A. Bandel and Dennis Bartsch)
SVN-Revision: 16642
2009-07-01 17:07:52 +00:00
Hauke Mehrtens
efbfde01b0 Various Makefile cleanup.
Thanks to swalker.

SVN-Revision: 16437
2009-06-13 16:47:22 +00:00
Felix Fietkau
985b62a228 madwifi: disable compression by default, as it can cause instabilities on various platforms (thx, acoul)
SVN-Revision: 16421
2009-06-11 12:40:07 +00:00
Vasilis Tsiligiannis
121368fbc8 madwifi: clear variables used in for loop
SVN-Revision: 16308
2009-06-03 13:53:10 +00:00
Felix Fietkau
4b87e55994 madwifi: fix wlanconfig athX destroy on 2.6.30 (incomplete netdev_ops transition)
SVN-Revision: 16289
2009-06-01 22:35:48 +00:00
Imre Kaloz
7f9fd5033c now that the gemini target is working, get rid of the obsolete and buggy storm target
SVN-Revision: 16274
2009-06-01 18:15:30 +00:00
Imre Kaloz
9fa14987b8 fix madwifi for the gemini target
SVN-Revision: 16270
2009-06-01 18:09:10 +00:00
Jo-Philipp Wich
037f0c9629 madwifi: remove cruft from madwifi.sh introduced by r15954, thanks Vasilis Tsiligiannis
SVN-Revision: 16238
2009-05-31 20:42:04 +00:00
Felix Fietkau
43b2318584 madwifi: handle frame classification properly if eth->h_proto contains the protocol number directly (without offset)
SVN-Revision: 16237
2009-05-31 17:15:09 +00:00
Felix Fietkau
664d2873c7 madwifi: fix excessive stack usage in the wlanconfig tool
SVN-Revision: 16235
2009-05-31 15:04:45 +00:00
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
443fc5fe1b madwifi: remove the "turbo" iwpriv command, it does not do anything useful, but it can lead to crashes
SVN-Revision: 15992
2009-05-22 17:44:07 +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
89127a67f2 Declare some missing local variables in madwifi.sh Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15954
2009-05-20 21:52:15 +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
Jo-Philipp Wich
40872c604e Build madwifi with compression capability enabled Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15949
2009-05-20 21:32:05 +00:00
Jo-Philipp Wich
bd50b95bde Detect every atheros device present This patch is for boards with more than one atheros devices. It changes detect_atheros() function to continue with the detection of every device present and don't return when just one is found Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 15940
2009-05-20 20:44:19 +00:00
Nicolas Thill
b6bb23e3a8 madwifi: don't try to set an interface essid with an empty value
SVN-Revision: 15886
2009-05-17 02:01:03 +00:00
Hauke Mehrtens
f9532a06b1 Make madwifi compile with kernel 2.6.30.
SVN-Revision: 15850
2009-05-14 19:00:11 +00:00
Felix Fietkau
251a657eaf madwifi: fix distance setting
SVN-Revision: 15824
2009-05-13 13:02:20 +00:00
Felix Fietkau
898fc4d25c madwifi: the openwrt build system usually has a better idea of what the target arch is than the madwifi build system :)
SVN-Revision: 15788
2009-05-11 21:22: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
d4f44772cf upgrade to a new public hal build - contains several minor fixes including ani improvements
SVN-Revision: 15709
2009-05-08 16:08:31 +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
4cdb76c219 use config_get_bool for outdoor mode
SVN-Revision: 15634
2009-05-06 12:12:29 +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
Nicolas Thill
5282bfd731 madwifi: remove old Makefile hacks not needed anymore
SVN-Revision: 15408
2009-04-25 16:22:30 +00:00
Felix Fietkau
3df6c9e72b madwifi: fix a header file conflict with iptables
SVN-Revision: 15354
2009-04-23 14:55:11 +00:00
Florian Fainelli
87c7791bf2 allow connection to a prefered bssid (#4252)
SVN-Revision: 15283
2009-04-19 21:09:02 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +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
e1c01fa897 madwifi: remove obsolete spatch
SVN-Revision: 15062
2009-03-29 02:12:33 +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
5f09427160 madwifi: only set the desired mode for the first vap
SVN-Revision: 15059
2009-03-29 00:10:31 +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
6a9791872e madwifi on linux 2.4 is no longer supported
SVN-Revision: 15052
2009-03-26 21:10:08 +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
a9f1ccc40a madwifi: upstream (0.9.4) is not supported on recent kernels, mark it as broken
SVN-Revision: 14991
2009-03-23 12:21:12 +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
Andy Boyett
f19d25ebb3 madwifi: mode txpower to wifi-device section, but remain backwards compatible
SVN-Revision: 14307
2009-01-31 16:08:57 +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
Travis Kemen
4337de4977 Allow changing country code for madwifi driver. Thanks alisonken1
SVN-Revision: 14148
2009-01-22 22:00:07 +00:00
Jo-Philipp Wich
4a1148cf7b package/madwifi: add uci support for the propereq iwpriv setting
SVN-Revision: 13795
2009-01-01 17:29:58 +00:00
Jo-Philipp Wich
0b5333be4b package/madwifi: fix typo in config handler
SVN-Revision: 13793
2009-01-01 13:59:06 +00:00
Andy Boyett
35078a6a52 hostapd,madwifi: rename agmode option to hwmode. 11a and 11g aren't the only allowed values
SVN-Revision: 13790
2008-12-31 19:09:26 +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
Travis Kemen
77d3329588 Move txpower settings after the interface comes up. Thanks alisonken1
SVN-Revision: 13502
2008-12-03 21:34:04 +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
Imre Kaloz
debd8d2dd8 MADWIFI_DEBUG should depend on DEVEL
SVN-Revision: 13267
2008-11-17 19:43:12 +00:00