aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* build: include BUILD_VARIANT in PKG_BUILD_DIRJeffery To2019-09-044-4/+0
| | | | | | | | | | | | This changes the default PKG_BUILD_DIR to take BUILD_VARIANT into account (if set), so that packages do not need to manually override PKG_BUILD_DIR just to handle variants. This also updates most base packages with variants to use the updated default PKG_BUILD_DIR. Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit e545fac8d968864a965edb9e50c6f90940b0a6c9)
* treewide: fix syntax errors exposed after kconfig updateJo-Philipp Wich2019-09-044-8/+8
| | | | | | | | | | | | | | | After commit e82a4d9cfb ("config: regenerate *_shipped sources") the mconf parser became more strict as a side effect and started to spew a series of warnings when evaluating our generated kconfig sources: tmp/.config-package.in:705:warning: ignoring unsupported character '@' The root cause of these warnings is a wrong use of the @SYMBOL dependency syntax in various Makefile. Fix the corresponding Makefiles by turning `@SYM||@SYM2` expressions into the proper `@(SYM||SYM2)` form. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 74739c4228f3bd0aa757165c67c53016c3deb544)
* mac80211: add config tweak for tx bursting when using VHTFelix Fietkau2019-08-281-1/+5
| | | | | | | | | | By default, set BE tx queue TXOP limit to 2.0 in the hostapd config Many vendor drivers are doing similar things to boost throughput. On MT7612 under ideal conditions, it improves tx throughput from 470 Mbit/s to about 570 Mbit/s. Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit 8650201f10afe83387fd6cde00b08172172eeba3)
* ath9k: backport dynack improvementsKoen Vandeputte2019-08-284-0/+300
| | | | | | | | | | | | | | | | | | | | | | | | | | Close cooperation with Lorenzo Bianconi resulted in these patches which fix all remaining seen issues when using dynack. Fix link losses when: - Late Ack's are not seen or not present - switching from too low static coverage class to dynack on a live link These are fixed by setting the Ack Timeout/Slottime to the max possible value for the currently used channel width when a new station has been discovered. When traffic flows, dynack is able to adjust to optimal values within a few packets received (typically < 1 second) These changes have been thoroughly tested on ~60 offshore devices all interconnected using mesh over IBSS and dynack enabled on all. Distances between devices varied from <100m up to ~35km Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> (cherry picked from commit f6e8ba0238fe349b7529357793e2fb18635819ed)
* ath10k-ct: update to version 2019-08-14Koen Vandeputte2019-08-275-155/+5
| | | | | | | | | | | | Changes: 9e5ab25027e0 ath10k-ct: Update to latest 5.2 upstream, support bigger mtu, 160Mhz Removed upstreamed patches: - 204-ath10k-fix-max-antenna-gain-unit.patch - 205-ath10k-adjust-tx-power-reduction-for-US-regulatory-d.patch Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ath10k-ct: remove patches for old versionsHauke Mehrtens2019-08-278-1426/+0
| | | | | | | | | | | | | the ath10k-ct package ships multiple versions of the ath10k-ct driver, OpenWrt currently only uses the version 4.19, but we still ship some patches for older versions. Remove all patches only touching older versions and also remove the patch for older versions from patches which do the same changes to multiple versions of ath10k-ct. This removes some unneeded patches, the end binary should stay the same. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 10fe5ca3629c4739763df0274610b43eebd1ee3a)
* ath10k-ct: update to version 2019-06-13Hauke Mehrtens2019-08-275-24/+24
| | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 8f61b4cac412fd3dbda08b0b1aac34a29e6ed290)
* ath10k-ct: Update to 2019-06-13Kevin Darbyshire-Bryant2019-08-279-23/+23
| | | | | | | | | | | | | Changes: ath10k: Improve PMF/MPF mgt frame check And add a driver for 5.2 (beta, not even tested yet) kernel. Refresh patches. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> (cherry picked from commit 49b3dcb2ab8a5023a210a50de8157b650ab60c81)
* mt76: update to the latest versionFelix Fietkau2019-08-261-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3a29655ae0b mt76x02: fix crash on device reset ffddb685a679 mt76x02u: check chip version on probe 7fc5f925ec35 mt76x2u: remove duplicated entry in mt76x2u_device_table 61311d9b307a mt76: introduce mt76_free_device routine a7dfcf2e2498 mt76: move mac_work in mt76_dev 334b4cedf2b0 mt76: add mac80211 driver for MT7615 PCIe-based chipsets edb2a001b695 mt76: add unlikely() for dma_mapping_error() check 355c07904da7 mt76: use macro for sn and seq_ctrl conversion 133bffba8bb2 add firmware for MT7615E 49d9c1b29f1d mt76: usb: reduce locking in mt76u_tx_tasklet 3e371ca35c7f mt76: set txwi_size according to the driver value 50073265559a mt76: add skb pointer to mt76_tx_info c47a5685d00b mt76: dma: introduce skb field in mt76_txwi_cache 9029560fad1f mt76: dma: add skb check for dummy pointer e9eea3923774 mt76: mt7615: use sizeof instead of sizeof_field 98c5359e9649 Revert "mt76: fix potential deadlock on cancelling workqueues" bc9baa7b12b9 mt76x02u: remove bogus stop on suspend 6c1cab9abafc mt76usb: fix tx/rx stop 0e674c50a5a3 mt76x02: remove bogus mutex usage 59f7bb6fbfc5 Revert "mt76: mt76x02: send no-skb tx status without holding the status lock" b0f2a30452f0 mt76x02: avoid status_list.lock and sta->rate_ctrl_lock dependency 62054defd78a mt76: mt7603: remove query from mt7603_mcu_msg_send signature e79d96acf597 mt76: mt7603: use standard signature for mt7603_mcu_msg_send be8f0394e335 mt76: mt7603: initialize mt76_mcu_ops data structure 9a9c6569e987 mt76: introduce mt76_mcu_restart macro 980b91e04006 mt76: mt7603: init mcu_restart function pointer a97db3f3ceee mt76: mt7603: run __mt76_mcu_send_msg in mt7603_mcu_send_firmware 151115f8160b mt76: mt76x02: mt76x02_poll_tx() can be static 7391f98f8b4b mt76: fix endianness sparse warnings 6c06f7381129 mt76: mt7603: report firmware version using ethtool f06647efbd1c mt76: usb: use EP max packet aligned buffer sizes for rx f43fccf0990e mt76: move beacon_int in mt76_dev 74ab2cf6171e mt76: move beacon_mask in mt76_dev 23c2f94deeeb mt76: add TX/RX antenna pattern capabilities 6e790e106a84 mt76: move pre_tbtt_tasklet in mt76_dev 7606c08414e5 mt76: mt7603: enable/disable pre_tbtt_tasklet in mt7603_set_channel ff22eee58520 mt76: do not enable/disable pre_tbtt_tasklet in scan_start/scan_complete 3157385e2277 mt76: mt7603: dynamically alloc mcu req in mt7603_mcu_set_eeprom cc674e2d1f10 mt76: mt76x02: remove useless return in mt76x02_resync_beacon_timer 6b184272ba15 mt76: move tx_napi in mt76_dev bce63c453c85 mt76: mt7603: use napi polling for tx cleanup 4afd89e8ab20 mt76: mt7615: use napi polling for tx cleanup 2cb46830faf7 mt76: move netif_napi_del in mt76_dma_cleanup b4ceb9f7c791 mt76: Fix a signedness bug in mt7615_add_interface() d00dc9524068 mt76: mt7615: Use after free in mt7615_mcu_set_bcn() 4e0ccc6a2da6 mt76: mt7615: Make mt7615_irq_handler static 0fd552a55847 mt7615: mcu: simplify __mt7615_mcu_set_wtbl 50f70948ffcc mt7615: mcu: simplify __mt7615_mcu_set_sta_rec 4434d04d3c50 mt7615: mcu: remove bss_info_convert_vif_type routine 083fbb97223c mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl_bmc f61ca8019129 mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl 35bd12d609ac mt7615: mcu: unify mt7615_mcu_add_wtbl_bmc and mt7615_mcu_del_wtbl_bmc f8f990b9092e mt7615: mcu: remove unused parameter in mt7615_mcu_del_wtbl 965bca14795e mt7615: remove query from mt7615_mcu_msg_send signature 9b9ca18d9602 mt7615: remove dest from mt7615_mcu_msg_send signature 935b7e5edaba mt7615: mcu: remove skb_ret from mt7615_mcu_msg_send 2442db44c2ab mt7615: mcu: unify __mt7615_mcu_set_dev_info and mt7615_mcu_set_dev_info 645bc458e1ab mt7615: mcu: do not use function pointers whenever possible 40c4201c28bf mt7615: mcu: remove unused structure in mcu.h a8834a233fa7 mt7615: mcu: use standard signature for mt7615_mcu_msg_send 824d25c44124 mt7615: initialize mt76_mcu_ops data structure d9434275a872 mt7615: mcu: init mcu_restart function pointer c2211e478c6e mt7615: mcu: run __mt76_mcu_send_msg in mt7615_mcu_send_firmware cb63a06c403a mt76: mt7603: stop mac80211 queues before setting the channel c6aaa3a2a9ea mt76: mt7615: rearrange cleanup operations in mt7615_unregister_device 97609f3708c7 mt76: mt7615: add static qualifier to mt7615_rx_poll_complete f9dadd2d9377 mt76: mt7603: add debugfs knob to enable/disable edcca 89cda5d85498 mt7603: fix reading target tx power from eeprom 77d0e3378bd1 mt76: fix setting chan->max_power f575da2f01a4 mt76: mt76x02: fix tx status reporting issues a5d18dca9d3e mt76: mt76x02: fix tx reordering on rate control probing without a-mpdu bd32a93e4996 mt76: mt76x02: remove enable from mt76x02_edcca_init signature 18386eef1d22 mt76: mt76x2u: remove mt76x02_edcca_init in mt76x2u_set_channel da3514f6de4f mt76: mt76x2: move mutex_lock inside mt76x2_set_channel 0d4719c327ca mt76: mt76x02: run mt76x02_edcca_init atomically in mt76_edcca_set fd5af7397257 mt76: mt76x02: fix edcca file permission a0f51f276104 mt76: mt7615: do not process rx packets if the device is not initialized 753cdee4f6f6 mt76: mt7615: stop mcu first in mt7615_unregister_device 899efe755bae mt76: move mt76_insert_ccmp_hdr in mt76-module 6960b6e2d163 mt76: mt7615: add support for mtd eeprom parsing 4bcb0577daa5 mt76: mt7615: select wifi band according to eeprom 866f2c6cd0a2 mt76: generalize mt76_get_txpower for 4x4:4 devices 514fb04492a6 mt76: mt7615: add the capability to configure tx power ced9d43a8a85 mt76: mt7615: init get_txpower mac80211 callback 8abd502a5f86 mt76: mt7615: rearrange locking in mt7615_config 5b9b62e0b00c mt76: move mt76_get_rate in mt76-module 661c7c8e1acc mt76: Remove set but not used variables 'pid' and 'final_mpdu' f072c7ba2150 mt76: mt7615: enable support for mesh 28d9496205a6 mt76: mt7615: fix slow performance when enable encryption 827b9ade1672 mt76: mt7615: remove unused variable in mt7615_mcu_set_bcn 34eea1414b8b mt76: mt7615: remove key check in mt7615_mcu_set_wtbl_key 2bfae5a25251 mt76: usb: fix rx A-MSDU support b0335320fc2c mt76: usb: do not always copy the first part of received frames 3e7fc1573c6f mt76x02: fix reporting of non-probing frames with tx status requested 0d5caead9765 Revert "mt76: usb: do not always copy the first part of received frames" 335e8c6baf77 Revert "mt76: usb: fix rx A-MSDU support" 47ddf4b722a1 mt76: revert support for TX_NEEDS_ALIGNED4_SKBS 0b6520bd1c98 mt7603: rework and fix tx status reporting 539b6796605c mt7603: improve hardware rate switching configuration d86d6efa7214 mt76x0: fix RF frontend initialization for external PA f476a14761ec mt76x02: fix endian issue in tx status reporting patch f8d051785221 mt76: mt7615: simplify mt7615_mcu_set_sta_rec routine 73ff45f618fd mt76: mt7615: add support for per-chain signal strength reporting 9b67ae62d9ea mt76: mt7615: init per-channel target power 160fdc05e260 mt76: mt7615: take into account extPA when configuring tx power 2211d9370976 mt76: mt76x02u: fix sparse warnings: should it be static? 3750533a37a4 mt76: mt7615: fix incorrect settings in mesh mode c37c1ca3fa01 mt76: mt7615: update peer's bssid when state transition occurs 9dd1089a29af mt76: mt76u: reduce rx memory footprint 0789f45e52c5 mt76: mt7615: remove cfg80211_chan_def from mt7615_set_channel signature 2dca431cd7fc mt76: move nl80211_dfs_regions in mt76_dev data structure 3386ccf7842b mt76: mt76u: get rid of {out,in}_max_packet d680ab01cddd mt76: usb: fix rx A-MSDU support 6cafaca7225d mt7603: use READ_ONCE instead of ACCESS_ONCE 9e2e0b857710 mt76: round up length on mt76_wr_copy e378ef1bc1e5 mt76: mt7615: fix sparse warnings: warning: restricted __le16 degrades to integer 7991dd7e25c8 mt76: mt7615: introduce mt7615_regd_notifier 901a4c7b7f8c mt76: mt7615: add hw dfs pattern detector support 57c600e5b945 mt76: mt7615: do not perform txcalibration before cac is complited 6afc9521962f mt76: mt7615: add csa support 8919516006e4 mt76: mt7615: add radar pattern test knob to debugfs 3be723cad7a9 mt76: mt7615: clean up FWDL TXQ during/after firmware upload 47fe37e22fdf mt76: mt7615: fall back to sw encryption for unsupported ciphers bc5e0417939f mt76: mt7603: enable hardware rate up/down selection ae760db52abc mt76: mt7615: move mt7615_mcu_set_rates to mac.c 2ae01f7e7715 mt76: mt7615: reset rate index/counters on rate table update 6f9837833baf mt76: mt7615: sync with mt7603 rate control changes edbe88ec7c1f mt76: usb: fix endian in mt76u_copy f43b6228facf mt76: usb: remove unneeded {put,get}_unaligned 5e1e5b75d6e8 mt76: usb: use full intermediate buffer in mt76u_copy 017d0ff097f7 mt76: mt76u: fix typo in mt76u_fill_rx_sg 2c0ccf1561c1 mt76: mt7615: always release sem in mt7615_load_patch 0c6f1a2b3c33 mt76: mt7615: introduce mt7615_mcu_send_ram_firmware routine 3dfc1eeffedf mt76: mt7615: fix sparse warnings: incorrect type in assignment (different base types) 947532099c3e mt76: mt7603: fix sparse warnings: warning: incorrect type in assignment (different base types) e07451d27941 mt76: mt7615: fix sparse warnings: warning: cast from restricted __le16 b973bef0f87f mt7603: do not use tssi-off power value for mt7628 8fc3e6e02e96 mt76: mt7615: fix using VHT STBC rates b21b99187a54 mt76: mt7615: fix PS buffering of action frames 3d43dd886951 mt76: mt7615: fix invalid fallback rates 0ce46825b8df mt76: mt7603: fix invalid fallback rates 3b08966d99ae Revert "mt76: usb: use full intermediate buffer in mt76u_copy" 48800e7b6088 Revert "mt76: usb: remove unneeded {put,get}_unaligned" 439354d54085 Revert "mt76: usb: fix endian in mt76u_copy" 8c1da9367beb mt76: usb: fix endian in mt76u_copy 307be50cc5f4 mt76: usb: remove unneeded {put,get}_unaligned 5d298297c00c mt76: mt76x02: use params->ssn value directly f74d117ed41c mt76: mt7603: use params->ssn value directly 649f2e83742e mt76: mt7615: use params->ssn value directly b647180c86be mt76: mt7615: unlock dfs bands 410923fa24de Revert accidental debugging change 3d7f7384bef0 mt76: mt7615: add missing register initialization 75656a4590a3 net: wireless: support of_get_mac_address new ERR_PTR error fb0f432834c0 mt76: stop rx aggregation on station removal 76aada563b66 mt76: dma: reset q->rx_buf on rx reset 3245ca8b8aeb mt76: check of_get_mac_address for NULL as well to restore old kernel compat 8e495245ab3d mt76: mt7615: move mt7615_mac_get_key_info in mac.c e4f48a8df6aa mt76: mt7615: add mt7615_mac_wtbl_addr routine e8c95e5a41f0 mt76: mt7615: introduce mt7615_mac_wtbl_set_key routine d998b90c4bed mt76: mt7615: remove wtbl_sec_key definition 60d279ec2762 mt76: mt7615: add set_key_cmd and mt76_wcid to mt7615_mac_wtbl_set_key signature 4947ad4eab6a mt76: introduce mt76_mmio_read_copy routine 4d9001b8ab1d mt76: mt7615: fix MT7615_WATCHDOG_TIME definition 3d6796b867b6 mt76: mt7603: fix watchdog rescheduling in mt7603_set_channel 8d7a48030005 mt76: mt7615: add 4 WMM sets support ae0f11149248 mt76: mt7615: update cw_min/max related settings 8b7bbd017654 mt76: mt7603: fix some checkpatch warnings e6045467848d mt76: mt7615: fix some checkpatch warnings c415c676e255 mt76: mt76x02: fix some checkpatch warnings f625afcedc9b mt76: switch to SPDX tag instead of verbose boilerplate text 4d57f1cee4aa mt76: mt7615: rework locking scheme for mt7615_set_channel 2becd13be766 mt76: mt7615: add Smart Carrier Sense support 20f0c196722a mt76: mt76x02: introduce mt76x02_pre_tbtt_enable and mt76x02_beacon_enable macros ae83a05b1050 mt76: mt76x02: do not copy beacon skb in mt76x02_mac_set_beacon_enable 92fa62ace198 mt76: mt76x02u: enable multi-vif support c6dabfe953af mt76: mt76x02u: enable survey support 1f44159b41ff mt76: mt7603: move survey_time in mt76_dev 9657e6304322 mt76: mt7615: enable survey support af860c0decb1 mt76: move mt76_tx_tasklet in mt76 module a9d2a28b39fc mt76: mt7603: remove unnecessary mcu queue initialization 281b10fc1fe6 mt76: mt7615: add BIP_CMAC_128 cipher support 37673a4181e4 mt76: fix some checkpatch warnings a7fa32603981 mt76: add default implementation for mt76_sw_scan/mt76_sw_scan_complete 5c35bdf057af mt7615: apply calibration-free data from OTP 0e3baf0213c9 mt76: fix a leaked reference by adding a missing of_node_put 2d5928fef23d net: Remove dev_err() usage after platform_get_irq() a0824197ab00 mt76: mt76x0e: disable 5GHz band for MT7630E 4d8a9f20610f mt76: do not send BAR frame on tx aggregation flush stop 2a0edbb4473b mt76: remove offchannel check in tx scheduling Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: backport support for the IEEE80211_KEY_FLAG_GENERATE_MMIE flagFelix Fietkau2019-08-261-0/+58
| | | | | | | Required for an upcoming mt76 update Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit 0441edfb7fe0e927f51b291c2d996da68ac78dd2)
* mac80211: add new minstrel_ht patches to improve probing on mt76x2Felix Fietkau2019-08-265-0/+616
| | | | | | | Also include follow-up regression fix from master Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commits 9861050b85e5 and f0992d7a309f)
* mac80211: Update to version 4.19.66-1Hauke Mehrtens2019-08-1720-33/+33
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: Update to version 4.19.57Hauke Mehrtens2019-08-1761-1571/+248
| | | | | | | | | This updates to backports-4.19.57-1 which contains the wireless subsystem and driver from kernel 4.19.57. The removed patches are applied upstream. Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: brcm: improve brcmfmac debugging of firmware crashesRafał Miłecki2019-07-282-1/+39
| | | | | | | This provides a complete console messages dump. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 6a7b201b6c5c82d3d8d392ae931100c1909869e0)
* mac80211: brcm: update brcmfmac 5.4 patchesRafał Miłecki2019-07-2810-23/+32
| | | | | | | Use commits from wireless-drivers-next.git. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 8e466fb7e315f33d0d2bbc06c4fa7c27b81d9a3b)
* mac80211: brcm: backport first set of 5.4 brcmfmac changesRafał Miłecki2019-07-2119-15/+1875
| | | | | | | | | | | | This doesn't include 9ff8614a3dbe ("brcmfmac: use separate Kconfig file for brcmfmac") due to a few conflicts with backports changes. An important change is: [PATCH 2/7] brcmfmac: change the order of things in brcmf_detach() which fixes a rmmod crash in the brcmf_txfinalize(). Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit db8e08a5a4469f98ed5d9b0ff3189e356f53d924)
* gpio-button-hotplug: unify polled and interrupt codeDavid Bauer2019-07-191-65/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch unifies the polled and interrupt-driven gpio_keys code paths as well implements consistent handling of the debounce interval set for the GPIO buttons and switches. Hotplug events will only be fired if 1. The input changes its state and remains stable for the duration of the debounce interval (default is 5 ms). 2. In the initial stable (no state-change for duration of the debounce interval) state once the driver module gets loaded. Switch type inputs will always report their stable state. Unpressed buttons will not trigger an event for the initial stable state. Whereas pressed buttons will trigger an event. This is consistent with upstream's gpio-key driver that uses the input subsystem (and dont use autorepeat). Prior to this patch, this was handled inconsistently for interrupt-based an polled gpio-keys. Hence this patch unifies the shared logic into the gpio_keys_handle_button() function and modify both implementations to handle the initial state properly. The changes described in 2. ) . can have an impact on the failsafe trigger. Up until now, the script checked for button state changes. On the down side, this allowed to trigger the failsafe by releasing a held button at the right time. On the plus side, the button's polarity setting didn't matter. Now, the failsafe will only engage when a button was pressed at the right moment (same as before), but now it can theoretically also trigger when the button was pressed the whole time the kernel booted and well into the fast-blinking preinit phase. However, the chances that this can happen are really small. This is because the gpio-button module is usually up and ready even before the preinit state is entered. So, the initial pressed button event gets lost and most devices behave as before. Bisectors: If this patch causes a device to permanently go into failsafe or experience weird behavior due to inputs, please check the following: - the GPIO polarity setting for the button - the software-debounce value Run-tested for 'gpio-keys' and 'gpio-keys-polled' on - devolo WiFi pro 1200e - devolo WiFi pro 1750c - devolo WiFi pro 1750x - Netgear WNDR4700 - Meraki MR24 - RT-AC58U Signed-off-by: David Bauer <mail@david-bauer.net> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [further cleanups, simplification and unification] (cherry picked from commit 27f3f493de0610c74de2ea406641b256bfcc13a9)
* gpio-button-hotplug: fix 4.19 build breakage on malta/be64Petr Štetiar2019-07-191-0/+1
| | | | | | | | | | | | | | While testing 4.19 build on malta/be64, I've encountered following error: gpio-button-hotplug/gpio-button-hotplug.c:529:18: error: implicit declaration of function 'gpio_to_desc' which is caused by the missing include fixed by this patch. Signed-off-by: Petr Štetiar <ynezz@true.cz> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (cherry picked from commit dd6d82112a10796dd5aa0f9e9c76ec8e77e7e211)
* mac80211: Do not build b43legacy on BRCM47xx mips74 subtargetHauke Mehrtens2019-07-121-1/+1
| | | | | | | | | | | | | | b43legacy needs ssb support and we do not compile the mips74 subtarget of the brcm47xx target with SSB support. This causes a build failure in the mac80211 package and only some of the kernel modules are being created. I am not aware of any device with a BRCM47xx mips74 CPU which uses a b43legacy compatible device. Fixes: FS#2334 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit e05310b9b80f944c718374b449b6fe48d06d412d)
* netsupport: move out mqprio from kmod-schedKonstantin Demin2019-07-081-1/+1
| | | | | | | | | | | | | Currently, there's unable to install "kmod-sched-mqprio" after "kmod-sched" (or vice versa), because "sch_mqprio.ko" is shipped in both packages. Fixes: f83522fa6361 ("linux: Add kmod-sched-mqprio") Fixes: 6af639e0bf78 ("linux: Add kmod-sched-act-vlan") Fixes: 72c7e2dc467c ("linux: Add kmod-sched-flower") Signed-off-by: Konstantin Demin <rockdrilla@gmail.com> [Add cls_flower and act_vlan] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: update WDS/4addr fix to the version accepted upstreamStefan Lippers-Hollmann2019-06-221-31/+27
| | | | | | | | | | | | | This updates "{nl,mac}80211: allow 4addr AP operation on crypto controlled devices" to the version (v3), which was accepted into upstream mac80211.git and which is tagged for -stable backporting (v4.18+). https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211.git/commit/?id=33d915d9e8ce811d8958915ccd18d71a66c7c495 Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [format-patch]
* mac80211: brcm: backport remaining brcmfmac 5.2 patchesRafał Miłecki2019-06-168-1/+361
| | | | | | | | This improves FullMAC firmware compatibility, adds logging in case of firmware crash and *may* fix "Invalid packet id" errors. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 8888cb725d492ad5cad5b59fc7117b006e1bba5a)
* mac80211: refresh patchesChristian Lamparter2019-06-152-19/+16
| | | | Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* ath10k-ct: adjust tx power reduction for US regulatory domainSven Eckelmann2019-06-151-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | FCC allows maximum antenna gain of 6 dBi. 15.247(b)(4): > (4) The conducted output power limit > specified in paragraph (b) of this section > is based on the use of antennas > with directional gains that do not exceed > 6 dBi. Except as shown in paragraph > (c) of this section, if transmitting > antennas of directional gain greater > than 6 dBi are used, the conducted > output power from the intentional radiator > shall be reduced below the stated > values in paragraphs (b)(1), (b)(2), > and (b)(3) of this section, as appropriate, > by the amount in dB that the > directional gain of the antenna exceeds > 6 dBi. https://www.gpo.gov/fdsys/pkg/CFR-2013-title47-vol1/pdf/CFR-2013-title47-vol1-sec15-247.pdf Signed-off-by: Sven Eckelmann <sven@narfation.org>
* ath10k-ct: fix max antenna gain unitSven Eckelmann2019-06-151-0/+49
| | | | | | | | | | | | | | | Most of the txpower for the ath10k firmware is stored as twicepower (0.5 dB steps). This isn't the case for max_antenna_gain - which is still expected by the firmware as dB. The firmware is converting it from dB to the internal (twicepower) representation when it calculates the limits of a channel. This can be seen in tpc_stats when configuring "12" as max_antenna_gain. Instead of the expected 12 (6 dB), the tpc_stats shows 24 (12 dB). Tested on QCA9888 and IPQ4019 with firmware 10.4-3.5.3-00057. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* mac80211: ath10k: adjust tx power reduction for US regulatory domainSven Eckelmann2019-06-151-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | FCC allows maximum antenna gain of 6 dBi. 15.247(b)(4): > (4) The conducted output power limit > specified in paragraph (b) of this section > is based on the use of antennas > with directional gains that do not exceed > 6 dBi. Except as shown in paragraph > (c) of this section, if transmitting > antennas of directional gain greater > than 6 dBi are used, the conducted > output power from the intentional radiator > shall be reduced below the stated > values in paragraphs (b)(1), (b)(2), > and (b)(3) of this section, as appropriate, > by the amount in dB that the > directional gain of the antenna exceeds > 6 dBi. https://www.gpo.gov/fdsys/pkg/CFR-2013-title47-vol1/pdf/CFR-2013-title47-vol1-sec15-247.pdf Signed-off-by: Sven Eckelmann <sven@narfation.org>
* mac80211: ath10k: fix max antenna gain unitSven Eckelmann2019-06-151-0/+49
| | | | | | | | | | | | | | | Most of the txpower for the ath10k firmware is stored as twicepower (0.5 dB steps). This isn't the case for max_antenna_gain - which is still expected by the firmware as dB. The firmware is converting it from dB to the internal (twicepower) representation when it calculates the limits of a channel. This can be seen in tpc_stats when configuring "12" as max_antenna_gain. Instead of the expected 12 (6 dB), the tpc_stats shows 24 (12 dB). Tested on QCA9888 and IPQ4019 with firmware 10.4-3.5.3-00057. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* mac80211: ath9k: Increase allowed antenna gain to 6 dBiSven Eckelmann2019-06-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | FCC allows maximum antenna gain of 6 dBi. 15.247(b)(4): > (4) The conducted output power limit > specified in paragraph (b) of this section > is based on the use of antennas > with directional gains that do not exceed > 6 dBi. Except as shown in paragraph > (c) of this section, if transmitting > antennas of directional gain greater > than 6 dBi are used, the conducted > output power from the intentional radiator > shall be reduced below the stated > values in paragraphs (b)(1), (b)(2), > and (b)(3) of this section, as appropriate, > by the amount in dB that the > directional gain of the antenna exceeds > 6 dBi. Signed-off-by: Sven Eckelmann <sven@narfation.org>
* netsupport: add xfrmi interface supportAndré Valentin2019-06-091-0/+16
| | | | | | | | Add support for xfrm interfaces in kernel. XFRM interfaces are used by the IPsec stack for tunneling. XFRM interfaces are available since linux 4.19. Signed-off-by: André Valentin <avalentin@marcant.net>