Commit graph

105 commits

Author SHA1 Message Date
Vasilis Tsiligiannis
a4ed68fbe4 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>

SVN-Revision: 16814
2009-07-12 15:37:59 +00:00
Felix Fietkau
985b62a228 madwifi: disable compression by default, as it can cause instabilities on various platforms (thx, acoul)
SVN-Revision: 16421
2009-06-11 12:40:07 +00:00
Vasilis Tsiligiannis
121368fbc8 madwifi: clear variables used in for loop
SVN-Revision: 16308
2009-06-03 13:53:10 +00:00
Jo-Philipp Wich
037f0c9629 madwifi: remove cruft from madwifi.sh introduced by r15954, thanks Vasilis Tsiligiannis
SVN-Revision: 16238
2009-05-31 20:42:04 +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
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
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
Felix Fietkau
251a657eaf madwifi: fix distance setting
SVN-Revision: 15824
2009-05-13 13:02:20 +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
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
Florian Fainelli
87c7791bf2 allow connection to a prefered bssid (#4252)
SVN-Revision: 15283
2009-04-19 21:09:02 +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
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
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
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
bd8dad29fa madwifi: ap+sta race conditions
SVN-Revision: 13208
2008-11-14 23:35:12 +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
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
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
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
Travis Kemen
b42c11bb48 add option to shutoff softled
SVN-Revision: 12709
2008-09-25 19:19:32 +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
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
Florian Fainelli
9c8bb0241f Add 11gdt, 11adt, 11ast and fh modes (#3824)
SVN-Revision: 12240
2008-08-07 15:28:07 +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
fbc77ede0a fix duplicate "doth" interface option in madwifi
SVN-Revision: 12032
2008-07-31 02:25:43 +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
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
67039dcf9e fix madwifi mode setting
SVN-Revision: 11882
2008-07-20 00:51:00 +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
John Crispin
cb354d2750 make madwifi startup script aware of new iwpriv options
SVN-Revision: 10598
2008-03-13 14:54:26 +00:00
Travis Kemen
80f0eec0aa fix problems with the use of a passphrase, add option to use a key instead of passphrase
SVN-Revision: 10450
2008-02-13 03:40:45 +00:00