|
@@ -31,6 +31,7 @@
|
|
|
#include <wlan_crypto_global_api.h>
|
|
|
#include <wlan_mlo_mgr_cmn.h>
|
|
|
#include "wlan_mlme_ucfg_api.h"
|
|
|
+#include "wifi_pos_ucfg_i.h"
|
|
|
|
|
|
#define NUM_OF_SOUNDING_DIMENSIONS 1 /*Nss - 1, (Nss = 2 for 2x2)*/
|
|
|
|
|
@@ -2339,6 +2340,23 @@ static void mlme_init_wep_cfg(struct wlan_mlme_wep_cfg *wep_params)
|
|
|
wep_params->wep_default_key_id = cfg_default(CFG_WEP_DEFAULT_KEYID);
|
|
|
}
|
|
|
|
|
|
+#if defined(WIFI_POS_CONVERGED) && defined(WLAN_FEATURE_RTT_11AZ_SUPPORT)
|
|
|
+static void
|
|
|
+mlme_init_wifi_pos_11az_config(struct wlan_objmgr_psoc *psoc,
|
|
|
+ struct wlan_mlme_wifi_pos_cfg *wifi_pos_cfg)
|
|
|
+{
|
|
|
+ bool rsta_sec_ltf_enabled =
|
|
|
+ cfg_get(psoc, CFG_RESPONDER_SECURE_LTF_SUPPORT);
|
|
|
+
|
|
|
+ wifi_pos_set_rsta_sec_ltf_cap(rsta_sec_ltf_enabled);
|
|
|
+}
|
|
|
+#else
|
|
|
+static inline void
|
|
|
+mlme_init_wifi_pos_11az_config(struct wlan_objmgr_psoc *psoc,
|
|
|
+ struct wlan_mlme_wifi_pos_cfg *wifi_pos_cfg)
|
|
|
+{}
|
|
|
+#endif
|
|
|
+
|
|
|
static void mlme_init_wifi_pos_cfg(struct wlan_objmgr_psoc *psoc,
|
|
|
struct wlan_mlme_wifi_pos_cfg *wifi_pos_cfg)
|
|
|
{
|
|
@@ -2346,6 +2364,8 @@ static void mlme_init_wifi_pos_cfg(struct wlan_objmgr_psoc *psoc,
|
|
|
cfg_get(psoc, CFG_FINE_TIME_MEAS_CAPABILITY);
|
|
|
wifi_pos_cfg->oem_6g_support_disable =
|
|
|
cfg_get(psoc, CFG_OEM_SIXG_SUPPORT_DISABLE);
|
|
|
+
|
|
|
+ mlme_init_wifi_pos_11az_config(psoc, wifi_pos_cfg);
|
|
|
}
|
|
|
|
|
|
#ifdef FEATURE_WLAN_ESE
|