Commit graph

116 commits

Author SHA1 Message Date
Felix Fietkau
c173d41012 mac80211: add uci support for the ad-hoc multicast rate setting
SVN-Revision: 23637
2010-10-25 23:51:12 +00:00
Felix Fietkau
35cdc5d722 hostapd/mac80211: implement support for AP+STA
SVN-Revision: 23602
2010-10-23 23:39:54 +00:00
Felix Fietkau
b7204be37b wifi: change the default channel from 5 to 11, 5 was a really bad choice
SVN-Revision: 23423
2010-10-13 12:22:48 +00:00
Jo-Philipp Wich
8344c770fc mac80211: fix handling of frag and rts options, thanks stintel!
SVN-Revision: 22355
2010-07-22 16:01:17 +00:00
Felix Fietkau
e0751eb57e mac80211: fix interface teardown for kernels >= 2.6.33
SVN-Revision: 22078
2010-07-06 18:53:48 +00:00
Felix Fietkau
99757d3336 mac80211: use the nl80211 driver for wpa_supplicant
SVN-Revision: 21321
2010-05-02 22:03:54 +00:00
Felix Fietkau
ef710f7cf3 mac80211: enable rx/tx stbc by default if supported
SVN-Revision: 21319
2010-05-02 22:03:44 +00:00
Felix Fietkau
8b9afa6f75 mac80211: fix interface setup for wds client sometimes an interface does not get added to the bridge properly this seems to be a race of interface setup vs wpa_supplicant fix this by configuring the interface only after wpa_supplicant has been started
SVN-Revision: 20106
2010-03-09 21:23:14 +00:00
Felix Fietkau
ddb6eb9d51 mac80211: add support for the noscan option for skipping the initial scan on hostapd startup
SVN-Revision: 20089
2010-03-09 17:36:04 +00:00
Felix Fietkau
ee2c54569f mac80211: fix essid setting for ad-hoc (thx, stintel)
SVN-Revision: 19916
2010-02-28 19:05:32 +00:00
Felix Fietkau
13cfa88855 mac80211: fix client mode
SVN-Revision: 19915
2010-02-28 19:02:05 +00:00
Felix Fietkau
1c8fbfbaa6 mac80211: fix interface startup order for AP+STA (patch by yann lopez)
SVN-Revision: 19912
2010-02-28 17:06:53 +00:00
Felix Fietkau
d692a2340c mac80211: always use wpa_supplicant for client connections (patch by Stijn Tintel)
Since client mode in mac80211is unreliable without using wpa_supplicant,
it would be better to enable wpa_supplicant by default.

With this patch, wpa_supplicant will always be used for mac80211-based
drivers in client mode. This will break client mode for images that
don't include wpa_supplicant or wpad, so maybe I need to add a check
somewhere to see if wpa_supplicant is available, and show the user a
warning if he tries client mode without wpa_supplicant. Suggestions on
where to add this check are welcome.

Tested with ath5k in client mode on open and wpa2-psk network, and
tested on my ath9k based AP as well to make sure it doesn't break AP mode.

