aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: Fix build on mpc85xx targetHauke Mehrtens2020-05-212-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following compile error seen on the mpc85xx target: CC [M] /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.o In file included from /builder/shared-workdir/build/staging_dir/toolchain-powerpc_8540_gcc-8.4.0_musl/include/stddef.h:17, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/include/uapi/linux/wireless.h:77, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/include/linux/wireless.h:13, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.c:89: /builder/shared-workdir/build/staging_dir/toolchain-powerpc_8540_gcc-8.4.0_musl/include/bits/alltypes.h:106:15: error: conflicting types for 'ptrdiff_t' typedef _Addr ptrdiff_t; ^~~~~~~~~ In file included from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/types.h:4, from ./include/linux/list.h:5, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/list.h:3, from ./include/linux/module.h:9, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/module.h:3, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.c:79: ./include/linux/types.h:65:28: note: previous declaration of 'ptrdiff_t' was here typedef __kernel_ptrdiff_t ptrdiff_t; ^~~~~~~~~ scripts/Makefile.build:265: recipe for target '/linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.o' failed Fixes: 289c6324259e ("mac80211: Update to version 5.7-rc3-1") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: Update to version 5.7-rc3-1Hauke Mehrtens2020-05-2123-291/+140
| | | | | | | | | | | This updates the mac80211 backport. The removed patches are already integrated in the upstream version. The 131-Revert-mac80211-aes-cmac-switch-to-shash-CMAC-driver.patch patch was manually adapted to the changes in kernel 5.7. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: Update to version 5.6.8-1Hauke Mehrtens2020-05-2138-1419/+58
| | | | | | | | This updates the mac80211 backport. The removed patches are already integrated in the upstream version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: Update to version 5.5.19Hauke Mehrtens2020-05-2142-2895/+369
| | | | | | | | This updates the mac80211 backport. The removed patches are already integrated in the upstream version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: Update to version 5.4.36-1Hauke Mehrtens2020-05-2117-198/+50
| | | | | | | | | This updates the mac80211 backport to the latest minor version. The removed patch was a backport from the upstream kernel which is now integrated. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-ptp-qoriq: Package kernel object fileJeffery To2020-05-201-2/+2
| | | | | | | This updates the package to contain the kernel object (.ko) file instead of the plain object (.o) file. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* bcm63xx-cfe: fix build with CONFIG_AUTOREMOVEÁlvaro Fernández Rojas2020-05-201-6/+7
| | | | | | | | | | | When CONFIG_AUTOREMOVE is enabled, CFE binaries are removed before the image creation. Install CFE binaries to kernel directory and let autoremove clean the files in PKG_BUILD_DIR. Also drop unneeded tar cmd/options. Fixes: dcee4eaa4214 ("bcm63xx-cfe: add package with CFE RAM binaries") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm63xx: smp: add NAND supportÁlvaro Fernández Rojas2020-05-181-1/+1
| | | | | | NAND controller is present on BCM6328, BCM6362, BCM6368 and BCM63268. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm63xx-cfe: add package with CFE RAM binariesÁlvaro Fernández Rojas2020-05-181-0/+42
| | | | | | | CFE RAM is a second stage bootloader which is usually loaded by CFE ROM (first stage bootloader) from a JFFS2 partition stored on the NAND. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: drop outdated kernel version switches for local codeAdrian Schmutzler2020-05-1715-174/+0
| | | | | | | | This drops kernel version switches for versions not supported by OpenWrt master at the moment. This only adjusts local code, but doesn't touch patches to existing external packages. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* mac80211: replace backticks by $(...)Adrian Schmutzler2020-05-132-2/+2
| | | | | | This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ltq-vdsl-fw: replace backticks by $(...)Adrian Schmutzler2020-05-131-3/+3
| | | | | | This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* mac80211: distance config: allow "auto" as a valueAli MJ Al-Nasrawy2020-05-091-1/+2
| | | | | | | | | The user can now enable the ACK timeout estimation algorithm (dynack) for drivers that support it. It is also expected that the distance config accepts the same values as: $ iw phyX set distance XXX Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* mac80211: more wifi reconf related fixesJohn Crispin2020-05-041-18/+24
| | | | | | | | | | | * uci state was not getting reset properly during teardown * AP+STA co-exist state was not flushed properly upon channel switch * remove a debug logger call * properly teardown supplicant instances when they get disabled * add md5 config support for supplicant * don't call wpa_supplicant_prepare_interface twice Signed-off-by: John Crispin <john@phrozen.org>
* ath10k-ct: update to version 2020-04-29Petr Štetiar2020-04-301-3/+3
| | | | | | | | | | | | | | | | Pulls in workaround for TX rate code firmware bug which might as well help track it down via different printk()s and thus possibly provide more clue for proper fix. Firmware currently sends wrong (0xff) TX rate code which causes WARN_ONCE, so the workaround just changes this bogus value (0xff) into 0. For 5.4 it also pulls in tx-queue-wake throttling patch "ath10k: Restart xmit queues below low-water mark", which should improve performance with high number of concurrent TCP streams. Ref: https://github.com/greearb/ath10k-ct/pull/129 Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kernel: hwmon: add Analog Devices AD741x supportDavid Bauer2020-04-291-0/+14
| | | | Signed-off-by: David Bauer <mail@david-bauer.net>
* ath10k-ct: remove old patchesÁlvaro Fernández Rojas2020-04-2813-2300/+651
| | | | | | Only keep 5.4 patches. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mt76: update to the latest versionFelix Fietkau2020-04-272-33/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bef8f8a5966d mt76: mt7615: remove a stray if statement 89bd7199487f mt76: remove variable 'val' set but not used ee8ac234b84e mt76: mt7615: introduce mt7615_mcu_fill_msg 4999db4668f0 mt76: mt7615: introduce mt7615_mcu_wait_response 8ce6e40eba03 mt76: mt7615: cleanup fw queue just for mmio devices 9d1d2ee9add3 mt76: mt7615: introduce mt7615_init_device routine 7fbd2a57cea4 mt76: always init to 0 mcu messages 3b277cf18d95 mt76: mt7615: introduce mt7615_mcu_send_message routine 2a4132a55a4f mt76: mt7615: add mt7615_mcu_ops data structure 9ba71749a122 mt76: mt7615: move mt7615_mcu_set_bmc to mt7615_mcu_ops 2e991f3e8cdd mt76: mt7615: move mt7615_mcu_set_sta in mt7615_mcu_ops 56852057cb90 mt76: mt7615: rely on skb API for mt7615_mcu_set_eeprom 642ecd978887 mt76: mt7615: rework mt7615_mcu_set_bss_info using skb APIs 2b0810af4a52 mt76: mt7615: move more mcu commands in mt7615_mcu_ops data structure 7a6285e63d88 mt76: mt7615: introduce MCU_FW_PREFIX for fw mcu commands e536b42ebc7d mt76: mt7615: introduce mt7615_register_map fccbdb628ffd mt76: mt7615: add mt7663e support to mt7615_reg_map d42244e9255c mt76: mt7615: add mt7663e support to mt7615_{driver,firmware}_own aebbe088127f mt76: mt7615: add mt7663e support to mt7615_mcu_set_eeprom 28e22d07f892 mt76: mt7615: introduce mt7615_eeprom_parse_hw_band_cap routine 167428592647 mt76: mt7615: introduce mt7615_init_mac_chain routine 23ca7acfc856 mt76: mt7615: introduce uni cmd command types c4171728cf70 mt76: mt7615: introduce set_bmc and st_sta for uni commands 9e5c76d2310a mt76: mt7615: add more uni mcu commands 779b2cebc147 mt76: mt7615: introduce set_ba uni command 21ee7da00f0a mt76: mt7615: get rid of sta_rec_wtbl data structure 2097f74f664c mt76: mt7615: introduce mt7663e support 8e9cd01228d0 mt7615: sync Kconfig with upstream 3b4f93840950 mt76: add memory barrier to DMA queue kick 8d301ace8ed7 mt76: mt7615: fix mt7663e firmware struct endianness 9bc1850ce711 mt76: mt7615: fix endianness in unified command a1b9b7d94aa0 mt76: mt7615: add missing declaration in mt7615.h 6e4b2a709fe7 mt76: sync Makefile with upstream 258dfb6afb30 mt76: mt76x02u: Add support for newer versions of the XBox One wifi adapter 9c3d84b62cc0 mt76: mt76x2u: introduce Mercury UD13 support ea8ea71933ca mt76: mt76x0: pci: add mt7610 PCI ID 9d555f82d329 mt76: mt7615: modify mt7615_ampdu_stat_read for each phy 8bd26d6c3172 mt76: mt7615: enable aggr_stats for both phy 1315afa511e0 mt76: mt7615: cleanup mib related defines and structs 072b50c61e0e mt76: mt7615: add more useful Tx mib counters b23ff3e9343a mt76: mt7663: fix mt7615_mac_cca_stats_reset routine 294abe47c9b2 mt76: mt7663: enable nf estimation d2d7bf2243f6 mt76: mt7615: make scs configurable per phy 908a2cfab88f mt76: mt7663: disable RDD commands eaef0a268b95 mt76: mt7615: add ethool support to mt7663 driver 96e07ef1113d mt76: mt7615: introduce mt7615_mcu_set_channel_domain mcu command 67182f36e3be mt76: mt7663: keep Rx filters as the default e6a3f3ffe53a mt76: mt7615: introduce hw scan support 12ecd5ba2146 mt76: mt7615: introduce scheduled scan support f6ab0bee3172 mt76: mt7615: introduce BSS absence event f208a9430044 mt76: mt7615: introduce rlm tlv in bss_info mcu command ea4f4d216dbe mt76: mt7615: remove unnecessary register operations 72c9380e70f9 mt76: add headroom and tailroom to mt76_mcu_ops data structure 63e14669e09d mt76: mt7615: introduce mt7663u support to mt7615_write_txwi 29d359ac7626 mt76: mt7615: introduce mt7615_mac_update_rate_desc routine 1f1dd2cb5b49 mt76: mt7615: introduce __mt7663_load_firmware routine cb6dcfd3cf13 mt76: mt7615: move mt7615_mac_wtbl_addr in mac.h d28e8e7ef912 mt76: mt76u: rely on mt7622 queue scheme for mt7663u f78cf8957aba mt76: mt7615: rework wtbl key configuration 2829497aaaf5 mt76: mt7615: introduce mt7615_wtbl_desc data structure 02c9ec4a15e7 mt76: mt7615: add address parameter to mt7615_eeprom_init e9c640c0a79e mt76: mt7663: correct the name of the rom patch 1e8b2fe5ab03 mt76: mt7615: do not always reset the dfs state setting the channel ec0ea46dacf9 mt76: mt7615: Delete an error message in mt7622_wmac_probe() d16a4698f1ac mt76: mt7615: disable merge of OTP ROM data by default 2b58998bb594 mt76: mt7615: add support for applying DC offset calibration from EEPROM 55198aafb756 mt76: mt7615: add support for applying tx DPD calibration from EEPROM 5a1eaa38d380 mt76: mt7603: disable merge of OTP ROM data by default bf60f43b12fb mt76: mt76x2: disable merge of OTP ROM data by default 9406eb1d110f mt76: mt7615: fix endian issues in applying flash calibration data 66d00b8c9dac mt76: mt7615: fix possible division by 0 in mt7615_mac_update_mib_stats 25d812dddcf8 mt76: mt7663: fix aggr range entry in debugfs 08b8bd2bc915 mt76: mt7615: disable hw/sched scan ops for non-offload firmware 8fb1cd20a776 mt76: mt7615: set hw scan limits only for firmware with offload support 05b23d7478fe mt76: mt7615: rework IRQ handling to prepare for MSI support b92c0d576769 mt76: mt7622: fix DMA unmap length 03daa60ca69c mt76: mt7663: fix DMA unmap length 5f2f676b1f01 mt76: mt7615: enable MSI by default 5822911f8026 mt76: remove unnecessary annotations a7035bce8517 mt76: mt7615: fix possible deadlock in mt7615_stop d4e6e225bc06 mt76: mt7615: move core shared code in mt7615-common module 94827d2033c7 mt76: mt7615: introduce mt7663u support 36591dd35f91 mt76: mt7615: enable scs for mt7663 driver bd80144cb5be mt76: mt7615: disable aspm by default 9dcb60b78ede mt76: mt7615: provide aid info to the mcu 6e443e89cce2 mt76: remove PS_NULLFUNC_STACK capability ea133325faa6 mt76: mt7663: introduce 802.11 PS support in sta mode ff3869b38cf2 mt76: mt7615: make Kconfig entry obvious for MT7663E 01fd34f3a6c5 mt76: mt7615: fix sta ampdu factor for VHT e5adbb2077e2 mt76: fix A-MPDU density handling d73e3a23a54e mt76: mt7615: use larger rx buffers if VHT is supported 257319e9b07d mt76: mt7615: never use an 802.11b CF-End rate on 5GHz 29a92c5606d6 mt76: mt7603: never use an 802.11b CF-End rate on 5GHz c0b19ac97c07 mt76: mt7615: adjust timing in mt7615_mac_set_timing to match fw/hw values 1656882f2723 mt76: mt7615: do not adjust MAC timings if the device is not running 4e7ce907faf3 mt76: mt7615: fix tx status rate index calculation 8304b3866100 mt76: mt7603: fix tx status rate index calculation 722d1f47d8ba mt76: add rx queues info to mt76 debugfs da329ef776b0 mt76: mt7615: parse mcu return code for unified commands facf74fd506f mt76: mt7615: fix mt7615_firmware_own for mt7663e e910787a9888 mt76: mt7615: fix max wtbl size for 7663 c9821f7d6a8c mt76: mt7615: fix mt7615_driver_own routine e35cc532c3d2 mt76: mt7615: fix aid configuration in mt7615_mcu_wtbl_generic_tlv b6cb91a71fe1 mt76: mt7615: rework mt7615_mac_sta_poll for usb code b193dd8100f8 mt76: mt7663u: enable AirTimeFairness 31cffa98920f mt76: mt7615: move mcu bss upload before creating the sta cde3716aa47e mt76: enable TDLS support 1846da5dd417 mt76: mt7615: set spatial extension index 6aaf0299730f mt76: mt7615: fix endian issues in dcoc/txdpd calibration 5de75b745cf9 mt76: mt7663: fix up BMC entry indicated to unicmd firmware a5f394c5ca48 mt76: mt7615: add sta pointer to mt7615_mcu_add_bss_info signature 1f2f3dda76b9 mt76: mt7615: fix event report in mt7615_mcu_bss_event c2a3cced36de mt76: mt76x0: enable MCS 8 and MCS9 1afabe78cfc5 mt76: mt7663: add the possibility to load firmware v2 5f3ccc722627 mt76: mt7663: remove check in mt7663_load_n9 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: support intel X7xx 10/40GbE adaptersXiaobo Tian2020-04-261-0/+42
| | | | | | Signed-off-by: Xiaobo Tian <peterwillcn@gmail.com> [Add i40evf/i40evf.ko and setect CONFIG_IAVF] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: ath10k: increase rx buffer size to 2048Linus Lüssing2020-04-262-1/+38
| | | | | | | | | | | | | | | | | | | | | | | Before, only frames with a maximum size of 1528 bytes could be transmitted between two 802.11s nodes. For batman-adv for instance, which adds its own header to each frame, we typically need an MTU of at least 1532 bytes to be able to transmit without fragmentation. This patch now increases the maxmimum frame size from 1528 to 1656 bytes. Tested with two ath10k devices in 802.11s mode, as well as with batman-adv on top of 802.11s with forwarding disabled. Fix originally found and developed by Ben Greear. Link: https://github.com/greearb/ath10k-ct/issues/89 Link: https://github.com/greearb/ath10k-ct/commit/9e5ab25027e0971fa24ccf93373324c08c4e992d Cc: Ben Greear <greearb@candelatech.com> Signed-off-by: Linus Lüssing <ll@simonwunderlich.de> Signed-off-by: Sven Eckelmann <sven@narfation.org>
* kernel: netdev: fix kmod-sfp symbolsDavid Bauer2020-04-261-2/+2
| | | | | | Fixes: ec2f7a47d379 ("kernel: add module to support SFP cages") Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: netdev: fix kmod-sfp description capitalizationDavid Bauer2020-04-261-1/+1
| | | | Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: netdev: add phylink dependency for sfpDavid Bauer2020-04-261-1/+1
| | | | | | Fixes: ec2f7a47d379 ("kernel: add module to support SFP cages") Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: netdev: add kmod-phylinkDavid Bauer2020-04-261-0/+16
| | | | Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: add module to support SFP cagesRené van Dorst2020-04-251-0/+20
| | | | | | Enables kernel SFP case support. Signed-off-by: René van Dorst <opensource@vdorst.com>
* ltq-adsl(-fw): Makefile clean-up and fixesAdrian Schmutzler2020-04-243-10/+10
| | | | | | | | | | | | | | | This fixes a few minor issues (partially cosmetic) in ltq-adsl and ltq-adsl-fw Makefiles: - fix PKG_SOURCE_URL and switch to https - remove non-existant FW_NAME variable - fix package name for config inclusion - fix config symbol for debugging Fixes: 1d0a9d0c0470 ("move ltq-adsl") Cc: John Crispin <john@phrozen.org> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: replace "+@" IPV6 dependency by "+"Adrian Schmutzler2020-04-241-1/+1
| | | | | | | | | | The combination +@IPV6:kmod-ipsec6 is not valid, the +a:b syntax implies the @. Fix it. Fixes: 2e6b6f9fcaae ("kernel: add @IPv6 dependency to ipv6 modules") Reported-by: Oldřich Jedlička (@oldium) Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* mac80211: make sure existing iface belongs to correct (fullmac) phyDaniel Golle2020-04-172-9/+19
| | | | | | | | | | | | | | Some FullMAC cfg80211 wireless devices do not support virtual interfaces, hence there is script logic to keep the existing network device. Improve this to support renaming the interface if needed and make sure the existing interface actually belongs to the right phy. Change calls to 'iw' to avoid outputing warnings and errors to not confuse users of such devices. Also bump PKG_RELEASE which has been forgotten in the previous two mac80211 changes. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mac80211: drop data frames without key on encrypted linksDavid Bauer2020-04-171-0/+148
| | | | | | | | | | | | | | | | | | | | | | | | | If we know that we have an encrypted link (based on having had a key configured for TX in the past) then drop all data frames in the key selection handler if there's no key anymore. This fixes an issue with mac80211 internal TXQs - there we can buffer frames for an encrypted link, but then if the key is no longer there when they're dequeued, the frames are sent without encryption. This happens if a station is disconnected while the frames are still on the TXQ. Detecting that a link should be encrypted based on a first key having been configured for TX is fine as there are no use cases for a connection going from with encryption to no encryption. With extended key IDs, however, there is a case of having a key configured for only decryption, so we can't just trigger this behaviour on a key being configured. Cc: stable@vger.kernel.org Reported-by: Jouni Malinen <j@w1.fi> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: David Bauer <mail@david-bauer.net>
* mac80211: fix detecting existing interfaceDaniel Golle2020-04-171-1/+1
| | | | | | | | | Instead of using the actual interface name, a hard-coded 'wlan0' has slipped into the script. Replace it. Fixes: ccf2aa9d4b ("mac80211: detect existing interface before adding") Reported-by: John Crispin <john@phrozen.org> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Revert "kmod-sched: add act_police"Kevin Darbyshire-Bryant2020-04-141-10/+0
| | | | | | | | | | | This reverts commit 1b973b54ea4d5d20dec5e71c48bff6a3e0bcb4ac. It turns out act_police is included in the kmod-sched package so this package turns out to be superfluous and causes file provision conflicts. Ooooops! Best revert it then. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* mac80211: adapt for single-instance wpadDaniel Golle2020-04-142-8/+8
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mwlwifi: Update the 88W8964's firmware to 9.3.2.12 and fix backports version ↵Jose Olivera2020-04-133-23/+39
| | | | | | | | | | | | | | | | | | | | | | | | detection Updates the 88W8964 firmware used in the Linksys WRT3200ACM and WRT32X [v9.3.2.6 -> v9.3.2.12] Removes 0c43219 ("mwlwifi: Fix loading with backports v5.3") as it has been merged upstream. Unfortunately, there is a bug wherein Kaloz's repo, the version detection mechanism for fixing vendor commands doesn't work. It pulls in the Linux kernel version, which as of this time is "4.14.y" or "4.19.y" However, the proper behaviour is that it should pull in the mac80211 backports version which as of now is "5.4.27" The included patch works around this using a backports define found only on versions >5.3, "VENDOR_CMD_RAW_DATA". Signed-off-by: Jose Olivera <oliverajeo@gmail.com>
* kernel: hwmon: add dme1737 driverLucian Cristian2020-04-131-0/+16
| | | | | | SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* broadcom-wl: fix compilation with kernel 5.4Adrian Schmutzler2020-04-121-0/+18
| | | | | | | | | | | | | | This adds two fixes for compilation with kernel 5.4: 1. dev_open from include/linux/netdevice.h needs a second parameter since kernel 5.0: 00f54e68924e ("net: core: dev: Add extack argument to dev_open()") 2. get_ds() macro definition has been dropped since kernel 5.1: 736706bee329 ("get rid of legacy 'get_ds()' function") Since get_ds() has been just a macro before, replace it in the driver instead of creating a version switch. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* broadcom-wl: fix compilation with kernel >= 4.15Adrian Schmutzler2020-04-121-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since kernel 4.15, init_timer is not available anymore, and has been replaced by timer_setup. The fixes compilation of wl_linuc.c, which returned the following errors beforehand (line-wrapped manually): .../broadcom-wl-5.10.56.27.3/driver/wl_linux.c: In function 'wl_init_timer': .../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2576:2: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration] init_timer(&t->timer); ^~~~~~~~~~ init_timers .../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2577:10: error: 'struct timer_list' has no member named 'data' t->timer.data = (ulong) t; ^ .../broadcom-wl-5.10.56.27.3/driver/wl_linux.c:2578:20: error: assignment to 'void (*)(struct timer_list *)' from incompatible pointer type 'void (*)(ulong)' {aka 'void (*)(long unsigned int)'} [-Werror=incompatible-pointer-types] t->timer.function = wl_timer; This should fix build of several devices on bcm63xx with testing kernel (4.19). Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kmod-sched: add act_policeKevin Darbyshire-Bryant2020-04-101-0/+10
| | | | | | | | | | | | | | | | | | "Whoop whoop, sound of da police" Add an ingress capable traffic policer module configurable with tc. From the man page: The police action allows to limit bandwidth of traffic matched by the filter it is attached to. Basically there are two different algorithms available to measure the packet rate: The first one uses an internal dual token bucket and is configured using the rate, burst, mtu, peakrate, overhead and linklayer parameters. The second one uses an in-kernel sampling mechanism. It can be fine-tuned using the estimator filter parameter. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* kernel: add @IPV6 dependency to ipv6 modulesEneas U de Queiroz2020-04-092-8/+11
| | | | | | | | | | | | | | IPv6 modules should all depend on @IPV6, to avoid circular dependencies problems, especially if they select a module that depends on IPV6 as well. In theory, if a package A depends on IPV6, any package doing 'select A' (DEPENDS+= A) should also depend on IPV6; otherwise selecting A will fail. Sometimes the build system is forgiving this, but eventually, and unexpectedly, it may blow up on some other commit. Alternatively one can conditionally add IPv6 dependencies only if CONFIG_IPV6 is selected: (DEPENDS+= +IPV6:package6). Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* packages: mt76: add 14c3:7610 pci id to listPawel Dembicki2020-04-082-1/+31
| | | | | | | | | | This commit add patch with 14c3:7610 pci id addition. It was sent upstream. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> [bumped PKG_RELEASE] Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kmod: add netlink-diag packageRosen Penev2020-04-071-0/+15
| | | | | | This is used by the ss utility from iproute2. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* kernel: netdev: add missing config for mlx5 driverTan Zien2020-04-061-3/+12
| | | | | | | | | | | The mlk5 kmod lacks all necessary build symbols for kernel 4.14 (again). Add missing symbols to avoid build failure on these targets. Signed-off-by: Tan Zien <nabsdh9@gmail.com> [rewrite commit message - reorder symbols] Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: Fix miss config and module for mlx driverTan Zien2020-04-041-3/+10
| | | | | | | | | Missing config symbols could lead to build failures on kernel 4.14/4.19. Signed-off-by: Tan Zien <nabsdh9@gmail.com> [rephrase commit message - reorder symbols] Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: add module for Mellanox mlx Network DriverTan Zien2020-04-031-0/+35
| | | | | | | | add module to support Mellanox Connect-X card mlx4 supports ConnectX-3 series and previous cards mlx5 supports Connect-IB/ConnectX-4 series and later cards Signed-off-by: Tan Zien <nabsdh9@gmail.com>
* kmod-sched-cake: switch to in-tree cake for 4.19+Kevin Darbyshire-Bryant2020-04-012-3/+17
| | | | | | | | | | | | | | Use in tree version of cake for kernels 4.19+ and backport features from later kernel versions to 4.19. Unfortunately PROVIDES dependency handling produces bogus circular dependency warnings so whilst this package and kmod-sched-cake-oot should be able to PROVIDE kmod-sched-cake this doesn't work. Instead, remove the PROVIDES option and modify package sqm-scripts to depend on the correct module independently. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* kmod-sched-cake: rename to kmod-sched-cake-ootKevin Darbyshire-Bryant2020-04-011-6/+7
| | | | | | | | | | | | | In preparation for dropping the out of tree cake module and using in tree cake from upstream, rename the package to kmod-sched-cake-oot (out of tree) Initially add a PROVIDES kmod-sched-cake so that package dependencies can be satisfied. Ultimately this package will be removed when linux 4.14 is removed. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* mac80211: rt2x00: prune more unnecessary exportsDaniel Golle2020-04-015-137/+27
| | | | | | | | | | | | The calibration patches for MT7620 unnecessarily export symbols and populate never accessed function pointers. Remove all that and make functions static as the only place where each of those functions is called is within rt2800lib.c. Also make code more readable by fixing indentation, removing unnecessary parantheses and simplifying some instructions using shorthands here and there. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* bcm27xx-gpu-fw: update to latest version from RPi foundationÁlvaro Fernández Rojas2020-03-311-22/+15
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ath10k-ct: Support AQL on ath10k CT_KVER-5.4Jose Olivera2020-03-301-0/+10
| | | | | | | | | | | | | | | | | Commit ea50780 backported Airtime Queue Limits (AQL) from Linux 5.5 to OpenWrt's backports 5.4. However, this only enabled AQL for the vanilla ath10k driver. This patch also enables it for ath10k-ct. Tested on: * 2xTP-Link Archer A7v5 (QCA9563/QCA988X) * Backports version 5.4-rc8 & 5.4.27 * ath10k-ct and ath10k-ct-htt firmware version 014 to 017 * ath10k-ct driver versions dc025dc to 3d173a4 (CT_KVER-5.4) * WPA2, 802.11krv Tested since January 25, 2020. Signed-off-by: Jose Olivera <oliverajeo@gmail.com>
* mac80211: Update to version 5.4.27Hauke Mehrtens2020-03-2938-654/+57
| | | | | | The removed patches are all integrated in the upstream version now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: Fix rt2x00 exportsHauke Mehrtens2020-03-292-17/+6
| | | | | | | | | | | | | | | | | | | Do not export static functions, they are anyway not referenced by any code in a different module. This fixes the following compile warning: WARNING: "rt2800_rf_aux_tx0_loopback" [/drivers/net/wireless/ralink/rt2x00/rt2800lib] is a static EXPORT_SYMBOL_GPL WARNING: "rt2800_write_dc" [/drivers/net/wireless/ralink/rt2x00/rt2800lib] is a static EXPORT_SYMBOL_GPL WARNING: "rt2800_rf_configstore" [/drivers/net/wireless/ralink/rt2x00/rt2800lib] is a static EXPORT_SYMBOL_GPL WARNING: "rt2800_do_sqrt_accumulation" [/drivers/net/wireless/ralink/rt2x00/rt2800lib] is a static EXPORT_SYMBOL_GPL WARNING: "rt2800_rf_configrecover" [/drivers/net/wireless/ralink/rt2x00/rt2800lib] is a static EXPORT_SYMBOL_GPL WARNING: "rt2800_loft_search" [/drivers/net/wireless/ralink/rt2x00/rt2800lib] is a static EXPORT_SYMBOL_GPL WARNING: "rt2800_iq_search" [/drivers/net/wireless/ralink/rt2x00/rt2800lib] is a static EXPORT_SYMBOL_GPL WARNING: "rt2800_setbbptonegenerator" [/drivers/net/wireless/ralink/rt2x00/rt2800lib] is a static EXPORT_SYMBOL_GPL WARNING: "rt2800_rf_aux_tx1_loopback" [/drivers/net/wireless/ralink/rt2x00/rt2800lib] is a static EXPORT_SYMBOL_GPL Acked-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>