qcacmn: Add wmi command to set limit off chan parameters
Add WMI command for setting limit off channel command
parameters to firmware.
CRs-Fixed: 2068307
Change-Id: Ia99f1b4d4fe33082a561c9307af9d76ae16d8be4
diff --git a/wmi_unified_param.h b/wmi_unified_param.h
index 4490a28..c9552e0 100644
--- a/wmi_unified_param.h
+++ b/wmi_unified_param.h
@@ -7382,4 +7382,20 @@
uint32_t num_non_dbs_scans[WMI_SCAN_CLIENT_MAX];
};
+/**
+ * struct wmi_limit_off_chan_param - limit off channel parameters
+ * @vdev_id: vdev id
+ * @status: status of the command (enable/disable)
+ * @max_offchan_time: max off channel time
+ * @rest_time: home channel time
+ * @skip_dfs_chans: skip dfs channels during scan
+ */
+struct wmi_limit_off_chan_param {
+ uint32_t vdev_id;
+ bool status;
+ uint32_t max_offchan_time;
+ uint32_t rest_time;
+ bool skip_dfs_chans;
+};
+
#endif /* _WMI_UNIFIED_PARAM_H_ */