aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: Fix unique device autodetectionVasilis Tsiligiannis2011-03-151-2/+2
| | | | SVN-Revision: 26165
* 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> SVN-Revision: 25837
* 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 SVN-Revision: 25192
* mac80211: fix order of iw parameters, fix broken antenna config callJo-Philipp Wich2011-01-271-2/+2
| | | | SVN-Revision: 25152
* mac80211: Fix antenna setting when only one of {rx,tx}antenna options is ↵Vasilis Tsiligiannis2011-01-271-4/+3
| | | | | | specified SVN-Revision: 25136
* mac80211: add missing done to mac80211.sh (#8735)Jo-Philipp Wich2011-01-261-0/+1
| | | | SVN-Revision: 25131
* mac80211: add mising esac to mac80211.shJo-Philipp Wich2011-01-261-0/+1
| | | | SVN-Revision: 25122
* mac80211: rework recent mac80211.sh additions: - split antenna options into ↵Jo-Philipp Wich2011-01-261-7/+32
| | | | | | 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) SVN-Revision: 25116
* 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> SVN-Revision: 25111
* 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> SVN-Revision: 25105
* mac80211: support per-vif wmm option, defaults to 1 if unsetJo-Philipp Wich2011-01-111-2/+4
| | | | SVN-Revision: 24966
* mac80211: rename max_clients option to maxassoc, this brings it in line with ↵Jo-Philipp Wich2010-12-191-2/+2
| | | | | | broadcom SVN-Revision: 24726
* hostapd: add support for specifying the maximum number of clientsFelix Fietkau2010-12-191-0/+2
| | | | | | Signed-off-by: Alexander Couzens <lynxis@c-base.org> SVN-Revision: 24725
* mac80211: use iw for txpower control (#8416)Jo-Philipp Wich2010-12-101-2/+1
| | | | SVN-Revision: 24441
* mac80211: set GF flag in hostapd config if supportedFelix Fietkau2010-10-271-0/+1
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 23673
* mac80211: add uci support for the ad-hoc multicast rate settingFelix Fietkau2010-10-251-1/+8
| | | | SVN-Revision: 23637
* hostapd/mac80211: implement support for AP+STAFelix Fietkau2010-10-231-1/+3
| | | | SVN-Revision: 23602
* wifi: change the default channel from 5 to 11, 5 was a really bad choiceFelix Fietkau2010-10-131-1/+1
| | | | SVN-Revision: 23423
* mac80211: fix handling of frag and rts options, thanks stintel!Jo-Philipp Wich2010-07-221-10/+4
| | | | SVN-Revision: 22355
* mac80211: fix interface teardown for kernels >= 2.6.33Felix Fietkau2010-07-061-1/+9
| | | | SVN-Revision: 22078
* mac80211: use the nl80211 driver for wpa_supplicantFelix Fietkau2010-05-021-1/+1
| | | | SVN-Revision: 21321
* mac80211: enable rx/tx stbc by default if supportedFelix Fietkau2010-05-021-0/+4
| | | | SVN-Revision: 21319
* mac80211: fix interface setup for wds client sometimes an interface does not ↵Felix Fietkau2010-03-091-2/+2
| | | | | | 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
* mac80211: add support for the noscan option for skipping the initial scan on ↵Felix Fietkau2010-03-091-0/+2
| | | | | | hostapd startup SVN-Revision: 20089
* mac80211: fix essid setting for ad-hoc (thx, stintel)Felix Fietkau2010-02-281-1/+1
| | | | SVN-Revision: 19916
* mac80211: fix client modeFelix Fietkau2010-02-281-12/+12
| | | | SVN-Revision: 19915
* mac80211: fix interface startup order for AP+STA (patch by yann lopez)Felix Fietkau2010-02-281-23/+30
| | | | SVN-Revision: 19912
* mac80211: always use wpa_supplicant for client connections (patch by Stijn ↵Felix Fietkau2010-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. SVN-Revision: 19718
* mac80211: use wpa_supplicant for unencrypted connections to improve client ↵Felix Fietkau2010-02-081-1/+15
| | | | | | mode reliability (patch by Stijn Tintel from #6653) SVN-Revision: 19550
* mac80211: fix setup with more than 2 ap mode interfacesFelix Fietkau2010-02-021-0/+1
| | | | SVN-Revision: 19494
* mac80211: restrict the killing of wpa_supplicant processes to the right ↵Felix Fietkau2010-01-251-2/+6
| | | | | | interface (#5991) SVN-Revision: 19334
* mac80211: improve wifi interface cleanupFelix Fietkau2010-01-231-1/+2
| | | | SVN-Revision: 19285
* mac80211: fix spurious error return codes in enable_mac80211()Jo-Philipp Wich2010-01-221-1/+1
| | | | SVN-Revision: 19265
* mac80211: fix hostapd wmm setting for multiple bss interfacesFelix Fietkau2010-01-221-1/+1
| | | | SVN-Revision: 19264
* mac80211: restructure /lib/wifi/mac80211.sh use the new multi-bss single ↵Felix Fietkau2010-01-201-31/+164
| | | | | | 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
* mac80211: fix mac address handling for multiple phy/vifFelix Fietkau2010-01-171-2/+4
| | | | SVN-Revision: 19177
* mac80211: fix ht capability detection (thx, stintel)Felix Fietkau2010-01-151-1/+1
| | | | SVN-Revision: 19144
* mac80211: implement the distance settingFelix Fietkau2010-01-151-0/+3
| | | | SVN-Revision: 19142
* base-files, mac80211 (#6491) - fix wep key handling in iw with mac80211 ↵Jo-Philipp Wich2010-01-131-14/+24
| | | | | | based drivers - sanitize keys where necessary - put a procedure prepare_key_wep() into /sbin/wifi for use by other driver backends SVN-Revision: 19118
* mac80211: fix handling of vif mac addresses in /lib/wifi/mac80211.sh (patch ↵Felix Fietkau2009-12-241-1/+1
| | | | | | from #6401) SVN-Revision: 18923
* mac80211: Don't echo missing physical device errors to wireless config fileVasilis Tsiligiannis2009-12-221-1/+1
| | | | SVN-Revision: 18896
* mac80211: fix RTS threshold not being set for mac80211 devicesFelix Fietkau2009-12-091-1/+1
| | | | | | | | A typo prevented it from working, tested with ar71xx and ath9k. Signed-off-by: Otto Solares <solca@guug.org> SVN-Revision: 18719
* mac80211: set the country code through iw reg, setting it only through ↵Felix Fietkau2009-12-051-0/+2
| | | | | | hostapd apparently does not work SVN-Revision: 18665
* mac80211: fix a shell syntax errorJo-Philipp Wich2009-12-051-1/+1
| | | | SVN-Revision: 18664
* mac80211: fix wpa handling in sta modeJo-Philipp Wich2009-12-051-5/+5
| | | | SVN-Revision: 18662
* mac80211: rename autogenerated wifi-device sections from wifi* to radio* to ↵Felix Fietkau2009-12-031-3/+3
| | | | | | prevent conflicts with madwifi interface naming SVN-Revision: 18627
* mac80211: fix up wds sta mode after r18591Felix Fietkau2009-11-291-1/+1
| | | | SVN-Revision: 18600
* mac80211: fix detection of multiple mac80211 devicesGabor Juhos2009-11-281-5/+6
| | | | SVN-Revision: 18583
* mac80211: remove trailing whitespaces in mac80211.shGabor Juhos2009-11-281-6/+6
| | | | SVN-Revision: 18582
* mac80211: fix default channel selection in mac80211.sh (thanks to blubberdiblub)Gabor Juhos2009-11-281-1/+1
| | | | SVN-Revision: 18577