aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: fix A-MSDU tx aggregation (FS#174)Felix Fietkau2016-11-041-0/+34
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: minor cleanupFelix Fietkau2016-11-041-0/+29
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix a tx A-MPDU aggregation issueFelix Fietkau2016-11-041-0/+30
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: replace the previous fix with a revert of the faulty upstream commitFelix Fietkau2016-11-031-5/+6
| | | | | | This avoids potential breakage in rt2x00usb Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mwl8k: remove synchronous device init hackFelix Fietkau2016-11-031-20/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: remove ath10k delayed initialization hackMathias Kresin2016-11-031-33/+0
| | | | | | | | | LEDE no longer requires all PHYs to be initialized to create the configuration files during bootup. This patch removes the now obsolete ath10k patch. Signed-off-by: Mathias Kresin <dev@kresin.me> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* base-files, mac80211, broadcom-wl: wifi detection and configurationChristian Lamparter2016-11-032-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the wifi detection script is executed as part of the (early) boot process. Pluggable wifi USB devices, which are inserted at a later time are not automatically detected and therefore they don't show up in LuCI. A user has to deal with wifi detection manually, or restart the router. However, the current "sleep 1" window - which the boot process waits for wifi devices to "settle down" - is too short to detect wifi devices for some routers anyway. For example, this can happen with USB WLAN devices on the WNDR4700. This is because the usb controller needs to load its firmware from UBI and initialize, before it can operate. The issue can be seen on a BT HomeHub 5A as well as soon as the caldata are on an ubi volume. This is because the ath9k card has to be initialized by owl-loader first. Which has to wait for the firmware extraction script to retrieve the pci initialization values inside the caldata. This patch moves the wifi configuration to hotplug scripts. For mac80211, the wifi configuration will now automatically run any time a "ieee80211" device is added. Likewise broadcom-wl's script checks for new "net" devices which have the "wl$NUMBER" moniker. Issues with spawning multiple interface configuration - in case the detection script is run concurrently - have been resolved by using a named section for the initial configuration. Concurrent configuration scripts will now simply overwrite the same existing configuration. A workaround which preserves the "sleep 1" window for just the first boot has been added. This allows the existing brcm47xx boot and mvebu uci-default scripts to correctly setup the initial mac addresses and regulatory domain. And finally, the patch renames the "wifi detect" into "wifi config". As the script no longer produces any output that has to be redirected or appended to the configuration file. Thanks to Martin Blumenstingl for helping with the implementation and testing of the patch. Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Mathias Kresin <dev@kresin.me> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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: fix regdomain change issues with CONFIG_ATH_USER_REGDFelix Fietkau2016-11-032-21/+38
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix a minor issue in the header padding patchFelix Fietkau2016-11-031-0/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix AP powersave issues introduced in the last wireless-testing ↵Felix Fietkau2016-11-031-0/+27
| | | | | | update (FS#241) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: backport some upstream a-msdu tx fixesFelix Fietkau2016-10-172-0/+128
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix build error in ath10k with hwmon enabledFelix Fietkau2016-10-171-0/+37
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: update to wireless-testing 2016-10-08Felix Fietkau2016-10-13216-8597/+977
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: update rtl8xxxu patchesÁlvaro Fernández Rojas2016-10-0863-98/+616
| | | | | | | Adds the latest patches from Jes Sorensen for rtl8xxxu, which improve rtl8732bu, rtl8192eu and rtl8188eu support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ath9k: remove patch causing stability issues with powersave devices (FS#176)Felix Fietkau2016-09-306-45/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix rfkill dependencyJohn Crispin2016-09-291-1/+3
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* mac80211: use upstream patches for rtl8xxxuÁlvaro Fernández Rojas2016-09-29108-455/+488
| | | | | | Also improves rtl8188eu support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mac80211: backport brcmfmac changes from 2016-09-27Rafał Miłecki2016-09-273-1/+97
| | | | | | | | This fixes bug that could cause WARNING on every add_key/del_key call. It also replaces WARNING with a simple message. They may still occur e.g. on station going out of range and A-MPDU stall in the firmware. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: backport brcmfmac changes from 2016-09-26Rafał Miłecki2016-09-2726-2/+1316
| | | | | | | All these patches are in wireless-drirvers-next. There is support for hidden SSID, few new devices and many fixes. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: fix crash in mac80211_hwsimFelix Fietkau2016-09-261-0/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rtl8xxxu: add support for rtl8188euÁlvaro Fernández Rojas2016-09-15105-0/+6333
| | | | | | | Patches by Jes Sorensen: https://git.kernel.org/cgit/linux/kernel/git/jes/linux.git/ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mac80211: stop brcmfmac from selecting all SDIO firmwaresÁlvaro Fernández Rojas2016-09-151-2/+1
| | | | | | | | | Now that we have firmwares separated and brcm2708 being the only target that actually selects SDIO support, avoid selecting all firmwares by default. sunxi should select the proper firmwares once SDIO support is enabled and tested. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* linux-firmware: separate packages for Broadcom FullMAC SDIO firmwaresÁlvaro Fernández Rojas2016-09-151-1/+2
| | | | | | | | | | | | Using few packages will allow saving some space by decreasing rootfs size. Moreover there are more firmware files that may require packaging and even more to come later. This can especially useful now, with per device rootfs. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mac80211: stop brcmfmac from selecting all PCIe firmwaresRafał Miłecki2016-09-141-1/+0
| | | | | | | | | Now we have firmwares separated and bcm53xx selecting required ones make use of it to actually save that rootfs space. Other targets using brcmfmac (brcm2708 and sunxi) use SDIO interface and firmware so they don't won't be affected. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* linux-firmware: separate packages for Broadcom FullMAC PCIe firmwaresRafał Miłecki2016-09-131-1/+1
| | | | | | | | | | | | | Using few packages will allow saving some space by decreasing rootfs size. Dropping 43602a1 firmware saves 316 580 B. Dropping 4366b1 saves 468 188 B. Moreover there are more firmware files that may require packaging and even more to come later (e.g. 4366c0). This can especially useful now, with per device rootfs. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: fix tx issue with CCMP PN generated in hardwareFelix Fietkau2016-09-121-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: remove the fq-disable hack, now that reordering is fixedFelix Fietkau2016-09-081-15/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix packet loss on fq reorderingFelix Fietkau2016-09-083-110/+481
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: backport new register bitfield macrosFelix Fietkau2016-09-051-0/+145
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add a tx sequence number allocation fixFelix Fietkau2016-09-051-0/+107
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: fix regression in tx queueing patchFelix Fietkau2016-09-021-15/+22
| | | | | | | power save response frames can go through the old tx path, and the tid needs to be set for sequence numbers to be assigned correctly. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add fixes for dealing with unexpected BlockAck framesFelix Fietkau2016-09-022-0/+90
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: add a bunch of powersave handling fixesFelix Fietkau2016-09-025-0/+241
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add a powersave handling fixFelix Fietkau2016-09-021-0/+31
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: revert temperature compensation support patch (FS#111)Felix Fietkau2016-08-282-98/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: Set ATH9K_STATION_STATISTICS when enabling debuggingToke Høiland-Jørgensen2016-08-231-1/+1
| | | | | | | | | The ATH9K_STATION_STATISTICS kernel config variable enables some extra statistics that are useful for debugging (in particular with the airtime fairness patches enabled). This adds that kernel config when selecting ath9k debugging. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
* ath9k: switch to using mac80211 intermediate software queuesFelix Fietkau2016-08-174-6/+950
| | | | | | | Provides a nice latency reduction under load, due to mac80211's fq_codel support. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: Update the regdb to master-2016-06-10Petko Bordjukov2016-08-071-21/+66
| | | | | | | | | | | | | | | Changes include: * Higher maximum transmit power in the 5170-5250 band of the BG regdomain * Introduction of the CU regdomain * Introduction of the 5725-5875 band (short-range devices) in the DE regdomain * Introduction of 60 GHz channels 1-4 in the KR regdomain * Introduction of the 5725-5875 band (short-range devices) in the NL regdomain Signed-off-by: Petko Bordjukov <bordjukov@gmail.com>
* ath9k: improve powersave filter handlingFelix Fietkau2016-08-041-0/+70
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: improve performance in tx status handlingFelix Fietkau2016-08-041-0/+305
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix minor memleak on AP restart / warning on driver unloadFelix Fietkau2016-08-021-0/+54
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: fix sta initialization bug leading to stability issuesFelix Fietkau2016-08-021-0/+33
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: fix warning in client mode (GH#195)Felix Fietkau2016-07-261-0/+69
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: remove intermediate queueing patch until it is fixed properlyFelix Fietkau2016-07-241-871/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath10k: add NAPI supportFelix Fietkau2016-07-211-0/+642
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add a mesh related fixFelix Fietkau2016-07-211-0/+42
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: switch to using mac80211 intermediate software queuesFelix Fietkau2016-07-1911-18/+889
| | | | | | | Provides a nice latency reduction under load, due to mac80211's fq_codel support. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath10k: fix stack traces from a-msdu rx reporting issuesFelix Fietkau2016-07-171-0/+36
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: implement temperature compensation support for AR93xx and newerFelix Fietkau2016-07-155-1/+337
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>