cfg80211: Fix radar event during another phy CAC
Orr Mazor authored
[ Upstream commit 26ec17a1

 ]

In case a radar event of CAC_FINISHED or RADAR_DETECTED
happens during another phy is during CAC we might need
to cancel that CAC.

If we got a radar in a channel that another phy is now
doing CAC on then the CAC should be canceled there.

If, for example, 2 phys doing CAC on the same channels,
or on comptable channels, once on of them will finish his
CAC the other might need to cancel his CAC, since it is no
longer relevant.

To fix that the commit adds an callback and implement it in
mac80211 to end CAC.
This commit also adds a call to said callback if after a radar
event we see the CAC is no longer relevant
Signed-off-by: default avatarOrr Mazor <Orr.Mazor@tandemg.com>
Reviewed-by: default avatarSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Link: https://lore.kernel.org/r/20191222145449.15792-1-Orr.Mazor@tandemg.com
[slightly reformat/reword commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.co...
2dbb6fae
Name Last commit Last update
Documentation PM / devfreq: Add new name attribute for sysfs
arch ARM: dts: beagle-x15-common: Model 5V0 regulator
block block: don't use bio->bi_vcnt to figure out segment number
certs Replace magic for trusting the secondary keyring with #define
crypto crypto: pcrypt - Fix user-after-free on module unload
drivers qmi_wwan: Add support for Quectel RM500Q
firmware Fix built-in early-load Intel microcode alignment
fs reiserfs: Fix memory leak of journal device string
include cfg80211: Fix radar event during another phy CAC
init fork: fix some -Wmissing-prototypes warnings
ipc ipc/mqueue.c: only perform resource calculation if user valid
kernel cgroup: Prevent double killing of css when enabling threaded cgroup
lib bitmap: Add bitmap_alloc(), bitmap_zalloc() and bitmap_free()
mm mm/mempolicy.c: fix out of bounds write in mpol_parse_str()
net cfg80211: Fix radar event during another phy CAC
samples samples: bpf: fix syscall_tp due to unused syscall
scripts ARM: 8950/1: ftrace/recordmcount: filter relocation types
security keys: Timestamp new keys
sound ASoC: sti: fix possible sleep-in-atomic
tools tools lib: Fix builds when glibc contains strlcpy()
usr kbuild: clean compressed initramfs image
virt KVM: arm/arm64: vgic: Don't rely on the wrong pending table
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

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.