aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
Commit message (Collapse)AuthorAgeFilesLines
...
* mac80211: rt2x00: add mtd-eeprom swab functionMathias Kresin2016-11-081-5/+9
| | | | | | | | Most of the lantiq devices with ralink wifi have the EEPROM stored in big endian byte order in flash, but the driver expects the EEPROM to be in little endian. Signed-off-by: Mathias Kresin <dev@kresin.me>
* mac80211: rt2x00: remove eeprom filename dependency from mtd-eepromMathias Kresin2016-11-081-12/+15
| | | | | | | | | | | | | | | | | | | The ralink,mtd-eeprom device tree property doesn't require the ralink,eeprom property to work. Rework the error handling and user notification as well. Do not log an error if the mtd-eeprom parameter isn't used. It could be intentional and should not scare the user. Check if the number of bytes read from the mtd devices matches the requested number of bytes. In case of an mtd read error, give a hint to the user which partition was tried to read from. In case everything is fine, notify the user as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* mac80211: rt2x00: improve eeprom_file property handlingMathias Kresin2016-11-082-17/+11
| | | | | | | | | | | | | | | | Call the rt2x00lib_get_eeprom_file_name only once and from the function where the EEPROM filename is required. Error only out if an EEPROM file is mandatory. Use the REQUIRE_EEPROM_FILE bit to determine if it is mandatory. Do not set the REQUIRE_EEPROM_FILE bit while requesting an EEPROM file. It should be (and is) set before requesting an EEPROM file. Do not redirect users to upstream while using a function of a custom patch. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: add kernel module package for the DS1374 RTCFlorian Larysch2016-11-081-0/+18
| | | | | | | Package the driver for the DS1374 chip present on the T4240RDB. Signed-off-by: Florian Larysch <fl@n621.de> Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix missing symbol]
* kernel: package module for the W83793 hwmon chipsFlorian Larysch2016-11-081-0/+15
| | | | | | Package the driver for the W83793 hwmon chip present on the T4240RDB. Signed-off-by: Florian Larysch <fl@n621.de>
* kernel: fix kmod-sound-core build errorMathias Kresin2016-11-051-1/+1
| | | | | | Fix build error introduced with 2ab6aac. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: add SND_PCM_TIMER to kmod-sound-coreDmitry Sutyagin2016-11-051-0/+1
| | | | | | | | | | | | | | | | | | | FS#256 Fix audio not working due to unset SND_PCM_TIMER. CONFIG_SND_PCM_TIMER is required for ALSA to work (at least for some audio devices), otherwise applications using sound may fail. Can be reproduced by installing "alsa-utils-tests" and running "speaker-test": ... ALSA lib pcm_direct.c:1159:(snd1_pcm_direct_initialize_poll_fd) unable to open timer 'hw:CLASS=3,SCLASS=0,CARD=0,DEV=0,SUBDEV=0' ALSA lib pcm_dmix.c:1106:(snd_pcm_dmix_open) unable to initialize poll_fd Playback open error: -19,No such device The kernel size does not increase, only the size of the kernel module increases. Signed-off-by: Dmitry Sutyagin <f3flight@gmail.com>
* Revert "mt76: update to the latest version, adds a tx queue configuration fix"Felix Fietkau2016-11-051-2/+2
| | | | | | | This reverts commit 32867540ea18db2c8b025723768093cd5c12f22b. A report indicates that this causes a tx/rx throughput regression Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "mwl8k: remove synchronous device init hack"Felix Fietkau2016-11-041-0/+20
| | | | | | | This reverts commit cb037d1842d93b37457c896a8949e135ed6e0065. See 6aa07b82027f for more information Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "mac80211: remove ath10k delayed initialization hack"Felix Fietkau2016-11-041-0/+33
| | | | | | | | | This reverts commit efd9dec3195c603289ebb552f8650da9dd869828. ath10k can take a long time to probe, long enough for netifd to fail to initialize already configured wireless devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest version, adds a tx queue configuration fixFelix Fietkau2016-11-041-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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-033-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-032-37/+36
| | | | | | | | | | | | | | | | | | | | 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>
* lantiq: added xrx200 as plattform for ltqvmmcStefan Koch2016-10-311-1/+1
| | | | Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* lantiq: added xrx200 as plattform for ltqtapiStefan Koch2016-10-311-1/+1
| | | | Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* lantiq: fix vmmc buildStefan Koch2016-10-312-5/+18
| | | | | | | | | | | | | (required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri <eddi@depieri.net> (cherry picked from commit 47b1ff965b0cb57013b40fbe2bcd7f3c6eb6b606) Modified after cherry-pick: FW_MD5SUM in Makefile Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* lantiq: ltq-vmmc add support for ar9-vr9Stefan Koch2016-10-311-0/+247
| | | | | | | | | (required not-distributable firmware blob - dump it by yourself from original firmware) Signed-off-by: Eddi De Pieri <eddi@depieri.net> (cherry picked from commit ea9e61b8eb61a2e362a50541f03466dc7d087947) Signed-off-by: Stefan Koch <stefan.koch10@gmail.com>
* linux/modules: drop ledtrig-netfilterJohn Crispin2016-10-271-21/+0
| | | | | | this is a duplicate of kmod-ipt-led Signed-off-by: John Crispin <john@phrozen.org>
* ath10k-ct: Add QCA9888/9886 support, fix compat issue.Ben Greear2016-10-271-2/+2
| | | | | | | This should fix problems with latest backports, and also adds driver support for QCA9888 chipset. Signed-off-by: Ben Greear <greearb@candelatech.com>
* mwlwifi: upgrade to 10.3.2.0-20161013Imre Kaloz2016-10-241-2/+3
| | | | | | Also install the 88W8964 firmware. Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
* kernel: drop usbdev LED triggerRafał Miłecki2016-10-191-16/+0
| | | | | | It was LEDE's trigger that was replaced by upstream usbport one. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ath10k-ct: Update to latest 4.7 CT ath10k driver.Ben Greear2016-10-191-2/+2
| | | | | | | | Adds Sebastian's 160Mhz support (un-tested), remove DMA32 change that broke some x86 systems, allow setting 10.1 CT firmware keepalive watchdog timeout, support QCA 9887 hardware, and some other tweaks. Signed-off-by: Ben Greear <greearb@candelatech.com>
* kernel: add package for usbport LED triggerRafał Miłecki2016-10-181-0/+19
| | | | | | | | | | This is upstream alternative for LEDE's ledtrig-usbdev. It's main advantages are: 1) Support for assigning more than 1 USB port to the LED 2) Setting proper state when activating with device already connected 3) FWIW it's an upstream driver Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* 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>
* ltq-adsl-mei: fix build errorMathias Kresin2016-10-151-13/+0
| | | | | | | | | The file to patch doesn't exists. Due to the fact that a src directory exists, the patch was never applied. With 28502a9 the behaviour was changed and revealed the issue. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel/wrt55agv2-spidevs: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-151-5/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* kernel/w1-gpio-custom: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-151-5/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* kernel/trelay: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-151-5/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* kernel/spi-gpio-custom: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-151-5/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* kernel/rtc-rv5c386a: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-151-5/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* kernel/rotary-gpio-custom: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-151-5/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* kernel/lantiq/ltq-*: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-155-25/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* kernel/i2c-gpio-custom: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-151-5/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* kernel/gpio-button-hotplug: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-151-5/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* kernel/button-hotplug: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-151-5/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* kernel/avila-wdt: drop Build/Prepare rule in favor of default oneAlexandru Ardelean2016-10-151-5/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* ltq-ptm: Support 1508-byte MTU for RFC4638David Woodhouse2016-10-152-2/+22
| | | | | | | | | | Tested with VDSL on TP-Link WD8970, I see full 1500-byte PPP data frames, which end up being 1526 byte Ethernet frames (including Ethernet+VLAN headers) on the wire. Fixes: FS#210 Signed-off-by: David Woodhouse <dwmw2@infradead.org>
* mac80211: update to wireless-testing 2016-10-08Felix Fietkau2016-10-13216-8597/+977
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: ext4: Add missing kmod-crypto-crc32c dependencydaniel2016-10-131-1/+2
| | | | | | | | | This fixes the following error when mounting a ext4 filesystem ---- [ 166.240000] EXT4-fs (sda1): Cannot load crc32c driver. ---- Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
* netfilter: remove nf_tproxy_core referencesMathias Kresin2016-10-111-2/+1
| | | | | | | | | | nf_tproxy_core was removed during 3.12 development with kernel commit fd158d79d33d3c8b693e3e2d8c0e3068d529c2dc. The code was moved to xt_TPROXY.c. Fixes FS#212 Signed-off-by: Mathias Kresin <dev@kresin.me>