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
This commit is contained in:
Naveen Rawat 2017-03-06 12:20:25 -08:00 • committed by Sandeep Puligilla
commit 5f040ba96b

View file

@ -105,6 +105,7 @@
#include <cdp_txrx_misc.h>
#include <qca_vendor.h>
#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);