From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from alexa-out-sd-01.qualcomm.com ([199.106.114.38]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fpjhs-0008PS-Gl for ath10k@lists.infradead.org; Wed, 15 Aug 2018 00:30:37 +0000 From: Pradeep Kumar Chitrapu Subject: [PATCH 0/3] Add support for ftm responder configuration Date: Tue, 14 Aug 2018 17:30:15 -0700 Message-Id: <1534293018-4930-1-git-send-email-pradeepc@codeaurora.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: johannes@sipsolutions.net, ath10k@lists.infradead.org Cc: Pradeep Kumar Chitrapu , linux-wireless@vger.kernel.org Currently ftm_responder parameter in hostapd.conf is only used for fine timing measurement (FTM) capability advertisement and actual control of the functionality is with low-level device/driver. This leads to confusion to the user when the capability advertisement is different from actual FTM responder functionality. For example, FTM responder capability advertisement is set to 'disabled', which would imply that AP must not respond to FTM requests, but user sees AP still responding to FTM requests, as the functionality is enabled in the driver. The patch set allows userspace to configure FTM responder functionality with the addition of new Netlink attribute NL80211_ATTR_FTM_RESPONDER and also adds extended feature flag for the drivers to advertise the support. Sending '0' to disable FTM responder would imply AP does not respond to FTM requests and sending '1' to enable FTM responder would imply that AP responds to all FTM requests. Pradeep Kumar Chitrapu (3): nl80211: add support to configure FTM responder functionality mac80211: Add support to notify ftm responder configuration to the driver ath10k: Add support to configure ftm responder role drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/mac.c | 29 +++++++++++++++++++++++++++++ drivers/net/wireless/ath/ath10k/wmi.c | 4 ++++ drivers/net/wireless/ath/ath10k/wmi.h | 10 ++++++++++ include/net/cfg80211.h | 2 ++ include/net/mac80211.h | 4 ++++ include/uapi/linux/nl80211.h | 20 ++++++++++++++++++++ net/mac80211/cfg.c | 4 ++++ net/mac80211/util.c | 3 +++ net/wireless/nl80211.c | 19 +++++++++++++++++++ 10 files changed, 96 insertions(+) -- 1.9.1 _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k