Commit graph

372 commits

Author SHA1 Message Date
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
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
d94103514b madwifi: set essid on to avoid association with different ssid (patch from #3937)
SVN-Revision: 12759
2008-09-28 09:43:37 +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
Travis Kemen
b42c11bb48 add option to shutoff softled
SVN-Revision: 12709
2008-09-25 19:19:32 +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
52bb4fac97 madwifi: upgrade to 2008-09-09 HAL
SVN-Revision: 12573
2008-09-12 19:52:45 +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
f7ad843fdc madwifi: select the right hal binary for EABI on ARM
SVN-Revision: 12540
2008-09-05 23:27:27 +00:00
Felix Fietkau
dd8a612816 madwifi upstream does not work on wisoc
SVN-Revision: 12489
2008-09-02 09:45:36 +00:00
Felix Fietkau
76c95e5692 fix madwifi upstream compile for mips (#3952)
SVN-Revision: 12488
2008-09-02 09:44:50 +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
fff4882561 fix madwifi hal target for mips*
SVN-Revision: 12435
2008-08-30 09:59:00 +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
b28a095964 revert accidental change to madwifi.sh
SVN-Revision: 12428
2008-08-29 01:07:53 +00:00
Felix Fietkau
683789250d madwifi: fix encryption type check
SVN-Revision: 12421
2008-08-28 12:41:55 +00:00
Felix Fietkau
a2e70fed22 madwifi: only start hostapd when necessary
SVN-Revision: 12420
2008-08-28 12:13:36 +00:00
Felix Fietkau
4419978f84 madwifi: keep a/g mode and pureg setting in sync across vaps
SVN-Revision: 12363
2008-08-21 14:54:51 +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
Florian Fainelli
8c8b85b54c Add generic wpa_supplicant calls and use them for mac80211 and madwifi.
SVN-Revision: 12289
2008-08-12 14:22:42 +00:00
Florian Fainelli
4b5488ebfa Add 802.1x client configuration support and corresponding documentation (#2069)
SVN-Revision: 12283
2008-08-11 21:38:50 +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
Florian Fainelli
9c8bb0241f Add 11gdt, 11adt, 11ast and fh modes (#3824)
SVN-Revision: 12240
2008-08-07 15:28:07 +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
8970a1213b enable wds sta interface splitting by default
SVN-Revision: 12056
2008-08-01 00:38:47 +00:00
Felix Fietkau
1201ed1baa 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
SVN-Revision: 12055
2008-08-01 00:26:44 +00:00
Felix Fietkau
a5e83a8bed 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
SVN-Revision: 12053
2008-07-31 22:50:43 +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
c688bb1d11 madwifi: add 0.9.4 madwifi as a menuconfig option, as requested in some mails/tickets untested, does not work with 2.6.26
SVN-Revision: 12047
2008-07-31 17:27:55 +00:00
Felix Fietkau
fbc77ede0a fix duplicate "doth" interface option in madwifi
SVN-Revision: 12032
2008-07-31 02:25:43 +00:00
Felix Fietkau
10b74a2455 madwifi: add some extra sanity checking
SVN-Revision: 12006
2008-07-30 07:05:12 +00:00
Felix Fietkau
55b55f6861 madwifi: change the network scripts to use the new wds sta separation feature
SVN-Revision: 12005
2008-07-30 05:22:16 +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
Florian Fainelli
e63040663d Allow madwifi devices to be set in monitor mode
SVN-Revision: 11943
2008-07-26 18:32:54 +00:00
Felix Fietkau
bdfc0556b8 refresh madwifi patches
SVN-Revision: 11932
2008-07-25 22:41:13 +00:00
Felix Fietkau
144e506288 madwifi: preempt any running scan when wpa_supplicant triggers a new assoc
SVN-Revision: 11929
2008-07-25 22:37:21 +00:00
Felix Fietkau
21dbb0d64d madwifi: preserve WPA IEs received in probe responses and prefer them over beacon information improves reliability when using wpa_supplicant to connect to aps with hidden ssid and dynamic encryption settings
SVN-Revision: 11928
2008-07-25 22:37:06 +00:00
Felix Fietkau
8aab13b562 madwifi: add some roaming fixes by ubnt
SVN-Revision: 11927
2008-07-25 22:36:51 +00:00
Felix Fietkau
c0dc50fb55 rewrite madwifi sta mode link up/down notifications (mostly used by wpa_supplicant), fixes some stale node or reconnect loop issues
SVN-Revision: 11926
2008-07-25 22:36:33 +00:00
Felix Fietkau
9866151941 madwifi: reduce the packet loss impact of forced background scans triggered by the configured threshold
SVN-Revision: 11925
2008-07-25 22:36:18 +00:00
Felix Fietkau
192e5ac41d madwifi: improve hidden ssid handling in sta mode
SVN-Revision: 11924
2008-07-25 22:35:56 +00:00
Felix Fietkau
80710bb7cc madwifi: fix queue stop/start during key updates
SVN-Revision: 11923
2008-07-25 22:35:36 +00:00
Felix Fietkau
67039dcf9e fix madwifi mode setting
SVN-Revision: 11882
2008-07-20 00:51:00 +00:00
Felix Fietkau
9dc4917da8 rename patches-r3776 to patches-testing
SVN-Revision: 11868
2008-07-18 22:57:30 +00:00
Felix Fietkau
8aa31d7ce0 fix hal module load msg
SVN-Revision: 11867
2008-07-18 22:51:04 +00:00
Felix Fietkau
16731f482f refresh madwifi-testing patches
SVN-Revision: 11866
2008-07-18 22:50:46 +00:00
Felix Fietkau
4d144eee67 fix some madwifi-testing bugs
SVN-Revision: 11865
2008-07-18 22:49:27 +00:00
Felix Fietkau
9d5543e8b9 fix some unused variables
SVN-Revision: 11863
2008-07-18 18:57:01 +00:00
Felix Fietkau
1cc6486b0b remove a wrong patch chunk in the madwifi update
SVN-Revision: 11855
2008-07-17 22:06:52 +00:00
Felix Fietkau
b83f384981 huge madwifi update (work in progress, disabled by default, compiles but breaks at run time)
SVN-Revision: 11851
2008-07-17 02:30:08 +00:00
Felix Fietkau
0fb8aa363f add some madwifi fixes and enhancements by Sven-Ola, refresh patches
SVN-Revision: 11848
2008-07-16 16:30:03 +00:00
Felix Fietkau
899a187d65 madwifi: add an optional threshold for low-rssi disconnection. This can be useful when letting wpa_supplicant control roaming.
SVN-Revision: 11799
2008-07-12 22:24:45 +00:00
Felix Fietkau
09bcffddf1 madwifi: improve beacon miss handling to increase the reliability of STA mode links
SVN-Revision: 11798
2008-07-12 22:24:36 +00:00
Felix Fietkau
a466930858 madwifi: drop stale AP nodes from the client list when disconnecting. Fixes some reassoc issues.
SVN-Revision: 11797
2008-07-12 22:24:26 +00:00
Felix Fietkau
27361b2d0b madwifi: add a preliminary fix for the reassoc check, but disable reassoc entirely for now until we've figured out why it fails frequently.
SVN-Revision: 11796
2008-07-12 22:24:17 +00:00
Felix Fietkau
1e91acfb39 madwifi: some misconfigured APs broadcast NULL BSSIDs, which can confuse the STA. Ignore those when scanning.
SVN-Revision: 11795
2008-07-12 22:24:05 +00:00
Felix Fietkau
8f186693ec madwifi: add an optional background scanning threshold triggered by low rssi (useful for passing updated scan results to the wpa_supplicant ahead of time, before losing connectivity entirely)
SVN-Revision: 11794
2008-07-12 22:23:55 +00:00
Felix Fietkau
53bbcb6ad4 madwifi: recognize hidden essid with length=1 containing a nullbyte
SVN-Revision: 11793
2008-07-12 22:23:46 +00:00
Felix Fietkau
59373f6fda madwifi: make STA mode interfaces disassociate if transmission of assoc/auth critical packets failed.
SVN-Revision: 11792
2008-07-12 22:23:36 +00:00
Felix Fietkau
059dc41f06 refresh some madwifi patches
SVN-Revision: 11791
2008-07-12 22:23:21 +00:00
John Crispin
9e6c38917c make atheros wifi cards used on arcaydian 4519 ifxmips based boards work
SVN-Revision: 11676
2008-07-06 00:59:48 +00:00
Felix Fietkau
9be32c744b be a bit more verbose about madwifi errors
SVN-Revision: 11675
2008-07-06 00:41:46 +00:00
Felix Fietkau
c9e08e9105 madwifi: fix sequence number check on incoming retransmit checks
SVN-Revision: 11614
2008-07-01 21:38:40 +00:00
Florian Fainelli
11d0725b61 Remove the sleep since we delayed bringing up the interface
SVN-Revision: 11534
2008-06-18 17:42:10 +00:00
Florian Fainelli
e2e80ab38a Delay bringing up the interface because some cards requires setting the mode before bringing it up (#3541)
SVN-Revision: 11533
2008-06-18 17:09:02 +00:00
Felix Fietkau
7c029b0355 another patch fix
SVN-Revision: 11455
2008-06-13 08:56:06 +00:00
Felix Fietkau
ad9bc6ab09 fix a small comment
SVN-Revision: 11454
2008-06-13 07:30:21 +00:00
Felix Fietkau
01c61b0d64 fix ANI and make use of it in all modes except for monitor
SVN-Revision: 11453
2008-06-13 01:51:31 +00:00
Felix Fietkau
62bef2bced madwifi: remove unnecessary part of the 349-reset.patch, add an ANI fix for future HALs
SVN-Revision: 11409
2008-06-09 10:17:36 +00:00