Commit Graph

771 Commits

Author SHA1 Message Date
coolsnowwolf
0dec08d9e2 x86: add amd Ryzen APU vage/rdna gpu support 2022-10-10 17:06:54 +08:00
Koen Vandeputte
60dc2c9b7c mac80211: fix compile error when mesh is disabled
This fixes following compile error seen when
building mac80211 with mesh disabled:

.../backports-5.15.58-1/net/mac80211/agg-rx.c: In function 'ieee80211_send_addba_resp':
...backports-5.15.58-1/net/mac80211/agg-rx.c:255:17: error: 'struct sta_info' has no member named 'mesh'
  255 |         if (!sta->mesh)
      |                 ^~

sta_info.h shows this item as being optional based on flags:

	struct mesh_sta *mesh;

Guard the check to fix this.

Fixes: f96744ba6b ("mac80211: mask nested A-MSDU support for mesh")
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2022-10-05 11:38:10 +08:00
David Bauer
758af54df2 mac80211: mask nested A-MSDU support for mesh
mac80211 incorrectly processes A-MSDUs contained in A-MPDU frames. This
results in dropped packets and severely impacted throughput.

As a workaround, don't indicate support for A-MSDUs contained in
A-MPDUs. This improves throughput over mesh links by factor 10.

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-10-04 11:37:15 +08:00
Felix Fietkau
784361332e mt76: update to the latest version
e4fa68a9b3b3 linux-firmware: update firmware for MT7921 WiFi device
60fcf08fe659 linux-firmware: update firmware for MT7921 WiFi device
9d601f4eee8f linux-firmware: update firmware for MT7922 WiFi device
e49b6063fb4b wifi: mt76: move mt76_rate_power from core to mt76x02 driver code
3f27f6adb1ab wifi: mt76: mt76x02: simplify struct mt76x02_rate_power
c07f3d2d5ede wifi: mt76: mt7921: fix antenna signal are way off in monitor mode
9059a5de3bd0 wifi: mt76: Remove unused inline function mt76_wcid_mask_test()
d75f15ddeb90 wifi: mt76: mt7915: fix bounds checking for tx-free-done command
06df7e689294 wifi: mt76: mt7915: reserve 8 bits for the index of rf registers
ad3d0f8db00b wifi: mt76: mt7915: rework eeprom tx paths and streams init
66065073177b wifi: mt76: mt7915: deal with special variant of mt7916
b0114a0abb57 wifi: mt76: mt7915: rework testmode tx antenna setting
6dee964e1f36 wifi: mt76: connac: introduce mt76_connac_spe_idx()
48c116d92939 wifi: mt76: mt7915: add spatial extension index support
db6db4ded0fd wifi: mt76: mt7915: set correct antenna for radar detection on MT7915D
2b8f56a72d76 wifi: mt76: mt7915: fix mt7915_mac_set_timing()
d554a02554db wifi: mt76: mt7915: move wed init routines in mmio.c
61ce40e65852 wifi: mt76: mt7915: enable wed for mt7986 chipset
584a96ec4a0f wifi: mt76: mt7915: enable wed for mt7986-wmac chipset
172d68b6253d mt76: mt76x02: fix vht rate power array overrun
72b87836d368 Revert "mt76: use IEEE80211_OFFLOAD_ENCAP_ENABLED instead of MT_DRV_AMSDU_OFFLOAD"

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-10-02 11:53:30 +08:00
Felix Fietkau
dde7a41246 kernel: move ubnt ledbar driver to a separate package
Simplifies the tree by removing a non-upstream kernel patch
and related kconfig symbols.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-09-30 22:26:36 +08:00
Felix Fietkau
4b6fd08298 kernel: remove hack patch, move kirkwood specific kmods to target modules.mk
Tweaking the KCONFIG line of kmod-ata-marvell-sata makes the hack patch
unnecessary

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-09-30 21:35:47 +08:00
Daniel Golle
8dfec81997 kernel: modules: bluetooth: include support for MediaTek USB
Enable MediaTek protocol in btusb module to support e.g. the Bluetooth
part of the MT7921K NGFF/M.2 module.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-28 00:32:11 +08:00
Daniel Golle
1969e2c390 mediatek: build USB XHCI support as module
Instead of always including the XHCI driver in the kernel on all
MediaTek boards, selectively include the kernel module only on boards
which actually make use of USB functionality.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-28 00:29:46 +08:00
Sungbo Eo
7901118997 mac80211: rt2x00: fix typo
Add missing semicolon and refresh patches.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2022-09-18 21:30:20 +08:00
Felix Fietkau
e78c4bfffe mt76: update to the latest version
94eb0bc1374d wifi: mt76: testmode: use random payload for tx packets
f8ece810002b wifi: mt76: add rx_check callback for usb devices
67fbdb7bed90 wifi: mt76: mt7921e: fix race issue between reset and suspend/resume
a9b09dd2715f wifi: mt76: mt7921s: fix race issue between reset and suspend/resume
ee3eb0d6d52e wifi: mt76: mt7921u: fix race issue between reset and suspend/resume
9706ccef5447 wifi: mt76: mt7921u: remove unnecessary MT76_STATE_SUSPEND
74a29eb4f714 wifi: mt76: mt7921: move mt7921_rx_check and mt7921_queue_rx_skb in mac.c
f49e06c4cfce wifi: mt76: sdio: fix the deadlock caused by sdio->stat_work
322656141fa4 wifi: mt76: sdio: poll sta stat when device transmits data
dee0a3cbfb03 wifi: mt76: mt7915: fix an uninitialized variable bug
9dd7be2c5164 wifi: mt76: mt7921: fix use after free in mt7921_acpi_read()
0ad02c9a4512 wifi: mt76: sdio: add rx_check callback for sdio devices
fe85e5ccbaca wifi: mt76: sdio: fix transmitting packet hangs
206c7ebd7464 wifi: mt76: mt7615: add mt7615_mutex_acquire/release in mt7615_sta_set_decap_offload
bf79f5d73e4f wifi: mt76: mt7915: fix possible unaligned access in mt7915_mac_add_twt_setup
c4132ab0bea2 wifi: mt76: connac: fix possible unaligned access in mt76_connac_mcu_add_nested_tlv
52eec74986cf wifi: mt76: mt7663s: add rx_check callback
019ef069e754 wifi: mt76: mt76_usb.mt76u_mcu.burst is always false remove related code
0a392ca03db8 wifi: mt76: mt7921: add mt7921_mutex_acquire at mt7921_[start, stop]_ap
fbb3554b6236 wifi: mt76: mt7921: add mt7921_mutex_acquire at mt7921_sta_set_decap_offload
b55a4eb2ee21 wifi: mt76: mt7921: fix the firmware version report
2d72c9a74011 wifi: mt76: move move mt76_sta_stats to mt76_wcid
873365b06c5c wifi: mt76: add PPDU based TxS support for WED device
0c64a80a61c2 wifi: mt76: connac: fix in comment
d11f971a452e wifi: mt76: mt7921: get rid of the false positive reset
2ac22300c7ac wifi: mt76: mt7915: fix mcs value in ht mode
5e45533e4ba2 wifi: mt76: fix uninitialized pointer in mt7921_mac_fill_rx
e06376af21dd wifi: mt76: mt7915: do not check state before configuring implicit beamform
0c0bda4aea05 wifi: mt76: mt7921: reset msta->airtime_ac while clearing up hw value
cddc4b43ea93 wifi: mt76: mt7921e: fix rmmod crash in driver reload test
ebbd68842ee0 wifi: mt76: mt7921: introduce Country Location Control support
763a1d90133b wifi: mt76: mt7921e: fix random fw download fail

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-09-18 15:29:13 +08:00
lean
fabfc44859 bpftools: update to standalone bpftools + libbpf, use the latest version 2022-09-15 12:11:45 +08:00
lean
64e592e2d1 netfilter.mk: fix nft-socket and nft-tproxy depend 2022-09-13 00:24:50 +08:00
lean
ea54bd7ca1 ipq60xx: add Qihoo 360v6 AX1800 support 2022-09-12 04:29:38 +08:00
lean
163022ea32 ath11k: enable ipq60xx target dependency 2022-09-12 03:44:59 +08:00
lean
9c0a73385d kernel: netfilter: Add nf_tproxy_ipv{4,6} and nf_socket_ipv{4,6} 2022-09-12 02:58:55 +08:00
lean
2b04e06a1c fs: port ntfs3 from kernel 5.19 to 5.10 2022-09-11 03:36:58 +08:00
lean
915d5814dd fs: port ntfs3 from kernel 5.19 to 5.4 2022-09-11 03:34:53 +08:00
Felix Fietkau
49e382d368 mt76: update to the latest version
d70546462b7b mt76: fix 5 GHz connection regression on mt76x0/mt76x2

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-09-08 14:25:12 +08:00
Josef Schlehofer
b18bb3efbf kernel: fix typo for tegra crypto-sha1 module
Fixes: e889489bedfd2830411bd0cf6564b8272aa9c254 ("kernel: build
arm/neon-optimized sha1/512 modules")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-09-02 11:58:38 +08:00
lean
ef5585ee83 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-08-29 21:40:36 +08:00
Daniel Golle
0ef0d66cb9 kernel: enable inside secure driver for MediaTek platforms
Older MT7623 ARMv7 SoC as well as new Filogic platforms come with
inside-secure,safexcel-eip97 units. Enable them in DTS and select the
driver kernel module by default on those platforms.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-29 11:39:05 +08:00
Felix Fietkau
ea13fe5a40 mt76: add mt7986 wmac support
Add firmware package for MT7986 and enable WMAC support in the driver

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-08-29 11:36:27 +08:00
lean
f8015dd5e9 mt76: mt7921e: add firmware for mt7922 wifi6e devices for Ryan 2022-08-29 01:11:02 +08:00
lean
b1e8d12da9 mt76: update to the latest version 2022-08-27 03:38:00 +08:00
lean
f71276d16f ath11k: add wcn685x wifi6e ap mode and firmware support 2022-08-25 11:20:24 +08:00
lean
d496bf88a4 mac80211: fix ath10k 5.19 support 2022-08-25 02:55:42 +08:00
Sultan Alsawaf
944cb3db09 mac80211: parse the correct set of HE capabilities for AP mode
It is common for 802.11ax NICs to support more than just AP mode, which
results in there being a distinct set of HE capabilities for each mode. As
(bad) luck would have it, iw prints out info for each HE mode in sequential
order according to `enum nl80211_iftype`, and AP mode isn't always first.

As a result, the wrong set of HE capabilities can be parsed if an AP NIC
supports station (managed) mode or any other mode preceding AP mode, since
only the first set of HE capabilities printed by iw is parsed from awk's
output.

This has a noticeable impact on beamforming for example, since managed mode
usually doesn't have beamformer capabilities enabled, while AP mode does.
Hostapd won't be set up with the configs to enable beamformer capabilities
in this scenario, causing hostapd to disable beamforming to HE stations
even when it's supported by the AP.

Always parse the correct set of HE capabilities for AP mode to fix this.
This is achieved by trimming all of iw's output prior to the AP mode
capabilities, which ensures that the first set of HE capabilities are
always for AP mode.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2022-08-23 22:54:48 +08:00
lean
8b581837f0 mac80211: add rtl8821cu chipset support in rtw88 2022-08-18 23:44:47 +08:00
lean
3c0774cf8f mt76: mt7921e: fix crash in chip reset fail on rockchip 5.19 kernel 2022-08-17 23:45:26 +08:00
lean
85c2ce64c5 mt76: add 5.19 kernel support 2022-08-17 23:38:06 +08:00
AmadeusGhost
3c6c5fac6c rtl8821cu: drop broken package
Doesn't have these usb wireless network cards, but did a simple test
on rtl8852be, it turns out that the rtl driver is completely rubbish
and is no longer usable.
2022-08-16 15:22:20 +08:00
benihi
41f59a6c2e
kernel: modules: cleanup 5.18 (#9946) 2022-08-16 10:54:57 +08:00
lean
9a166932f3 mac80211: add rt2x00 5.19 kernel support 2022-08-15 02:36:59 +08:00
coolsnowwolf
ae6810abe1 mac80211: fix brcm patch 5.15 support 2022-08-13 08:58:04 +00:00
lean
2672ddeec5 rtl8821cu: fix _rtw_memcpy for kernel 5.19 2022-08-13 10:45:02 +08:00
benihi
48585ff50b
rtl8821cu: update to 2022-04-09 (#9929)
* rtl8821cu: update to 2022-04-09

* rtl8821cu: patches: Buildfix for Linux 5.18

Co-authored-by: Butterfly <gokhanlnx@gmail.com>
2022-08-13 10:16:33 +08:00
coolsnowwolf
084bf632ae mac80211: fix 5.18/5.19 brcm patch 2022-08-12 13:24:13 +00:00
Hugo Yuan
83c2394ea1
mac80211: fix compile error (#9917) 2022-08-11 19:31:22 +08:00
huangjf
6e97cb9f95 mac80211: broadcom: set default y to sdio for rockchip soc 2022-08-11 06:33:03 +00:00
huangjf
941cf93ab5 mac80211: broadcom: add kmod-mac80211 supported 2022-08-11 06:32:25 +00:00
coolsnowwolf
af1f124ef6 mac80211: fix set wifi macaddr to zero 2022-08-11 01:01:23 +00:00
coolsnowwolf
f66ea169c0 mac80211: brcm: backport APIs to support kernel 5.18+ 2022-08-11 00:54:46 +00:00
breakings
ab90f4fe97
kernel: mdio-devres: fix of-mdio dependency (#9912)
armvirt/64 when compiled with ALL_KMODS=y reports following:

 Package kmod-mdio-devres is missing dependencies for the following libraries:
 of_mdio.ko

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-08-10 15:33:08 +08:00
breakings
0edc2efdb0
kernel: modules: fix kmod-mdio-devres dependency for 5.15 (#9911)
Fix:
Package kmod-mdio-devres is missing dependencies for the following libraries:
 of_mdio.ko
Package kmod-of-mdio is missing dependencies for the following libraries:
 fwnode_mdio.ko

Co-authored-by: breakings <breakingstop@gmail.com>
2022-08-10 13:32:15 +08:00
coolsnowwolf
1ed3597b92 x86: add suuport for Intel gen 11/12/13th GPU GVT-g capability 2022-08-06 16:46:59 +00:00
Stalker
975e0f70ca
Fix modules in kernel 5.19 (#9883)
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2022-08-02 13:38:52 +08:00
Daniel Golle
8457bf1691 kernel: add kmod-nvme package
Add driver for NVM Express block devices, ie. PCIe connected SSDs.

Targets which allow booting from NVMe (x86, maybe some mvebu boards come
to mind) should have it built-in, so rootfs can be mounted from there.
For targets without NVMe support in bootloader or BIOS/firmware it's
sufficient to provide the kernel module package.

On targets having the NVMe driver built-in the resulting kmod package
is an empty dummy. In any case, depending on or installing kmod-nvme
results in driver support being available (either because it was already
built-in or because the relevant kernel modules are added and loaded).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-08-01 09:55:20 +08:00
Catalin Toda
64d53bd4b6 kernel: netconsole: add network console logging support
Accessing the console on many devices is difficult.
netconsole eases debugging on devices that crash
after the network is up.

Reference to the netconsole documentation in upstream Linux:
<https://www.kernel.org/doc/html/latest/networking/netconsole.html>
|
|netconsole=[+][src-port]@[src-ip]/[<dev>],[tgt-port]@<tgt-ip>/[tgt-macaddr]
|
| where
|  +            if present, enable extended console support
|  src-port     source for UDP packets (defaults to 6665)
|  src-ip       source IP to use (interface address)
|  dev          network interface (eth0)
|  tgt-port     port for logging agent (6666)
|  tgt-ip       IP address for logging agent
|  tgt-macaddr  ethernet MAC address for logging agent (broadcast)

OpenWrt specific notes:

OpenWrt's device userspace scripts are attaching the network
interface (i.e. eth0) to a (virtual) bridge (br-lan) device.
This will cause netconsole to report:
|network logging stopped on interface eth0 as it is joining a master device
(and unfortunately the traffic/logs to stop at this point)

As a workaround, the netconsole module can be manually loaded
again after the bridge has been setup with:

 insmod netconsole netconsole=@/br-lan,@192.168.1.x/MA:C...

One way of catching errors before the handoff, try to
append the /etc/modules.conf file with the following extra line:
 options netconsole netconsole=@/eth0,@192.168.1.x/MA:C...

and install the kmod-netconsole (=y) into the base image.

Signed-off-by: Catalin Toda <catalinii@yahoo.com>
(Added commit message from PR, added links to documentation)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-20 17:45:24 +08:00
lean
6d79ece4c2 modules: fix 5.18 vxlan support 2022-07-19 14:51:16 +08:00
Christian Lamparter
79b5e1dd51 module/firmware: remove intersil PRISM54 support
the legacy driver was dropped in linux 5.14-rc3:
commit d249ff28b1d8 ("intersil: remove obsolete prism54 wireless driver")

Quoting Lukas Bulwahn:
"p54 replaces prism54 so users should be unaffected."

Reported-by: Marius Dinu <m95d+git@psihoexpert.ro>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-07-17 00:17:41 +08:00
lean
f876224408 crypto.mk : add backport config 2022-07-14 15:47:10 +08:00
lean
faf4476659 kernel: Make QMI Helpers user selectable in 5.18 2022-07-12 18:54:05 +08:00
lean
5d92792d40 mt76: update to the latest version 2022-07-12 11:51:06 +08:00
lean
954990d137 kmod-ata-ahci-platform: add rockchip RK3566/RK3568 sata support 2022-07-11 14:45:48 +08:00
lean
86ea102156 mac80211: add rtl8723bs for kernel 5.18 support for Ryan 2022-07-11 02:43:03 +08:00
lean
870bae6520 usb net: fix usb-net-asix in 5.18 2022-07-10 17:54:49 +08:00
lean
f350b11ff2 fs: fix ntfs3 in kernel 5.18 2022-07-10 17:51:38 +08:00
lean
14e109d0b9 mt76: bypass warnings being treated as errors 2022-07-09 19:37:51 +08:00
lean
c6734e6cdb mac80211: backport APIs to support kernel 5.18 2022-07-09 19:19:54 +08:00
lean
d638ccd10a kmod-fs-cifs: fix dependence in 5.18 2022-07-09 16:28:20 +08:00
lean
4a65613b43 kernel: fix tpm modules in kernel 5.18 2022-07-09 00:58:37 +08:00
lean
519e147e76 kernel: add linux 5.18 support for x86/x64 2022-07-08 19:21:32 +08:00
lean
63434c83c9 mac80211: improve ath10k encap/vht/thermal support 2022-07-08 14:45:00 +08:00
lean
66d19a4e36 mac80211: bump to 5.15.33-1 2022-07-08 12:44:37 +08:00
lean
82118ca885 ramips: add Mediatek EIP93 Crypto driver for MT7621 2022-07-08 11:07:52 +08:00
Hauke Mehrtens
8f979860f0 kernel: Remove kmod-crypto-lib-blake2s
Delete the crypto-lib-blake2s kmod package, as BLAKE2s is now built-in.

Fixes: be0639063a70 ("kernel: bump 5.4 to 5.4.203")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-07-07 16:10:07 +08:00
AmadeusGhost
a78577fbd0 ksmbd: fixes build on kernel 5.15.52+
Fixes: #9691, #9695
2022-07-05 15:19:00 +08:00
Felix Fietkau
706040d51a mt76: update to the latest version
c07f45927839 firmware: update mt7622 firmware to version 20220630
af406a2d1c36 mt76: do not use skb_set_queue_mapping for internal purposes

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-07-03 10:40:39 +08:00
Felix Fietkau
def6de0a2e mt76: update to the latest version
1696f9eb8b40 mt76: mt7915: do not copy ieee80211_ops pointer in mt7915_mmio_probe
a4db5869d660 mt76: mt7915: update mpdu density in 6g capability
500c18014d95 mt76: mt7915: add sta_rec with EXTRA_INFO_NEW for the first time only
3ef66fc7c714 mt76: do not check the ccmp pn for ONLY_MONITOR frame
dd682eead016 mt76: mt7915: update the maximum size of beacon offload
4fb991f2c997 mt76: mt7615: add sta_rec with EXTRA_INFO_NEW for the first time only
ba39ed3b44f1 mt76: mt76x02: improve reliability of the beacon hang check
fd8211cf7c59 mt76: mt7921: sync with updated patch
f2edd340ddb4 mt76: allow receiving frames with invalid CCMP PN via monitor interfaces
b6e865e2cc70 mt76: mt7615: fix throughput regression on DFS channels

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-06-25 16:36:15 +08:00
Beginner
94e2af1bcc
ksmbd: update to 3.4.5 (#9497)
Major changes are:

Add support for smbd-direct multi-desctriptor.
Add support for dkms.
Add support for key exchange.
Fix seveal bugs.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2022-06-23 13:27:22 +08:00
Beginner
fbf4b5d231
mt76: update to the latest version (#9634)
4554ee652caf mt76: mt7921: fix warning Using plain integer as NULL pointer
a3f1d6ccf3ca mt76: mt7921: add missing bh-disable around rx napi schedule
9aeca2a5ce47 mt76: mt7921: get rid of mt7921_mcu_exit
fee8a5911c76 mt76: connac: move shared fw structures in connac module
db4d784ae7ba mt76: mt7921: move fw toggle in mt7921_load_firmware
16ab6bf49556 mt76: connac: move mt76_connac2_load_ram in connac module
29fd748801c6 mt76: connac: move mt76_connac2_load_patch in connac module
051c68d18214 mt76: mt7663: rely on mt76_connac2_fw_trailer
d6ae3505ac6c mt76: enable the VHT extended NSS BW feature
488a5ccc9762 mt76: mt7921: rely on mt76_dev in mt7921_mac_write_txwi signature
934029bb93e2 mt76: mt7915: rely on mt76_dev in mt7915_mac_write_txwi signature
ecefae4c7d72 mt76: connac: move mac connac2 defs in mt76_connac2_mac.h
b5eecc841df8 mt76: connac: move connac2_mac_write_txwi in mt76_connac module
012e619a07b9 mt76: connac: move mt76_connac2_mac_add_txs_skb in connac module
1b492be795ea mt76: mt7921: not support beacon offload disable command
f1f46d3b4b19 mt76: mt7921: fix command timeout in AP stop period
cae61112ef1d mt76: connac: move HE radiotap parsing in connac module
487674062643 mt76: connac: move mt76_connac2_reverse_frag0_hdr_trans in mt76-connac module
649bdc4983c4 mt76: connac: move mt76_connac2_mac_fill_rx_rate in connac module
cb75aaa39252 mt76: mt7921s: remove unnecessary goto in mt7921s_mcu_drv_pmctrl
e0eaf66eaebb mt76: mt7615: do not update pm stats in case of error
f8d125b4ea30 mt76: mt7921: do not update pm states in case of error
6329a834907e mt76: mt7921s: fix possible sdio deadlock in command fail
8a04f1b04662 mt76: mt7921: fix aggregation subframes setting to HE max
e52283439094 mt76: mt7915: disable UL MU-MIMO for mt7915
fd3958970e3d mt76: mt7921: enlarge maximum VHT MPDU length to 11454
18df38fe77f7 mt76: mt7915: get rid of unnecessary new line in mt7915_mac_write_txwi
149e95f5d7a6 mt76: connac: move mt76_connac_fw_txp in common module
899d192e8a79 mt76: move mt7615_txp_ptr in mt76_connac module
7184f0a6f6a5 mt76: connac: move mt76_connac_tx_free in shared code
c42d45278fa5 mt76: connac: move mt76_connac_tx_complete_skb in shared code
0993f4ef96f8 mt76: connac: move mt76_connac_write_hw_txp in shared code
467960fab791 mt76: connac: move mt7615_txp_skb_unmap in common code
2e758064b085 mt76: mt7915: rely on mt76_connac_tx_free
2065a7901671 mt76: move mcu_txd/mcu_rxd structures in shared code
576c1b7c472b mt76: move mt76_connac2_mcu_fill_message in mt76_connac module
7275f7758090 mt76: mt7915: fix incorrect testmode ipg on band 1 caused by wmm_idx

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2022-06-23 13:26:38 +08:00
Stalker
06066a637c
rockchip: fix drm for 5.15 (#9618)
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2022-06-20 02:30:41 +08:00
AmadeusGhost
6e6f0cfa4c gpio-nct5104d: simplified makefile 2022-06-15 22:50:05 +08:00
John Audia
56dd091b41 kernel: bump 5.10 to 5.10.119
Delete the crypto-lib-blake2s kmod package, as BLAKE2s is now built-in.
Patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800, x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-06-15 22:22:53 +08:00
Chen Yijun
54a3998646
add support for XR21V141x usb serial chip (#9514) 2022-06-12 03:29:12 +08:00
AmadeusGhost
ee7d9cff62 Revert "kernel: bump 5.15 to 5.15.44 (#9457)"
This reverts commit 91b3516, fixes: #9483
2022-06-07 14:35:37 +08:00
aakkll
91b3516ba1
kernel: bump 5.15 to 5.15.44 (#9457)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-06-04 23:25:35 +08:00
Felix Fietkau
49ccd16f2f mt76: update to the latest version
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-06-03 12:32:37 +08:00
Felix Fietkau
e78e4dcf22 mac80211: add a bug fix for a rare crash
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-06-03 12:27:41 +08:00
Janpieter Sollie
48975fd1aa rtl8812au-ct: update driver to be ready for 5.15
update rtl8812au-ct driver to be ready for 5.15 Linux.

Signed-off-by: Janpieter Sollie <janpieter.sollie@edpnet.be>
[added commit message from PR with changes, added tag to subject]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-04-25 16:38:16 +08:00
lean
2a91c72458 mt76: update to the latest version 2022-04-21 23:36:43 +08:00
lean
a1f0402204 kmod-fs-nfs:refresh depends 2022-04-12 11:20:55 +08:00
ShireCiel
7f9ae85220
mt76: mt7921: Add AP mode support 2022-04-09 23:44:11 +08:00
lean
89e39d8809 toolchain: add llvm-bpf 2022-04-07 01:01:05 +08:00
JoseCoW
08a6577256
mac80211: add random BSS color setting (#9188)
Using BSS coloring is one way of improving performance on 802.11ax
radios, currently its only enabled by users adding he_bss_color to their
wireless UCI config.

This made sense as one could easily get BSS color collision as BSS color
range is 1-63.

Hostapd now has a way of dealing with BSS color collisions so we can just
assign a integer in the 1-63 range randomly if one is not set by users.

Signed-off-by: Robert Marko <robimarko@gmail.com>

Co-authored-by: Robert Marko <robimarko@gmail.com>
2022-04-05 00:58:22 +08:00
lean
8ee8d8cf46 mac80211: fix ath11k kernel 5.15 support 2022-04-03 01:03:27 +08:00
lean
3530c1b73f mac80211: fix ath11k support for IPQ target 2022-04-03 00:53:56 +08:00
Felix Fietkau
f5a661247d mt76: update to the latest version
eed44048ca57 Revert "mt76: dma: reduce lock contention in mt76_dma_tx_cleanup"

Closed: #9168

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-04-01 11:39:44 +08:00
AmadeusGhost
951d51d0d4 ath10k-ct/mt76: bump to latest 5.15 git HEAD 2022-03-29 15:09:55 +08:00
AmadeusGhost
cc60132004 mac80211: update to 5.15.8-1
Fixes: #9065, #9083, #9091
2022-03-29 15:09:20 +08:00
lean
5a1f106a03 kernel: fix asn1-encoder KCONFIG 2022-03-25 15:31:45 +08:00
lean
94888557b3 ath10k-ct: refresh patches for backport 5.10 2022-03-16 20:31:06 +08:00
lean
f54f20cda0 ath10k-ct: update version to fix DFS for VHT160 2022-03-16 20:12:59 +08:00
lean
fd400b80ab kernel: kmod-fs-virtiofs: add Virtiofs filesystem support 2022-03-16 01:25:20 +08:00
Tianling Shen
b44fe03968
kernel/modules: add kmod-inet-diag package (#9066)
Add option to compile kmod-inet-diag, support for INET (TCP, DCCP, etc)
socket monitoring interface used by native Linux tools such as ss.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-03-14 14:01:57 +08:00
lean
20a437026a mt76: fix build with kernel 5.15 2022-03-01 23:04:58 +08:00
lean
68da7390fb rockchip: add workaroud for usb wlan up at firstboot 2022-03-01 22:44:19 +08:00
lean
caf69dd94b mt76: fix build with kernel 5.15 2022-03-01 19:37:04 +08:00
lean
a927c5679a kernel: enable Marvell FastLinQ 41xxx SR-IOV 2022-02-27 13:31:25 +08:00
lean
9b1a3e1cf8 kernel: add Marvell FastLinQ 41xxx 10/25/40/100Gb Ethernet NIC device support 2022-02-27 12:34:43 +08:00
lean
1c96c4ace0 mac80211: fix complie with kernel 5.15 2022-02-26 19:08:42 +08:00
W_Y_CPP
77251e963f kernel/rtl8821cu: update to 2021-11-14 2022-02-26 05:29:06 +00:00
lean
71d7ad88c5 ksmbd: bump version 2022-02-25 23:37:37 +08:00
Rosen Penev
01aef11d13 ksmbd: add out-of-tree module
ksmbd is an upstream linux alternative to Samba which is lighterweight
and more performant, especially on underpowered devices.

Moving it here from the packages feed as it is now an upstream kernel
module. Also easier to update as version updates can be coordinated better

The next LTS kernel (5.15) has this included. A depend on kernel < 5.15
will need to be added later.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-20 16:15:52 +00:00
Rosen Penev
00770ec576 linux/modules: split up oid_registry
This will be needed by ksmbd in a following commit.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-20 16:15:27 +00:00
ricksuzade-maker
b4a6d7f974
kernel: fix kmod-usb-net-smsc95xx deppends (#8912) 2022-02-20 12:00:11 +08:00
lean
06fcdca1bb kernel:fix komd-mmc-spi build with kernel 5.15 2022-02-18 12:17:18 +08:00
lean
9604aa4723 mac80211: agg-tx: refactor sending addba 2022-02-16 13:50:00 +08:00
lean
c73ec736a9 kernel:fix kmod-vfio-mdev build with kernel 5.15 2022-02-16 13:48:26 +08:00
ricksuzade-maker
cac4857b21
kernel: fix kmod-phylink missing depends (#8885)
Co-authored-by: W_Y_CPP <383152993@qq.com>
2022-02-15 16:17:55 +08:00
lean
2805c232c0 kernel:fix komd-drm missing files 2022-02-14 12:57:21 +08:00
lean
181b4de02d x86: add support for NVIDIA Cuda Video Cards DRM 2022-02-12 20:38:22 +08:00
lean
70e33824b9 x86: improve Intel gen 11/12th GPU i915 and GVT-g capability 2022-02-12 20:29:20 +08:00
Beginner
4372b6e1e1
kernel: add miss console config for kernel 5.15 (#8859)
Co-authored-by: W_Y_CPP <383152993@qq.com>
2022-02-11 15:06:35 +08:00
likanchen
4d99aba7a6
fix missing depends for kmod-bnxt-en (#8808)
fix missing depends for kmod-bnxt-en
2022-02-01 18:30:08 +08:00
likanchen
87bf8ce506
fix missing depends for multimedia-input (#8809)
fix missing depends for multimedia-input
2022-02-01 18:29:49 +08:00
Marty Jones
99a33ec8d8 linux-firmware: add new package r8152-firmware
Linux upstream commit 9370f2d05a
add load firmware file through request_firmware,this affect the
nanopi r2s and some USB adapters in kernel 5.10 with this error:
'r8152 4-1:1.0: unable to load firmware patch rtl_nic/rtl8153b-2.fw'
This patch split the USB NIC firmware files from r8169 firmware,
and adds r8152-firmware to r8152 driver.
Add kmod-usb-net-cdc-ncm to support RTL8156A and RTL8156B 2.5G ethernet
adapters supported since v5.13-rc1.
195aae321c

Signed-off-by: Marty Jones <mj8263788@gmail.com>
2022-01-08 11:01:16 +08:00
AmadeusGhost
3c1b417e8f Revert "kmod-fs-nfs: adjust depends again"
This reverts commit d9316c5814.
2022-01-07 11:16:06 +08:00
AmadeusGhost
d9316c5814 kmod-fs-nfs: adjust depends again
Fixes: #8621
2022-01-06 16:21:30 +08:00
Piotr Dymacz
f1a9b91fd4 kernel: update dependencies after 'imx6' -> 'imx' rename
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-01-06 09:57:20 +08:00
AmadeusGhost
d35b0161d0 kmod-fs-nfs-common: fix build on 5.15
Fixes: #8599
2022-01-05 11:21:48 +08:00
AmadeusGhost
c6edc4c192 kmod-fs-ntfs3: update dependence
Fixes: #8600, #8601, #8605
2022-01-05 10:29:30 +08:00
AmadeusGhost
af9ddeb7c9 kmod-usb-net-asix: fix build on kernel 5.15
Fixes: #8584
2022-01-04 16:49:20 +08:00
lean
772c5d2c8b kmod: add highspeed ntfs3 fs driver for 5.15 2022-01-01 13:29:20 +08:00
lean
23d753e060 wireguard: add support for 5.15 2022-01-01 13:13:48 +08:00
lean
8efdb24e81 mac80211: fix typo error 2021-12-31 14:46:23 +08:00
lean
8b87e9022f linux: fix asn1-encoder.ko 2021-12-31 14:31:10 +08:00
lean
011c015a6f ath10k: provide a build variant for small RAM devices 2021-12-31 11:50:34 +08:00
lean
77123eb4a4 kmod: re-add bnxt-en support 2021-12-31 10:29:05 +08:00
lean
93965c3bd4 kmod: fix kmod-fs-nfs missing dependencies 2021-12-31 10:12:04 +08:00
lean
8d13d0a14c x86: add test version 5.15 2021-12-30 22:42:54 +08:00
lean
01426ea8a0 x86: add linux kernel 5.15 support 2021-12-30 20:06:47 +08:00
lean
fc0f5e35b1 kernel: init linux kernel 5.15 support 2021-12-30 17:39:24 +08:00
zhouF96
52689b9a0f
kernel: add module for bcm574xx 575xx serials (#8369)
kernel: add module for bnxt_en Linux driver for the 
Broadcom NetXtreme-C/NetXtreme-E 
BCM573xx, BCM574xx, BCM575xx, NetXtreme-S BCM5880x
(up to 200 Gbps) Ethernet Network Controllers and Broadcom Nitro
BCM58700 4-port 1/2.5/10 Gbps Ethernet Network Controller.
2021-12-01 18:41:59 +08:00
Beginner
53d63e38a9
kernel: drop kmod-gpio-dev (#8015)
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>

Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-10-13 17:29:11 +08:00
Rosen Penev
8f8be53288 cryptodev-linux: update to 1.12
Remove upstream backport.

Use AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-30 16:18:17 +08:00
lean
61b1fd2208 Revert "mac80211: sync upstream (#7932)"
This reverts commit a42521a11f.
2021-09-29 21:45:03 +08:00
Beginner
a42521a11f
mac80211: sync upstream (#7932)
* 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>

* mac80211: refresh patch

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: add missing change for encap offload on devices with sw rate control

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* 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>

* mac80211: revert faulty change that was breaking broadcast tx

Fixes: 0f6887972adc ("mac80211: add missing change for encap offload on devices with sw rate control")
Signed-off-by: Felix Fietkau <nbd@nbd.name>

* 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>

* mac80211: backport support for BSS color changes

This is needed for an upcoming mt76 update

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
Co-authored-by: Christian Lamparter <chunkeey@gmail.com>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-09-29 21:41:27 +08:00
lean
8eaa4051c9 rtl8821cu: add package 2021-09-24 21:47:50 +08:00
coolsnowwolf
7a28386e64 Revert "mac80211: sync upstream (#7734)"
This reverts commit a74c473f42.
2021-09-04 15:19:13 +08:00
coolsnowwolf
b42c413de5 Revert "mac80211: remove patch (#7742)"
This reverts commit 634663fe56.
2021-09-04 15:19:10 +08:00
Beginner
634663fe56
mac80211: remove patch (#7742)
This patch caused a compilation error

Signed-off-by: Beginner <70857188+Beginner-Go@users.noreply.github.com>
2021-08-25 15:07:02 +08:00
Beginner
a74c473f42
mac80211: sync upstream (#7734)
* 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>

* mac80211: refresh patch

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: add missing change for encap offload on devices with sw rate control

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-08-25 10:55:57 +08:00
Hugo Yuan
527a117abd
ipq807x: add support for ZTE MF269 (#7713) 2021-08-22 01:27:48 +08:00
ntlf9t
fde8a69c47
ath11k: memory leak patches (#7546) 2021-07-28 10:12:15 +08:00
ntlf9t
c7f168255a
ath11k: memory leak patches and finishing patch (#7521) 2021-07-26 00:56:20 +08:00
coolsnowwolf
7a4f49fb25 ath11k: fix wifi drivers memory leak for AX6/AX3600 etc. 2021-07-24 15:49:58 +08:00
coolsnowwolf
f0d208f443 ath11k: Update signal filled flag during sta_statistics drv 2021-07-16 16:50:37 +08:00
Beginner
7fa4c56a1c
mt76: update to the latest version (#7399) 2021-07-16 02:18:24 +00:00
Beginner
889ce56607
mac80211: sync upstream (#7387)
* 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>

* mac80211: merge a 4-addr client mode fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: backport SAR power limit support

Needed for an upcoming mt76 update

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* 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>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-15 03:23:47 +00:00
coolsnowwolf
b35d695901 ath10k-ct: remove noise log 2021-07-13 10:10:34 +08:00
coolsnowwolf
25683fe038 ipq807x: add NSS ecm 64 support 2021-07-10 08:43:31 +08:00
coolsnowwolf
67e0aa3a01 ath10k: add tx hw 802.11 encapusaltion offloading support 2021-07-09 18:18:34 +08:00
coolsnowwolf
2513ccaf94 mac80211: NSS classify tx support 2021-07-09 17:39:01 +08:00
coolsnowwolf
4790aa244b mac80211: add tasklet_kill step during NSS interface take down 2021-07-08 12:57:11 +08:00
coolsnowwolf
e82fddcf0e mac80211: add support for NSS firmware 2021-07-08 12:27:04 +08:00
Tianling Shen
0f29dec405
Revert "ath11k: fixes a memory leak as the MHI controller was allocated but never freed" (#7286)
This makes memory leak more seriously.

This reverts commit 48a880a190.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-07-06 06:27:21 +00:00
coolsnowwolf
6675de3732 Revert "ath11k: fix for peer memory corruption"
This reverts commit 83b29e014f.
2021-07-06 14:26:13 +08:00
coolsnowwolf
6ad4588a9b ath11k: allow vht on 2.4g 2021-07-06 00:08:31 +08:00
coolsnowwolf
83b29e014f ath11k: fix for peer memory corruption 2021-07-06 00:07:39 +08:00
coolsnowwolf
6967bf73f0 ipq807x: ax6/ax3600 use 512M RAM profile 2021-07-06 00:06:32 +08:00
coolsnowwolf
48a880a190 ath11k: fixes a memory leak as the MHI controller was allocated but never freed 2021-07-05 18:01:22 +08:00
Beginner
12a44d5e54
mac80211: backport fix for nl80211 control port tx (fixes FS#3857) (#7241)
Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-07-01 05:27:14 +00:00
coolsnowwolf
a9b30b2b2d ipsec: disable ESP offload 2021-06-30 22:02:26 +08:00
coolsnowwolf
a7e39ff214 x86: gen EFI image only by default 2021-06-30 17:30:55 +08:00
Beginner
ced4dc7500
mac80211: fix a regression in starting aggregation sessions on mesh interfaces (#7226)
Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-30 01:01:01 +08:00
coolsnowwolf
87d72cae64 mac80211: remove ath11k nss code temporality 2021-06-29 22:24:20 +08:00
coolsnowwolf
892b521774 mac80211: grace code 2021-06-29 17:09:06 +08:00
coolsnowwolf
9faf3ea90d mac80211: add ipq807x dep for ath11k nss 2021-06-29 16:19:40 +08:00
coolsnowwolf
9be314ba8f mac80211: add ath11k nss dependence 2021-06-29 14:07:54 +08:00
coolsnowwolf
37efc3f069 ath11k: Update tx descriptor search index properly 2021-06-29 12:03:04 +08:00
coolsnowwolf
9e2257c44a ath11k: add hw nss ax wifi offload support 2021-06-29 11:47:43 +08:00
coolsnowwolf
aa3cc2ddfa ath11k: add decap offload support 2021-06-29 11:42:28 +08:00
Bob Cantor
5df9eeddbf 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-29 11:17:01 +08:00
Bob Cantor
00be744e8f mac80211: always call wireless_set_data (FS#3784)
When wifi is turned off, drv_mac80211_teardown sometimes fails (silently)
because the device to be torn down is not defined.

This situation arises if drv_mac80211_setup was called twice when
wifi was turned on.

This commit ensures that the device to be torn down is always defined
in drv_mac80211_teardown.

Steps to reproduce:

1) Use /sbin/wifi to turn on wifi.
   uci set wireless.@wifi-iface[0].disabled=0
   uci set wireless.@wifi-device[0].disabled=0
   uci commit
   wifi

2) Use /sbin/wifi to turn off wifi.
   uci set wireless.@wifi-device[0].disabled=1
   uci commit
   wifi

3) Observe that wifi is still up.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:16:40 +08:00
Bob Cantor
9cdb2a6cd3 mac80211: fix no_reload logic (FS#3902)
If drv_mac80211_setup is called twice with the same wifi configuration,
then the second call returns early with error HOSTAPD_START_FAILED.
(wifi works nevertheless, despite the fact that setup is incomplete.  But
"ubus call network.wireless status" erroneously reports that radio0 is down.)

The relevant part of drv_mac80211_setup is,

if [ "$no_reload" != "0" ]; then
        add_ap=1
        ubus wait_for hostapd
        local hostapd_res="$(ubus call hostapd config_add "{\"iface\":\"$primary_ap\", \"config\":\"${hostapd_conf_file}\"}")"
        ret="$?"
        [ "$ret" != 0 -o -z "$hostapd_res" ] && {
                wireless_setup_failed HOSTAPD_START_FAILED
                return
        }
        wireless_add_process "$(jsonfilter -s "$hostapd_res" -l 1 -e @.pid)" "/usr/sbin/hostapd" 1 1
fi

This commit sets no_reload = 0 during the second call of drv_mac80211_setup.

It is perhaps worth providing a way to reproduce the situation
where drv_mac80211_setup is called twice.

When /sbin/wifi is used to turn on wifi,
   uci set wireless.@wifi-iface[0].disabled=0
   uci set wireless.@wifi-device[0].disabled=0
   uci commit
   wifi

/sbin/wifi makes the following ubus calls,
   ubus call network reload
   ubus call network.wireless down
   ubus call network.wireless up

The first and third ubus calls both call drv_mac80211_setup,
while the second ubus call triggers wireless_device_setup_cancel.
So the call sequence becomes,

   drv_mac80211_setup
   wireless_device_setup_cancel
   drv_mac80211_setup

In contrast, when LuCI is used to turn on wifi only a single call
is made to drv_mac80211_setup.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
2021-06-29 11:16:16 +08:00
AmadeusGhost
41ba774971
ath10k: re-added 256qam support (#7200)
* mac80211: allow VHT on 2.4GHz

Allow VHT rate on 2.4GHz in order to use 256-QAM

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* ath10k: allow VHT on 2.4GHz

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* hostapd: add vendor_vht option

hostapd has vendor_vht option to enable VHT (256-QAM) on 2.4GHz
Add this option to hostapd.sh so users can enable it via uci

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* mac80211: ath.mk: typo fixes

Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2021-06-27 17:47:04 +08:00
coolsnowwolf
5e0c803478 mac80211: enable ATH10K THERMAL 2021-06-27 01:17:59 +08:00
coolsnowwolf
37e0686458 ipq807x: add ath11k wireless 2021-06-24 12:26:35 +08:00
coolsnowwolf
b3908e3b65 mac80211: add ath11k support 2021-06-24 12:20:23 +08:00
coolsnowwolf
eac26cc353 ipq807x: add Redmi AX6, Xiaomi AX9000 support 2021-06-24 12:16:06 +08:00
Felix Fietkau
4b93d4f442 mac80211: fix an issue with wds links on 802.11ax devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-19 19:46:31 +08:00
Beginner
9a2df98c56
mac80211: sync upstream (#7077)
* mac80211: remove patches stripping down crypto support

Use of WPA3 and things like FILS is getting much more common, and platforms
that can't affort the extra kilobytes for this code are fading away.
Let's not hold back modern authentication methods any longer

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* kernel: make cryptoapi support needed by mac80211 built-in

This reduces the flash space impact, since built-in code is much smaller
than a bunch of kernel modules on squashfs

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: remove extra patch accidentally added during rebase

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-19 12:44:24 +08:00
Beginner
5a80754f03
mac80211: system hang caused by deferring calls into minstrel to dequeue (#7057)
Move the aggregation check to mac80211

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-06-18 10:12:55 +08:00
Felix Fietkau
a4e2bd54c6 mac80211: fix minstrel sample time check
We need to skip sampling if the next sample time is after jiffies, not before.
This patch fixes an issue where in some cases only very little sampling (or none
at all) is performed, leading to really bad data rates

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-17 20:16:52 +08:00
Felix Fietkau
f89a6ad13d mac80211: select iwinfo
Since iwinfo is now used in the core scripts, it needs to be present on the system

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-17 20:16:31 +08:00
Felix Fietkau
f58e450837 mac80211: fix processing HE capabilities (FS#3871)
Use the right argument to fix setting unsupported capabilities to 0

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-06-17 20:15:56 +08:00
lean
58973c3e8c linux: enable default automatic CT helper 2021-06-17 15:25:45 +08:00
Hugo Yuan
931947d20a
Set WiFi country to US by default (#6999) 2021-06-15 23:06:55 +08:00
lean
a3f1e837fd x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
lean
9d8a34c9ab ipq807x: add Xiaomi AX3600 and ath11k support 2021-06-14 20:08:28 +08:00
lean
7a50383ab6 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
Beginner
ff49c6e8aa
mac80211: fix ATH_REG_DYNAMIC_USER_REG_HINTS (#6878)
ATH_REG_DYNAMIC_USER_REG_HINTS is currently not being set as mac80211
tries to set it as m which is not possible as its boolean only.

Since its used alongside user regulatory, move it to USER_REGD.

This is required for ath11k to accept regulatory changes, otherwise
it wont accept any changes and will simply force US.

Signed-off-by: Robert Marko <robimarko@gmail.com>

Co-authored-by: Robert Marko <robimarko@gmail.com>
2021-05-25 22:06:59 +08:00
Beginner
5402ff8230
mac80211: backport upstream fixes for FragAttacks (#6854)
From the patch series description:

Several security issues in the 802.11 implementations were found by
Mathy Vanhoef (New York University Abu Dhabi), who has published all
the details at

	https://papers.mathyvanhoef.com/usenix2021.pdf

Specifically, the following CVEs were assigned:

 * CVE-2020-24586 - Fragmentation cache not cleared on reconnection
 * CVE-2020-24587 - Reassembling fragments encrypted under different
                    keys
 * CVE-2020-24588 - Accepting non-SPP A-MSDU frames, which leads to
                    payload being parsed as an L2 frame under an
                    A-MSDU bit toggling attack
 * CVE-2020-26139 - Forwarding EAPOL from unauthenticated sender
 * CVE-2020-26140 - Accepting plaintext data frames in protected
                    networks
 * CVE-2020-26141 - Not verifying TKIP MIC of fragmented frames
 * CVE-2020-26142 - Processing fragmented frames as full frames
 * CVE-2020-26143 - Accepting fragmented plaintext frames in
                    protected networks
 * CVE-2020-26144 - Always accepting unencrypted A-MSDU frames that
                    start with RFC1042 header with EAPOL ethertype
 * CVE-2020-26145 - Accepting plaintext broadcast fragments as full
                    frames
 * CVE-2020-26146 - Reassembling encrypted fragments with non-consecutive
                    packet numbers
 * CVE-2020-26147 - Reassembling mixed encrypted/plaintext fragments

In general, the scope of these attacks is that they may allow an
attacker to
 * inject L2 frames that they can more or less control (depending on the
   vulnerability and attack method) into an otherwise protected network;
 * exfiltrate (some) network data under certain conditions, this is
   specific to the fragmentation issues.

A subset of these issues is known to apply to the Linux IEEE 802.11
implementation (mac80211). Where it is affected, the attached patches
fix the issues, even if not all of them reference the exact CVE IDs.

In addition, driver and/or firmware updates may be necessary, as well
as potentially more fixes to mac80211, depending on how drivers are
using it.

Specifically, for Intel devices, firmware needs to be updated to the
most recently released versions (which was done without any reference
to the security issues) to address some of the vulnerabilities.

To have a single set of patches, I'm also including patches for the
ath10k and ath11k drivers here.

We currently don't have information about how other drivers are, if
at all, affected.

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-05-20 12:11:42 +08:00
AmadeusGhost
535b525566
kernel: Adapt renamed can-dev.ko (#6695)
The can-dev.ko kernel module was moved in kernel 5.4.110 and 5.10.28.

Fixes: 5dcbd82 ("kernel: bump 5.4 to 5.4.110")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
[Also compatible with kernel 4.x]
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>

Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-04-16 21:40:32 +08:00
536wfr
f225e953fc
mwlwifi: add PKG_FLAGS:=nonshared (#6600)
This should fix the problem of mwlwifi-firmware-* not being found
when using the ImageBuilder.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 9b3aaf1)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-03-25 23:52:46 +08:00
AmadeusGhost
29cba8c5c1
bcm27xx: sync upstream source code (#6435) 2021-02-25 15:44:46 +08:00
AmadeusGhost
c83233b052
kernel: bump 5.4 to 5.4.91 (#6225) 2021-01-21 20:51:19 +08:00
AmadeusGhost
69f46989e2
mac80211: update to 5.8.18-1 (#6200)
ath10k-ct-firmware: update to 2020-11-08
ath10k-ct: update to 2020-12-24
mt76: update to 2020-12-18
wireless-regdb: update to version 2020.11.20
2021-01-18 13:06:03 +08:00
woOzZ1
81a53ead53
Update sysctl-br-netfilter.conf (#6133) 2020-12-29 22:28:04 +08:00
AmadeusGhost
7dcc873eca
kernel: bump 5.4 to 5.4.85 (#6105) 2020-12-28 14:24:26 +08:00
AmadeusGhost
995724bffb
kernel: bump 5.4 to 5.4.83 (#6040) 2020-12-17 23:29:07 +08:00
AmadeusGhost
0456744e39
mac80211: sync upstream source code (#5860)
[mac80211]
  08a42ef mac80211: fix memory leak on filtered powersave frames
  daeda8a mac80211: pass phy name to hostapd_set_bss_options
  7ca9b82 mac80211: Fix wpa_supplicant config removal ubus call
  bf3158b mac80211: backport the new tasklet API
  0bb5d39 mac80211: add minstrel fixes that fix mt76 issues in legacy mode

[ath10k]
  c3b2efa linux-firmware: ath10k: add board firmware packages
  655091e ath10k-ct-firmware: switch to linux-firmware board binaries
  61e381d ath10k-firmware: remove unused package
2020-12-02 12:24:26 +08:00
AmadeusGhost
041d7abc4a
kernel: bump 5.4 to 5.4.79 and add mt7620-nand driver (#5830)
* kernel: bump 5.4 to 5.4.79

* ramips: add mt7620-nand driver for NAND flash

This add the mt7620-nand driver
and enable nand ubifs for subtarget mt7620

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2020-11-28 16:43:16 +08:00
AmadeusGhost
5d98c4178e
kernel: bump 5.4 to 5.4.75 (#5780)
[mac80211]
 5b29614 mac80211: another fix for the sta connection monitor
 1ed6eb1 mac80211: backport sched_set_fifo_low
 cba4120 mac80211: add support for specifying a per-device scan list
 e0d482f rt2x00: mt7620: differentiate based on SoC's CHIP_VER

[package]
 amd64-microcode/intel-microcode/linux-firmware: update version
2020-11-14 00:52:35 +08:00
AmadeusGhost
86bc29e4a8
kernel: bump 5.4 to 5.4.68 (#5555)
[mac80211]
 ca5ee6e mac80211: Fix potential endless loop
 2c14710 mac80211: add more AQL fixes/improvements
 91fb3ce mac80211: remove an obsolete patch that is no longer doing anything useful
 acf1733 mac80211: add preliminary support for enabling 802.11ax in config
 d717343 mac80211: update encap offload patches to the latest version
 673062f mac80211: allow bigger A-MSDU sizes in VHT, even if HT is limited
 caf7277 mac80211: do not allow bigger VHT MPDUs than the hardware supports
 cd36c0d mac80211: select the first available channel for 5GHz interfaces
 1c6d456 mac80211: fix regression in station connection monitor optimization
 4bd7689 mac80211: update sta connection monitor regression fix

[target]
 Sync: at91, ath25, ath79, lantiq, mediatek, mvebu.
2020-10-03 00:36:16 +08:00
SuLingGG
a54f38733b
Bump mt76 from 2020-08-22 to 2020-08-25 (#5469)
This update fix clients can not get correct IP adress on mt76x2u
Then add disable_usb_sg module parameter to fix wireless devices crash when multi-devices connect to mt76x2u devices (Line 336)
Details: https://github.com/openwrt/mt76/issues/405\#issuecomment-665737497
2020-09-16 20:04:43 +08:00
CN_SZTL
53dfbe11aa
exfat: update to 5.8.7 (#5378)
93e2334 exfat: fix build error on linux-5.4,5.5 kernel
01a7b8c exfat: fix name_hash computation on big endian systems
8f92bc0 exfat: fix wrong size update of stream entry by typo

Removed commented material that was for testing compilation.

Removed patch as the error was fixed upstream. First entry above.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2020-08-30 21:15:56 +08:00
AmadeusGhost
404209f6c4
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350)
  431fb8c mac80211: add AQL improvements
  6bdd4c9 mac80211: add missing backports for building with 4.14 kernels
  0106820 mac80211: add missing return code checks in AQL improvements
  e7f7101 mac80211: rework encapsulation offload support

[package]
  base-files: add function for generating random MAC
  dnsmasq: abort dhcp_check on interface state
  boot: sync upstream source code
  ath10k-ct-firmware/mt76/sch_cake: update to latest git HEAD

[script]
  download: add China Mirror Station

[target]
  Sync: arc770, ath79, bcm63xx, kirkwood, lantiq, layerscape,
        mediatek, mvebu, octeon, oxnas, pistachio, uml
  Sync most of the target patches.

Run-compiled-on: ipq40xx (4.19 & 5.4), ramips
2020-08-26 11:31:50 +08:00
AmadeusGhost
46524d9336
ipq806x: sync upstream source code (#5320) 2020-08-18 01:41:42 +08:00
AmadeusGhost
075090c4d5
mac80211: support kernel 4.14 and update to 5.8 (#5303)
* mac80211: refresh patches

* mac80211: build compat on kernel 4.14

* mac80211: Update to version 5.8

The removed patches were applied upstream.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-11 23:37:22 +08:00
AmadeusGhost
7e3464582c
mac80211-5.8: fix build on kernel 4.14 and sync upstream commit (#5295)
* mac80211-5.8: fix build on kernel 4.14

* mac80211: sync upstream commit
2020-08-09 15:47:25 +08:00
AmadeusGhost
b1677a562c
mac80211: bump to 5.8-rc2, add ath10k VHT support and very basic support for ipq807x ath11k (#5288)
* mac80211: bump to 5.8-rc2

changelog:
  dfe0bc8 mac80211: allow ACS restriction with fixed channel
  727685c mac80211: rt2x00: define RF5592 in init_eeprom routine
  cfd2f3b mac80211: create channel list for fixed channel operation
  d1100c7 mac80211: Update to version 5.7.5-1
  ed2015c mac80211: Update to version 5.8-rc2-1
  a956c14 mac80211: util: don't warn on missing sband iftype data
  8b3e170 hostapd: fix incorrect service name
  68bf5a9 mac80211: don't kill wireless daemon on teardown
  25e0ae6 mac80211: make cfg80211 testmode support optional (and disabled by default)
  b7727a8 mac80211: fix AQL issues
  3d731fc mac80211: merge performance improvement patches

* mt76: update to 2020-07-22

Signed-off-by: Felix Fietkau <nbd@nbd.name>

* mac80211: allow VHT on 2.4GHz

Allow VHT rate on 2.4GHz in order to use 256-QAM

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* ath10k: allow VHT on 2.4GHz

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* hostapd: add vendor_vht option

hostapd has vendor_vht option to enable VHT (256-QAM) on 2.4GHz
Add this option to hostapd.sh so users can enable it via uci

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>

* ipq807x: Refresh kernel configuration

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* ipq807x: Add WCSS bus

This is needed to build ath11k.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* mac80211: Add ath11k

This adds the Qualcomm 802.11ax wireless chipset support.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
Co-authored-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-07 23:53:02 +08:00
CN_SZTL
413d8692d0
linux: improve exFAT support (#5249)
* staging: remove staging exfat driver

This will be replaced with the driver found in newer kernels.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* exfat: add out of tree module

>From an email conversation with the person responsible for upstreaming
the exFAT driver, it seems the staging one in kernel 5.4 is not so
good. Excerpts below.

Namjae Jeon:
Hm... exfat in 5.4 kernel  that we did crap shit long time ago is
contributed by someone who we don't know.
This version is unstable and low quality code. We have been improving
it continuously.
and staging version exfat is removed from linux 5.7 kernel.

linux exfat oot  version is a backport of exfat in linux 5.7 kernel to
support lower version kernel, and it is a real.
You can see the patch history fro linux-exfat-oot.
this version support timezone and boot sector verification feature newly.
and better filesystem structure and much clean code quality that
reviewed by high profile kernel developers. and add many bug fixes.
And this version is officially maintained by me and kernel guys.

I would not recommend to use staging exfat version.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* automount: switch exFAT driver to high performance ver

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2020-08-05 19:39:06 +08:00
NivalXer
74b263ba93
mwlwifi:add disable-amsdu patch (#5027) 2020-07-07 18:19:10 +08:00
coolsnowwolf
104ed945a6 mac80211: set default country code to US 2020-07-04 12:01:27 +08:00
coolsnowwolf
0e4fe04e67 mac80211: enable wifi by default 2020-07-03 01:32:16 +08:00
coolsnowwolf
33abeff31c Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
coolsnowwolf
f0aa5e27f1 vidio: enable HSA_AMD 2020-07-02 00:57:44 +08:00
coolsnowwolf
36204c7110 IPSec: fix kernel modules 2020-07-02 00:55:25 +08:00
coolsnowwolf
77a8d007cf shortcut-fe:added support for Linux kernel 4.19 2020-07-01 19:26:58 +08:00
coolsnowwolf
215c2f8309 Merge branch 'master' of https://github.com/coolsnowwolf/lede 2020-07-01 18:30:00 +08:00
coolsnowwolf
6e14ee33cd kernel: Remove chash.ko from kmod-drm-amdgpu 2020-07-01 18:29:47 +08:00
AmadeusGhost
6ea19a20b7 kernel: revert some config 2020-07-01 17:05:30 +08:00
coolsnowwolf
689dd9a678 kernel: refresh upsteam modules 2020-07-01 16:10:53 +08:00
coolsnowwolf
bbe99b4fdf mac80211:update ath10k upstream patches 2020-05-27 11:58:24 +08:00
AmadeusGhost
6105915786
Wireless: rollback with mac80211 (#4683)
mt76: fix build
ath10k-ct: rollback to 4.19
Revert "iw/iwinfo/mwlwifi: bump version"
Revert "mac80211/5.4: fix build on kernel 4.9"
Revert "mac80211: switch to upstream owl-loader driver"
2020-05-27 11:45:56 +08:00
coolsnowwolf
d1f2153ca4 hostapd: disable wifi-reload 2020-05-27 00:17:15 +08:00
coolsnowwolf
bb3276ef05 mac80211: fix RT-ACRH17 2.4Ghz wifi performance issus 2020-05-26 23:18:25 +08:00
AmadeusGhost
5591c36728
Revert "ipq40xx: update ath10k firmware" (#4590)
This reverts commit 2c37fa71f9.
2020-05-12 18:58:46 +08:00
AmadeusGhost
839522a0c7
mac80211: correct target name for bcm (#4575) 2020-05-11 15:42:59 +08:00
coolsnowwolf
b65f1ebf00 mt76: bump to lastest version 2020-05-09 16:48:42 +08:00
coolsnowwolf
2c37fa71f9 ipq40xx: update ath10k firmware 2020-05-09 14:36:43 +08:00
AmadeusGhost
a5c4c8899c
linux-firmware: enable qca4019 (#4488) 2020-05-01 11:47:50 +08:00
coolsnowwolf
6cdf4ded1f ath10k-firmware: move CT firmwares to new package 2020-04-30 10:11:11 +08:00
coolsnowwolf
4787dbaf3c mac80211: ath10k: increase rx buffer size to 2048 2020-04-27 12:49:57 +08:00
coolsnowwolf
b0fd180162 Revert "mac80211 ath10k: increase rx buffer size to 2048"
This reverts commit 2c0a9d403e.
2020-04-26 16:37:04 +08:00
coolsnowwolf
2c0a9d403e mac80211 ath10k: increase rx buffer size to 2048 2020-04-26 15:27:50 +08:00
AmadeusGhost
463b6ac050
mac80211: fixed slow wireless startup (#4420)
* hostapd: reduce to a single instance per service

* mac80211: sync upstream source code

* iw: bump to 5.4
2020-04-23 16:42:46 +08:00
Chuck
5f3f4e3566
netdevices.mk: fix SFC9x00 config(#4271) (#4328) 2020-04-17 00:45:03 +08:00
AmadeusGhost
dc875de0ea
kernel: netdev: add missing config for mlx5 driver (#4228)
* kernel: Fix miss config and module for mlx driver

Missing config symbols could lead to build failures on kernel
4.14/4.19.

Signed-off-by: Tan Zien <nabsdh9@gmail.com>
[rephrase commit message - reorder symbols]
Signed-off-by: David Bauer <mail@david-bauer.net>

* kernel: netdev: add missing config for mlx5 driver

The mlk5 kmod lacks all necessary build symbols
for kernel 4.14 (again).

Add missing symbols to avoid build failure on these targets.

Signed-off-by: Tan Zien <nabsdh9@gmail.com>
[rewrite commit message - reorder symbols]
Signed-off-by: David Bauer <mail@david-bauer.net>

Co-authored-by: Tan Zien <nabsdh9@gmail.com>
2020-04-08 19:07:29 +08:00
CN_SZTL
91be31e249
mac80211: fix target name (#4176) 2020-04-05 18:31:37 +08:00
NivalXer
d5dc714edb
mwlwifi: Update the 88W8964's firmware to 9.3.2.12 and fix backports version detection (#4168)
* mwlwifi: Fix loading with backports v5.3

* mwlwifi: Update the 88W8964's firmware to 9.3.2.12 and fix backports version detection

* remove old patches/001-vendor_command_policy.patch
2020-04-04 15:57:03 +08:00
AmadeusGhost
b344bfb5d9
ath10k-ct: bump to 5.4 (#4165) 2020-04-04 15:56:30 +08:00
AmadeusGhost
7d597c5347
mac80211: switch to upstream owl-loader driver (#4164)
The Owl Loader (named after the codename that Atheros gave
these devices back in the day) has been accepted upstream.

This patch removes the "misc" driver OpenWrt had and adds
the remaining differences against the version that ships
with 5.4-rc1 into a separate "120-owl-loader-compat.patch"
file that can be cut down once AR71XX is being dealt with.

Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-04-04 15:55:52 +08:00
lean
8faac30089 mac80211: Update to version 5.4.27 2020-04-03 23:29:36 +08:00
lean
17ce0abd61 kernel: add module for Mellanox mlx Network 10/40Gbps Driver 2020-04-03 23:18:28 +08:00
AmadeusGhost
3a86ef8c46
mac80211: brcm: backport remaining 5.6 kernel patches (#4070)
* mac80211: brcm: backport remaining 5.6 kernel patches

* mac80211: fix brcmfmac monitor interface crash

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>

Co-authored-by: Rafał Miłecki <rafal@milecki.pl>
2020-03-30 12:18:10 +08:00
lean
bea383627c x86: adjust some kernel module for k4.9 2020-03-29 02:14:15 +08:00
lean
295e835f0c ajust some default package setting for x86 32bit 2020-03-29 01:33:43 +08:00
AmadeusGhost
5b588615d5
mwlwifi: disable A-MSDU (#4030)
Co-authored-by: LGA1150 <dqfext@gmail.com>
2020-03-26 18:32:43 +08:00
AmadeusGhost
1441431c43
kernel: iio.mk: add missing kernel modules (#4008)
This commit fix:
  SPS30 particulate matter sensor (SPS30) [N/m/y/?] (NEW)

Run-tested-on: sunxi

Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-03-25 11:05:23 +08:00
lean
9cbca25d79 kernel: revert kernel modules for rtl8152 based usb-to-ethernet converters 2020-03-24 01:14:10 +08:00
lean
acf267bf08 add support for Solarflare dula 10Gb network adapter 2020-03-19 23:01:19 +08:00
lean
372f598345 mt76: update to version 2020-03-10 2020-03-13 11:39:10 +08:00
lean
09f1cf436e linux: backport kernel 4.9 support for crypto.mk 2020-03-13 10:19:14 +08:00
lean
9a13258475 linux: update crypto.mk 2020-03-13 10:09:23 +08:00
lean
9db10a8cb2 ipq40xx: Qualcomm Crypto Engine fixes 2020-03-13 09:45:45 +08:00
LEAN-ESX
de64f40b56 ipq40xx: switch to kernel 4.19 2020-03-12 04:36:40 -07:00
LEAN-ESX
f6423cc17a Revert "mac80211: Update to version 4.19.98 (#3658)"
This reverts commit 19b14206b9.
2020-03-10 04:16:45 -07:00
AmadeusGhost
19b14206b9
mac80211: Update to version 4.19.98 (#3658)
changes:

1. mac80211: brcm: backport remaining 5.6 kernel patches
2. mt76: update to the latest openwrt-19.07 version
3. fix commit 863d607 and 7a29342
2020-03-09 19:25:31 +08:00
AmadeusGhost
7a293422b7
Revert "Update mt76 wireless driver. (#2782)" (#3650)
This reverts commit 49e1a7c9b2.
2020-03-08 12:49:10 +08:00
LEAN-ESX
809180a877 Revert "mt76: bump version"
This reverts commit e8987b91ec.
2020-03-02 09:01:40 -08:00
LEAN-ESX
e8987b91ec mt76: bump version 2020-03-02 04:59:16 -08:00
LEAN-ESX
13bc38d31f Update RTL8156 USB 3.0 2.5Gbps and backport for kernel 4.19 2020-03-01 08:34:18 -08:00
AmadeusGhost
c62115265e
bcm27xx: update to latest patches and firmware (#3450)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-03-01 22:16:48 +08:00
AmadeusGhost
d268405cb9
ramips: sync source code (#3260)
This commit sync ramips source code from openwrt master.

1. ramips: gsw_mt7621: disable PORT 5 MAC RX/TX flow control by default
2. ramips: allow to set switchdev by board in ramips_set_preinit_iface
3. kernel: fix typos in KernelPackage description
2020-02-22 12:39:52 +08:00
AmadeusGhost
dcc9b1d8f7
bcm27xx: fix wireless dependence (#3161) 2020-02-18 12:15:28 +08:00
AmadeusGhost
61341499df
brcm2708: rename target to bcm27xx (#3098)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-02-17 10:36:14 +08:00
AmadeusGhost
978a004994
ath10k-ct: update to 2020-01-29 (#3120) 2020-02-16 19:33:32 +08:00
coolsnowwolf
d7464a6a15 antfs: move path 2020-02-14 17:21:10 +08:00
AmadeusGhost
53b019accf
antfs: bump to 07.19 (#3055) 2020-02-12 20:17:30 +08:00
AmadeusGhost
23519895ff package: update ipv6 to latest (#3021) 2020-02-10 15:40:14 +08:00
AmadeusGhost
dacc7eb844
brcm2708: update to latest patches and firmware (#2965)
Signed-off-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-02-06 21:45:58 +08:00
AmadeusGhost
6901278ef0
kernel: bump to 4.14.169, 4.19.101 (#2963)
* kernel: bump to 4.14.169, 4.19.101

* uboot: update to latest

* mediatek: bump to v4.19

* ath79: switch to wpad

* Revert 'grub2: update to latest'
2020-02-06 21:45:40 +08:00
Peter Wang
5540ae406d
Create 553-ath9k_of_gpio_mask.patch (#2940)
Fix WNDR4300 wireless key functionality 
Sync with openwrt-master
2020-02-05 23:48:12 +08:00
coolsnowwolf
b934840a25 mac80211: backport fix for an no-ack tx status issue 2020-02-03 11:55:02 +08:00
AmadeusGhost
863d60769c
ath10k-ct: provide a build variant for small ram devices (#2925) 2020-02-03 01:50:31 +08:00
coolsnowwolf
c10492ff0f antfs instead of ntfs-3g 2020-02-01 20:48:49 +08:00
coolsnowwolf
e09686f69e mac80211: Update to version 4.19.98 2020-02-01 19:38:23 +08:00
AmadeusGhost
ae48c01089
target: remove support for kernel 3.18 (#2900) 2020-01-31 21:48:59 +08:00
likanchen
49e1a7c9b2 Update mt76 wireless driver. (#2782)
* Update mt76 wireless driver

Update mt76 wireless driver

* Create 368-cfg80211-add-local-BSS-receive-time-to-survey-inform.patch

* add patch to include local BSS rx time in survey information

add patch to include local BSS rx time in survey information

* Create 100-backports-pci-Include-linux-pci-aspm.h.patch

* Create 101-backport-add-pci_disable_link_state-wrapper-with-ret.patch
2020-01-15 23:50:39 +08:00
AmadeusGhost
5e942cf804 update some packages to latest version (#2760) 2020-01-13 09:47:13 +08:00
LEAN-ESX
7ea08e97fe ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
LEAN-ESX
f228568715 mac80211: bump to 4.19.85-1.3 2019-12-03 09:08:25 -08:00
LEAN-ESX
fc725ed2ca ath10k-ct: bump to 2019-09-09 2019-12-01 06:47:16 -08:00
LEAN-ESX
f0081d8714 mac80211: unify setup of iw htmode for mesh and adhoc 2019-12-01 06:02:59 -08:00
LEAN-ESX
2c7330d9a6 qt5: bump to version 5.9.8 2019-11-27 23:21:40 -08:00
LEAN-ESX
a6bd3e5a20 ipq40xx: ignore some debug info 2019-11-27 01:19:53 -08:00
LEAN-ESX
f92be122c9 mac80211: backport 256-QAM for 4.19.85 2019-11-26 05:20:23 -08:00
coolsnowwolf
1debe64956 mac80211: backport 4.19.85-1 stable release 2019-11-26 17:26:00 +08:00
coolsnowwolf
5b2616a5b6 mac80211: bump version 2019-11-26 16:54:37 +08:00
LEAN-ESX
4d6631fd61 mac80211: bump version 2019-11-23 19:17:13 -08:00
LEAN-ESX
9823711fb4 Revert "mac80211: update to version 5.4-rc8"
This reverts commit 210243ca57.
2019-11-23 18:43:43 -08:00
LEAN-ESX
da4f263bc0 Revert "mac80211: backport 256-QAM"
This reverts commit a1f89a6054.
2019-11-23 18:43:31 -08:00
LEAN-ESX
a1f89a6054 mac80211: backport 256-QAM 2019-11-23 11:01:28 -08:00
LEAN-ESX
210243ca57 mac80211: update to version 5.4-rc8 2019-11-23 10:04:53 -08:00
coolsnowwolf
98036f90d1 mwlwifi: bump to new version 2019-11-23 20:07:21 +08:00
coolsnowwolf
0bef1bfffe Revert "mvebu: add vendor patch"
This reverts commit 5a658d74bd.
2019-11-23 20:04:39 +08:00
LEAN-ESX
c2ecc67e24 ath10k-ct: bumpt to latest version 2019-11-22 23:15:52 -08:00
LEAN-ESX
5a658d74bd mvebu: add vendor patch 2019-11-22 08:42:16 -08:00
LEAN-ESX
41a69567c0 mt76: bumpt to latest version 2019-11-22 05:29:00 -08:00
LEAN-ESX
f8d1fc74ba mac80211/hostapd: add support for 256-QAM 2019-11-22 05:18:02 -08:00
LEAN-ESX
41cdd9a56a mac80211: bump to 5.4-rc2 2019-11-21 08:42:18 -08:00
LEAN-ESX
384e5abd02 mac80211: update upstream patches 2019-11-11 20:28:16 -08:00
LEAN-ESX
8901756902 kernel: support for Intel(R) x710 10/40GbE adapters PF/VF devices 2019-11-01 07:01:20 -07:00
LEAN-ESX
db7a92c009 kernel: bump to 4.9.198, 4.14.151, 4.19.81 2019-11-01 06:54:04 -07:00
LEAN-ESX
745e6ff58e kernel: refresh modules 2019-10-28 03:39:56 -07:00
LEAN-ESX
5a5c1367e9 x86: fix kmod-crypto-deflate compile error in kernel 4.19 2019-10-27 21:55:39 -07:00
coolsnowwolf
479e7027c2
Update sysctl-br-netfilter.conf 2019-10-25 17:11:40 +08:00
LEAN-ESX
22586c7287 ath10k-ct: bump to 2019-09-09 2019-10-24 03:24:39 -07:00
LEAN-ESX
eb7626e861 mac80211: bump to 4.19.79 2019-10-24 02:46:10 -07:00
LEAN-ESX
756611ade4 Revert "mac80211: bump to 5.3-rc4-1"
This reverts commit e170f6fbc0.
2019-10-19 03:01:12 -07:00
LEAN-ESX
e170f6fbc0 mac80211: bump to 5.3-rc4-1 2019-10-18 11:50:59 -07:00
LEAN-ESX
9574c86ef8 cryptodev-linux: bump to 1.10 2019-10-14 05:54:27 -07:00
LEAN-ESX
e2b72bf55c kernel: add module for Emulex OneConnect 10Gbit for x86/x64 2019-10-08 08:55:06 -07:00
LEAN-ESX
0c4430f0af Revert "mt76: fix kernel Oops by updating to the latest version"
This reverts commit 26a3952b51.
2019-07-26 02:43:35 -07:00
LEAN-ESX
fc09656346 mac80211: add config tweak for tx bursting when using VHT 2019-07-25 23:07:12 -07:00
LEAN-ESX
26a3952b51 mt76: fix kernel Oops by updating to the latest version 2019-07-25 23:04:53 -07:00
LEAN-ESX
dfb162e9e2 brcm2708: Add Raspberry Pi 4 support 2019-07-16 02:39:17 -07:00
LEAN-ESX
5587b29db8 mt76: add mt7615e support 2019-07-16 02:36:16 -07:00
LEAN-ESX
e4ef9e67f7 mac80211: ath10k: adjust tx power reduction for US regulatory domain 2019-06-19 02:55:11 -07:00
LEAN-ESX
2db0a6072e mac80211: ath10k: fix max antenna gain unit 2019-06-19 02:54:04 -07:00
LEAN-ESX
8d9cdd74d4 mac80211: ath9k: Increase allowed antenna gain to 6 dBi 2019-06-19 02:53:07 -07:00
coolsnowwolf
71b06caf2c ath10k-ct: Update to current version 2019-05-12 15:57:10 +08:00
coolsnowwolf
5dca260b52 ipq806x: kernel 4.19 support 2019-05-03 22:21:34 +08:00
coolsnowwolf
a499039340 mac80211: rt2x00: replace patches with upstream version 2019-04-30 11:27:55 +08:00
coolsnowwolf
dbaf3ae669 mac80211: fix regression in skb resizing optimization in monitor mode 2019-04-25 01:13:44 +08:00
coolsnowwolf
980261eeb2 mt76:mt76x02: fix crash on device reset 2019-04-21 14:19:22 +08:00
coolsnowwolf
1684c010ef Revert "dropbear: allow build without dbclient"
This reverts commit 5446d77b69.
2019-04-21 13:55:01 +08:00
coolsnowwolf
13252329ec ramips:remove some unnecessary packages from MT7620 target to save some space 2019-04-21 01:08:14 +08:00
coolsnowwolf
5446d77b69 dropbear: allow build without dbclient 2019-04-21 00:55:24 +08:00
coolsnowwolf
edd1248a65 mt76: update to support mt7615 2019-04-20 21:12:52 +08:00
coolsnowwolf
6879801688 ramips: mt7615 80211 driver support to dts for R3P 2019-04-20 21:02:35 +08:00
coolsnowwolf
8c4e69f34d linux-firmware: update to 2019-04 2019-04-20 17:51:24 +08:00
coolsnowwolf
f9937359c3 ath10k: bump to latest version 2019-04-18 10:25:26 +08:00
coolsnowwolf
8a6367c5da mwlwifi: bump to lastest version 2019-04-17 11:02:26 +08:00
coolsnowwolf
a312980654 kernel: add AMD Ryzen kmod-drm-amdgpu and kmod-drm-radeon dependencies support 2019-04-17 10:48:32 +08:00
coolsnowwolf
9fd3249cc5 kernel: support for Intel(R) x710 10/40GbE adapters PF/VF devices 2019-04-16 21:30:22 +08:00
coolsnowwolf
281b7eb92b kernel: Build: Split kmod-regmap 2019-04-15 21:48:10 +08:00
coolsnowwolf
f59423622a mac80211: Fix rate_idx underflow in mwl8k (Linksys EA4500) 2019-04-15 15:59:32 +08:00
coolsnowwolf
be38f4bdf5 mac80211: rt2x00: replace patch with upstream version 2019-04-15 15:32:02 +08:00
coolsnowwolf
aca8e27cc4 mac80211: update to version 4.19.32-1 2019-04-06 23:36:42 +08:00
coolsnowwolf
354fb28b84 kernel: dm: add dm-raid for LVM raid 2019-04-04 12:46:13 +08:00
coolsnowwolf
fd6be986db mac80211: set noscan=1 if sta/adhoc/mesh interfaces are present 2019-04-04 11:47:13 +08:00
coolsnowwolf
4341d45e66 mac80211: improve performance by deferring tx queue selection 2019-04-04 11:45:16 +08:00
coolsnowwolf
7b101406f8 wireless:custom fix tx power to 30dbm and dfs for ath/qca 2019-04-04 11:36:53 +08:00
coolsnowwolf
d5107528bc kernel: bump to 4.9.166 and 4.14.109 2019-03-30 20:46:18 +08:00
coolsnowwolf
272aa4dc47 mt76: update to lastest version 2019-03-25 14:01:56 +08:00
coolsnowwolf
38fdb2b9c5 Revert "mt76x02: do not enable RTS/CTS by default"
This reverts commit 1f105ae205.
2019-03-22 14:52:57 +08:00