[PATCH] wifi: ath11k: Suspend hardware before firmware mode off for WCN6750

Jeff Johnson quic_jjohnson at quicinc.com
Tue Oct 29 08:14:29 PDT 2024


On 10/29/2024 1:33 AM, Balaji Pothunoori wrote:
> During rmmod, the ath11k host driver sends a QMI MODE OFF command
> to firmware.
> As part of this command, firmware initiates WLAN de-initialization
> and accesses certain UMAC registers during this process.
> Currently, on WCN6750 WLAN hardware, the system is in a sleep state when
> firmware receives the QMI MODE OFF command.
> This results in a firmware/hardware reset while accessing the UMAC hardware
> registers during sleep state.
> 
> To avoid this, add logic to send WCN6750 hardware specific
> WMI_PDEV_SUSPEND_AND_DISABLE_INTR command to firmware prior to sending
> the QMI MODE OFF command.
> This will cause firmware to cease all activities and put the device in
> a powered-on state that prevents access to registers which have been
> powered off.
> 
> Signed-off-by: Balaji Pothunoori <quic_bpothuno at quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson at quicinc.com>




More information about the ath11k mailing list