ath11k: implement hardware data filter
authorCarl Huang <quic_cjhuang@quicinc.com>
Mon, 14 Mar 2022 05:18:16 +0000 (07:18 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 18 Mar 2022 15:35:20 +0000 (17:35 +0200)
commitc417b247ba042161ddfb34f26a42ec67edc5c378
tree181b2614e4e5b0aa3433dc7392ef363951eb9728
parentfec4b898f369a9b9d516f7bfc459eb4a8c5ceb2c
ath11k: implement hardware data filter

Host needs to set hardware data filter before entering WoW to
let firmware drop needless broadcast/mulitcast frames to avoid
frequent wakeup. Host clears hardware data filter when leaving WoW.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Carl Huang <quic_cjhuang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/1644308006-22784-4-git-send-email-quic_cjhuang@quicinc.com
drivers/net/wireless/ath/ath11k/wmi.c
drivers/net/wireless/ath/ath11k/wmi.h
drivers/net/wireless/ath/ath11k/wow.c