Orr Mazor
a4f85674e4
cfg80211: Fix radar event during another phy CAC
...
[ Upstream commit 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d ]
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: Orr Mazor <Orr.Mazor@tandemg.com>
Reviewed-by: Sergey 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.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-05 14:43:46 +00:00
..
certs
cfg80211: ship certificates as hex files
2017-12-19 09:28:01 +01:00
.gitignore
cfg80211: implement regdb signature checking
2017-10-11 14:24:24 +02:00
ap.c
cfg80211: call disconnect_wk when AP stops
2019-12-01 09:17:34 +01:00
chan.c
cfg80211: enable use of non-cleared DFS channels for DFS offload
2018-03-29 10:21:35 +02:00
core.c
{nl,mac}80211: fix interface combinations on crypto controlled devices
2019-09-16 08:21:42 +02:00
core.h
cfg80211: call disconnect_wk when AP stops
2019-12-01 09:17:34 +01:00
debugfs.c
cfg80211 debugfs: Cleanup some checkpatch issues
2017-02-08 09:15:59 +01:00
debugfs.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
ethtool.c
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
ibss.c
nl80211: Add SOCKET_OWNER support to JOIN_IBSS
2018-03-29 10:36:22 +02:00
Kconfig
cfg80211: add missing dependency to CFG80211 suboptions
2018-02-27 10:54:12 +01:00
lib80211.c
treewide: setup_timer() -> timer_setup()
2017-11-21 15:57:07 -08:00
lib80211_crypt_ccmp.c
lib80211: ratelimit key index mismatch
2015-12-04 14:43:32 +01:00
lib80211_crypt_tkip.c
wireless/lib80211: Convert from ahash to shash
2018-07-24 09:17:20 +02:00
lib80211_crypt_wep.c
lib80211: Use skcipher and ahash
2016-01-27 20:36:03 +08:00
Makefile
wireless: Skip directory when generating certificates
2019-11-10 11:27:54 +01:00
mesh.c
nl80211: Add SOCKET_OWNER support to JOIN_MESH
2018-03-29 10:38:24 +02:00
mlme.c
cfg80211: fix CAC_STARTED event handling
2018-03-29 10:21:16 +02:00
nl80211.c
cfg80211: fix memory leak in cfg80211_cqm_rssi_update
2020-01-23 08:21:33 +01:00
nl80211.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-11-04 09:26:51 +09:00
ocb.c
cfg80211: ocb: Fix null pointer deref if join_ocb is unimplemented
2015-12-04 14:43:32 +01:00
of.c
cfg80211: support ieee80211-freq-limit DT property
2017-01-06 14:01:13 +01:00
radiotap.c
cfg80211: add radiotap VHT info to rtap_namespace_sizes
2016-02-24 09:04:41 +01:00
rdev-ops.h
cfg80211: Fix radar event during another phy CAC
2020-02-05 14:43:46 +00:00
reg.c
cfg80211: Fix radar event during another phy CAC
2020-02-05 14:43:46 +00:00
reg.h
cfg80211: implement regdb signature checking
2017-10-11 14:24:24 +02:00
scan.c
cfg80211: add and use strongly typed element iteration macros
2019-10-11 18:21:42 +02:00
sme.c
cfg80211: fix deadlocks in autodisconnect work
2020-01-23 08:21:33 +01:00
sysfs.c
cfg80211: track time using boottime
2018-06-29 09:49:28 +02:00
sysfs.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
trace.c
cfg80211: add tracing to rdev-ops
2012-10-18 10:53:37 +02:00
trace.h
cfg80211: Fix radar event during another phy CAC
2020-02-05 14:43:46 +00:00
util.c
cfg80211: fix page refcount issue in A-MSDU decap
2020-01-23 08:21:33 +01:00
wext-compat.c
cfg80211: initialize on-stack chandefs
2019-10-11 18:21:09 +02:00
wext-compat.h
cfg80211-wext: export symbols only when needed
2015-02-28 21:31:09 +01:00
wext-core.c
net: Don't take rtnl_lock() in wireless_nlevent_flush()
2018-03-29 13:47:53 -04:00
wext-priv.c
wext-proc.c
proc: introduce proc_create_net{,_data}
2018-05-16 07:24:30 +02:00
wext-sme.c
cfg80211: wext: avoid copying malformed SSIDs
2019-10-29 09:19:52 +01:00
wext-spy.c