ath10k: add support to configure ftm responder role
authorPradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Mon, 11 Feb 2019 16:47:54 +0000 (18:47 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 12 Feb 2019 18:46:06 +0000 (20:46 +0200)
commit059104bff31252684fd4dbc8117e9d767efc2022
treef07d3897a2119ad75197e97ff5c806f130cdd0f1
parentd1ce37b7831ac6445c60f34b680f7214359e87ab
ath10k: add support to configure ftm responder role

Configure fine timing measurement (FTM) responder role from the
ftm_responder bss param sent by mac80211. With FTM functionality offloaded
to firmware, adding the interface allows userspace to enable or disable
FTM responder functionality. ath10k disables it at the time of interface
creation.

Supported FW: 10.4

Tested on IPQ4019 with firmware: 10.4-3.2.1.1-00022

Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h