qcacmn: Send peer_id in peer_add_wds_entry API

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
This commit is contained in:
Pavankumar Nandeshwar
2020-02-24 19:52:09 +05:30
committed by nshrivas
parent a6cb1901a5
commit d1aac5b3c3
2 changed files with 2 additions and 0 deletions

View File

@@ -1004,6 +1004,7 @@ struct ol_if_ops {
int (*peer_add_wds_entry)(struct cdp_ctrl_objmgr_psoc *soc, int (*peer_add_wds_entry)(struct cdp_ctrl_objmgr_psoc *soc,
uint8_t vdev_id, uint8_t vdev_id,
uint8_t *peer_macaddr, uint8_t *peer_macaddr,
uint16_t peer_id,
const uint8_t *dest_macaddr, const uint8_t *dest_macaddr,
uint8_t *next_node_mac, uint8_t *next_node_mac,
uint32_t flags, uint32_t flags,

View File

@@ -849,6 +849,7 @@ add_ast_entry:
soc->ctrl_psoc, soc->ctrl_psoc,
peer->vdev->vdev_id, peer->vdev->vdev_id,
peer->mac_addr.raw, peer->mac_addr.raw,
peer->peer_ids[0],
mac_addr, mac_addr,
next_node_mac, next_node_mac,
flags, flags,