qcacmn: Add wmi support to dump WDS table
Request and print WDS table from FW using WMI command and event.
WMI_PDEV_WDS_ENTRY_LIST_CMDID is used to request WDS table
entries and WMI_PDEV_WDS_ENTRY_LIST_EVENTID is used to process
received WDS entries.
Change-Id: I452c8067d191d09826a38b751bb66f1bde587d9b
CRs-Fixed: 2003377
diff --git a/wmi_unified_param.h b/wmi_unified_param.h
index 616f79e..4172d19 100644
--- a/wmi_unified_param.h
+++ b/wmi_unified_param.h
@@ -5454,6 +5454,7 @@
wmi_get_arp_stats_req_id,
wmi_service_available_event_id,
wmi_update_rcpi_event_id,
+ wmi_pdev_wds_entry_list_event_id,
wmi_events_max,
} wmi_conv_event_id;
@@ -7978,4 +7979,16 @@
bool bcn_tx_enable;
};
+/**
+ * struct wds_entry - WDS entry structure
+ * @peer_mac: peer mac
+ * @wds_mac: wds mac address
+ * @flags: flags
+ */
+struct wdsentry {
+ u_int8_t peer_mac[IEEE80211_ADDR_LEN];
+ u_int8_t wds_mac[IEEE80211_ADDR_LEN];
+ A_UINT32 flags;
+};
+
#endif /* _WMI_UNIFIED_PARAM_H_ */