No description
Find a file
Johan Almbladh 7d478a66b9 mt76: mt7915: fix injected MPDU transmission to not use HW A-MSDU
[ Upstream commit 28225a6ef8 ]

Before, the hardware would be allowed to transmit injected 802.11 MPDUs
as A-MSDU. This resulted in corrupted frames being transmitted. Now,
injected MPDUs are transmitted as-is, without A-MSDU.

The fix was verified with frame injection on MT7915 hardware, both with
and without the injected frame being encrypted.

If the hardware cannot do A-MSDU aggregation on MPDUs, this problem
would also be present in the TX path where mac80211 does the 802.11
encapsulation. However, I have not observed any such problem when
disabling IEEE80211_HW_SUPPORTS_TX_ENCAP_OFFLOAD to force that mode.
Therefore this fix is isolated to injected frames only.

The same A-MSDU logic is also present in the mt7921 driver, so it is
likely that this fix should be applied there too. I do not have access
to mt7921 hardware so I have not been able to test that.

Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-13 19:27:18 +02:00
arch x86/mce: Work around an erratum on fast string copy instructions 2022-04-13 19:27:16 +02:00
block block: restore the old set_task_ioprio() behaviour wrt PF_EXITING 2022-04-08 13:58:57 +02:00
certs
crypto
Documentation KVM: arm64: Do not change the PMU event filter after a VCPU has run 2022-04-13 19:27:13 +02:00
drivers mt76: mt7915: fix injected MPDU transmission to not use HW A-MSDU 2022-04-13 19:27:18 +02:00
fs coredump: Use the vma snapshot in fill_files_note 2022-04-08 13:59:04 +02:00
include vfio/pci: Stub vfio_pci_vga_rw when !CONFIG_VFIO_PCI_VGA 2022-04-13 19:27:17 +02:00
init net: initialize init_net earlier 2022-04-13 19:27:12 +02:00
ipc
kernel bpf: Adjust BPF stack helper functions to accommodate skip > 0 2022-04-08 13:59:00 +02:00
lib ref_tracker: implement use-after-free detection 2022-04-13 19:27:12 +02:00
LICENSES
mm mm: kfence: fix objcgs vector allocation 2022-04-13 19:27:07 +02:00
net ipv4: Invalidate neighbour for broadcast address upon address addition 2022-04-13 19:27:16 +02:00
samples
scripts modpost: restore the warning message for missing symbol versions 2022-04-08 13:58:54 +02:00
security
sound ASoC: topology: Allow TLV control to be either read or write 2022-04-08 13:59:02 +02:00
tools libbpf: Fix accessing the first syscall argument on s390 2022-04-13 19:27:14 +02:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.17.2 2022-04-08 13:59:05 +02:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.