nbd
c756188f9a
backport mac80211 and iw from trunk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 01:36:28 +00:00
nbd
b1b81f3461
merge mac80211, iw, hostapd from trunk to backfire
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-31 12:47:07 +00:00
nbd
41599382fc
wifi: merge default channel change from r23423
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-14 00:17:07 +00:00
jow
6ef6628ddb
[backfire] merge r22355
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 16:02:30 +00:00
nbd
5eaa0e5385
[backfire] backport mac80211 and hostapd from trunk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-04 15:36:29 +00:00
nbd
b5f911aeb9
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 21:23:14 +00:00
nbd
6bcc663402
mac80211: add support for the noscan option for skipping the initial scan on hostapd startup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 17:36:04 +00:00
nbd
5834ee619f
mac80211: fix essid setting for ad-hoc (thx, stintel)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 19:05:32 +00:00
nbd
8b0591cf4b
mac80211: fix client mode
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 19:02:05 +00:00
nbd
41d5e0ca05
mac80211: fix interface startup order for AP+STA (patch by yann lopez)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-28 17:06:53 +00:00
nbd
c0a4b957c5
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 01:07:21 +00:00
nbd
9cbf96cc5a
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
nbd
1fc373c5d3
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
nbd
b2077b0375
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
jow
3f3acd319f
[package] mac80211: make b43-fwsquash.py work with python 3.x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-24 02:26:57 +00:00
nbd
7f1760652d
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
jow
3a27cd7fac
[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
nbd
5c2c8ca467
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
nbd
2eb1c2d1df
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
nbd
d9d6100edd
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
nbd
57f7e19c58
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
nbd
461c02892a
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
jow
505a102cb3
[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
mb
0b0a5f7e08
b43-fwsquash: ucode2.fw also supports core rev 3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 23:20:24 +00:00
hauke
73ee554b8e
[mac80211] b43 and b43legacy: squash firmware
...
Only G and L-PHY are supportted by b43 driver
Add squash firmware for b43legacy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 23:15:16 +00:00
hauke
d5afbb3e27
[mac80211] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 01:06:36 +00:00
nbd
b2525c9b8d
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
acinonyx
975e20ea80
[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
nbd
7406bafce9
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
nbd
2ec93f271b
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
jow
b546af4c21
[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
jow
a4827cab1f
[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
nbd
eac6d3750b
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
nbd
f916333f1e
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
juhosg
f1db6935ae
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
juhosg
0da4b7c208
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
juhosg
2c7b7e7027
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
juhosg
8a11ffce72
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
juhosg
08ca9f93c2
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
nbd
b87aea7e75
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
nbd
3b3a36db38
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
nbd
a4df146bd6
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
nbd
cb9259e186
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
nbd
244e2944c6
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
nbd
2438e75278
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
nbd
11e5f1bf7c
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
nbd
dd47052c85
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
nbd
994c1fce91
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
nbd
fcd449b084
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
nbd
e1a9d004cc
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