mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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:
parent
898c950b0e
commit
5f040ba96b
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue