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
..
6lowpan
6lowpan: Off by one handling ->nexthdr
2020-01-27 14:50:41 +01:00
9p
9p: Transport error uninitialized
2019-10-11 18:21:12 +02:00
802
8021q
vlan: vlan_changelink() should propagate errors
2020-01-12 12:17:28 +01:00
appletalk
appletalk: Set error code if register_snap_client failed
2019-12-13 08:52:59 +01:00
atm
net: use skb_queue_empty_lockless() in poll() handlers
2019-11-10 11:27:48 +01:00
ax25
ax25: enforce CAP_NET_RAW for raw sockets
2019-10-05 13:09:32 +02:00
batman-adv
batman-adv: Fix DAT candidate selection on little endian systems
2020-01-23 08:21:34 +01:00
bluetooth
Bluetooth: Fix race condition in hci_release_sock()
2020-02-05 14:43:39 +00:00
bpf
bpf/test_run: support cgroup local storage
2018-08-03 00:47:32 +02:00
bpfilter
signal/bpfilter: Fix bpfilter_kernl to use send_sig not force_sig
2020-01-27 14:50:51 +01:00
bridge
netfilter: ebtables: CONFIG_COMPAT: reject trailing data after last rule
2020-01-27 14:50:47 +01:00
caif
net: use skb_queue_empty_lockless() in poll() handlers
2019-11-10 11:27:48 +01:00
can
can: gw: Fix error path of cgw_module_init
2019-08-29 08:28:30 +02:00
ceph
libceph: fix PG split vs OSD (re)connect race
2019-08-29 08:28:50 +02:00
core
net-sysfs: Fix reference count leak
2020-01-29 16:43:17 +01:00
dcb
net: dcb: Add priority-to-DSCP map getters
2018-07-27 13:17:50 -07:00
dccp
dccp: Fix memleak in __feat_register_sp
2020-01-17 19:46:58 +01:00
decnet
net: add bool confirm_neigh parameter for dst_ops.update_pmtu
2020-01-04 19:13:37 +01:00
dns_resolver
net: remove blank lines at end of file
2018-07-24 14:10:43 -07:00
dsa
net: dsa: Avoid null pointer when failing to connect to PHY
2020-01-27 14:50:34 +01:00
ethernet
net: add annotations on hh->hh_len lockless accesses
2020-01-09 10:19:09 +01:00
hsr
hsr: reset network header when supervision frame is created
2020-01-17 19:47:00 +01:00
ieee802154
inet: frags: call inet_frags_fini() after unregister_pernet_subsys()
2020-01-27 14:50:51 +01:00
ife
ipv4
tcp: do not leave dangling pointers in tp->highest_sack
2020-01-29 16:43:17 +01:00
ipv6
net, ip6_tunnel: fix namespaces move
2020-01-29 16:43:15 +01:00
iucv
net/af_iucv: always register net_device notifier
2020-01-27 14:50:56 +01:00
kcm
kcm: switch order of device registration to fix a crash
2019-04-17 08:38:40 +02:00
key
af_key: fix leaks in key_pol_get_resp and dump_sp.
2019-07-26 09:14:01 +02:00
l2tp
l2tp: Fix possible NULL pointer dereference
2020-01-27 14:50:46 +01:00
l3mdev
lapb
lapb: fixed leak of control-blocks.
2019-06-22 08:15:13 +02:00
llc
llc: fix sk_buff refcounting in llc_conn_state_process()
2020-01-27 14:51:17 +01:00
mac80211
cfg80211: Fix radar event during another phy CAC
2020-02-05 14:43:46 +00:00
mac802154
net: mac802154: tx: expand tailroom if necessary
2018-08-06 11:21:37 +02:00
mpls
mpls: fix warning with multi-label encap
2020-01-27 14:50:54 +01:00
ncsi
net/ncsi: Fixup .dumpit message flags and ID check in Netlink handler
2018-08-22 21:39:08 -07:00
netfilter
netfilter: nf_tables: add __nft_chain_type_get()
2020-01-29 16:43:24 +01:00
netlabel
netlabel: fix out-of-bounds memory accesses
2019-03-10 07:17:18 +01:00
netlink
genetlink: Fix a memory leak on error path
2019-04-03 06:26:15 +02:00
netrom
netrom: hold sock when setting skb->destructor
2019-07-28 08:29:27 +02:00
nfc
net: nfc: nci: fix a possible sleep-in-atomic-context bug in nci_uart_tty_receive()
2019-12-31 16:34:38 +01:00
nsh
nsh: set mac len based on inner packet
2018-07-12 16:55:29 -07:00
openvswitch
openvswitch: support asymmetric conntrack
2019-12-21 10:57:14 +01:00
packet
packet: fix data-race in fanout_flow_is_huge()
2020-01-27 14:51:21 +01:00
phonet
net: use skb_queue_empty_lockless() in poll() handlers
2019-11-10 11:27:48 +01:00
psample
net: psample: fix skb_over_panic
2019-12-05 09:21:30 +01:00
qrtr
net: qrtr: fix memort leak in qrtr_tun_write_iter
2019-12-13 08:52:58 +01:00
rds
net/rds: Fix 'ib_evt_handler_call' element in 'rds_ib_stat_names'
2020-01-27 14:51:13 +01:00
rfkill
rfkill: Fix incorrect check to avoid NULL pointer dereference
2020-01-12 12:17:17 +01:00
rose
net/rose: fix unbound loop in rose_loopback_timer()
2019-05-02 09:59:00 +02:00
rxrpc
rxrpc: Fix trace-after-put looking at the put connection record
2020-01-27 14:51:16 +01:00
sched
net_sched: fix ops->bind_class() implementations
2020-02-01 09:37:06 +00:00
sctp
sctp: add chunks to sk_backlog when the newsk sk_socket is not set
2020-01-27 14:51:17 +01:00
smc
net/smc: receive pending data after RCV_SHUTDOWN
2020-01-27 14:51:18 +01:00
strparser
net: strparser: partially revert "strparser: Call skb_unclone conditionally"
2019-05-16 19:41:27 +02:00
sunrpc
xprtrdma: Fix use-after-free in rpcrdma_post_recvs
2020-01-27 14:50:59 +01:00
switchdev
tipc
tipc: reduce risk of wakeup queue starvation
2020-01-27 14:51:02 +01:00
tls
net/tls: fix socket wmem accounting on fallback with netem
2020-01-27 14:51:01 +01:00
unix
af_unix: add compat_ioctl support
2020-01-17 19:47:07 +01:00
vmw_vsock
VSOCK: bind to random port for VMADDR_PORT_ANY
2019-12-05 09:20:19 +01:00
wimax
wimax: remove blank lines at EOF
2018-07-24 14:10:42 -07:00
wireless
cfg80211: Fix radar event during another phy CAC
2020-02-05 14:43:46 +00:00
x25
net/x25: fix nonblocking connect
2020-01-29 16:43:24 +01:00
xdp
xsk: Fix registration of Rx-only sockets
2020-01-27 14:51:19 +01:00
xfrm
xfrm interface: ifname may be wrong in logs
2020-01-27 14:51:01 +01:00
compat.c
sock: Make sock->sk_stamp thread-safe
2019-01-09 17:38:33 +01:00
Kconfig
net: remove blank lines at end of file
2018-07-24 14:10:43 -07:00
Makefile
bpfilter: check compiler capability in Kconfig
2018-06-28 13:36:39 +09:00
socket.c
compat_ioctl: handle SIOCOUTQNSD
2020-01-17 19:47:07 +01:00
sysctl_net.c