aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: fix use of local variableLeon M. George2020-06-301-1/+1
| | | | | | | | | | | mac80211_get_addr is called from mac80211_generate_mac, where the local variable initialisation id="${macidx:-0}" suggests that macidx is not always defined. Probably, idx was supposed to be used instead of $(($macidx + 1)). Fixes: 4d99db168cf7 ("mac80211: try to get interface addresses from wiphy sysfs 'addresses' if no mask is set") Signed-off-by: Leon M. George <leon@georgemail.eu> (cherry picked from commit 8f95220bcb554b1b668114e5264ebce4028c5f93)
* broadcom-wl: don't inherit lock descriptor in nas processJo-Philipp Wich2020-05-282-2/+5
| | | | | | | | | | | | Add a local hack to prevent the Broadcom WPA authenticator process from inheriting the lock descriptor 1000 used to prevent concurrent executions of the init script. Without this fix, repeated invocations of /etc/init.d/network, e.g. for obtaining the enabled state, would hang forever. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit a03d6d2fab13c478a0f6cfc3082bec141f2adcf1)
* mac80211: Update to version 4.19.120Hauke Mehrtens2020-05-0517-63/+63
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: ath10k: increase rx buffer size to 2048Linus Lüssing2020-05-051-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | 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> (cherry picked from commit 066ec97167e49b5c037b04dc4ec76c4cad5b75e2)
* mac80211: backport fix for an no-ack tx status issueFelix Fietkau2020-05-012-1/+83
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> Tested-by: Jérôme Benoit <jerome.benoit@piment-noir.org> [WRT1900AC v1] [added missing package version bump] Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit e0ab33ea496f371a0683b18d5555d651f8df1f5e)
* mac80211: Update to version 4.19.112Hauke Mehrtens2020-03-2933-365/+65
| | | | | | The removed patches are all integrated in the upstream version now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: fix brcmfmac monitor interface crashRafał Miłecki2020-03-272-1/+101
| | | | | | | | This fixes bug in brcmfmac *exposed* by ipv6/addrconf fix. Fixes: 6e4453aecc22 ("kernel: backport out-of-memory fix for non-Ethernet devices") Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 038318f766a7bd123c4fb413e9a2947445f441d4)
* mt76: update to the latest versionFelix Fietkau2020-03-111-3/+3
| | | | | | | | | | | | | | | | | | | | | 8682e0d0b49c mt76: speed up usb bulk copy 884c25e7caca mt76: usb: use max packet length for m76u_copy 1ad98b95cf4a mt76: mt76u: rely only on data buffer for usb control messagges 3d491603caff mt76: fix array overflow on receiving too many fragments for a packet 9792a62e7f30 mt76: set dma-done flag for flushed descriptors 53233cdf9486 mt76: fix handling full tx queues in mt76_dma_tx_queue_skb_raw a4ae9219e6c7 mt76: dma: do not write cpu_idx on rx queue reset until after refill 1198fa57d185 mt76: mt7603: increase dma mcu rx ring size 91cd5be6ee37 mt76: avoid extra RCU synchronization on station removal 7d7fb26bb78a mt76: mt76x2: avoid starting the MAC too early aac609809de1 mt76: fix LED link time failure 18627db2e633 mt76: mt76x0u: add support to TP-Link T2UHP 5ecfdb1a6e0a mt76: mt76x02: fix handling MCU timeouts during hw restart f7e9be89db59 mt76: mt7603: add upper limit for dynamic sensitivity minimum receive power 23b834485070 mt76: mt7603: enable dynamic sensitivity adjustment by default 08054d5ab135 mt76: mt76x02: reset MCU timeout counter earlier in watchdog reset Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: brcm: backport remaining 5.6 kernel patchesRafał Miłecki2020-02-0710-3/+651
| | | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit aca274091ad3b50b770c0dd44f3ceefe8095d528)
* mac80211: Update to version 4.19.98Hauke Mehrtens2020-01-2737-570/+74
| | | | | | The removed patches are all integrated in the upstream version now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: ltq-ptm: vr9: fix skb handling in ptm_hard_start_xmit()Martin Schiller2020-01-262-1/+4
| | | | | | | | | | | Call skb_orphan(skb) to call the owner's destructor function and make the skb unowned. This is necessary to prevent sk_wmem_alloc of a socket from overflowing, which leads to ENOBUFS errors on application level. Signed-off-by: Martin Schiller <ms@dev.tdt.de> (cherry picked from commit 996f02e5bafad2815e72821c19d41fb5297e4dad)
* cryptodev-linux: remove DEFAULT redefinitionEneas U de Queiroz2020-01-151-1/+0
| | | | | | | | | The 'DEFAULT:=m if ALL' line prevents the phase1 buildbots from building the package, and users from downloading it, since they use 'ALL_KMODS=y' but 'ALL' is not set. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> (cherry picked from commit 9b25f833eb840527d07c47930de2c769115844f3)
* mac80211: fix a page refcounting issue leading to leaks/crashes in rx A-MSDU ↵Felix Fietkau2020-01-151-0/+25
| | | | | | | decap Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit 9501469e1146c6d76b7dde6391479314897ba4d8)
* mac80211: fix sta TID stats leak on a few nl80211 callsFelix Fietkau2020-01-151-0/+21
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit d5b3024139089e38f57bd1827273d7fba8497635)
* mt76: update to the latest openwrt-19.07 versionDavid Bauer2020-01-041-3/+3
| | | | | | 8a78567 mt76: fix compilation warning in mt76_eeprom_override() Signed-off-by: David Bauer <mail@david-bauer.net>
* mt76: fix incorrect firmware pathDavid Bauer2020-01-041-2/+2
| | | | | | | | | | | | | The mt76 driver does load the firmware for the MT7615 chip from /lib/firmware/mediatek instead of /lib/firmware. The driver loads the firmware from this path since mt76 commit ea3ab68c7589 ("mt76: mt7615: fix mt7615 firmware path definitions"). Fixes: a2e2c40b5ebd ("mt76: update to the latest openwrt-19.07 version") Reported-by: Stijn Segers <foss@volatilesystems.org> Signed-off-by: David Bauer <mail@david-bauer.net> Tested-by: Stijn Segers <foss@volatilesystems.org>
* mt76: update to the latest openwrt-19.07 versionDavid Bauer2020-01-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 330e832 mt76: mt76x0: fix default mac address overwrite f97c33e mt76: mt7603: fix input validation issues for powersave-filtered frames 875f6d7 mt76: mt7615: increase MCU command timeout abd7d86 mt76: clear skb pointers from rx aggregation reorder buffer during cleanup 96c7b07 mt76: eeprom: add support for big endian eeprom partition 19c8e20 mt76: fix possible undetected invalid MAC address df64c56 mt76: Off by one in mt76_calc_rx_airtime() 1702b24 mt76: mt7603: reset STA_CCA counter setting the channel 383a631 mt76: mt76x0u: do not reset radio on resume 2dcfbdd mt76: disable bh in mt76_dma_rx_poll 947d20d mt76: fix rx dma ring descriptor state on reset f3348f5 mt7615: replace sta_state callback with sta_add/sta_remove faf5e6f mt76: mt7615: read {tx,rx} mask from eeprom db78ee0 mt76: move mt76_get_antenna in mt76_core module 7121e16 mt76: fix possible out-of-bound access in mt7615_fill_txs/mt7603_fill_txs 5dfb0ec mt76: mt7615: disable radar pattern detector during scanning e2f90ad mt76: move interface_modes definition in mt76_core module cfdb751 mt76: mt7615: add ibss support e0731a8 mt76: move SUPPORTS_REORDERING_BUFFER hw property in mt76_register_device a85c06c mt76: use mt76_dev in mt76_is_{mmio,usb} ea19cd7 mt76: Remove set but not used variable 'idx' 3cbaf81 mt76: mt76u: rely on a dedicated stats workqueue 20f0589 mt76: mt76u: rely on usb_interface instead of usb_dev f2be00b mt76: dma: fix buffer unmap with non-linear skbs c14d656 mt76: mt76x2e: disable pcie_aspm by default 58e1e96 mt76: mt7615: remove unneeded semicolon c93a2d1 mt76: mt76x02u: update ewma pkt len in mt76x02u_tx_prepare_skb 1987b74 mt76: mt76x0: remove 350ms delay in mt76x0_phy_calibrate 50b1e9b mt76: refactor cc_lock locking scheme d868638 mt76: remove obsolete .add_buf() from struct mt76_queue_ops dc14ac6 mt7615: remove vif sta from poll list on interface remove 2a0a191 mt7603: remove vif sta from poll list on interface remove d3a5895 mt76: fix a-mpdu boundary detection issue for airtime reporting 391e148 mt76: add sanity check for a-mpdu rx wcid index 01642d8 mt76: mt76x02: fix use-after-free in tx status code handling airtime c11a4ad mt76: mt76x0: eeprom: add support for MAC address from OF d94cc81 mt76: drop rcu read lock in mt76_rx_aggr_stop 7d8764d mt76: avoid enabling interrupt if NAPI poll is still pending 5b02a07 mt76: add missing locking around ampdu action 71c2ef0 mt76: fix aggregation stop issue 6f7d0f5 mt76: fix use-after-free bug in airtime fairness code 8f22de0 mt76: do not use devm API for led classdev e7199f9 mt76: enable airtime fairness 81f2be0 mt76: mt7615: track tx/rx airtime for airtime fairness 2579122 mt76: mt7615: introduce mt7615_mac_wtbl_update routine d91f7c1 mt76: mt7615: fix survey channel busy time 028071d mt76: mt7615: report tx_time, bss_rx and busy time to mac80211 0e5050e mt76: mt76x02: track approximate tx airtime for airtime fairness and survey 3429cc7 mt76: mt76x02: move MT_CH_TIME_CFG init to mt76x02_mac_cc_reset de118bb mt76: unify channel survey update code fdf0163 mt76: mt7603: switch to a different counter for survey busy time ee31030 mt76: mt7603: track tx airtime for airtime fairness and survey f34b1ae mt76: track rx airtime for airtime fairness and survey a1d6891 mt76: store current channel survey_state in struct mt76_dev b042987 mt76: rename mt76_driver_ops txwi_flags to drv_flags and include tx aligned4 2027763 mt76: report rx a-mpdu subframe status 1ddcadb mt76: mt7603: remove q_rx field from struct mt7603_dev ea3ab68 mt76: mt7615: fix mt7615 firmware path definitions 081926a mt76: mt7603: collect aggregation stats 696c0fc mt76: mt7615: collect aggregation stats 23e8aed mt76: move aggr_stats array in mt76_dev 1118b5e mt76: mt7615: add queue entry in debugfs fbc59e6 mt76: move queue debugfs entry to driver specific code 0b01ace mt76: mt76x02u: move mt76x02u_mac_start in mt76x02-usb module c394887 mt76: mt76x0u: reset counter starting the device 0355b7a mt76: mt76x2: move mt76x02_mac_reset_counters in mt76x02_mac_start f3792b5 mt76: mt76x02: move mac_reset_counter in mt76x02_lib module 63e8152 mt76: mt7615: enable SCS by default b140512 mt76: mt76x0e: make array mt76x0_chan_map static const, makes object smaller a20c20b mt76: usb: add lockdep_assert_held in __mt76u_vendor_request 0308d75 mt76: remove empty flag in mt76_txq_schedule_list 0efbc5d mt76: use cancel_delayed_work_sync in mt76_rx_aggr_shutdown 9c5df3c mt76: remove aggr_work field from struct mt76_wcid 8739f87 mt76: mt7615: fix control frame rx in monitor mode e07407a mt7603: fix build with CONFIG_KERNEL_DYNAMIC_DEBUG=y c7f8214 mt76: mt7615: add support to read temperature from mcu 6797378 mt76: mt7615: introduce mt7615_txwi_to_txp utility routine 496c78e mt76: mt76x0: remove unneeded return value on set channel 1d2acd5 mt76: mt76x0: remove redundant chandef copy 0167bfa mt76: make mt76_rx_convert static Signed-off-by: David Bauer <mail@david-bauer.net>
* rt2x00: add throughput LED triggerDavid Bauer2019-12-301-0/+44
| | | | | | | | | | This adds a (currently missing) throughput LED trigger for the rt2x00 driver. Previously, LED triggers had to be assigned to the netdev, which was limited to a single VAP. Signed-off-by: David Bauer <mail@david-bauer.net> Tested-by: Christoph Krapp <achterin@googlemail.com> (cherry picked from commit 985ec835aea100e9245baaef8ebb15628601fe5e)
* mac80211: fix build without CONFIG_PCIFelix Fietkau2019-12-291-1/+1
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit fa37dbbc43db23a0ce7256f47943f38a1dcc9027)
* mac80211: add patch to include local BSS rx time in survey informationFelix Fietkau2019-12-282-2/+79
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit 6a3739dc42c1d9626e5784d9316c56962bd8f016)
* mac80211: add pcie apsm backport changesFelix Fietkau2019-12-282-0/+67
| | | | | | | Required for newer versions of mt76 Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit d64daf7026ce47788f12130462a3107bdab8718f)
* kernel: ath10k-ct: provide a build variant for small RAM devicesPaul Fertser2019-12-243-1/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to many bugreports [0][1][2] the default ath10k-ct kernel module is unusable on devices with just 64 MiB RAM or with 128 MiB and dual ath10k cards. The target boards boot but eventually oom-killer starts to interfere with normal operation, so the current state is effectively broken. Since the two patches in question have a performance impact (and possibly some other unexpected side-effects) a dedicated build variant is added so that users of the low RAM devices can still benefit from all the ath10k-ct advantages. According to testing [3] results, the issue can be experienced even with "a 256MB device with three radios". Measured performance impact of implementing small buffers was lowering "the maximum 5 GHz throughput on an IPQ40xx device without RPS/XPS optimizations from 494/432 Mbit/s for TCP transfers (download/upload) to 438/343 Mbit/s" The patches were apparently inspired by QSDK tweaks used by ODMs for the affected devices. [0] http://lists.infradead.org/pipermail/openwrt-devel/2019-December/020573.html [1] https://github.com/openwrt/openwrt/pull/1077 [2] https://bugs.openwrt.org/index.php?do=details&task_id=2664 [3] https://github.com/freifunk-gluon/gluon/pull/1440#issue-195607701 Signed-off-by: Paul Fertser <fercerpav@gmail.com> [Remove double CONFIG_ATH10K-CT_LEDS entry] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 1ac627024de916eb157659caf49f93fa89d3b19a)
* kernel: remove LINUX_4_9 dependency of kmod-daxSungbo Eo2019-12-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | This patch resolves recursive dependency warning on a feed package: $ make defconfig Collecting package info: done tmp/.config-package.in:104721:error: recursive dependency detected! For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" tmp/.config-package.in:104721:symbol PACKAGE_nfs-kernel-server depends on NFS_KERNEL_SERVER_V4 For a resolution refer to Documentation/kbuild/kconfig-language.txt subsection "Kconfig recursive dependency limitations" feeds/packages/net/nfs-kernel-server/Config.in:4:symbol NFS_KERNEL_SERVER_V4 depends on PACKAGE_nfs-kernel-server # # configuration written to .config # 19.07 branch uses kernel 4.14 only, so CONFIG_LINUX_4_9 symbol is not needed anyway. Ref: https://github.com/openwrt/packages/issues/10490 Signed-off-by: Sungbo Eo <mans0n@gorani.run>
* kernel: fix *-gpio-custom module unloadingSungbo Eo2019-12-234-6/+6
| | | | | | | | | | | | | | | | | | | | | | Unloading and reloading the modules fails, as platform_device_put() does not release resources fully. root@OpenWrt:/# insmod i2c-gpio-custom bus0=0,18,0,5 [ 196.860620] Custom GPIO-based I2C driver version 0.1.1 [ 196.871162] ------------[ cut here ]------------ [ 196.880517] WARNING: CPU: 0 PID: 1365 at fs/sysfs/dir.c:31 0x80112158 [ 196.893431] sysfs: cannot create duplicate filename '/devices/platform/i2c-gpio.0' ... [ 197.513200] kobject_add_internal failed for i2c-gpio.0 with -EEXIST, don't try to register things with the same name in the same directory. This patch fixes it by replacing platform_device_put() to platform_device_unregister(). Fixes: da7740853715 ("i2c-gpio-custom: minor bugfix") Fixes: 3bc81edc70e8 ("package: fix w1-gpio-custom package (closes #6770)") Signed-off-by: Sungbo Eo <mans0n@gorani.run> (cherry picked from commit a22b7a60d98836343c4f7b9ec0fcae68d9131522)
* mac80211: brcm: add support for BCM4359 SDIO chipsetRafał Miłecki2019-12-197-0/+519
| | | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 17e2246eca901fec79fbac5b7a90f68f60785c4e)
* mac80211: brcm: backport 5.5 and 5.6 kernel patchesRafał Miłecki2019-12-1910-1/+325
| | | | | | | | | | This update doesn't include: 3b1e0a7bdfee brcmfmac: add support for SAE authentication offload be898fed355e brcmfmac: send port authorized event for FT-802.1X due to nl80211 dependencies. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit c3aa33bf705027751b344bc668541e5d08ed9495)
* mac80211: unify setup of iw htmode for mesh and adhocSantiago Piccinini2019-11-301-49/+16
| | | | | | | | | | This also fixes mac80211_prepare_vif iw set channel in monitor or mesh mode. Signed-off-by: Santiago Piccinini <spiccinini@altermundi.net> Signed-off-by: Daniel Golle <daniel@makrotopia.org> [daniel@makrotopia.org: fixed commit message] (cherry picked from commit c7fb12beb1d347f1cedc7890dbe2d441f70ccf62)
* mac80211: add default value for noscanSebastian Kemper2019-11-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit b3d8b3a introduced a new test: [ -n "$noscan" -a "$noscan" -gt 0 ] && hostapd_noscan=1 But if length of "$noscan" is zero (noscan is not set) this doesn't stop the shell to evaluate the rest of the test. root@hank2:~# [ -n "$noscan" -a "$noscan" -gt 0 ] ash: out of range root@hank2:~# So when radios are brought up this shows in the log: Sat Nov 23 10:51:38 2019 daemon.info procd: - init complete - Sat Nov 23 10:52:24 2019 daemon.notice netifd: radio1 (1243): sh: out of range Sat Nov 23 10:52:25 2019 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2) Sat Nov 23 10:52:25 2019 daemon.notice netifd: radio0 (1242): sh: out of range Sat Nov 23 10:52:26 2019 authpriv.info dropbear[1536]: Not backgrounding This commit sets noscan to 0 if unset and removes the gratuitous length check, preventing the warning. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> (cherry picked from commit 28d84331f4bba5923059e701f5d4878b2df3fa79) Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mac80211: update to version 4.19.85Hauke Mehrtens2019-11-2218-421/+76
| | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* mac80211: backport upstream fixesKoen Vandeputte2019-11-193-0/+205
| | | | | | | This potentially fixes some issues seen on IBSS when interfaces go out of range and then re-appear. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* mac80211: Adapt to changes to skb_get_hash_perturb()Hauke Mehrtens2019-11-181-0/+68
| | | | | | | | | | | The skb_get_hash_perturb() function now takes a siphash_key_t instead of an u32. This was changed in commit 55667441c84f ("net/flow_dissector: switch to siphash"). Use the correct type in the fq header file depending on the kernel version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> (cherry picked from commit eaa047179ad30d156d0c3da7ec225acfae7a9f00)
* mac80211: brcmfmac: fix PCIe reset crash and WARNINGRafał Miłecki2019-11-183-1/+85
| | | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit cde8c2f2fba019c4cd3b9f6ad463ff86cc783061)
* kernel: fix typo in fb-sys-fops autoloadSungbo Eo2019-11-141-1/+1
| | | | | | | | AutoLoad parameter must match the exact kernel module name. Fix it. Fixes: 125f1ce9ad0c ("kernel: video: add DRM core and IMX DRM support for HDMI/LVDS") Signed-off-by: Sungbo Eo <mans0n@gorani.run> (cherry picked from commit 6990510aca41074351f92a5abc6f4afb4b606506)
* mac80211: Fix dependencies of kmod-rsi91x-usbHauke Mehrtens2019-11-091-2/+2
| | | | | | | | | | | Instead of depending on kmod-usb2 make it depend on the normal USB dependencies. This should hopefully fix some problems seen in the build bot builds for powerpc_8540. In addition also activate DRIVER_11N_SUPPORT support. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 3ff3b044c01949cd7280978b17d0348ee9e7f4ae)
* mac80211 ath9k: force QCA953x clock to 25MHzDavid Bauer2019-11-061-6/+13
| | | | | | | | | | | | The QCA953x only supports 25 MHz refclk, however some OEMs set an invalid bootstrap value for the REF_CLK option, which would break the clock detection in ath9k. Force the QCA953x refclk to 25MHz in ath9k, as this is (according to the datasheet) the only valid frequency. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 4c6fe32468bc60cc25a8c298498c0be3c73e7378)
* mac80211: rt2x00: backport upstream patchesDaniel Golle2019-11-0529-35/+1494
| | | | | | | | | | | | | | | | | | | | | | Import patches from upstream to sync 19.07 with master: 9f3e3323e996 rt2x00: allow to specify watchdog interval 2034afe4db4a rt2800: add helpers for reading dma done index 759c5b599cf4 rt2800: initial watchdog implementation 09db3b000619 rt2800: add pre_reset_hw callback 710e6cc1595e rt2800: do not nullify initialization vector data e403fa31ed71 rt2x00: add restart hw 0f47aeeada2a rt2800: do not enable watchdog by default 41a531ffa4c5 rt2x00usb: fix rx queue hang 3b902fa811cf rt2x00usb: remove unnecessary rx flag checks 1dc244064c47 rt2x00: no need to check return value of debugfs_create functions 706f0182b1ad rt2800usb: Add new rt2800usb device PLANEX GW-USMicroN 95844124385e rt2x00: clear IV's on start to fix AP mode regression 567a9b766b47 rt2x00: do not set IEEE80211_TX_STAT_AMPDU_NO_BACK on tx status 14d5e14c8a6c rt2x00: clear up IV's on key removal 13fa451568ab Revert "rt2800: enable TX_PIN_CFG_LNA_PE_ bits per band" --pending-- rt2800: remove errornous duplicate condition Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: mark kmod-usb-serial-wwan as hiddenYousong Zhou2019-10-301-2/+2
| | | | | | | | | | The kconfig symbol is an invisible one since its introduction. It is not supposed to be enabled on its own. Resolves FS#1821 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> (cherry picked from commit 4bf9bec361699e1c033460964158531adf15d7ee)
* mac80211: add an improved moving average algorithm to minstrelFelix Fietkau2019-10-303-0/+733
| | | | | | | | Improves rate control responsiveness and performance Signed-off-by: Felix Fietkau <nbd@nbd.name> [reworked to apply on 4.19.79 mac80211 + renumbered + refreshed] Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: fix typos in video KernelPackage descriptionSungbo Eo2019-10-191-2/+2
| | | | | | | | Fixes: 4b3d17b709a5 ("kernel: add kmod-fb-sys-ram") Fixes: b774acb47912 ("package/modules: add missing gspca video drivers for 2.6.32 (patch from #6595)") Signed-off-by: Sungbo Eo <mans0n@gorani.run> (cherry picked from commit 9f73fad359663fef4decc7440796ec7d3b2b70f7)
* trelay: fix deadlock on removeAli MJ Al-Nasrawy2019-10-191-7/+21
| | | | | | | | | | | | Upon writing to "remove" file, debugfs_remove_recursive() blocks while holding rtnl_lock. This is because debugfs' file_ops callbacks are executed in debugfs_use_file_*() context which prevents file removal. Fix this by only flagging the device for removal and then do the cleanup in file_ops.release callback which is executed out of that context. Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> (cherry picked from commit c2635b871d1dd03a6608a9255222672decd49e09)
* trelay: handle netdevice events correctlyAli MJ Al-Nasrawy2019-10-191-1/+1
| | | | | | | | | | | | | | Since v3.11, netdevice notification data are of type "struct netdev_notifier_info". Handle it as such! This should fix a critical bug in which devices are unable get released because trelay does not release resources in response to UNREGISTER event spamming the log with something like: unregister_netdevice: waiting for eth0.1 to become free. Usage count = 1 Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> (cherry picked from commit 77cfc0739d30c1282f7de24d2ec086d244e34bb7)
* mac80211: Update to version 4.19.79Hauke Mehrtens2019-10-199-46/+27
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* lantiq: Fix fw_cutter LzmaWrapperChristian Franke2019-10-181-1/+1
| | | | | | | | | The destination buffer size `d_len` is passed to `lzma_inflate` as a pointer. Therefore, it needs to be dereferenced to compare its content. Signed-off-by: Christian Franke <nobody@nowhere.ws> (cherry picked from commit d544bc84a07f299ac1e513715301cae5fbd30923) Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ath10k-ct: update to version 2019-09-09Koen Vandeputte2019-09-248-17/+17
| | | | | | | | | | 5e8cd86f90da ath10k-ct: Backport ap-vlan code from 5.2 to 4.20 and 4.19 drivers. 0c518586bd7f ath10k-ct: Fix a few warning splats. Adds AP VLAN. Refreshed all patches. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ltq-vdsl-fw: update firmware filename and download URLDaniel Golle2019-09-213-5/+5
| | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 4fc0a61ed3da96330d30703a2a039a6a06dc0b2f)
* kernel: add module for Emulex OneConnect 10GbitAlberto Bursi2019-09-211-0/+22
| | | | | | | | | | add module to support Emulex OneConnect common in 10Gbit SFP+ cards by Dell/HP/IBM supports OneConnect OCe10xxx OCe11xxx OCe14xxx, LightPulse LPe12xxx Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it> (cherry picked from commit 827f47749b75dcc6b650297b9303c27127b15201)
* mac80211: brcmfmac: backport the last 5.4 changesRafał Miłecki2019-09-164-1/+413
| | | | | | | | This makes brcmfmac use the same wiphy after PCIe reset to help user space handle corner cases (e.g. firmware crash). Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit f39f4b2f6d4300995270f635261b07197e8cf61e)
* mac80211: brcmfmac: backport more kernel 5.4 changesRafał Miłecki2019-09-098-9/+283
| | | | | | | | Patch getting RAM info got upstreamed. A debugging fs entry for testing reset feature was added. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 681acdcc54d2e59135bb706c38bed942f74ccf74)
* ltq-ifxos: refer to https://bugs.openwrt.orgYousong Zhou2019-09-041-1/+1
| | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> (cherry picked from commit f0f5cb26cb7ced03c70063d08c90d211f80b7a31)
* gpio-button-hotplug: add volume button handlingChuanhong Guo2019-09-042-1/+3
| | | | | | | This is used by PISEN WMB001N. Signed-off-by: Chuanhong Guo <gch981213@gmail.com> (cherry picked from commit 11182349e1f31f873ebddd69d6b87dec638eaabf)