prima: RTT3: Add feature info for RTT3
Currently, feature flag for RTT3 is not added. Add feature flag
for RTT3 so that the same will be printed when get_supported_features
is invoked.
Change-Id: Iec8a209599741644b9af5de02c4ad27df5377ff9
CRs-Fixed: 949871
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index dc655c1..9d4a9cc 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -5543,6 +5543,11 @@
fset |= WIFI_FEATURE_D2AP_RTT;
}
+ if (sme_IsFeatureSupportedByFW(RTT3)) {
+ hddLog(LOG1, FL("RTT3 is supported by firmware"));
+ fset |= WIFI_FEATURE_RTT3;
+ }
+
#ifdef FEATURE_WLAN_BATCH_SCAN
if (fset & WIFI_FEATURE_EXTSCAN) {
hddLog(LOG1, FL("Batch scan is supported as extscan is supported"));