]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: deliver mgmt frames from htt to monitor vifs only
authorGrzegorz Bajorski <grzegorz.bajorski@tieto.com>
Mon, 30 Nov 2015 12:56:59 +0000 (13:56 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 8 Mar 2016 09:25:54 +0000 (11:25 +0200)
commit9a1c9b9f519496545187e1ad8f1d6df53c672a15
tree5626b2a8d81d78497b7ae231d247be3204fb9721
parent30097c32d4d8896c2d43a823295abffc7d8325cb
ath10k: deliver mgmt frames from htt to monitor vifs only

Until now only WMI originating mgmt frames were
reported to mac80211. Management frames on HTT
were basically dropped (except frames which looked
like management but had FCS error).

To allow sniffing all frames (including offloaded
frames) without interfering with mac80211
operation and states a new rx_flag was introduced
and is not being used to distinguish frames and
classify them for mac80211.

Signed-off-by: Grzegorz Bajorski <grzegorz.bajorski@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/wmi.c