]> 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)
commit0b9108ea6e1d0fffae2dd6c9e629abc0376bc262
tree5626b2a8d81d78497b7ae231d247be3204fb9721
parenta4aa78fbc1e6e2691705b226fedf83d80804cb7e
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