aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
Commit message (Collapse)AuthorAgeFilesLines
* ath10k-ct: make it depend on PCI support againHauke Mehrtens2018-04-181-1/+1
| | | | | | | | | | | | The missing dependency causes build problems on systems without PCI support. The ath10k_pci kernel module depends on PCI support so this dependency should be added. ath10k now also supported the ahb interface on the IPQ4019 SoC, but this SoC also has PCI support so this extra dependency is not as problem. Fixes: d0f3dd5b9f34176 ("ath10k-ct: update to latest version, enable AHB.") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: ath10k: Suppress "Unknown eventid: 36925" warningsStefan Lippers-Hollmann2018-04-181-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | Merge upstream patch from Sathishkumar Muruganandam <murugana@codeaurora.org> for OpenWrt's backports package: https://lkml.kernel.org/r/<1522049641-19521-1-git-send-email-murugana@codeaurora.org> Commit-ID: 606204bb863fa3b0bb54929d79b4dc46338f9180 * FW has Smart Logging feature enabled by default for detecting failures * and processing FATAL_CONDITION_EVENTID (36925 - 0x903D) back to host. * * Since ath10k doesn't implement the Smart Logging and FATAL CONDITION * EVENT processing yet, suppressing the unknown event ID warning by moving * this under ATH10K_DBG_WMI. * * Simulated the same issue by having associated STA powered off when * ping flood was running from AP backbone. This triggerd STA KICKOUT * in AP followed by FATAL CONDITION event 36925. * * Issue was reproduced and verified in below DUT * ------------------------------------------------ * AP mode of OpenWRT QCA9984 running 6.0.8 with FW ver 10.4-3.5.3-00053 * * Signed-off-by: Sathishkumar Muruganandam <murugana@codeaurora.org> Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
* mac80211: Fix loading of rsi_sdio moduleHauke Mehrtens2018-04-181-0/+96
| | | | | | | | When CONFIG_PM was not set rsi_sdio_reinit_device() was not compiled into the driver but referenced. This is a backport form the mainline Linux kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: add RedPine RS9113 module supportEvgeniy Didin2018-04-182-0/+125
| | | | | | | | | | | RedPine RS9113 wireless module requires rsi91x driver to be built and linux-firmware/rsi/rs9113_wlan_qspi.rps to be installed. Also we add patch for successful compilation of rsi91x driver. Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: Hauke Mehrtens <hauke@hauke-m.de> Cc: John Crispin <john@phrozen.org>
* Revert "mac80211: pass hostapd control socket to mesh-mode supplicant"Daniel Golle2018-04-181-1/+1
| | | | | | | | This reverts commit 1356a66f94f31e636fafec514a1c658356ef51b3. The change breaks wpa_supplicant.conf generation, more work is needed to fix mesh+AP. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mt76: update to the latest versionFelix Fietkau2018-04-181-3/+3
| | | | | | | | ec8435e mt76: initialize rx lock earlier e08d5da mt76x2: fix is_mt7612 routine e2eedc9 mt7603: retry PSE reset calls Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-04-171-3/+3
| | | | | | | | | ea6dd6f mt7603: add missing spin lock init 2d08440 mt76: add rcu locking around tx scheduling 8c92c91 mt7603: turn vif wcid entry back into a full mt7603_sta ca5cc9a mt76: fix concurrent rx calls on A-MPDU release Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-04-151-3/+3
| | | | | | | | | | | | | | | 1d23142 mt76: add led active low to debugfs 549f43b mt7603: ensure that the ACK flag is set for A-MPDUs with any acked subframe df9f9f6 mt7603: always try tx rate1 first 9c52f36 mt7603: pull the final rate index from the status descriptor f36f308 mt7603: improve validation of rx frames 9a23989 mt7603: remove warning on rx with invalid channel info 7a31731 mt76: check for pending reset before attempting to schedule tx 873a7c9 mt7603: call mt76_txq_schedule_all as a barrier to prevent tx during reset d9e5da3 mt76: add rcu locking in tid reorder function a8e8921 mt7603: add more checks to avoid dereferencing invalid pointers in wcid lookup Signed-off-by: Felix Fietkau <nbd@nbd.name>
* base-files: move netfilter sysctl defaults to specific kmod packagesMatthias Schiffer2018-04-133-0/+26
| | | | | | | Avoid warnings when applying settings for uninstalled kmods. See also FS#1073. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* mac80211: pass hostapd control socket to mesh-mode supplicantDaniel Golle2018-04-131-1/+1
| | | | | | | | | | | Unlike when operating in Ad-Hoc mode, we apparently need to pass the hostapd control socket interface to wpa_supplicant when using 802.11s mesh mode. There also seems to still be something wrong with the logic setting channel and (v)htmode parameters... Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* iptables: split physdev match out as a separate packageMatthias Schiffer2018-04-091-2/+16
| | | | | | | Split physdev match out of ipt-extra to allow installing ipt-extra without pulling in br-netfilter. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* kernel: kmod-ebtables: do not depend on kmod-br-netfilterMatthias Schiffer2018-04-091-1/+1
| | | | | | | While ebtables can be combined with br-netfilter, there is no good reason to make it a dependency. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* kernel: unhide kmod-br-netfilterMatthias Schiffer2018-04-091-1/+0
| | | | | | | kmod-br-netfilter is not only a support module, but can be useful on its own, using the net.bridge.bridge-nf-call-* sysctls. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* kernel: change dependency of kmod-ebtables-* on kmod-ebtables to selectingMatthias Schiffer2018-04-091-1/+1
| | | | | | | | Non-selecting dependencies easily lead to Kconfig failures due to recursive dependencies. We hit such an issue in Gluon; the easiest fix is to make the dependency selecting. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* mt76: update to the latest versionFelix Fietkau2018-04-091-3/+3
| | | | | | | | | | | | | | | | | | | c66094e mt76x2: fix possible NULL pointer dereferencing in mt76x2_tx() 249fa2d mt76x2: fix warning in ieee80211_get_key_rx_seq() 54d6710 mt76: use mt76_poll_msec routine in mt76pci_load_firmware() eb359f1 mt76x2: remove unnecessary len variable in mt76x2_eeprom_load() 7e6e00b mt76: initialize available_antennas_{tx,rx} info 6469dca mt76: add mt76_init_stream_cap routine ced433d mt76x2: add mac80211 {set,get}_antenna callbacks 238f3f1 mt76x2: remove warnings in mt76x2_mac_write_txwi() 880611b mt7603: main: fix warning in ieee80211_get_key_rx_seq() bc35af8 mt76x2: fix tssi initialization for 5GHz band 700ed20 mt76x2: make mt76x2_mac_reset routine static 6e7d5ce mt76x2: remove unnecessary MT_TX_ALC_CFG_4 configuration 5153ece mt76x2: set default values in TX_ALC_CFG_{1,2} for tempetaure compensation a3e7740 mt76x2: fix tx_alc_enabled check Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add hardware offload patch for flow tables supportFelix Fietkau2018-04-051-2/+3
| | | | | | Supports offloading through VLAN, bridge and PPPoE devices as well Signed-off-by: Felix Fietkau <nbd@nbd.name>
* leds-apu2: add newer board namesSebastian Fleer2018-04-031-1/+4
| | | | | | In recent firmware releases the board names changed from "apuX" to "PC Engines apuX" Signed-off-by: Sebastian Fleer <pubalias@posteo.net>
* kernel: add kmod-sound-ens1371Felix Fietkau2018-03-251-0/+16
| | | | | | This audio chip is provided as a virtual audio device by VMware Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kmod-sched-cake: split stats structures, add overhead statsKevin Darbyshire-Bryant2018-03-231-3/+3
| | | | | | | | | | | | | | Relevant changes: 0afc1be Fixes for kernel 4.16 d2d6780 Reinitialise overhead compensation stats when reconfiguring. a3bab9d Export overhead compensation stats to userspace. 9cd2fa8 Split tin stats to its own structure to decrease size of tc_cake_xstats 71c7b44 Gather more statistics about packet length transformations. 0517357 Rework overhead compensation to use dynamic transport header offset instead of (inaccurate) static one. c1a0c8e Refactor length handling code to better centralise overhead calculations Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* ath10k-ct: fix module dependsHauke Mehrtens2018-03-231-5/+5
| | | | | | | | | | | | PKG_EXTMOD_SUBDIRS should be set to the sub directory where the kernel module gets build in, for the ath10k-ct driver this changed in commit 3888e77c1c68 from ath10k to ath10k-4.13. Without this fix the depends line of the ath10*.ko modules is empty and the kernel module load system will not automatically load the depended modules like mac80211. Fixes: 3888e77c1c68 ("ath10k-ct driver: use dma_alloc_coherent, 4.13 based driver") Fixes: 23a388fe41ec ("ath10k-ct: Force loading mac80211 and ath modules.") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ath10k-ct: Update driver to latest.Ben Greear2018-03-231-3/+3
| | | | | | | | Among other things, this will check for an htt-mgt variant of ath10k-ct firmware before loading 'normal' firmware, and it disables verbose printing of firmware DBGLOG messages by default. Signed-off-by: Ben Greear <greearb@candelatech.com>
* ath10k-ct: Update DEPENDS and PROVIDESBen Greear2018-03-231-0/+1
| | | | | | | | | | Update DEPENDS and PROVIDES so that ath10k-ct firmware and drivers can be used to replace stock firmware and drivers. The -htt firmware variant, which requires ath10k-ct driver now selects ath10k-ct driver when the firmware is selected. Signed-off-by: Ben Greear <greearb@candelatech.com>
* ath10k-ct: Force loading mac80211 and ath modules.Ben Greear2018-03-221-1/+1
| | | | | | | They are not automatically loaded on IPQ4019 (at least) machines for some reason. Signed-off-by: Ben Greear <greearb@candelatech.com>
* ath10k-ct: update to latest version, enable AHB.Ben Greear2018-03-222-42/+8
| | | | | | | | | | | | | | | | The driver updates include: ath10k driver backport to fix WPA 'pn' related security bugs (4.13 based driver only currently), a fix for off-channel TX for CT wave-1 firmware, a likely fix for napi related crashes, and a backport of the firmware fetch patch. AHB is needed for the IPQ4019 platform radios. Signed-off-by: Ben Greear <greearb@candelatech.com> [use common subject format] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mac80211: backport brcmfmac fixes from 4.16Rafał Miłecki2018-03-218-3/+345
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: avoid changing skb truesize in A-MSDU aggregationFelix Fietkau2018-03-191-9/+1
| | | | | | Should fix recently reported data corruption issues Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ltq-vdsl-mei: Fix section mismatchHauke Mehrtens2018-03-181-0/+20
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ltq-deu: Fix section mismatchesHauke Mehrtens2018-03-188-42/+42
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mwlwifi: Updated to upstream stable releaseGabe Rodriguez2018-03-172-95/+3
| | | | | | | | | | | mwlwifi was updated to a new stable. Included in this stable release are the followin benefits: - Fixed compiling for kernel 4.14 - Fixed crash on 88W8864 binary Compiled and tested on: WRT3200ACM and WRT1900AC Signed-off-by: Gabe Rodriguez <lifehacksback@gmail.com>
* mac80211: ath10k: search all IEs for variant before falling backChristian Lamparter2018-03-142-0/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the patch that was posted to ath10k-devel ML: <https://patchwork.kernel.org/patch/10233491/> |From: Thomas Hebb <tommyhebb@gmail.com> |Subject: [PATCH] ath10k: search all IEs for variant before falling back |Date: Wed, 21 Feb 2018 11:43:39 -0500 |[...] |This patch fixes the issue by first searching the entire file for the ID |with variant, and searching for the fallback ID only if that search |fails. It also includes some code cleanup in the area, as |ath10k_core_fetch_board_data_api_n() no longer does its own string |mangling to remove the variant from an ID, instead leaving that job to a |new flag passed to ath10k_core_create_board_name(). | |I've tested this patch on a QCA4019 and verified that the driver behaves |correctly for 1) both fallback and variant BDFs present, 2) only fallback |BDF present, and 3) no matching BDFs present. | |Fixes: 1657b8f84ed9 ("ath10k: search SMBIOS for OEM board file extension") |Signed-off-by: Thomas Hebb <tommyhebb@gmail.com> Note: 937-ath10k-calibration-variant.patch has been reassigned a new 081 number, as it now ships with upstream.... But also because this patch requires the change in ath10k_core_create_board_name(). Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* ipq40xx/ipq806x: move qcom-dwc3 usb driver to genericMathias Kresin2018-03-141-0/+36
| | | | | | | If the a kernel package exists within multiple targets an error/warning is shown. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ipq40xx: add targetJohn Crispin2018-03-141-1/+1
| | | | | | Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Mathias Kresin <dev@kresin.me> Signed-off-by: John Crispin <john@phrozen.org>
* mac80211: minstrel: make short preamble CCK available when not used at ↵Felix Fietkau2018-03-101-4/+12
| | | | | | | | | connect time The BSS short preamble state can change without rate control update notification. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix a tx queue memory accounting errorFelix Fietkau2018-03-101-0/+66
| | | | | | Fixes rare hard to trigger tx hangs after some time Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: ltq-adsl: deactivate ASLR supportMathias Kresin2018-03-061-0/+1
| | | | | | | | The package still leaks some user space linker options into the kernel space. This breaks the build when ASLR is activated, deactivate it for now. Signed-off-by: Mathias Kresin <dev@kresin.me>
* mt76: update to the latest versionFelix Fietkau2018-03-041-3/+3
| | | | | | | cda627f mt76: add missing VHT maximum A-MPDU length capability ffa2069 mt76: fix potential sleep in atomic context Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove an old kernel compatibility line from module packagingFelix Fietkau2018-03-041-4/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: avoid sampling rates that are too slow, improves throughputFelix Fietkau2018-03-031-0/+40
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: Deactivate ASLR support for some applicationsHauke Mehrtens2018-03-035-1/+5
| | | | | | | | | The lantiq components still leak some user space linker options into the kernel space. This breaks with build when ASLR is activated, deactivate it for now on these packages. Fixes: FS#1391 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: ltq-vmmc: Do not leak user space CFLAGS into kernel spaceHauke Mehrtens2018-03-032-2/+20
| | | | | | | Do not leak the user space CFLAGS into the kernel space any more, this allows us to activate the MIPS16 build. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: ltq-tapi: Do not leak user space CFLAGS into kernel spaceHauke Mehrtens2018-03-032-2/+28
| | | | | | | Do not leak the user space CFLAGS into the kernel space any more, this allows us to activate the MIPS16 build. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: ltq-adsl: Do not leak user space CFLAGS into kernel spaceHauke Mehrtens2018-03-036-104/+96
| | | | | | | Do not leak the user space CFLAGS into the kernel space any more, this allows us to activate the MIPS16 build. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: ltq-vdsl: Do not leak user space CFLAGS into kernel spaceHauke Mehrtens2018-03-032-5/+34
| | | | | | | Do not leak the user space CFLAGS into the kernel space any more, this allows us to activate the MIPS16 build. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: ltq-vdsl-mei: Do not leak user space CFLAGS into kernel spaceHauke Mehrtens2018-03-032-3/+23
| | | | | | | | | Do not leak the user space CFLAGS into the kernel space any more, this allows us to activate the MIPS16 build. This decreases the size of the ipk file from 87589 bytes to 81267 bytes. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: ltq-ifxos: Do not force O3 build any moreHauke Mehrtens2018-03-033-6/+20
| | | | | | | Do not force to build with O3 optimization any more, but take what was selected by the OpenWrt build system. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: ltq-ifxos: activate build with mips16Hauke Mehrtens2018-03-031-1/+0
| | | | | | | | | | | | | | | | | The build process does not leak the user space cflags into the kernel build process any more, this allows to activate MIPS16 builds. This was fixed with some update of ifxos. This decreases size of the libifxos.a and the ltq-vdsl-app old: 78320 libifxos.a 44383 ltq-vdsl-app_4.17.18.6-2_mips_24kc.ipk new: 66852 libifxos.a 43506 ltq-vdsl-app_4.17.18.6-2_mips_24kc.ipk Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mwlwifi: Update to version 10.3.4.0-20180226Kabuli Chana2018-03-022-6/+58
| | | | | | move to latest version, address vfs_write issue Signed-off-by: Kabuli Chana <newtownBuild@gmail.com>
* mac80211: brcmfmac: better logging of firmware api errorsRafał Miłecki2018-03-012-0/+254
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: brcmfmac: backport remaining changes from 4.16Rafał Miłecki2018-03-015-0/+1297
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: brcmfmac: enlarge caps buffer & final sdio restructuringRafał Miłecki2018-03-019-0/+982
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>