summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/files/lib/wifi/mac80211.sh
Commit message (Collapse)AuthorAgeFilesLines
* treewide: fix shellscript syntax errors/typosLorenzo Santina2017-09-131-1/+1
| | | | | | | | | Fix multiple syntax errors in shelscripts (of packages only) These errors were causing many conditions to not working properly Signed-off-by: Lorenzo Santina <lorenzo.santina@edu.unito.it> [increase PKG_RELEASE, drop command substitution from directip.sh] Signed-off-by: Mathias Kresin <dev@kresin.em>
* base-files, mac80211, broadcom-wl: use uci to populate wireless configChristian Lamparter2016-11-031-22/+21
| | | | | | | | | | | | | | | | | | | | Previously, wifi detect simply dumped its generated wireless configuration to STDOUT. A second step was needed to append the configuration to /etc/config/wireless (or create it, if it didn't exist). With this patch, The wifi detection script will now use uci to update the wireless configuration directly. This patch also makes the initially created wifi-iface a named section ('default_radio$X' for mac80211 and 'default_wl$X' for broadcom). With this change, uci will not print the cfgHASH to STDOUT (which would now corrupt the wireless configuration). It will also prevent adding duplicated wifi interface configurations, if the wifi configuration is run concurrently. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* mac80211: change default SSID from Lede to LEDERafał Miłecki2016-05-291-1/+1
| | | | | | | | | | LEDE project seems to be using "LEDE" as its acronym everywhere. To keep things consistent adjust default wireless SSID. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io> Acked-by: John Crispin <john@phrozen.org> Acked-by: Alexander Couzens <lynxis@fe80.eu>
* branding: add LEDE brandingJohn Crispin2016-03-241-1/+1
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* mac80211: only strip the platform/ prefix from path for pci devicesFelix Fietkau2016-01-211-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48440
* mac80211: fix check for existing config section from r48426Felix Fietkau2016-01-211-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48439
* mac80211: strip platform/ prefix from device path to improve compatibility ↵Felix Fietkau2016-01-211-0/+1
| | | | | | | | between kernel versions Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48426
* mac80211: make the path phy lookup more robust regarding config upgrades, ↵Felix Fietkau2016-01-211-4/+3
| | | | | | | | allow partial path matching Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48425
* mac80211: fix 5ghz variable nameImre Kaloz2015-03-201-2/+2
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44907
* mac80211: when looking for VHT, check 5GHz support as wellImre Kaloz2015-03-201-1/+2
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44906
* mac80211: fix fallback to macaddrJohn Crispin2015-01-281-1/+5
| | | | | | | | | | | | | If '/sys/class/ieee80211/phyN' is not a symlink, the call to readlink produces either an empty path (if /sys/class/ieee80211/phyN/device doesn't exist) or a path that begins with '/sys/class/ieee80211' (which does not work with the subsequent line to strip '/sys/devices' from the beginning of the path). Modify the checks to detect these conditions, and fallback to using the macaddr. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 44172
* mac80211: remove error from detect scriptFelix Fietkau2014-10-091-4/+11
| | | | | | Signed-off-by: Michel Stam <m.stam@fugro.nl> SVN-Revision: 42861
* mac80211: support wildcard paths when matching physJo-Philipp Wich2014-07-291-3/+7
| | | | | | | | | | | | | This change introduces support for wildcard patterns in "option path" of section "wifi-device". Objective is to allow paths like "*/usb[0-9]/*/*" in order to claim any usb device using the same backend type, regardless of its bus address or phy name. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41873
* mac80211: reset ht_capab for each deviceFelix Fietkau2014-05-061-0/+1
| | | | | | | | | ... or else "option htmode" is added multiple times to the second and following device sections. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 40711
* mac80211: remove mode_11n variable for hwmode - the option only selects the ↵Felix Fietkau2014-05-031-2/+1
| | | | | | | | band now Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40693
* mac80211: clean up ht capability handling, drop the use of the ht_capab ↵Felix Fietkau2014-05-031-20/+1
| | | | | | | | list, use individual variables instead Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40682
* wifi: Introduce 802.11ac supportFelix Fietkau2014-02-031-1/+12
| | | | | | | | | | | | | | | | This patch introduces 802.11ac support to mac80211 and hostapd. The split of VHT160 in two 80 MHz bands is not yet supported, since it requires an additional user supplied parameter for the channel of the second band. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> Signed-off-by: Simon Wunderlich <simon@open-mesh.com> [sven@open-mesh.com: Rebased patch, merged htmode and vhtmode, removed special hwmode, replaced uci vht_capab list with overwritable autoconfig, fixed hostapd integration, fixed commit description, add HT40+/- for VHT modes, add VHT40 center_freq autoconfig, refactored major parts] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 39456
* netifd: add wireless configuration support and port mac80211 to the new ↵Felix Fietkau2013-12-021-532/+0
| | | | | | | | framework Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38988
* hostapd: add support for auto-channel selectionFelix Fietkau2013-11-251-6/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38915
* mac80211: Handle concurrent AP/STA beaconing properlyFelix Fietkau2013-08-061-1/+6
| | | | | | | | | Use the "start_disabled" option in hostapd that was added in the earlier patch. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> SVN-Revision: 37732
* authsae: adapt uci scripts to use authsaeFelix Fietkau2013-07-261-6/+18
| | | | | | | | | | | | This patch modifies the uci scripts to be able to start meshd-nl80211 for encrypted mesh networks, therefor a new script (authsae.sh) is inserted. Signed-off-by: Emanuel Taube <emanuel.taube@gmail.com> [etienne.champetier@free.fr: just update mac80211.sh path] Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 37554
* 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> SVN-Revision: 37269
* packages: clean up the package folderJohn Crispin2013-06-211-0/+641
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007