Commit Graph

108 Commits (23439d3f601cba51368c7f93eefd43ab7be2195a)

Author SHA1 Message Date
Felix Fietkau beeade30e7 madwifi: add a configuration for uapsd (unscheduled automatic powersave delivery), turn it off by default because of compatibility issues with nokia phones
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03 19:31:48 +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
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 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
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 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
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 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
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 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 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
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 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
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
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
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 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 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 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 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 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
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 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
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
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 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 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 e910ed851b madwifi: change the network scripts to use the new wds sta separation feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 05:22:16 +00:00
Florian Fainelli daeb78fccc Allow madwifi devices to be set in monitor mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-26 18:32:54 +00:00
Felix Fietkau 1c6d1e08b7 fix madwifi mode setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-20 00:51:00 +00:00
Florian Fainelli e5cf5c1561 Remove the sleep since we delayed bringing up the interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-18 17:42:10 +00:00
Florian Fainelli 7362b16c02 Delay bringing up the interface because some cards requires setting the mode before bringing it up (#3541)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-18 17:09:02 +00:00