Ganesh Babu Jothiram <quic_gjothira@xxxxxxxxxxx> writes: > 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@xxxxxxxxxxx> [...] > --- a/drivers/net/wireless/ath/ath11k/mac.c > +++ b/drivers/net/wireless/ath/ath11k/mac.c > @@ -3538,7 +3538,7 @@ static void ath11k_mac_op_bss_info_changed(struct ieee80211_hw *hw, > > if (changed & BSS_CHANGED_FTM_RESPONDER && > arvif->ftm_responder != info->ftm_responder && > - ar->ab->hw_params.ftm_responder && > + (test_bit(WMI_TLV_SERVICE_RTT, ar->ab->wmi_ab.svc_map)) && Unnecessary parenthesis, I fixed that in the pending branch. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches