aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/files
Commit message (Collapse)AuthorAgeFilesLines
* AA: mac80211: sync with trunk r41113Felix Fietkau2014-06-111-636/+658
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@41116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: mac80211: backport package from trunk r39886Felix Fietkau2014-03-142-178/+318
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@39928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: tweak mac address allocationFelix Fietkau2013-07-131-1/+1
| | | | | | | | | | | | | Apparently there are some broken devices out there that have the local bit already set in the factory MAC address. Move the | 0x2 over to the other side of the xor operation to fix this without affecting devices with proper addresses. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r37269 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@37270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: backport latest version from trunk (as of r37265)Felix Fietkau2013-07-121-1/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@37266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to 2013-02-22 from trunk + backportsFelix Fietkau2013-04-283-171/+38
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: use the original mac address for the first virtual interfaceFelix Fietkau2013-04-231-1/+3
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r36408 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36409 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: rework mac address allocationFelix Fietkau2013-04-171-10/+24
| | | | | | | | | | | | | | | | | | | | | If the first byte is available in the address mask, use only that one - set the local bit and xor it with the id << 2. This ensures that there are no hardware BSSID & BSSID-mask conflicts with devices that have almost the same MAC address with just a small offset. The MAC address conflict has been observed in a deployment with some devices from the same batch when running with multiple interfaces. If only some bits of the last byte are available, xor the id onto the last MAC address byte (relevant mostly for Ralink devices). In other cases (should not happen at this point), use the previous MAC address offset calculation but without the local bit. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r36353 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mac80211] fixes mbssid on ralink hardwareJohn Crispin2013-02-251-2/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35781 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: apply network interface configuration for adhoc + wpa2Felix Fietkau2013-01-071-1/+1
| | | | | | Backport of r35049 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add uci support for configuring antenna gainFelix Fietkau2012-09-281-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] mac80211: fiy typo in b43-fwsquash.pyHauke Mehrtens2012-09-231-2/+2
| | | | | | | Thanks Jonas git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [packages] mac80211: fix b43 firmware squash for HT and LCN firmware, one ↵Hauke Mehrtens2012-09-221-2/+6
| | | | | | file was missing for both. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211/hostapd: add support for HT capa in case of IBSS/RSNJohn Crispin2012-07-241-7/+7
| | | | | | Signed-off-by: Antonio Quartulli <ordex@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: add more parametersJohn Crispin2012-07-241-1/+2
| | | | | | Signed-off-by: Antonio Quartulli <ordex@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32829 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: make channel bandwidth setting genericTravis Kemen2012-07-041-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove the passive-scan/no-ibss flag of channels 36-48 in the ↵Felix Fietkau2012-06-081-1/+1
| | | | | | world regd similar to the default regd in ath git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: use built-in regulatory database instead of crda to avoid various ↵Felix Fietkau2012-05-281-0/+697
| | | | | | race conditions git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: get rid of duplicate iw reg set command (thx, stintel)Felix Fietkau2012-05-261-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31859 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] mac80211: allow NOHT for IBSS modeJo-Philipp Wich2012-03-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add hostapd socket option to wpa_supplicant for IBSS RSN as wellFelix Fietkau2012-03-271-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: modify mac80211.sh to in order to support IBSS-RSNFelix Fietkau2012-03-271-0/+11
| | | | | | Signed-off-by: Antonio Quartulli <ordex@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Allow preamble configurationJohn Crispin2012-02-141-0/+3
| | | | | | | | | | | | | | Add a new wireless config parameter short_preamble=0|1 to enable usage of short preambles. Default is to only allow long preambles as before. Even if short_preamble is set to 1 hostapd will take care that short preambles are disabled as soon as a STA associates that cannot handle short preambles. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: clean up init, remove some redundant checks, fix tx power init ↵Felix Fietkau2011-12-231-77/+73
| | | | | | (#10113) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: fix powersave settingFelix Fietkau2011-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 #10113Felix Fietkau2011-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 powersaveFelix Fietkau2011-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 devicesHauke Mehrtens2011-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 schemaJo-Philipp Wich2011-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 settleFelix Fietkau2011-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; ↵Jo-Philipp Wich2011-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 ↵Jo-Philipp Wich2011-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 optionsJo-Philipp Wich2011-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 ↵Jo-Philipp Wich2011-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 dirHauke Mehrtens2011-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 bandwidthFelix Fietkau2011-07-081-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: configure HT IBSS through uciFelix Fietkau2011-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 ↵Felix Fietkau2011-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.27Hauke Mehrtens2011-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 autodetectionVasilis Tsiligiannis2011-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 ↵Felix Fietkau2011-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 ↵Felix Fietkau2011-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 callJo-Philipp Wich2011-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 ↵Vasilis Tsiligiannis2011-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)Jo-Philipp Wich2011-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.shJo-Philipp Wich2011-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:Jo-Philipp Wich2011-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.shFelix Fietkau2011-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 hostapdFelix Fietkau2011-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 unsetJo-Philipp Wich2011-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 ↵Jo-Philipp Wich2010-12-191-2/+2
| | | | | | line with broadcom git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24726 3c298f89-4303-0410-b956-a3cf2f4a3e73