Commit graph

460 commits

Author SHA1 Message Date
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
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
a4f11ca22e use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
SVN-Revision: 13078
2008-10-29 17:26:49 +00:00
Travis Kemen
7adb667a13 remove LED api abuse from r13032 per request fom nbd, gpioctl is now built by defualt
SVN-Revision: 13039
2008-10-23 15:14:54 +00:00
Travis Kemen
3800e56ddb remove polarity from config file generation
SVN-Revision: 13034
2008-10-23 04:06:30 +00:00
Travis Kemen
0aaaf0e266 fix mistakes in last commit
SVN-Revision: 13033
2008-10-23 03:53:56 +00:00
Travis Kemen
5506db71c3 Simplify antenna selection and remove the need for gpioctl for the nanostation2.
SVN-Revision: 13032
2008-10-23 03:09:33 +00:00
Travis Kemen
6d6878bb10 fix polarity
SVN-Revision: 13031
2008-10-23 01:49:19 +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
14d0041023 implement uci config option for the nanostation antenna/polarity control (ns2 and ns5 supported)
SVN-Revision: 13028
2008-10-23 01:07:50 +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
f3e2fb3da0 madwifi: allow disabling of hardware ibss merges by setting the wifi-iface option sw_merge, which does the tsf sync in software instead. used to work around hardware issues with hw merges (ATIM window gets screwed up)
SVN-Revision: 12993
2008-10-16 21:26:24 +00:00
Felix Fietkau
6e9522d27e remove madwifi-testing (it confuses users) - it doesn't work, never has, and i'm not going to finish it.
SVN-Revision: 12992
2008-10-16 21:06:30 +00:00
Felix Fietkau
8ec25f13de madwifi: add sta mode idle reassoc fix (#4091)
SVN-Revision: 12981
2008-10-14 12:29:14 +00:00