Commit Graph

459 Commits

Author SHA1 Message Date
Felix Fietkau
6bd7905421 madwifi: fix frame dropped counter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-11 14:05:57 +00:00
Felix Fietkau
dc62db2d7a madwifi: fix compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-11 02:14:33 +00:00
Felix Fietkau
cc53716825 fix software rx filter for ibss mode (based on a patch by harald schiöberg)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-11 02:14:28 +00:00
Felix Fietkau
fe4ec9d81b madwifi: fix compile error on kernels without net_device api compatibility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-11 02:14:15 +00:00
Felix Fietkau
facdf6c75f madwifi: fix a race condition in the ap2ap wds setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 21:29:19 +00:00
Felix Fietkau
45b7e293c3 madwifi: disable debug by default in the source tree instead of only relying on the override (useful for external builds)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 21:29:15 +00:00
Felix Fietkau
9b19c72b56 madwifi: remove the get_arch.mk build failure when the 'detected' arch doesn't match the build system's value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-01 21:29:10 +00:00
Felix Fietkau
049b5dae52 madwifi: fix crash on 2.6.30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-18 01:04:40 +00:00
Felix Fietkau
873713bcf1 madwifi: fix a race condition in the ibss merge
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-16 17:41:51 +00:00
Felix Fietkau
d5882b22a0 madwifi: turn software based tsf merging on by default, get rid of some iwpriv errors on wifi restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-16 11:30:01 +00:00
Felix Fietkau
acb7f4883c madwifi: clean up / fix ibss node handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-16 11:28:54 +00:00
Felix Fietkau
2d8aa6f161 madwifi: trivial antenna diversity fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-14 16:07:26 +00:00
Felix Fietkau
6ee8e07bea madwifi: remove the -mlong-calls cflag from include files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-13 14:56:44 +00:00
Vasilis Tsiligiannis
01b07444c7 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-12 15:37:59 +00:00
Felix Fietkau
3270a9653d madwifi: clean up wme handling, use same packet classification as mac80211
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-12 00:01:17 +00:00
Felix Fietkau
8f39da8bed madwifi: fix another instance of excessive stack usage in wlanconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-12 00:00:51 +00:00
Felix Fietkau
1dfb095209 upgrade to the new version of wprobe - includes reconfigurable layer 2 statistics, remote access, more configuration options and many bugfixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-06 19:05:24 +00:00
Vasilis Tsiligiannis
362e8b56f6 [package] madwifi: Disable compression capability on AR71XX and make it optional for other platforms (thanks to David A. Bandel and Dennis Bartsch)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 17:07:52 +00:00
Hauke Mehrtens
d1ae2f0f7a [packages] Various Makefile cleanup.
Thanks to swalker.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-13 16:47:22 +00:00
Felix Fietkau
462f5857a1 madwifi: disable compression by default, as it can cause instabilities on various platforms (thx, acoul)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-11 12:40:07 +00:00
Vasilis Tsiligiannis
1ef27048f7 [package] madwifi: clear variables used in for loop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 13:53:10 +00:00
Felix Fietkau
da49000eec madwifi: fix wlanconfig athX destroy on 2.6.30 (incomplete netdev_ops transition)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 22:35:48 +00:00
Imre Kaloz
87a6e2bb18 now that the gemini target is working, get rid of the obsolete and buggy storm target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 18:15:30 +00:00
Imre Kaloz
7f5bcd441b fix madwifi for the gemini target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 18:09:10 +00:00
Jo-Philipp Wich
f691eb4f14 [package] madwifi: remove cruft from madwifi.sh introduced by r15954, thanks Vasilis Tsiligiannis
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 20:42:04 +00:00
Felix Fietkau
83db58db63 madwifi: handle frame classification properly if eth->h_proto contains the protocol number directly (without offset)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 17:15:09 +00:00
Felix Fietkau
ab98fd6b3b madwifi: fix excessive stack usage in the wlanconfig tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 15:04:45 +00:00
Felix Fietkau
a5c1e60bcd madwifi: if a txpower value below the poweroffset is requested, set the internal txpower to 0db
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 14:45:04 +00:00
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