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@xxxxxxxxxxx> Acked-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>