[PATCH v2] ath11k: add support for hardware rfkill for QCA6390

Kalle Valo kvalo at kernel.org
Mon Dec 20 10:29:28 PST 2021


Wen Gong <quic_wgong at quicinc.com> wrote:

> When hardware rfkill is enabled in the firmware it will report the
> capability via using WMI_SYS_CAP_INFO_RFKILL bit in the WMI_SERVICE_READY
> event to the host. ath11k will check the capability, and if it is enabled then
> ath11k will set the GPIO information to firmware using WMI_PDEV_SET_PARAM. When
> the firmware detects hardware rfkill is enabled by the user, it will report it
> via WMI_RFKILL_STATE_CHANGE_EVENTID. Once ath11k receives the event it will
> send wmi command WMI_PDEV_SET_PARAM to the firmware and also notifies cfg80211.
> 
> This only enable rfkill feature for QCA6390, rfkill_pin is all initialized to 0
> for other chips in ath11k_hw_params.
> 
> Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1
> 
> Signed-off-by: Wen Gong <quic_wgong at quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

ec038c6127fa ath11k: add support for hardware rfkill for QCA6390

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20211217102334.14907-1-quic_wgong@quicinc.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




More information about the ath11k mailing list