[PATCH 06/10] wifi: ath12k: flush all packets before suspend
Jeff Johnson
quic_jjohnson at quicinc.com
Mon Apr 22 10:52:03 PDT 2024
On 4/11/2024 11:06 PM, Baochen Qiang wrote:
> In order to send out all packets before going to suspend, current code
> adds a 500ms delay as a workaround. It is a rough estimate and may not
> work.
>
> Fix this by checking packet counters, if counters become zero, then all
> packets are sent out or dropped.
>
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
>
> Signed-off-by: Baochen Qiang <quic_bqiang at quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>
More information about the ath12k
mailing list