qcacmn: Add support to set MAC address command in WMI

As part of new enhancements, driver is supporting MAC address update
after VDE creation in the FW. To support this feature add WMI support
to send MAC address command to the FW.

Change-Id: Ie4b7291520793c8aa501fefccaf7b91ab22e9054
CRs-Fixed: 3084119
This commit is contained in:
Bapiraju Alla
2021-11-29 05:56:28 -08:00
committed by Madan Koyyalamudi
parent 16219ce7ce
commit 707fb8a2f8
5 changed files with 106 additions and 0 deletions

View File

@@ -4579,4 +4579,16 @@ QDF_STATUS
wmi_unified_pdev_set_mec_timer(struct wmi_unified *wmi_handle,
struct set_mec_timer_params *param);
#endif
#ifdef WLAN_FEATURE_DYNAMIC_MAC_ADDR_UPDATE
/**
* wmi_unified_send_set_mac_addr() - Send VDEV set MAC address command to FW
* @wmi_handle: WMI handle
* @params: Set MAC address command params
*
* Return: QDF_STATUS_SUCCESS for success or error code
*/
QDF_STATUS wmi_unified_send_set_mac_addr(struct wmi_unified *wmi_handle,
struct set_mac_addr_params *params);
#endif
#endif /* _WMI_UNIFIED_API_H_ */