SVN-Revision: 19718
2010-02-19 01:07:21 +00:00
Felix Fietkau
e1efddf19b mac80211: use wpa_supplicant for unencrypted connections to improve client mode reliability (patch by Stijn Tintel from #6653)
SVN-Revision: 19550
2010-02-08 13:42:14 +00:00
Felix Fietkau
52c2e565dd mac80211: fix setup with more than 2 ap mode interfaces
SVN-Revision: 19494
2010-02-02 02:19:01 +00:00
Felix Fietkau
8d689fedac mac80211: restrict the killing of wpa_supplicant processes to the right interface (#5991)
SVN-Revision: 19334
2010-01-25 22:11:21 +00:00
Jo-Philipp Wich
789ec837e9 mac80211: make b43-fwsquash.py work with python 3.x
SVN-Revision: 19307
2010-01-24 02:26:57 +00:00
Felix Fietkau
26c953db20 mac80211: improve wifi interface cleanup
SVN-Revision: 19285
2010-01-23 08:28:20 +00:00
Jo-Philipp Wich
946291c8d5 mac80211: fix spurious error return codes in enable_mac80211()
SVN-Revision: 19265
2010-01-22 00:58:52 +00:00
Felix Fietkau
eb1190bb29 mac80211: fix hostapd wmm setting for multiple bss interfaces
SVN-Revision: 19264
2010-01-22 00:55:10 +00:00
Felix Fietkau
ba7bfddaae mac80211: restructure /lib/wifi/mac80211.sh use the new multi-bss single instance hostapd mode move mac80211 specific bits out of /lib/wifi/hostapd.sh add a new option 'htmode' for switching between HT20 and HT40+,HT40-
SVN-Revision: 19235
2010-01-20 02:26:05 +00:00
Felix Fietkau
8bdee4acf7 mac80211: fix mac address handling for multiple phy/vif
SVN-Revision: 19177
2010-01-17 01:52:45 +00:00
Felix Fietkau
b8ef670202 mac80211: fix ht capability detection (thx, stintel)
SVN-Revision: 19144
2010-01-15 02:55:29 +00:00
Felix Fietkau
b35e22bd24 mac80211: implement the distance setting
SVN-Revision: 19142
2010-01-15 01:16:52 +00:00
Jo-Philipp Wich
cb30b52ec1 base-files, mac80211 (#6491) - fix wep key handling in iw with mac80211 based drivers - sanitize keys where necessary - put a procedure prepare_key_wep() into /sbin/wifi for use by other driver backends
SVN-Revision: 19118
2010-01-13 18:39:44 +00:00
Michael Büsch
bced3bd81b b43-fwsquash: ucode2.fw also supports core rev 3
SVN-Revision: 18948
2009-12-26 23:20:24 +00:00
Hauke Mehrtens
abade416d1 b43 and b43legacy: squash firmware
Only G and L-PHY are supportted by b43 driver
Add squash firmware for b43legacy

SVN-Revision: 18947
2009-12-26 23:15:16 +00:00
Hauke Mehrtens
f1e9fb687b b43: Add L-PHY firemware files to squash script
Use firmware 4.178.10.4 as default on.
Select firmware for all supported phy types and version as default.

Close ticket #5978

SVN-Revision: 18935
2009-12-26 01:06:36 +00:00
Felix Fietkau
0a24ec2e4a mac80211: fix handling of vif mac addresses in /lib/wifi/mac80211.sh (patch from #6401)
SVN-Revision: 18923
2009-12-24 11:05:04 +00:00
Vasilis Tsiligiannis
ddba20a829 mac80211: Don't echo missing physical device errors to wireless config file
SVN-Revision: 18896
2009-12-22 21:45:08 +00:00
Felix Fietkau
d431d864b8 mac80211: fix RTS threshold not being set for mac80211 devices
A typo prevented it from working, tested with ar71xx and ath9k.

Signed-off-by: Otto Solares <solca@guug.org>

SVN-Revision: 18719
2009-12-09 17:22:25 +00:00
Felix Fietkau
fee32f227e mac80211: set the country code through iw reg, setting it only through hostapd apparently does not work
SVN-Revision: 18665
2009-12-05 17:12:51 +00:00
Jo-Philipp Wich
af947d5c89 mac80211: fix a shell syntax error
SVN-Revision: 18664
2009-12-05 15:11:47 +00:00
Jo-Philipp Wich
6da667f886 mac80211: fix wpa handling in sta mode
SVN-Revision: 18662
2009-12-05 15:08:25 +00:00
Felix Fietkau
86bfe0a701 mac80211: rename autogenerated wifi-device sections from wifi* to radio* to prevent conflicts with madwifi interface naming
SVN-Revision: 18627
2009-12-03 18:35:31 +00:00
Felix Fietkau
7d599ee46c mac80211: fix up wds sta mode after r18591
SVN-Revision: 18600
2009-11-29 13:56:41 +00:00
Gabor Juhos
756b6fdbf3 mac80211: fix detection of multiple mac80211 devices
SVN-Revision: 18583
2009-11-28 18:00:59 +00:00
Gabor Juhos
ff7c793af5 mac80211: remove trailing whitespaces in mac80211.sh
SVN-Revision: 18582
2009-11-28 18:00:53 +00:00
Gabor Juhos
1104a67439 mac80211: fix default channel selection in mac80211.sh (thanks to blubberdiblub)
SVN-Revision: 18577
2009-11-28 13:49:14 +00:00
Gabor Juhos
7ce91a64f0 mac80211: fix a typo in the mac80211.sh
SVN-Revision: 18567
2009-11-27 21:21:28 +00:00
Gabor Juhos
05c8eef651 mac80211: select channel 36 by default on 5GHz only devices
SVN-Revision: 18562
2009-11-27 21:21:10 +00:00
Felix Fietkau
a195852e7f mac80211: disable powersave on the sta by default (for performance reasons)
SVN-Revision: 18379
2009-11-11 16:59:36 +00:00
Felix Fietkau
1dbcfdaf2f mac80211: implement wds sta support (wds ap support work in progress, needs hostapd changes)
SVN-Revision: 18356
2009-11-10 19:27:19 +00:00
Felix Fietkau
559f32adbc mac80211: fix wpa in client mode
SVN-Revision: 18355
2009-11-10 19:27:13 +00:00
Felix Fietkau
498483be78 mac80211: fix wifi detect with 11n cards that have multiple bands
SVN-Revision: 18351
2009-11-09 00:58:39 +00:00
Felix Fietkau
875d957512 mac80211: fill some important capabilities into ht_capab in the hostapd config
SVN-Revision: 18293
2009-11-04 21:53:49 +00:00
Felix Fietkau
d06c15c265 mac80211: fix a warning during interface bringup when using autochannel
SVN-Revision: 18034
2009-10-11 15:06:12 +00:00
Felix Fietkau
d5ca84ad0f mac80211: fix encryption fallback for sta mode, add frequency/bssid selection support
SVN-Revision: 18025
2009-10-11 01:05:17 +00:00
Felix Fietkau
60d9f8044c mac80211: fix autochannel / fixed channel selection, add commands for unencrypted sta mode
SVN-Revision: 18024
2009-10-11 01:01:12 +00:00
Felix Fietkau
4cb436429b mac80211: upgrade to latest compat-wireless, fix ad-hoc interface setup
SVN-Revision: 18023
2009-10-11 00:36:23 +00:00
Felix Fietkau
eb59d14aac mac80211: autodetect the default phy mode based on 11n and freq capabilities
SVN-Revision: 17825
2009-10-02 19:41:04 +00:00
Felix Fietkau
d8aa4acfda mac80211: fix typo in ifname setup, suppress error messages of interface enumeration commands
SVN-Revision: 17824
2009-10-02 19:16:16 +00:00
Felix Fietkau
5c3c14b02f mac80211: merge Pat Erley's mac80211.sh from openwrt-devel@ with many cleanups and other changes by me. adds support for multiple interfaces, tested with ath9k
SVN-Revision: 17821
2009-10-02 15:18:44 +00:00
Vasilis Tsiligiannis
3b1c6c0379 mac80211: Declare some variables as local and remove unused
SVN-Revision: 16627
2009-06-29 21:13:10 +00:00
Felix Fietkau
ca749bea97 wifi: fix hostapd + autochannel
SVN-Revision: 15055
2009-03-27 21:14:59 +00:00
Florian Fainelli
95d95a757b add a workaround for devices that only start beaconing after scanning, that is almost every driver except b43
SVN-Revision: 15041
2009-03-25 15:54:13 +00:00
Michael Büsch
48a5ed9bb8 b43: Add support for removing unnecessary firmware files to reduce the image size.
SVN-Revision: 14929
2009-03-17 19:34:45 +00:00
Florian Fainelli
38821210b0 allow mac80211 devices to be configured to do 802.11s, requires iw
SVN-Revision: 14669
2009-02-26 14:53:03 +00:00
Andy Boyett
0da13fa8ba mac80211: move txpower to wifi-device section, but remain backwards compatible
SVN-Revision: 14309
2009-01-31 16:09:39 +00:00
Gabor Juhos
04bf46b82b mac80211: cleanup mac80211.sh
SVN-Revision: 14246
2009-01-28 15:47:28 +00:00
Florian Fainelli
c6b1119e6b Silence ifconfig down errors in mac80211 (#4067)
SVN-Revision: 12856
2008-10-04 16:54:43 +00:00
Florian Fainelli
02780ec100 Fix putting mac80211 interfaces in monitor and managed modes
SVN-Revision: 12293
2008-08-13 14:06:16 +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
d0556cda49 Allow setting mac80211 interface into ad-hoc mode (#3247)
SVN-Revision: 10677
2008-03-27 18:47:59 +00:00
Michael Büsch
23405a451a mac80211 wifi script: Tell hostapd to use the nl80211 driver.
SVN-Revision: 10477
2008-02-17 13:29:22 +00:00
Eugene Konev
2e41e02a21 add minimal uci support
SVN-Revision: 9145
2007-10-05 17:56:15 +00:00