Commit Graph

98 Commits (6b329c076f15b67fd050b0f9f757be6c8043aaaa)

Author SHA1 Message Date
Felix Fietkau 7be190edbd mac80211: use wpa_supplicant for unencrypted connections to improve client mode reliability (patch by Stijn Tintel from #6653)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-08 13:42:14 +00:00
Felix Fietkau 0596f724bb mac80211: fix setup with more than 2 ap mode interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-02 02:19:01 +00:00
Felix Fietkau f5c84a89d6 mac80211: restrict the killing of wpa_supplicant processes to the right interface (#5991)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 22:11:21 +00:00
Felix Fietkau 1fe0eac4f4 mac80211: improve wifi interface cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-23 08:28:20 +00:00
Jo-Philipp Wich cc6be25a60 [package] mac80211: fix spurious error return codes in enable_mac80211()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 00:58:52 +00:00
Felix Fietkau d531b71f78 mac80211: fix hostapd wmm setting for multiple bss interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 00:55:10 +00:00
Felix Fietkau 7b22da898b 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-

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 02:26:05 +00:00
Felix Fietkau de1350d8d9 mac80211: fix mac address handling for multiple phy/vif
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 01:52:45 +00:00
Felix Fietkau dd2a828462 mac80211: fix ht capability detection (thx, stintel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-15 02:55:29 +00:00
Felix Fietkau 26ae0a26f9 mac80211: implement the distance setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-15 01:16:52 +00:00
Jo-Philipp Wich 5073e6db1e [package] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 18:39:44 +00:00
Felix Fietkau 6887b9b476 mac80211: fix handling of vif mac addresses in /lib/wifi/mac80211.sh (patch from #6401)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-24 11:05:04 +00:00
Vasilis Tsiligiannis 75331950d0 [packages] mac80211: Don't echo missing physical device errors to wireless config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-22 21:45:08 +00:00
Felix Fietkau 12c45dea86 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 17:22:25 +00:00
Felix Fietkau 2b3a751a63 mac80211: set the country code through iw reg, setting it only through hostapd apparently does not work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-05 17:12:51 +00:00
Jo-Philipp Wich 92c4f4c6fb [package] mac80211: fix a shell syntax error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-05 15:11:47 +00:00
Jo-Philipp Wich accf71c9a4 [package] mac80211: fix wpa handling in sta mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-05 15:08:25 +00:00
Felix Fietkau 480e0110b7 mac80211: rename autogenerated wifi-device sections from wifi* to radio* to prevent conflicts with madwifi interface naming
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-03 18:35:31 +00:00
Felix Fietkau bb652ed5bb mac80211: fix up wds sta mode after r18591
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-29 13:56:41 +00:00
Gabor Juhos 6dba631d40 mac80211: fix detection of multiple mac80211 devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 18:00:59 +00:00
Gabor Juhos 962efb9e0d mac80211: remove trailing whitespaces in mac80211.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 18:00:53 +00:00
Gabor Juhos 7fdea88dc4 mac80211: fix default channel selection in mac80211.sh (thanks to blubberdiblub)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 13:49:14 +00:00
Gabor Juhos 5180ca317c mac80211: fix a typo in the mac80211.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:21:28 +00:00
Gabor Juhos 701171cccd mac80211: select channel 36 by default on 5GHz only devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:21:10 +00:00
Felix Fietkau 87daff29ba mac80211: disable powersave on the sta by default (for performance reasons)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 16:59:36 +00:00
Felix Fietkau 085fe6bf4b mac80211: implement wds sta support (wds ap support work in progress, needs hostapd changes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-10 19:27:19 +00:00
Felix Fietkau 5e3e6c8c0d mac80211: fix wpa in client mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-10 19:27:13 +00:00
Felix Fietkau 80a950543c mac80211: fix wifi detect with 11n cards that have multiple bands
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-09 00:58:39 +00:00
Felix Fietkau 2f8e54f673 mac80211: fill some important capabilities into ht_capab in the hostapd config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-04 21:53:49 +00:00
Felix Fietkau db74177204 mac80211: fix a warning during interface bringup when using autochannel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 15:06:12 +00:00
Felix Fietkau 4d50dc292c mac80211: fix encryption fallback for sta mode, add frequency/bssid selection support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 01:05:17 +00:00
Felix Fietkau bc3a78d25b mac80211: fix autochannel / fixed channel selection, add commands for unencrypted sta mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 01:01:12 +00:00
Felix Fietkau 3a81e25e02 mac80211: upgrade to latest compat-wireless, fix ad-hoc interface setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-11 00:36:23 +00:00
Felix Fietkau 9ca04519e5 mac80211: autodetect the default phy mode based on 11n and freq capabilities
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 19:41:04 +00:00
Felix Fietkau 8b8c16b0ea mac80211: fix typo in ifname setup, suppress error messages of interface enumeration commands
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 19:16:16 +00:00
Felix Fietkau 34595b72d3 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-02 15:18:44 +00:00
Vasilis Tsiligiannis 66eee3b1a2 [package] mac80211: Declare some variables as local and remove unused
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-29 21:13:10 +00:00
Felix Fietkau 9899ab0de2 wifi: fix hostapd + autochannel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-27 21:14:59 +00:00
Florian Fainelli daff7e3f1a [package] add a workaround for devices that only start beaconing after scanning, that is almost every driver except b43
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-25 15:54:13 +00:00
Florian Fainelli 1c3c609fa4 [package] allow mac80211 devices to be configured to do 802.11s, requires iw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 14:53:03 +00:00
Andy Boyett 9b4b4d3914 [package] mac80211: move txpower to wifi-device section, but remain backwards compatible
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-31 16:09:39 +00:00
Gabor Juhos 03f2d4d0a0 [package] mac80211: cleanup mac80211.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-28 15:47:28 +00:00
Florian Fainelli 480affb551 Silence ifconfig down errors in mac80211 (#4067)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-04 16:54:43 +00:00
Florian Fainelli b188bc8497 Fix putting mac80211 interfaces in monitor and managed modes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 14:06:16 +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 7518138756 Allow setting mac80211 interface into ad-hoc mode (#3247)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-27 18:47:59 +00:00
Michael Büsch 70a2d7f1b1 mac80211 wifi script: Tell hostapd to use the nl80211 driver.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-17 13:29:22 +00:00
Eugene Konev 6d308f175d add minimal uci support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-05 17:56:15 +00:00