qcacld-3.0: Add ucfg API to update link mac addr

After moving to the single-netdev-multiple-vdev model,
the dp_link mac address needs to be updated as a part
of dynamic mac address update.

Add an ucfg API to update link mac address.

Change-Id: I96d3230f958c15cb576c881c02e60bd3a4fb0379
CRs-Fixed: 3563523
This commit is contained in:
Rakesh Pillai
2023-07-04 09:11:23 -07:00
committed by Rahul Choudhary
父節點 ecfe8c6f75
當前提交 315a53eaa9
共有 2 個文件被更改,包括 35 次插入0 次删除

查看文件

@@ -61,6 +61,20 @@ ucfg_dp_is_disconect_after_roam_fail(struct wlan_objmgr_psoc *psoc)
}
#endif
/**
* ucfg_dp_update_link_mac_addr() - Update the dp_link mac address, during MLO
* link switch.
* @vdev: Objmgr vdev corresponding to the dp_link
* @new_mac_addr: New mac address of the dp_link
* @is_link_switch: Flag to indicate if the link mac addr update is as a part
* of MLO link switch.
*
* Return: QDF_STATUS
*/
QDF_STATUS ucfg_dp_update_link_mac_addr(struct wlan_objmgr_vdev *vdev,
struct qdf_mac_addr *new_mac_addr,
bool is_link_switch);
/**
* ucfg_dp_update_inf_mac() - update DP interface MAC address
* @psoc: psoc handle