summaryrefslogtreecommitdiffstats
path: root/package/mac80211/files
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: clean up init, remove some redundant checks, fix tx power init ↵nbd2011-12-231-77/+73
| | | | | | (#10113) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix powersave settingnbd2011-12-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: apply txpower after bringing up the interface, should fix #10113nbd2011-12-181-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: use iw instead of iwconfig to disable powersavenbd2011-12-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add support for firmware 666.2 for b43 deviceshauke2011-12-081-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: change wireless ifname numbering schemajow2011-11-061-6/+3
| | | | | | | | | | Instead of simply counting up until we hit a free iface, group ifnames by wiphy so that the first wlanX on a phy gets the phy number and following ifaces an index-suffix, e.g. wlan0 for network 1 on phy 1 and wlan0-1 for network 2 on phy 1. This fixes state var confusion when operating multiple radios and allows to reliably take down and restart one radio only, even if the number of networks changes in between. This should, along with other changes in LuCI, fix #10335. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28784 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: set the country code early to allow crda to settlenbd2011-10-081-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: rework mac address generation for virtual interfaces; ↵jow2011-09-251-9/+17
| | | | | | set locally administered bit on generated macs and change the last two bytes isntead of the first one git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28298 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: introduce "disabled" option for wifi-iface section to ↵jow2011-09-081-1/+4
| | | | | | shutdown single networks on a radio git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28198 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: configure hostapd logging optionsjow2011-08-201-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: use first available channel from current phy if channel ↵jow2011-08-131-1/+7
| | | | | | is set to "auto" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: always store broadcom firmware in b43 and b43legacy dirhauke2011-08-061-0/+16
| | | | | | | | | This is always used to build a firmware for linux systems also if we are on freebsd. This is one patch from #9897 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add a temporary uci option for setting the channel bandwidthnbd2011-07-081-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: configure HT IBSS through ucinbd2011-06-241-1/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: broadcast the country IE by default if the country code is ↵nbd2011-04-261-0/+5
| | | | | | configured (#9308) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26765 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: b43: Add Firmware 5.10.56.27hauke2011-04-191-0/+3
| | | | | | | | | | | | | | Add the 5.10.56.27 firmware option. This includes updating b43-fwcutter to its newest release 14 and updating the b43-fwsquash.py to recognise rev 16 n phy files. Also rename the current options from STABLE/EXPERIMENTAL to their version numbers. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26733 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: Fix unique device autodetectionacinonyx2011-03-151-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: allow AP configuration of beacon interval, DTIM period, maximum ↵nbd2011-03-021-4/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | permissible STA listen interval, and basic rates This introduces beacon_int and basic_rate (per wifi-device), and dtim_period and max_listen_int (per wifi-iface) for mac80211. These configure the beacon interval, basic rate specification, DTIM period (one DTIM per this many beacon frames), and maximum listen interval that a STA will be permitted to associate with. All of the new settings are optional; if they're absent, the existing hostapd (or, in the case of basic_rate, driver) defaults will be used. The existing bintval property only used for type adhoc is moved from wifi-iface to wifi-device, and is renamed to beacon_interval because bintval isn't a great name. The beacon interval is property of the wifi-device; while the choice between wifi-device and wifi-iface may not be relevant with an adhoc network, there's no reason to configure the same property one way for type adhoc and another for type ap. This change isn't expected to cause many problems, as bintval was added recently, in r25111. Similarly, the list of basic rates, also added for type adhoc in r25111, is a property of the device and not the interface. Further, it ought to be represented in UCI as a list, not a string dependent on the format that iw uses. I’ve moved it onto the device, renamed it to basic_rate, and made it configurable for APs via hostapd. Finally, I adapted it to use the same kb/s representation as mcast_rate; there's precedent for this format in that it's also how madwifi interprets mcast_rate. Neither bintval nor basicrates were ever documented in the UCI wireless configuration page on the wiki. When this change is committed, I'll update the documentation as needed. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: ignore errors in the command to set the rx/tx antenna - many ↵nbd2011-01-281-1/+1
| | | | | | drivers do not support this yet git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: fix order of iw parameters, fix broken antenna config calljow2011-01-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25152 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: Fix antenna setting when only one of {rx,tx}antenna ↵acinonyx2011-01-271-4/+3
| | | | | | options is specified git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: add missing done to mac80211.sh (#8735)jow2011-01-261-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: add mising esac to mac80211.shjow2011-01-261-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: rework recent mac80211.sh additions:jow2011-01-261-7/+32
| | | | | | | | | - split antenna options into rxantenna and txantenna to bring it in line with broadcom and madwifi - get rid of temporary variables - follow the documented config protocol for wep keys (option key # + option key# [s:]data) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Add new parameters to mac80211.shnbd2011-01-261-1/+10
| | | | | | | | | | | | Add new options 'bintval' (beacon interval), 'basicrates' (basic rates) and 'antenna' (antenna selection) for /etc/config/wireless to be used with mac80211 drivers. Enable WEP encryption for IBSS mode. Patch from: kentarou matsuyama <matsuyama@thinktube.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Add mac address filter configuration for hostapdnbd2011-01-261-1/+22
| | | | | | | | | Add support of mac address filter. Now 'macfilter' and 'maclist' options can be used with mac80211. Patch from: kentarou matsuyama <matsuyama@thinktube.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: support per-vif wmm option, defaults to 1 if unsetjow2011-01-111-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24966 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: rename max_clients option to maxassoc, this brings it in ↵jow2010-12-191-2/+2
| | | | | | line with broadcom git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: add support for specifying the maximum number of clientsnbd2010-12-191-0/+2
| | | | | | Signed-off-by: Alexander Couzens <lynxis@c-base.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: use iw for txpower control (#8416)jow2010-12-101-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: set GF flag in hostapd config if supportednbd2010-10-271-0/+1
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add uci support for the ad-hoc multicast rate settingnbd2010-10-251-1/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd/mac80211: implement support for AP+STAnbd2010-10-231-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wifi: change the default channel from 5 to 11, 5 was a really bad choicenbd2010-10-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: fix handling of frag and rts options, thanks stintel!jow2010-07-221-10/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix interface teardown for kernels >= 2.6.33nbd2010-07-061-1/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: use the nl80211 driver for wpa_supplicantnbd2010-05-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: enable rx/tx stbc by default if supportednbd2010-05-021-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix interface setup for wds clientnbd2010-03-091-2/+2
| | | | | | | | 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
* mac80211: add support for the noscan option for skipping the initial scan on ↵nbd2010-03-091-0/+2
| | | | | | hostapd startup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix essid setting for ad-hoc (thx, stintel)nbd2010-02-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix client modenbd2010-02-281-12/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix interface startup order for AP+STA (patch by yann lopez)nbd2010-02-281-23/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: always use wpa_supplicant for client connections (patch by Stijn ↵nbd2010-02-191-97/+21
| | | | | | | | | | | | | | | | | | | 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
* mac80211: use wpa_supplicant for unencrypted connections to improve client ↵nbd2010-02-081-1/+15
| | | | | | mode reliability (patch by Stijn Tintel from #6653) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix setup with more than 2 ap mode interfacesnbd2010-02-021-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19494 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: restrict the killing of wpa_supplicant processes to the right ↵nbd2010-01-251-2/+6
| | | | | | interface (#5991) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: make b43-fwsquash.py work with python 3.xjow2010-01-241-14/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: improve wifi interface cleanupnbd2010-01-231-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: fix spurious error return codes in enable_mac80211()jow2010-01-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19265 3c298f89-4303-0410-b956-a3cf2f4a3e73