Felix Fietkau
d6ab397044
madwifi: add better hw detection, use a power offset for setting/getting tx power for cards that have a twisted eeprom
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 02:25:32 +00:00
Felix Fietkau
a552940d24
madwifi: add sanity checks for monitor mode injection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-30 17:53:41 +00:00
Felix Fietkau
cf3983e001
madwifi: fix an array overrun in the rate control attach check
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-30 17:53:24 +00:00
Felix Fietkau
900a341309
madwifi: remove the "turbo" iwpriv command, it does not do anything useful, but it can lead to crashes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-22 17:44:07 +00:00
Felix Fietkau
64d3aacbd0
madwifi: fix a rare ad-hoc mode crash
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-21 18:23:53 +00:00
Felix Fietkau
70bea49ea1
madwifi: cosmetic fixes for maxrate/minrate
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-21 18:11:08 +00:00
Jo-Philipp Wich
54c401d742
[PATCH] [madwifi] Declare some missing local variables in madwifi.sh
...
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 21:52:15 +00:00
Jo-Philipp Wich
e1797e720b
[PATCH] [madwifi] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 21:33:54 +00:00
Jo-Philipp Wich
7098126f4b
[PATCH] [madwifi] Build madwifi with compression capability enabled
...
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 21:32:05 +00:00
Jo-Philipp Wich
64987ddf85
[PATCH] [madwifi] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 20:44:19 +00:00
Nicolas Thill
b5f1835dbb
[package] madwifi: don't try to set an interface essid with an empty value
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17 02:01:03 +00:00
Hauke Mehrtens
2940db20df
[madwifi] Make madwifi compile with kernel 2.6.30.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-14 19:00:11 +00:00
Felix Fietkau
bada311844
madwifi: fix distance setting
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-13 13:02:20 +00:00
Felix Fietkau
3d4ce40385
madwifi: the openwrt build system usually has a better idea of what the target arch is than the madwifi build system :)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-11 21:22:11 +00:00
Hauke Mehrtens
a3bc7aa664
[madwifi] make madwifi compile with kernel 2.6.29.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-11 20:16:13 +00:00
Felix Fietkau
82f3878ab7
madwifi: ignore the eeprom fast framing supported flag, as it is an arbitrary restriction and not based on hardware capability
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-10 22:43:44 +00:00
Felix Fietkau
0335b8b1be
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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-10 22:19:53 +00:00
Felix Fietkau
ed9208de6f
madwifi: remove some leftover duplicate definitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-10 20:13:13 +00:00
Felix Fietkau
1c2db4a615
madwifi: clean up tx status mrr handling and fix mrr parsing for 5416
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-10 19:05:15 +00:00
Felix Fietkau
f3068cb1e3
madwifi: clean up handling of various timings such as slot time, ack timeout, eifs time, etc.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-08 19:25:31 +00:00
Felix Fietkau
07b7495fbb
madwifi: fix uninitialized variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-08 18:49:05 +00:00
Felix Fietkau
9a61184c76
madwifi: remove unused functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-08 16:21:24 +00:00
Felix Fietkau
6bb9b0c014
upgrade to a new public hal build - contains several minor fixes including ani improvements
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-08 16:08:31 +00:00
Felix Fietkau
4ac120b048
madwifi: fix selection of phy errors in the rx filter
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-08 12:31:28 +00:00
Felix Fietkau
8e8cb2b259
madwifi: improve autochannel decision with lots of cards on one board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 21:10:33 +00:00
Felix Fietkau
d46205e3aa
madwifi: improve autochannel, nuke some dead code, fix scanlist building from channel mode
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 21:00:35 +00:00
Felix Fietkau
72385f436e
madwifi: fix setting outdoor mode
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 18:30:16 +00:00
Felix Fietkau
743d7804c8
madwifi: fix run-time changing of iwpriv settings (thx, brainslayer)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 11:32:47 +00:00
Felix Fietkau
122725c5d3
madwifi: improve mode selection, do not scan channels which do not fit the desired mode
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 11:32:43 +00:00
Felix Fietkau
3c3e5f1fb3
make madwifi buildable without CONFIG_CRYPTO
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 11:32:39 +00:00
Felix Fietkau
a9e1ab8256
madwifi: improve antenna diversity handling
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-07 10:10:06 +00:00
Felix Fietkau
d8a2bba467
madwifi: minor cleanup for the channel handling patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-06 14:06:59 +00:00
Felix Fietkau
aace9026ca
use config_get_bool for outdoor mode
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-06 12:12:29 +00:00
Felix Fietkau
9060d40b47
madwifi: make country code and outdoor flag changeable without reloading the driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-06 11:52:24 +00:00
Nicolas Thill
d9be507b8f
[package] madwifi: remove old Makefile hacks not needed anymore
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-25 16:22:30 +00:00
Felix Fietkau
83b9d84a15
madwifi: fix a header file conflict with iptables
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 14:55:11 +00:00
Florian Fainelli
406f776189
[package] allow connection to a prefered bssid ( #4252 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 21:09:02 +00:00
Felix Fietkau
5bdd866100
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Felix Fietkau
7e66326c06
madwifi: remove braindead code that overwrote the user's antenna diversity setting (thx, brainslayer)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-07 16:13:25 +00:00
Felix Fietkau
630b6fe4f9
madwifi: fix crash under load
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-04 09:36:05 +00:00
Felix Fietkau
ca4de64628
madwifi: improve turbo/autochannel patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-29 05:28:50 +00:00
Felix Fietkau
c4349fe7f3
madwifi: add wprobe rxframe/probereq counters
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-29 02:12:39 +00:00
Felix Fietkau
43a805a5e5
madwifi: remove obsolete spatch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-29 02:12:33 +00:00
Felix Fietkau
1e8dc6d85e
madwifi: do not use turbo mode during ap mode autoselection unless specifically requested
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-29 00:11:00 +00:00
Felix Fietkau
540967d484
madwifi: only set the desired mode for the first vap
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-29 00:10:31 +00:00
Felix Fietkau
837c4899ea
madwifi: add config option for adjusting the beacon power relative to the full tx power (needs testing, units/scale still unknown, defaults to max.)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-26 23:04:23 +00:00
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
ea5953b2f5
madwifi on linux 2.4 is no longer supported
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-26 21:10:08 +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
efdff492cd
madwifi: upstream (0.9.4) is not supported on recent kernels, mark it as broken
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-23 12:21:12 +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
Andy Boyett
cdc6c574ad
[package] madwifi: mode txpower to wifi-device section, but remain backwards compatible
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-31 16:08:57 +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
Travis Kemen
541f407ac0
Allow changing country code for madwifi driver. Thanks alisonken1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-22 22:00:07 +00:00
Jo-Philipp Wich
18eae70506
package/madwifi: add uci support for the propereq iwpriv setting
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-01 17:29:58 +00:00
Jo-Philipp Wich
ba2a424ee2
package/madwifi: fix typo in config handler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-01 13:59:06 +00:00
Andy Boyett
5b30934a6f
[package] hostapd,madwifi: rename agmode option to hwmode. 11a and 11g aren't the only allowed values
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-31 19:09:26 +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
Travis Kemen
27778ec7cd
Move txpower settings after the interface comes up. Thanks alisonken1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-03 21:34:04 +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
Imre Kaloz
139df8bd25
MADWIFI_DEBUG should depend on DEVEL
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 19:43:12 +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
382a56d914
use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-29 17:26:49 +00:00
Travis Kemen
3c68b47895
remove LED api abuse from r13032 per request fom nbd, gpioctl is now built by defualt
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 15:14:54 +00:00
Travis Kemen
277aa129cf
remove polarity from config file generation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 04:06:30 +00:00
Travis Kemen
d919f022da
fix mistakes in last commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 03:53:56 +00:00
Travis Kemen
19336e1276
Simplify antenna selection and remove the need for gpioctl for the nanostation2.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 03:09:33 +00:00
Travis Kemen
3c8d67166e
fix polarity
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 01:49:19 +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
7268661d39
implement uci config option for the nanostation antenna/polarity control (ns2 and ns5 supported)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-23 01:07:50 +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
836ae80bb1
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)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-16 21:26:24 +00:00
Felix Fietkau
408a8518ac
remove madwifi-testing (it confuses users) - it doesn't work, never has, and i'm not going to finish it.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-16 21:06:30 +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
bcf79d92ce
madwifi: set essid on to avoid association with different ssid (patch from #3937 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-28 09:43:37 +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
Travis Kemen
4a580a5d1d
add option to shutoff softled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-25 19:19:32 +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
a1ca5b6fce
madwifi: upgrade to 2008-09-09 HAL
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-12 19:52:45 +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
a57f7e3b1a
madwifi: select the right hal binary for EABI on ARM
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-05 23:27:27 +00:00
Felix Fietkau
9a2458d554
madwifi upstream does not work on wisoc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 09:45:36 +00:00
Felix Fietkau
dfc85d6831
fix madwifi upstream compile for mips ( #3952 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 09:44:50 +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
cee791127b
fix madwifi hal target for mips*
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-30 09:59:00 +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
da3a3adc2f
revert accidental change to madwifi.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-29 01:07:53 +00:00
Felix Fietkau
253a263caa
madwifi: fix encryption type check
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 12:41:55 +00:00
Felix Fietkau
54e6f06224
madwifi: only start hostapd when necessary
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-28 12:13:36 +00:00
Felix Fietkau
3104611a8f
madwifi: keep a/g mode and pureg setting in sync across vaps
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-21 14:54:51 +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
Florian Fainelli
982939c910
Add generic wpa_supplicant calls and use them for mac80211 and madwifi.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-12 14:22:42 +00:00
Florian Fainelli
ecc8815432
Add 802.1x client configuration support and corresponding documentation ( #2069 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-11 21:38:50 +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
Florian Fainelli
c3011cd5f6
Add 11gdt, 11adt, 11ast and fh modes ( #3824 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07 15:28:07 +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
02c8979f05
enable wds sta interface splitting by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 00:38:47 +00:00
Felix Fietkau
4c49d9496b
madwifi: remove wds type of wifi-iface without essid, imho it never worked properly and is unsupported now, regular ap/sta with option wds 1 is preferred
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-01 00:26:44 +00:00
Felix Fietkau
f597668270
use the madwifi driver instead of wext in the wpa_supplicant command line. the madwifi driver can associate faster because it uses a different ioctl interface
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 22:50:43 +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
0cc9c8bf11
madwifi: add 0.9.4 madwifi as a menuconfig option, as requested in some mails/tickets
...
untested, does not work with 2.6.26
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 17:27:55 +00:00
Felix Fietkau
d2148299ba
fix duplicate "doth" interface option in madwifi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-31 02:25:43 +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