Browse Source

Merge "qcacmn: Spatial Reuse changes" into wlan-cmn.driver.lnx.2.0

Linux Build Service Account 6 năm trước cách đây
mục cha
commit
b2483ec0f1
3 tập tin đã thay đổi với 36 bổ sung0 xóa
  1. 12 0
      wmi_unified_api.h
  2. 18 0
      wmi_unified_param.h
  3. 6 0
      wmi_unified_priv.h

+ 12 - 0
wmi_unified_api.h

@@ -2475,4 +2475,16 @@ QDF_STATUS wmi_extract_smartlog_ev
 void wmi_process_fw_event_worker_thread_ctx(struct wmi_unified *wmi_handle,
 					    HTC_PACKET * htc_packet);
 
+#ifdef OBSS_PD
+/**
+ * wmi_extract_smartlog_ev() - extract smartlog event info from event
+ * @wmi_handle: wmi handle
+ * @param evt_buf: pointer to event buffer
+ * @param ev: Pointer to hold fatal events
+ *
+ * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
+ */
+QDF_STATUS wmi_unified_send_obss_spatial_reuse_set_cmd(void *wmi_handle,
+	struct wmi_host_obss_spatial_reuse_set_param *obss_spatial_reuse_param);
+#endif /* OBSS_PD */
 #endif /* _WMI_UNIFIED_API_H_ */

+ 18 - 0
wmi_unified_param.h

@@ -6064,6 +6064,7 @@ typedef enum {
 	wmi_service_smart_logging_support,
 #endif
 	wmi_service_infra_mbssid,
+	wmi_service_obss_spatial_reuse,
 	wmi_services_max,
 } wmi_conv_service_ids;
 #define WMI_SERVICE_UNAVAILABLE 0xFFFF
@@ -8412,6 +8413,23 @@ struct bcn_offload_control {
 	enum bcn_offload_control_param bcn_ctrl_op;
 };
 
+#ifdef OBSS_PD
+/**
+ * struct wmi_host_obss_spatial_reuse_set_param - OBSS_PD_SPATIAL Reuse
+ *                                                structure
+ * @enable: Enable/Disable Spatial Reuse
+ * @obss_min: Minimum OBSS level to use
+ * @obss_max: Maximum OBSS level to use
+ * @pdev_id: Pdev id
+ */
+struct wmi_host_obss_spatial_reuse_set_param {
+	uint32_t enable;
+	uint32_t obss_min;
+	uint32_t obss_max;
+	uint32_t vdev_id;
+};
+#endif
+
 /**
  * struct wds_entry - WDS entry structure
  * @peer_mac: peer mac

+ 6 - 0
wmi_unified_priv.h

@@ -1753,6 +1753,12 @@ QDF_STATUS (*extract_dfs_status_from_fw)(wmi_unified_t wmi_handle,
 					 void *evt_buf,
 					 uint32_t *dfs_status_check);
 #endif
+
+#ifdef OBSS_PD
+QDF_STATUS (*send_obss_spatial_reuse_set)(wmi_unified_t wmi_handle,
+		struct wmi_host_obss_spatial_reuse_set_param
+		*obss_spatial_reuse_param);
+#endif
 };
 
 /* Forward declartion for psoc*/