wlan: Enhance LLStats to Separate data between HDD and SME
This commit enhances LLStats implementation to ensure SME does a
separate copy of HDD data.Also , this commit checks for this feature
capability before functioning and returns failure if not enabled.
Change-Id: I4ec1ca0893ef82b991e1f1078a2ac8999f21d057
CRs-Fixed: 689686
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index a3327fc..ce2733b 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -175,6 +175,11 @@
#else
,FEATURE_NOT_SUPPORTED //39
#endif
+#ifdef WLAN_FEATURE_LINK_LAYER_STATS
+ ,LINK_LAYER_STATS_MEAS //40
+#else
+ ,FEATURE_NOT_SUPPORTED //40
+#endif
};
@@ -1342,6 +1347,11 @@
case CH_SWITCH_V1: snprintf(pCapStr, sizeof("CH_SWITCH_V1"), "%s", "CH_SWITCH_V1");
pCapStr += strlen("CH_SWITCH_V1");
break;
+#ifdef WLAN_FEATURE_LINK_LAYER_STATS
+ case LINK_LAYER_STATS_MEAS: snprintf(pCapStr, sizeof("LINK_LAYER_STATS_MEAS"), "%s", "LINK_LAYER_STATS_MEAS");
+ pCapStr += strlen("LINK_LAYER_STATS_MEAS");
+ break;
+#endif
}
*pCapStr++ = ',';