qcacmn: Add functionality to send bridge MAC to firmware
Add functions to send bridge MAC programmed from user space to firmware.This change is part of a workaround to fix an looping issue which resulted in wrongly adding bridge's own MAC address to fw WDS table.Send MAC address to target to avoid adding our own bridge address to fw WDS table as part of source port learning. Change-Id: I815d3c3f106cd2f528ac9172712ec6c2f47f4410 CRs-Fixed: 2070956
This commit is contained in:

committed by
Nandini Suresh

parent
7544a40193
commit
0aeff78c35
@@ -3840,6 +3840,25 @@ QDF_STATUS wmi_unified_peer_del_wds_entry_cmd_send(void *wmi_hdl,
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
/**
|
||||
* wmi_unified_set_bridge_mac_addr_cmd_send() - WMI set bridge mac addr cmd function
|
||||
* @param wmi_hdl : handle to WMI.
|
||||
* @param param : pointer to hold bridge mac addr param
|
||||
*
|
||||
* @return QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS wmi_unified_set_bridge_mac_addr_cmd_send(void *wmi_hdl,
|
||||
struct set_bridge_mac_addr_params *param)
|
||||
{
|
||||
wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl;
|
||||
|
||||
if (wmi_handle->ops->send_set_bridge_mac_addr_cmd)
|
||||
return wmi_handle->ops->send_set_bridge_mac_addr_cmd(wmi_handle,
|
||||
param);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
/**
|
||||
* wmi_unified_peer_update_wds_entry_cmd_send() - WMI update wds entry cmd function
|
||||
* @param wmi_handle : handle to WMI.
|
||||
|
Reference in New Issue
Block a user