qcacmn: Send feature set info to fw in wmi init command

Based on new requirement, driver needs to send feature set
information to fw as part of wmi init command.
With this change, fill the feature set info in feature set bitmap
and send this to fw with wmi init command.

Change-Id: Ic405c7e8e5ddd1399deacfaab240e979468c53c2
CRs-Fixed: 3262862
这个提交包含在:
Ashish Kumar Dhanotiya
2022-07-27 12:14:15 +05:30
提交者 Madan Koyyalamudi
父节点 99694b6f53
当前提交 ae8d97dcac
修改 5 个文件,包含 528 行新增0 行删除

查看文件

@@ -4941,4 +4941,17 @@ QDF_STATUS wmi_unified_pn_mgmt_rxfilter_send_cmd(
QDF_STATUS wmi_extract_pdev_telemetry_stats(
wmi_unified_t wmi_handle, void *evt_buf,
struct wmi_host_pdev_telemetry_stats *pdev_stats);
#ifdef FEATURE_SET
/**
* wmi_feature_set_cmd_send - Send feature set command to fw
* @wmi_handle: wmi handle
* @feature_set: pointer feature set info which needs to be send to fw
*
* Return: QDF_STATUS_SUCCESS for success or error code
*/
QDF_STATUS wmi_feature_set_cmd_send(
wmi_unified_t wmi_handle,
struct target_feature_set *feature_set);
#endif
#endif /* _WMI_UNIFIED_API_H_ */