wifi: ath11k: Configure the FTM responder role using firmware capability flag
authorGanesh Babu Jothiram <quic_gjothira@quicinc.com>
Fri, 24 Mar 2023 14:57:00 +0000 (16:57 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 12 Apr 2023 09:57:58 +0000 (12:57 +0300)
commit813968c24126cc5c8320cd5db0e262069a535063
tree17fef9ee0d673b73621c62a21440dbc97b4b8c6d
parent8b4d2f080afbd4280ecca0f4b3ceea943a7a86d0
wifi: ath11k: Configure the FTM responder role using firmware capability flag

Fine Time Measurement(FTM) is offloaded feature to firmware.
Hence, the configuration of FTM responder role is done using
firmware capability flag instead of hw param.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1

Signed-off-by: Ganesh Babu Jothiram <quic_gjothira@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230317072034.8217-1-quic_gjothira@quicinc.com
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/hw.h
drivers/net/wireless/ath/ath11k/mac.c