qcacmn: Add get channel width from phy mode API
Add get channel width from phy mode API which will be used by
ndp schedule update event.
Change-Id: I13d00c0b818eb0da434c8a5372b2ab7b6693f22a
CRs-Fixed: 2216801
diff --git a/wmi_unified_api.h b/wmi_unified_api.h
index e4f5cb2..7f92073 100644
--- a/wmi_unified_api.h
+++ b/wmi_unified_api.h
@@ -2242,4 +2242,13 @@
QDF_STATUS wmi_unified_invoke_neighbor_report_cmd(void *wmi_hdl,
struct wmi_invoke_neighbor_report_params *params);
+/* wmi_get_ch_width_from_phy_mode() - convert phy mode to channel width
+ * @wmi_hdl: wmi handle
+ * @phymode: phy mode
+ *
+ * Return: wmi channel width
+ */
+wmi_host_channel_width wmi_get_ch_width_from_phy_mode(void *wmi_hdl,
+ WMI_HOST_WLAN_PHY_MODE phymode);
+
#endif /* _WMI_UNIFIED_API_H_ */