瀏覽代碼

qca-wifi: Support to add get_call_map to get dump

Required for Instrumentation of code using cc_func() to find errors
and trace function calls.
This supports printing dump of functions that are called during
test case execution for CBT.

Change-Id: Idbf5e84deb8538dc85dadcbca9ad07bb57a67db9
Jhalak Naik 5 年之前
父節點
當前提交
d6380797ea
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      tools/linux/cfg80211_ven_cmd.h

+ 9 - 0
tools/linux/cfg80211_ven_cmd.h

@@ -1214,6 +1214,11 @@ enum _ol_ath_param_t {
 #endif
 	/* DCS Wideband (5-7GHz) policy */
 	OL_ATH_PARAM_DCS_WIDEBAND_POLICY = 451,
+#ifdef QCA_CBT_INSTRUMENTATION
+	/* Support get_call_map() for CBT */
+	OL_ATH_PARAM_FUNC_CALL_MAP = 452,
+#endif
+
 };
 
 #ifdef CONFIG_SUPPORT_LIBROXML
@@ -3133,6 +3138,10 @@ struct vendor_commands radio_vendor_cmds[] = {
 		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_DCS_WIDEBAND_POLICY, SET_PARAM, 1},
 	{"get_dcs_wideband_policy",
 		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_DCS_WIDEBAND_POLICY, GET_PARAM, 0},
+#ifdef QCA_CBT_INSTRUMENTATION
+	{"get_call_map",
+		OL_ATH_PARAM_SHIFT | OL_ATH_PARAM_FUNC_CALL_MAP, SET_PARAM, 1},
+#endif
 };
 #endif
 #endif