|
@@ -25,6 +25,7 @@
|
|
#include "wlan_objmgr_psoc_obj.h"
|
|
#include "wlan_objmgr_psoc_obj.h"
|
|
#include "wlan_cfg80211_wifi_pos.h"
|
|
#include "wlan_cfg80211_wifi_pos.h"
|
|
#include "wlan_cmn_ieee80211.h"
|
|
#include "wlan_cmn_ieee80211.h"
|
|
|
|
+#include "wifi_pos_ucfg_i.h"
|
|
|
|
|
|
#if defined(WIFI_POS_CONVERGED) && defined(WLAN_FEATURE_RTT_11AZ_SUPPORT)
|
|
#if defined(WIFI_POS_CONVERGED) && defined(WLAN_FEATURE_RTT_11AZ_SUPPORT)
|
|
|
|
|
|
@@ -81,10 +82,17 @@ wlan_wifi_pos_set_feature_flags(uint8_t *feature_flags,
|
|
void wlan_wifi_pos_cfg80211_set_features(struct wlan_objmgr_psoc *psoc,
|
|
void wlan_wifi_pos_cfg80211_set_features(struct wlan_objmgr_psoc *psoc,
|
|
uint8_t *feature_flags)
|
|
uint8_t *feature_flags)
|
|
{
|
|
{
|
|
|
|
+ bool rsta_secure_ltf_support;
|
|
|
|
+
|
|
if (wlan_psoc_nif_fw_ext2_cap_get(psoc,
|
|
if (wlan_psoc_nif_fw_ext2_cap_get(psoc,
|
|
- WLAN_RTT_11AZ_MAC_PHY_SEC_SUPPORT))
|
|
|
|
|
|
+ WLAN_RTT_11AZ_MAC_PHY_SEC_SUPPORT)) {
|
|
wlan_wifi_pos_set_feature_flags(feature_flags,
|
|
wlan_wifi_pos_set_feature_flags(feature_flags,
|
|
QCA_WLAN_VENDOR_FEATURE_SECURE_LTF_STA);
|
|
QCA_WLAN_VENDOR_FEATURE_SECURE_LTF_STA);
|
|
|
|
+ rsta_secure_ltf_support = wifi_pos_get_rsta_sec_ltf_cap();
|
|
|
|
+ if (rsta_secure_ltf_support)
|
|
|
|
+ wlan_wifi_pos_set_feature_flags(feature_flags,
|
|
|
|
+ QCA_WLAN_VENDOR_FEATURE_SECURE_LTF_AP);
|
|
|
|
+ }
|
|
|
|
|
|
if (wlan_psoc_nif_fw_ext2_cap_get(psoc,
|
|
if (wlan_psoc_nif_fw_ext2_cap_get(psoc,
|
|
WLAN_RTT_11AZ_MAC_SEC_SUPPORT))
|
|
WLAN_RTT_11AZ_MAC_SEC_SUPPORT))
|