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
diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c
index a5a65c6..9596672 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.c
+++ b/core/hdd/src/wlan_hdd_cfg80211.c
@@ -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 @@
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);