Send peer_id in peer_add_wds_entry API of ol_if_ops, so that the dp peer doesn't need to be explicitly retrieved in corresponding offload API. Change-Id: Ia32d31946de43e9faa1970f4e74f2810f4125995 CRs-fixed: 2629475
@@ -1004,6 +1004,7 @@ struct ol_if_ops {
int (*peer_add_wds_entry)(struct cdp_ctrl_objmgr_psoc *soc,
uint8_t vdev_id,
uint8_t *peer_macaddr,
+ uint16_t peer_id,
const uint8_t *dest_macaddr,
uint8_t *next_node_mac,
uint32_t flags,
@@ -849,6 +849,7 @@ add_ast_entry:
soc->ctrl_psoc,
peer->vdev->vdev_id,
peer->mac_addr.raw,
+ peer->peer_ids[0],
mac_addr,
next_node_mac,
flags,