Merge "qcacld-3.0: Add change to support set FTM caps using vendor cmd" into wlan-cld3.driver.lnx.2.0-dev

This commit is contained in:
Service qcabuildsw 2017-03-23 11:54:47 -07:00 • committed by Gerrit - the friendly Code Review server
commit e33080c8c4

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);