]> git.karo-electronics.de Git - karo-tx-linux.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)
commit60549cab2ea5ffa100076cb06d49579e05edd966
tree5626b2a8d81d78497b7ae231d247be3204fb9721
parent1f1a361abf73edfb94ca010c51587de378bc7c68
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