aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
Commit message (Collapse)AuthorAgeFilesLines
...
* mac80211: backport upstream fixesKoen Vandeputte2019-11-192-0/+77
| | | | | | | 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>
* mac80211: brcmfmac: fix PCIe reset crash and WARNINGRafał Miłecki2019-11-183-1/+85
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: detect existing interface before addingDaniel Golle2019-11-161-4/+35
| | | | | | | | | | | | | | | Keep existing wdev when creating new nl80211 interfaces if phy and type match, delete it otherwise. To make this work, also remove left-over debugging function which prevented the return-value of the 'iw' command to be taken into account in mac80211_iw_interface_add(). As 4addr-mode (WDS) was setup during interface creation for station interfaces, also set it after interface creation to make sure an existing sta interface ends up with the right mode. Fixes: a5bc9787d4 ("mac80211: add support for dynamically reconfiguring wifi") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Revert "mac80211: restore mac80211_interface_cleanup()"Daniel Golle2019-11-161-16/+0
| | | | | | This reverts commit 000b7687bc50be5b0f1161f4bf8ceb85c495c395. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* 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>
* mac80211: restore mac80211_interface_cleanup()Daniel Golle2019-11-141-0/+16
| | | | | | | | | | Changes introduced for dynamic wifi reconfiguration left behind unmanaged interface types. Restore parts of the old function to also clean (unencrypted, non-DFS) mesh and ad-hoc interfaces. Fixes: a5bc9787d4 ("mac80211: add support for dynamically reconfiguring wifi") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mac80211: add support for dynamically reconfiguring wifiJohn Crispin2019-11-122-37/+135
| | | | | | | | | Change scripts to use ubus interface of hostapd/wpa_supplicant to add/remove/modify wireless interfaces instead of (re-)starting the services. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* 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>
* kernel: add crypto_user mod to crypto-user pkgEneas U de Queiroz2019-11-061-2/+4
| | | | | | | | This is needed to export crypto information to netfilter, allowing the alt. afalg openssl engine to obtain information about the drivers being used. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* mac80211 ath9k: force QCA953x clock to 25MHzDavid Bauer2019-11-051-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>
* mac80211: fix build without CONFIG_PCIFelix Fietkau2019-11-051-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add support for multiple wiphys behind a single deviceFelix Fietkau2019-11-054-19/+48
| | | | | | | | | | The device path will be the same for the first phy. For all subsequent phys, the path gets an extra +1, +2, ... Move the code for converting path to phy and vice versa to a separate library script shared by config detection code and the netifd wireless handler script Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add pcie apsm backport changesFelix Fietkau2019-11-052-0/+67
| | | | | | Required for newer versions of mt76 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: rt2x00: remove errornous duplicate conditionDaniel Golle2019-11-038-13/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://patchwork.kernel.org/patch/11224189/ -- On 2019-10-28 06:07, wbob wrote: > Hello Roman, > > while reading around drivers/net/wireless/ralink/rt2x00/rt2800lib.c > I stumbled on what I think is an edit of yours made in error in march > 2017: > > https://github.com/torvalds/linux/commit/41977e86#diff-dae5dc10da180f3b055809a48118e18aR5281 > > RT6352 in line 5281 should not have been introduced as the "else if" > below line 5291 can then not take effect for a RT6352 device. Another > possibility is for line 5291 to be not for RT6352, but this seems > very unlikely. Are you able to clarify still after this substantial time? > > 5277: static int rt2800_init_registers(struct rt2x00_dev *rt2x00dev) > ... > 5279: } else if (rt2x00_rt(rt2x00dev, RT5390) || > 5280: rt2x00_rt(rt2x00dev, RT5392) || > 5281: rt2x00_rt(rt2x00dev, RT6352)) { > ... > 5291: } else if (rt2x00_rt(rt2x00dev, RT6352)) { > ... Hence remove errornous line 5281 to make the driver actually execute the correct initialization routine for MT7620 chips. As it was requested by Stanislaw Gruszka remove setting values of MIMO_PS_CFG and TX_PIN_CFG. MIMO_PS_CFG is responsible for MIMO power-safe mode (which is disabled), hence we can drop setting it. TX_PIN_CFG is set correctly in other functions, and as setting this value breaks some devices, rather don't set it here during init, but only modify it later on. Fixes: 41977e86c984 ("rt2x00: add support for MT7620") Reported-by: wbob <wbob@jify.de> Reported-by: Roman Yeryomin <roman@advem.lv> Signed-off-by: Daniel Golle <daniel@makrotopia.org> Acked-by: Stanislaw Gruszka <sgruszka@redhat.com> -- Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* lantiq: Allow PKG_ASLR_PIE for DSL and voice driversHauke Mehrtens2019-11-016-7/+0
| | | | | | | | | | | When ASLR_PIE was activated globally these drivers failed to build because the user space LDFLAGS leaked into the kernel build process. This was fixed in upstream Linux kernel commit ce99d0bf312d ("kbuild: clear LDFLAGS in the top Makefile") which went into Linux 4.17. The lantiq target is now on Linux 4.19 only and these exceptions are not needed any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* 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>
* kernel: netfilter: reuse kconfig and files info from include dirYousong Zhou2019-10-241-23/+9
| | | | | | Less chance of missing out kconfig symbols at least Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* mac80211: fix build of rtw88David Bauer2019-10-221-1/+2
| | | | | | | | | | This commit fixes failing builds because of an incorrect configuration for the kmod-rtw88 package. RTW88_8822BE as well as RTW88_8822CE have to bes selected as "y" even when building the driver as a module. Signed-off-by: David Bauer <mail@david-bauer.net>
* mac80211: add rtw88 driverDavid Bauer2019-10-221-1/+12
| | | | | | | | | This commits adds packaging for the new RTW88 driver from Realtek. It supports the Realtek 8822BE/8822CE PCIe wireless chips. For operation, the complementary firmware has to be loaded. Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: add package for Epson RX-8025 and compatible I2C RTCMathew McBride2019-10-191-0/+17
| | | | | | | RX-8025 is an I2C RTC from Epson, some newer products such as the RX-8035 are also compatible. Signed-off-by: Mathew McBride <matt@traverse.com.au>
* mac80211: Update to version 5.4-rc2Hauke Mehrtens2019-10-1956-2530/+101
| | | | | | | | | This updates mac80211 to backports based on kernel 5.4-rc2 ath10k-ct was updated to match the API changes and iw now uses the new nl80211.h header file. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: Update to version 5.3.6Hauke Mehrtens2019-10-1911-280/+23
| | | | 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>
* kernel: fix MBIM descriptionBjørn Mork2019-10-171-1/+1
| | | | Signed-off-by: Bjørn Mork <bjorn@mork.no>
* mac80211: add new acs_exclude_dfs optionFlorian Eckert2019-10-151-1/+5
| | | | | | | | | | | | The channel can be selected automatically at run time by setting channel=acs_survey or channel=0, both of which will enable the ACS survey based algorithm in hostapd. If the option acs_exclude_dfs is set in the hostpad config DFS channels from ACS are excluded on channel selection. This commit will add the possibilty to exclude the dfs channel on ACS survey. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* kernel: add kmod-iio-bme680Stijn Tintel2019-10-131-0/+45
| | | | | | | | | This driver supports the Bosch Sensortec BME680 gas, humidity, pressure and temperature sensor. Tested I2C and SPI modes on a Raspberry Pi Zero W. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* trelay: log "started" and "stopped"Ali MJ Al-Nasrawy2019-10-121-0/+8
| | | | | | It is informative especially when using multiple device pairs. Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* trelay: fix deadlock on removeAli MJ Al-Nasrawy2019-10-121-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>
* trelay: handle netdevice events correctlyAli MJ Al-Nasrawy2019-10-121-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>
* kernel: NFSD: add dependency kmod-crypto-arc4 for kmod-fs-nfs-common-rpcsecRuixi Zhou2019-10-121-1/+2
| | | | | | | | | | crypto-arc4 move into a module with commit c3a78955f34a61d402044f357f54f21c75a19ff9, fs-nfs-common-rpcsec compile error without arc4 support. Ref: https://github.com/openwrt/packages/issues/9912 Fixes: c3a78955f34a ("kernel: move crypto-arc4 into a module") Signed-off-by: Ruixi Zhou <zhouruixi@gmail.com>
* kernel: fix typos in video KernelPackage descriptionSungbo Eo2019-10-121-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>
* kernel: kmod-rtc-pcf2127: Fix dependenciesHauke Mehrtens2019-10-121-0/+1
| | | | | | | | | | Add missing dependencies to i2c-core and regmap-spi. These get activated when these modules are build in this driver, which is the case when we build all modules. This fixes the build on some targets. This was found by the buildbot. Fixes: 34e2526f9fcc ("kernel: add kmod-rtc-pcf2127") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mt76: update to the latest versionFelix Fietkau2019-10-101-3/+3
| | | | | | | | | | | | | 71c2ef0420b5 mt76: fix aggregation stop issue 5b02a078d4a7 mt76: add missing locking around ampdu action 7d8764d320cf mt76: avoid enabling interrupt if NAPI poll is still pending d94cc81d3980 mt76: drop rcu read lock in mt76_rx_aggr_stop c11a4ad06d9d mt76: mt76x0: eeprom: add support for MAC address from OF 01642d8bed33 mt76: mt76x02: fix use-after-free in tx status code handling airtime 391e1488f885 mt76: add sanity check for a-mpdu rx wcid index d3a589586d1b mt76: fix a-mpdu boundary detection issue for airtime reporting Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix scan when operating on DFS channels in ETSI domainsStefan Lippers-Hollmann2019-10-091-0/+118
| | | | | | | | | | | | | | | | | In non-ETSI regulatory domains scan is blocked when operating channel is a DFS channel. For ETSI, however, once DFS channel is marked as available after the CAC, this channel will remain available (for some time) even after leaving this channel. Therefore a scan can be done without any impact on the availability of the DFS channel as no new CAC is required after the scan. Enable scan in mac80211 in these cases. Signed-off-by: Aaron Komisar <aaron.komisar@tandemg.com> Link: https://lore.kernel.org/r/1570024728-17284-1-git-send-email-aaron.komisar@tandemg.com Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
* mac80211: add an improved moving average algorithm to minstrelFelix Fietkau2019-10-083-0/+720
| | | | | | Improves rate control responsiveness and performance Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: ath10k: fix latency issue for QCA988xDavid Bauer2019-10-061-0/+42
| | | | | | | | This backport fixes high latency (>100ms) on the WiFi link when using a QCA988x Wave 1 radio. The ath10k-ct driver is not affected by this bug from my testing, hence why it hasn't been discovered earlier. Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: add kmod-rtc-pcf2127Robert Marko2019-10-061-0/+16
| | | | | | Add kernel module to support NXP PCF2127 and PCF2129 RTC clocks. Signed-off-by: Robert Marko <robimarko@gmail.com>
* mac80211: rt2x00: backport 'rt2x00: initialize last_reset'Daniel Golle2019-10-011-0/+35
| | | | | | | | | | | | | | | | | https://patchwork.kernel.org/patch/11161981/ -- From: Stanislaw Gruszka <sgruszka@redhat.com> Subject: [PATCH] rt2x00: initialize last_reset Initialize last_reset variable to INITIAL_JIFFIES, otherwise it is not possible to test H/W reset for first 5 minutes of system run. Fixes: e403fa31ed71 ("rt2x00: add restart hw") Reported-and-tested-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> -- Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mt76: update to the latest versionFelix Fietkau2019-09-291-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0167bfa7b277 mt76: make mt76_rx_convert static 1d2acd5639d7 mt76: mt76x0: remove redundant chandef copy 496c78e4f0d3 mt76: mt76x0: remove unneeded return value on set channel 67973788f47f mt76: mt7615: introduce mt7615_txwi_to_txp utility routine c7f82146ef96 mt76: mt7615: add support to read temperature from mcu e07407ac1279 mt7603: fix build with CONFIG_KERNEL_DYNAMIC_DEBUG=y 8739f87e9aeb mt76: mt7615: fix control frame rx in monitor mode 9c5df3cb6a6d mt76: remove aggr_work field from struct mt76_wcid 0efbc5d1c271 mt76: use cancel_delayed_work_sync in mt76_rx_aggr_shutdown 0308d75f28e4 mt76: remove empty flag in mt76_txq_schedule_list a20c20bbe88d mt76: usb: add lockdep_assert_held in __mt76u_vendor_request b140512e73bf mt76: mt76x0e: make array mt76x0_chan_map static const, makes object smaller 63e815254075 mt76: mt7615: enable SCS by default f3792b550fdb mt76: mt76x02: move mac_reset_counter in mt76x02_lib module 0355b7ae2b05 mt76: mt76x2: move mt76x02_mac_reset_counters in mt76x02_mac_start c39488772d6b mt76: mt76x0u: reset counter starting the device 0b01aceeeff8 mt76: mt76x02u: move mt76x02u_mac_start in mt76x02-usb module fbc59e64396e mt76: move queue debugfs entry to driver specific code 1118b5ea76be mt76: mt7615: add queue entry in debugfs 23e8aed3ac99 mt76: move aggr_stats array in mt76_dev 696c0fc5516a mt76: mt7615: collect aggregation stats 081926aa7b27 mt76: mt7603: collect aggregation stats ea3ab68c7589 mt76: mt7615: fix mt7615 firmware path definitions 1ddcadb72e96 mt76: mt7603: remove q_rx field from struct mt7603_dev 202776352b0a mt76: report rx a-mpdu subframe status b0429879eab2 mt76: rename mt76_driver_ops txwi_flags to drv_flags and include tx aligned4 a1d6891501a1 mt76: store current channel survey_state in struct mt76_dev f34b1ae42cd0 mt76: track rx airtime for airtime fairness and survey ee310307ad42 mt76: mt7603: track tx airtime for airtime fairness and survey fdf0163fd101 mt76: mt7603: switch to a different counter for survey busy time de118bb403d1 mt76: unify channel survey update code 3429cc7d36da mt76: mt76x02: move MT_CH_TIME_CFG init to mt76x02_mac_cc_reset 0e5050ee799c mt76: mt76x02: track approximate tx airtime for airtime fairness and survey 028071d9594c mt76: mt7615: report tx_time, bss_rx and busy time to mac80211 d91f7c1bcdf7 mt76: mt7615: fix survey channel busy time 2579122ba209 mt76: mt7615: introduce mt7615_mac_wtbl_update routine 81f2be0c459f mt76: mt7615: track tx/rx airtime for airtime fairness e7199f944793 mt76: enable airtime fairness 8f22de061129 mt76: do not use devm API for led classdev 6f7d0f503d10 mt76: fix use-after-free bug in airtime fairness code Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add patch to include local BSS rx time in survey informationFelix Fietkau2019-09-292-2/+79
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ltq-vdsl-fw: update firmware filename and download URLDaniel Golle2019-09-213-5/+5
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add module for Emulex OneConnect 10GbitAlberto Bursi2019-09-191-0/+21
| | | | | | | | 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>
* brcm2708-gpu-fw: update to latest firmwareÁlvaro Fernández Rojas2019-09-191-15/+15
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* 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>
* ath10k-ct: update to version 2019-09-09Robert Marko2019-09-159-18/+18
| | | | | | | | | Update the ath10k-ct driver version to 5e8cd86f90dac966d12df6ece84ac41458d0e95f to enable dynamic VLANs to work. Patches refreshed during the bump. Signed-off-by: Robert Marko <robimarko@gmail.com> [commit description facelift] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* mt76: probe load mt7615 driver asynchronouslyFelix Fietkau2019-09-121-0/+1
| | | | | | It can take a long time to load the firmware Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>
* brcm2708-gpu-fw: update to latest firmwareÁlvaro Fernández Rojas2019-09-041-15/+15
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mac80211: rt2x00: revert commit causing regression in 5GHz bandDaniel Golle2019-08-298-14/+84
| | | | | | | | | | | | | | | | | | | From: Stanislaw Gruszka <sgruszka@redhat.com> This reverts commit 9ad3b55654455258a9463384edb40077439d879f. As reported by Sergey: "I got some problem after upgrade kernel to 5.2 version (debian testing linux-image-5.2.0-2-amd64). 5Ghz client stopped to see AP. Some tests with 1metre distance between client-AP: 2.4Ghz -22dBm, for 5Ghz - 53dBm !, for longer distance (8m + walls) 2.4 - 61dBm, 5Ghz not visible." It was identified that rx signal level degradation was caused by 9ad3b5565445 ("rt2800: enable TX_PIN_CFG_LNA_PE_ bits per band"). So revert this commit. Signed-off-by: Daniel Golle <daniel@makrotopia.org>