From 5f040ba96bd59ecbaaf3e2ae8290eaf38a19b84c Mon Sep 17 00:00:00 2001 From: Naveen Rawat Date: Mon, 6 Mar 2017 12:20:25 -0800 Subject: [PATCH] qcacld-3.0: Add change to support set FTM caps using vendor cmd Add changes to update fine time measurement capability in WIFI POS private object using vendor command. Change-Id: I7e3b502660b169f4cdb654cb5f433446a24d2421 CRs-Fixed: 2003488 --- core/hdd/src/wlan_hdd_cfg80211.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index a5a65c633550..95966722cd0f 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -105,6 +105,7 @@ #include #include #include "wlan_pmo_ucfg_api.h" +#include "os_if_wifi_pos.h" #define g_mode_rates_size (12) #define a_mode_rates_size (8) @@ -4554,6 +4555,8 @@ __wlan_hdd_cfg80211_wifi_configuration_set(struct wiphy *wiphy, sme_update_fine_time_measurement_capab(hdd_ctx->hHal, adapter->sessionId, hdd_ctx->config->fine_time_meas_cap); + os_if_wifi_pos_set_ftm_cap(hdd_ctx->hdd_psoc, + hdd_ctx->config->fine_time_meas_cap); hdd_info("FTM capability: user value: 0x%x, target value: 0x%x, final value: 0x%x", ftm_capab, hdd_ctx->fine_time_meas_cap_target, hdd_ctx->config->fine_time_meas_cap);