Tianling Shen
f104d46a63
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-07 13:00:52 +08:00
Tianling Shen
52229a5153
r8125: Update to 9.006.04 version
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-07 11:18:31 +08:00
Tianling Shen
47e884d6a3
r8125: Update to 9.006.04
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-07 09:18:04 +08:00
Stijn Tintel
b4a3c20aa4
kernel: drop kmod-gpio-dev
...
The GPIO_DEVICE symbol belonged to a custom driver that was removed from
OpenWrt in 2012. The symbol never existed in the upstream kernel.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-10-05 23:30:48 +03:00
Tianling Shen
a2ae4f5b39
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-10-01 10:18:25 +08:00
AmadeusGhost
8636137f61
mt7601u-ap: fix build with kernel 5.10
...
Fixes : #473
(cherry picked from commit aa56b0d6ec )
2021-10-01 03:05:38 +08:00
Felix Fietkau
42dda0ed3e
mac80211: allow retry of wifi setup if an iw interface add command fails
...
In some cases, spurious failures might be cleared by teardown and retry
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-09-30 11:33:37 +02:00
Rosen Penev
585cef5f1a
cryptodev-linux: update to 1.12
...
Remove upstream backport.
Use AUTORELEASE for simplicity.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-29 22:56:59 +02:00
Stijn Tintel
0e30276632
kernel: add missing symbol to kmod-kvm
...
Even though TRACEPOINTS is not enabled in my kernel config, my build
fails due to KVM_MMU_AUDIT being missing. Add this symbol to kmod-kvm to
fix this.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-09-29 19:17:55 +03:00
Stijn Tintel
73a2570fa0
kernel: order kmod-kvm symbols alphabetically
...
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-09-29 19:17:55 +03:00
Tianling Shen
be47fc826a
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-26 11:48:22 +08:00
Felix Fietkau
2bfac61483
mac80211: backport support for BSS color changes
...
This is needed for an upcoming mt76 update
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-09-25 09:38:37 +02:00
Hauke Mehrtens
97bc59a5c0
mac80211: Update to backports-5.10.68
...
Refresh all patches.
The removed patches were integrated upstream.
This contains fixes for CVE-2020-3702
1. These patches (ath, ath9k, mac80211) were included in kernel
versions since 4.14.245 and 4.19.205. They fix security vulnerability
CVE-2020-3702 [1] similar to KrØØk, which was found by ESET [2].
Thank you Josef Schlehofer for reporting this problem.
[1] https://nvd.nist.gov/vuln/detail/CVE-2020-3702
[2] https://www.welivesecurity.com/2020/08/06/beyond-kr00k-even-more-wifi-chips-vulnerable-eavesdropping/
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-09-22 22:24:00 +02:00
Tianling Shen
061f5ad461
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-16 02:01:54 +08:00
AmadeusGhost
7e6332f96b
rtl8192eu: add new package
...
Also removed obsolete packages.
(cherry picked from commit de9c37bc1b )
2021-09-14 03:21:56 +08:00
Christian Pointner
bd74bc9013
kernel: add package kmod-iio-ads1015 and remove kmod-hwmon-ads1015
...
The hwmon driver for the ADC ADS1015 has been removed in Linux 5.4 in
favor of a driver in the iio system. For details see:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c9d5b5e
This fixes: https://bugs.openwrt.org/index.php?do=details&task_id=4005
Run-tested: ramips/mt76x8 (Onion Omega 2+)
Signed-off-by: Christian Pointner <equinox@spreadspace.org>
2021-09-13 17:11:50 +02:00
Tianling Shen
9ced3d6755
exfat: Update to 5.14.1
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 145b8fd486 )
2021-09-11 04:34:09 +08:00
Tianling Shen
d3b22f0cda
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-09-11 04:11:12 +08:00
Felix Fietkau
6f2044c2d7
mac80211: revert faulty change that was breaking broadcast tx
...
Fixes: 0f6887972a ("mac80211: add missing change for encap offload on devices with sw rate control")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-09-06 12:01:42 +02:00
AmadeusGhost
84180ebbeb
Merge official source
2021-08-27 18:50:32 +08:00
Christian Lamparter
d24efa92e1
ath9k: owl-loader: remove obsolete AR71XX patch
...
this is no longer necessary as the AR71XX target
was superseded by ath79.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2021-08-26 21:37:19 +02:00
Christian Lamparter
2b0378cf9f
gpio-button-hotplug: convert to gpio descriptor (gpiod_) API
...
OpenWrt's special gpio-button-hotplug driver is still using
exclusively the legacy GPIO Subsystem gpio_ API.
While it still does work fine for most devices, upstream
linux is starting to convert platform support like that of
the APU2/3/4 to the new GPIOD LOOKUP tables that are not
supported by it.
Hence, this patch replaces the gpio_ calls present in
gpio-button-hotplug with gpiod_ equivalent wherever
it's possible. This allows the driver to use the
gpiod lookup tables and still have a fallback for
legacy platform data code that just sets button->gpio
set to the real button/switch GPIO.
As a bonus: the active_low logic is now being handled
by the linux's gpio subsystem too. Another issue that
was address is the of_handle leak in the dt parser
error path.
Tested with legacy platform data: x86_64: APU2, MX-100
Tested on OF: ATH79; MR18, APM821xx: Netgear WNDR4700,
RAMIPS: WL-330N3G
LANTIQ: AVM FritzBox 7360v1
Reported-by: Chris Blake <chrisrblake93@gmail.com>
Tested-by: Chris Blake <chrisrblake93@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2021-08-26 21:00:26 +02:00
Felix Fietkau
0f6887972a
mac80211: add missing change for encap offload on devices with sw rate control
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-08-24 17:35:45 +02:00
Felix Fietkau
f04c0ead33
mac80211: refresh patch
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-08-24 17:35:45 +02:00
Felix Fietkau
a0d81ba0d5
mac80211: fix HT40 mode for 6G band
...
The channel offset used for VHT segment calculation was missing for HT
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-08-24 17:35:45 +02:00
Tianling Shen
717a8a12dc
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-08-23 20:42:01 +08:00
Jan Hoffmann
23bf503605
ltq-vdsl: add missing backslash
...
This error was introduced with the recent cleanup.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2021-08-21 19:16:26 +01:00
Álvaro Fernández Rojas
8e4110d81e
bcm27xx-gpu-fw: update to latest version
...
Multiple firmware fixes needed for kernel updates.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-08-21 19:07:06 +02:00
Jan Hoffmann
9754b6ba6f
ltq-vdsl/ltq-vdsl-app: clean up configure args
...
The userspace application now uses the model=full option to match the
configuration of the kernel module. The source no longer contains SOAP
support, which was the primary reason to build only typical instead
of full before.
This makes several CLI commands, which were already supported in the
kernel module, available in the userspace application. For example, this
includes bbsg which allows to get information about VDSL2 bands.
Some previously applied build options were redundant. Disabling ADSL MIB
support is unnecessary, as it only applies to Danube. ADSL LED support
is no longer included in the source. ReTx counters are already included
with model type full.
This increases the size of the userspace application by approximately
15 kB (uncompressed). The kernel module does not change at all.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2021-08-21 15:59:39 +02:00
AmadeusGhost
5297666831
r8168: update to 8.049.01
...
(cherry picked from commit bd7988e68e )
2021-08-08 20:23:29 +08:00
Tianling Shen
b16f148167
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-08-06 10:16:48 +08:00
Stijn Tintel
986685f4f0
kernel: kmod-xfrm-interface requires IPv6
...
The xfrm_interface module will not be built if IPv6 is not enabled in
the kernel. Add this dependency in the kmod package to avoid people
wondering why it doesn't build when they disabled IPv6.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-08-06 00:21:08 +03:00
Ansuel Smith
91a52f22a1
treewide: backport support for nvmem on non platform devices
...
In the current state, nvmem cells are only detected on platform device.
To quickly fix the problem, we register the affected problematic driver
with the of_platform but that is more an hack than a real solution.
Backport from net-next the required patch so that nvmem can work also
with non-platform devices and rework our current patch.
Drop the mediatek and dsa workaround and rework the ath10k patches.
Rework every driver that use the of_get_mac_address api.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-08-05 01:46:26 +02:00
Hans Dedecker
022d1fe80f
nat46: fix translation of ICMP protocols parameter problem and unreachable
...
9b3a819 nat46-core: Fix translation of ICMP protocols parameter problem and unreachable (#27 )
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2021-08-01 21:13:00 +02:00
AmadeusGhost
48712a0a60
Merge Official Source
2021-07-24 12:15:23 +08:00
Stijn Tintel
3cb22b277a
kernel: add missing symbol to kmod-qlcnic
...
When the kmod-qlcnic package is built on targets that have
CONFIG_PCI_IOV enabled, the CONFIG_QLCNIC_SRIOV symbol is exposed.
Enable this symbol in the kmod package to fix its build.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-07-23 12:33:32 +03:00
Tianling Shen
38d7742f28
kernel/iptables: drop imq support
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit aaa39208db )
2021-07-23 13:29:27 +08:00
AmadeusGhost
1bb251a7e9
Merge Official Source
2021-07-20 12:18:13 +08:00
Ansuel Smith
853e8465a7
ath10k: fix compilation error with CONFIG_OF not available
...
of_platform_device_create require CONFIG_OF selected.
Add an ifdef and register to the of platform only if of is available.
Fixes: 985954ccbd ("kernel: add ath10k support for of_get_mac_address")
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-07-19 19:10:18 +02:00
Ansuel Smith
985954ccbd
kernel: add ath10k support for of_get_mac_address
...
ath10k doesn't currently support the standard function to get mac-address from the dts.
Add this for both ath10k and ath10k-ct
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-07-19 14:51:22 +02:00
Felix Fietkau
479a2a90f7
mt76: update to the latest version
...
bbebea7d6dc6 Revert "mt76: fix mt76_rates for the multiple devices"
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-07-15 21:39:30 +02:00
Felix Fietkau
99a22d48f2
mt76: update to the latest version
...
624c681ef0c6 mt76: mt7921: enable VHT BFee capability
a27dfcb63ccf mt76: connac: fix UC entry is being overwritten
6b691e62470e mt76: connac: add mt76_connac_power_save_sched in mt76_connac_pm_unref
b14365bea586 mt76: mt7921: wake the device before dumping power table
82af16bddfc0 mt76: mt7921: make mt7921_set_channel static
b24598b1c1a9 mt76: connac: add mt76_connac_mcu_get_nic_capability utility routine
5954e3381ff9 mt76: testmode: move chip-specific stats dump before common stats
fd5b612f9aa4 mt76: mt7915: fix rx fcs error count in testmode
d9d26a294f7b mt76: connac: fix the maximum interval schedule scan can support
ed39c882f388 mt76: reduce rx buffer size to 2048
60f3d3adbba6 mt76: move mt76_get_next_pkt_id in mt76.h
67ed4d902c84 mt76: connac: check band caps in mt76_connac_mcu_set_rate_txpower
23c6ec49c000 mt76: make mt76_update_survey() per phy
5ca602fb9455 mt76: mt7915: introduce mt7915_mcu_set_txbf()
c13df42282e9 mt76: mt7915: improve MU stability
dee7dcddcaa0 mt76: use SPDX header file comment style
6fbd47153b3d mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
1b97dd1762ca mt76: mt7921: fix sta_state incorrect implementation
1b89053b5a6f mt76: mt7921: improve code readability for mt7921_update_txs
126649816785 mt76: mt7921: limit txpower according to userlevel power
a5163ac09be2 mt76: mt7921: introduce dedicated control for deep_sleep
e47c04db4d7e mt76: mt7921: fix kernel warning when reset on vif is not sta
063d3611662c mt76: mt7921: fix the coredump is being truncated
12bf28feba7c mt76: fix iv and CCMP header insertion
949327e76ee4 mt76: disable TWT capabilities for the moment
3530254c1bc9 mt76: mt7921: enable HE BFee capability
599e35f5d9b8 mt76: sdio: do not run mt76_txq_schedule directly
3b6d30c28946 mt76: mt7663s: rely on pm reference counting
529d55a79088 mt76: mt7663s: rely on mt76_connac_pm_ref/mt76_connac_pm_unref in tx path
ef44ff116ee2 mt76: mt7663s: enable runtime-pm
3a71e71a555e mt76: mt7615: set macwork timeout according to runtime-pm
925d96e443a4 mt76: mt7921: allow chip reset during device restart
63b114d84361 mt76: mt76x0e: fix device hang during suspend/resume
7f5ea5e2fd10 mt7915: check return code of sysfs_create_link
ca64a36908b7 mt76: fix mt76_rates for the multiple devices
f517116bf14c mt76: add mt76_default_basic_rate more devices can rely on
6c70b0100513 mt76: mt7921: fix mgmt frame using unexpected bitrate
c00a9a6b52af mt76: mt7915: fix mgmt frame using unexpected bitrate
0e4089949565 mt76: mt7921: fix endianness in mt7921_mcu_tx_done_event
55f314120ef2 mt76: mt7921: avoid unnecessary spin_lock/spin_unlock in mt7921_mcu_tx_done_event
541cd3276488 mt76: mt7915: fix endianness warning in mt7915_mac_add_txs_skb
817761e87c4f mt76: mt7921: fix endianness warning in mt7921_update_txs
b8eca74bbd7b mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
5e5e07f0def3 mt76: mt7915: fix potential overflow of eeprom page index
abda4cded420 mt76: mt7915: fix info leak in mt7915_mcu_set_pre_cal()
535899f81a46 mt76: mt7915: fix calling mt76_wcid_alloc with incorrect parameter
adfa1b9a3ca0 mt76: connac: fix mt76_connac_gtk_rekey_tlv usage
2a65b105ea4a mt76: mt7921: enable aspm by default
c57158c82804 mt76: fix build error implicit enumeration conversion
41f607cab83c mt76: mt7921: fix survey-dump reporting
25b4f885a937 mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
e63fadb87fe1 mt76: mt7915: report HE MU radiotap
135ef3e9827a mt76: mt7915: adapt new firmware to update BA winsize for Rx session
7118eacb7ce4 mt76: mt7921: add .set_sar_specs support
f1f6569da408 mt76: mt7915: fix an off-by-one bound check
f7da39467965 mt76 mt7915: take RCU read lock when calling ieee80211_bss_get_elem()
87af8e5c72b1 mt76: mt7915: cleanup -Wunused-but-set-variable
8e2d383fbd92 mt76: mt7915: report tx rate directly from tx status
ddce30977591 mt76: mt7915: remove mt7915_sta_stats
4ccd42029519 mt76: mt7921: introduce testmode support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-07-14 18:09:23 +02:00
Felix Fietkau
890bf06cef
mac80211: backport SAR power limit support
...
Needed for an upcoming mt76 update
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-07-14 18:09:23 +02:00
Felix Fietkau
19228c4562
mac80211: merge a 4-addr client mode fix
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-07-14 18:09:23 +02:00
Felix Fietkau
a5888ad6b3
mac80211: merge the virtual time based airtime scheduler
...
Improves airtime fairness, especially for devices with larger firmware buffers
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-07-14 15:48:57 +02:00
Tianling Shen
736024c007
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-05 17:23:58 +08:00
Felix Fietkau
de49957300
mac80211: backport fix for nl80211 control port tx (fixes FS#3857)
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-30 19:09:31 +02:00
Tianling Shen
12be24a160
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-06-30 00:28:04 +08:00
Felix Fietkau
8bb4437c01
mac80211: fix a regression in starting aggregation sessions on mesh interfaces
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-29 13:32:50 +02:00
Bob Cantor
3933e29d1b
mac80211: print an error if wifi teardown fails
...
drv_mac80211_teardown fails silently if the device to be torn down is
not defined. This commit prints an error message.
branches affected: trunk, 21.02
Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-28 17:24:11 +02:00