android_kernel_oneplus_msm8998/drivers/net/wireless/brcm80211
Arend van Spriel 4e06554db5 brcmfmac: add subtype check for event handling in data path
commit a4176ec356c73a46c07c181c6d04039fafa34a9f upstream.

For USB there is no separate channel being used to pass events
from firmware to the host driver and as such are passed over the
data path. In order to detect mock event messages an additional
check is needed on event subtype. This check is added conditionally
using unlikely() keyword.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
[bwh: Backported to 4.4: adjust filenames]
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-11 12:24:11 +02:00
..
brcmfmac brcmfmac: add subtype check for event handling in data path 2019-06-11 12:24:11 +02:00
brcmsmac brcmsmac: make some local variables 'static const' to reduce stack size 2017-10-27 10:23:16 +02:00
brcmutil
include brcm80211: Add support for brcm4371 2015-10-21 10:57:44 +03:00
Kconfig brcmfmac: expose device memory to devcoredump subsystem 2015-10-21 10:56:23 +03:00
Makefile