浏览代码

qcacmn: WMI command to delete multiple WDS entries

Added new WMI command to delete multiple WDS entries.

Change-Id: Ifa40d8d96c645f12c4887763ce0aebb874306382
CRs-Fixed: 2291453
Rathees kumar Chinannan 6 年之前
父节点
当前提交
4abc069828
共有 3 个文件被更改,包括 27 次插入0 次删除
  1. 11 0
      wmi_unified_ap_api.h
  2. 12 0
      wmi_unified_param.h
  3. 4 0
      wmi_unified_priv.h

+ 11 - 0
wmi_unified_ap_api.h

@@ -236,4 +236,15 @@ QDF_STATUS wmi_extract_channel_hopping_event(void *wmi_hdl, void *evt_buf,
 
 QDF_STATUS wmi_unified_peer_chan_width_switch_cmd_send(void *wmi_hdl,
 			struct peer_chan_width_switch_params *param);
+
+/**
+ * wmi_unified_peer_del_all_wds_entries_cmd_send() - send delete
+ * all wds entries cmd to fw
+ * @wmi_hdl: wmi handle
+ * @param:   delete all wds entries params
+ *
+ * Return: QDF_STATUS_SUCCESS for success or error code
+ */
+QDF_STATUS wmi_unified_peer_del_all_wds_entries_cmd_send(void *wmi_hdl,
+		struct peer_del_all_wds_entries_params *param);
 #endif /* _WMI_UNIFIED_AP_API_H_ */

+ 12 - 0
wmi_unified_param.h

@@ -3204,6 +3204,18 @@ struct peer_update_wds_entry_params {
 	uint32_t vdev_id;
 };
 
+/**
+ * struct peer_del_all_wds_entries_params - WDS peer entries del params
+ * @wds_macaddr: Pointer to destination macaddr
+ * @peer_macaddr: Pointer to peer mac addr
+ * @flags: flags
+ */
+struct peer_del_all_wds_entries_params {
+	uint8_t *wds_macaddr;
+	uint8_t *peer_macaddr;
+	uint32_t flags;
+};
+
 /**
  * struct set_ps_mode_params - PS mode params
  * @vdev_id: vdev id

+ 4 - 0
wmi_unified_priv.h

@@ -1851,6 +1851,10 @@ QDF_STATUS
 		wmi_unified_t wmi_handle,
 		void *evt_buf,
 		struct wmi_host_pdev_ctl_failsafe_event *param);
+
+QDF_STATUS (*send_peer_del_all_wds_entries_cmd)(wmi_unified_t wmi_handle,
+		struct peer_del_all_wds_entries_params *param);
+
 };
 
 /* Forward declartion for psoc*/