• Manikanta Pubbisetty's avatar
    wifi: ath11k: Add cold boot calibration support on WCN6750 · 6fe62a8c
    Manikanta Pubbisetty authored
    Add cold boot calibration support on WCN6750. Unlike other
    chipsets where firmware(FW)  is restarted after cold boot
    calibration is completed, it is recommended not to restart
    the firmware for WCN6750.
    
    For WCN6750, FW sends both CAL_DONE & FW_READY QMI indication
    to the driver after cold boot calibration is completed.
    
    QMI message flow for WCN6750 with cold boot support:
    FW_INIT_DONE to HOST -> CALIBRATION Mode to FW -> CAL_DONE to Host ->
    FW_READY to Host -> MODE_ON to FW
    
    QMI message flow for other chipsets with cold boot support:
    FW_INIT_DONE to Host -> CALIBRATION Mode to FW -> FW_READY to Host ->
    Trigger FW restart -> FW_INIT_DONE to HOST -> MODE_ON to FW
    
    QMI message flow for chipsets without cold boot support:
    FW_INIT_DONE to Host -> MODE_ON to FW
    
    Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00887-QCAMSLSWPLZ-1
    Signed-off-by: default avatarManikanta Pubbisetty <quic_mpubbise@quicinc.com>
    Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
    Link: https://lore.kernel.org/r/20220720134909.15626-3-quic_mpubbise@quicinc.com
    6fe62a8c
ahb.c 28.1 KB