wifi: ath12k: implement hardware data filter
authorBaochen Qiang <quic_bqiang@quicinc.com>
Wed, 19 Jun 2024 14:21:12 +0000 (17:21 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 24 Jun 2024 16:31:47 +0000 (19:31 +0300)
commit66a9448b1b897793a3237f832b5ce3bb255e28e7
treee8b7c78391575e06d73e85ba91ba0046de9f5c01
parent16f474d6d49db5d93e79c2d4bdcc3a730cf1d1f1
wifi: ath12k: implement hardware data filter

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

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4

Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20240604055407.12506-6-quic_bqiang@quicinc.com
drivers/net/wireless/ath/ath12k/wmi.c
drivers/net/wireless/ath/ath12k/wmi.h
drivers/net/wireless/ath/ath12k/wow.c