ath11k: Fix rx_filter flags setting for per peer rx_stats
authorMaharaja Kennadyrajan <mkenna@codeaurora.org>
Fri, 10 Apr 2020 17:06:45 +0000 (22:36 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 15 Apr 2020 08:00:29 +0000 (11:00 +0300)
commitec48d28ba291943d4ae2f873a4330debddecbca6
treec4eda32d54f51420ebdf0f7fbe17a6cdaefed5ec
parent40c766d4a49cdfe30e0fb40825321b4d4de651aa
ath11k: Fix rx_filter flags setting for per peer rx_stats

Rx_filter flags are set with default filter flags during
wifi up/down sequence even though the 'ext_rx_stats' debugfs
is enabled as 1. So, that we are not getting proper per peer
rx_stats.
Hence, fixing this by setting the missing rx_filter when
ext_rx_stats is already set/enabled.

Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1586538405-16226-3-git-send-email-mkenna@codeaurora.org
drivers/net/wireless/ath/ath11k/core.h
drivers/net/wireless/ath/ath11k/debug.c
drivers/net/wireless/ath/ath11k/debug.h
drivers/net/wireless/ath/ath11k/mac.c