linux/drivers/net/wireless
Rafał Miłecki a8d7631858 brcmfmac: handle msgbuf packets marked with monitor mode flag
New Broadcom firmwares mark monitor mode packets using a newly defined
bit in the flags field. Use it to filter them out and pass to the
monitor interface. These defines were found in bcmmsgbuf.h from SDK.

As not every firmware generates radiotap header this commit introduces
BRCMF_FEAT_MONITOR_FMT_RADIOTAP flag. It has to be has based on firmware
capabilities. If not present brcmf_netif_mon_rx() will assume packet is
a raw 802.11 frame and will prepend it with an empty radiotap header.

This new code is limited to the msgbuf protocol at this point. Adding
support for SDIO/USB devices will require some extra work (possibly a
new firmware release).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-07-04 18:05:59 +03:00
..
admtek net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
ath wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
atmel atmel: use memdup_user to simplify the code 2018-06-27 19:06:00 +03:00
broadcom brcmfmac: handle msgbuf packets marked with monitor mode flag 2018-07-04 18:05:59 +03:00
cisco treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
intel ipw2x00: track time using boottime 2018-06-27 19:10:25 +03:00
intersil treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
marvell libertas: use irqsave() in USB's complete callback 2018-06-27 19:12:39 +03:00
mediatek mt76: improve gain adjustment in noisy environments 2018-06-27 19:15:14 +03:00
quantenna wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
ralink treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
realtek treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
rsi rsi: fix spelling mistake "Uknown" -> "Unknown" 2018-05-29 10:21:35 +03:00
st treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ti wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
zydas zd1211rw: use irqsave() in USB's complete callback 2018-06-27 19:12:43 +03:00
Kconfig qtnfmac: introduce new FullMAC driver for Quantenna chipsets 2017-05-24 17:04:13 +03:00
mac80211_hwsim.c mac80211_hwsim: fix module init error paths 2018-06-15 13:02:02 +02:00
mac80211_hwsim.h mac80211_hwsim: add permanent mac address option for new radios 2018-01-31 12:45:35 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ray_cs.c proc: introduce proc_create_single{,_data} 2018-05-16 07:23:35 +02:00
ray_cs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rayctl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rndis_wlan.c wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
wl3501_cs.c wl3501_cs: fix spelling mistake: "Insupported" -> "Unsupported" 2017-07-28 18:06:31 +03:00
wl3501.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00